Hi Max, I just reread your error message. It looks like mod_python cannot find the handler 'startmod'. It was probably not added to your python path correctly. Double check your /etc/ros/ros_webui_appache.cfg file. It should look something like this: PythonDebug On PythonAutoReload On #SetEnv PYTHON_RELOADER On SetEnv ROS_ROOT /home/sta1pal/ros/ros SetEnv ROS_PACKAGE_PATH /home/sta1pal/workspace:/home/sta1pal/ros/stacks SetEnv ROS_MASTER_URI http://localhost:11311/ SetEnv ROS_BOOST_ROOT /opt/ros PythonPath "['/home/sta1pal/ros/ros/core/roslib/src', '/home/sta1pal/ros/stacks/web_interface/webui/src/webui/'] + sys.path" SetHandler python-program PythonHandler startmod where your ROS variables are filled in and your python path points to roslib and webui. As for using the WebUI, it is a very large program and I wouldn't try editing it directly. Willow Garage has set up "Apps" that you can make for the WebUI. How these apps work is undocumented right now, I found out how to use them by talking to them at the PR2 workshop. Later today I will try and write some getting started info. As long as you keep to just modifying and creating Apps, the learning curve for using WebUI isn't too bad. You don't really need to know much about Clearsilver. It is just a templating library that they use to mash up their javascript and html easily from python. Just reading through ClearSilver their tutorial so that you recognize clearsilver's syntax should be fine. Good luck, Adam On Wed, Jul 7, 2010 at 8:23 AM, wrote: > 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 > To: adasta > 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 > To: ros-users > 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, 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 > > > > > > > > > > > >