Hi Max,
<Location "/webui/">PythonDebug OnPythonAutoReload On#SetEnv PYTHON_RELOADER OnSetEnv ROS_ROOT /home/sta1pal/ros/rosSetEnv ROS_PACKAGE_PATH /home/sta1pal/workspace:/home/sta1pal/ros/stacksSetEnv ROS_MASTER_URI http://localhost:11311/SetEnv ROS_BOOST_ROOT /opt/rosPythonPath "['/home/sta1pal/ros/ros/core/roslib/src', '/home/sta1pal/ros/stacks/web_interface/webui/src/webui/'] + sys.path"SetHandler python-programPythonHandler startmod</Location>
Adam
I forgot to mention that when I do init.d/apache2 i get:
* Starting web server apache2
apache2: Could not reliably determine the server's fully qualified name, using 127.0.0.1 for ServerName httpd (pid 2840) already running
Thanks once again.
Max
-----Original Message-----
From: mwitt341 <mwitt341@aol.com>
To: adasta <adasta@gmail.com>
Sent: Wed, Jul 7, 2010 10:09 am
Subject: Re: [ros-users] getting apache2 to work
Adam
I still get the same error when i put http://localhost/webui/webui in the browser except the ProcessId changed to 2940. (I'm trying to create a driving interface for an i_create robot and have no experience with web-design by the way). I'm just trying to get apache2 to run so that I can fiddle around with clearsilver and html and try to learn as I go. Essentially, I need my code to run in a browser. I already followed the directions detailed on the wiki's webui page. Once I have rosweb and launchman running, do I have to do anything to the apache2.conf file? What do I put in the browser/how do I define my domain name? If you have any tips on clearsilver or anything else I would be extremely grateful. Thanks a ton.
Max
-----Original Message-----
From: Adam Stambler <adasta@gmail.com>
To: ros-users <ros-users@code.ros.org>
Sent: Tue, Jul 6, 2010 5:11 pm
Subject: Re: [ros-users] getting apache2 to work
Hi Max,
Are you trying to get the webui running on a PR2 or simply on another computer with ROS installed?
With the pr2, it just just be set up automatically with the deb files. If not, double check that your pr2-environment is installed.
With another computer, following these instructions work: http://www.ros.org/wiki/webui. However, you need to launch two nodes, rosweb and launchman (both are in the web_interface stack) yourself every time you want to use it.
Regards,Adam Stambler
On Tue, Jul 6, 2010 at 11:03 AM, <mwitt341@aol.com> wrote:
I put http://localhost/webui/webui in the web browser and get this error:
MOD_PYTHON ERROR
ProcessId: 17560
Interpreter: '127.0.0.1'
ServerName: '127.0.0.1'
DocumentRoot: '/var/www'
URI: '/webui/webui/'
Location: '/webui/'
Directory: None
Filename: '/var/www/webui'
PathInfo: '/webui/'
Phase: 'PythonHandler'
Handler: 'startmod'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1202, in _process_target
module = import_module(module_name, path=path)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 304, in import_module
return __import__(module_name, {}, {}, ['*'])
ImportError: No module named startmod
---------------
How can I get apache2 to work? Thanks for the help.
Max
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users