Hi Max,<div><br></div><div>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:</div>
<div><br></div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>  <Location "/webui/"></div></div><div><div>    PythonDebug On </div>
</div><div><div>    PythonAutoReload On</div></div><div><div><br></div></div><div><div>    #SetEnv PYTHON_RELOADER On</div></div><div><div>    SetEnv ROS_ROOT /home/sta1pal/ros/ros</div></div><div><div>    SetEnv ROS_PACKAGE_PATH /home/sta1pal/workspace:/home/sta1pal/ros/stacks</div>
</div><div><div>    SetEnv ROS_MASTER_URI <a href="http://localhost:11311/">http://localhost:11311/</a> </div></div><div><div>    SetEnv ROS_BOOST_ROOT /opt/ros </div></div><div><div><br></div></div><div><div>    PythonPath "['/home/sta1pal/ros/ros/core/roslib/src', '/home/sta1pal/ros/stacks/web_interface/webui/src/webui/'] + sys.path"</div>
</div><div><div><br></div></div><div><div>    SetHandler python-program</div></div><div><div>    PythonHandler startmod</div></div><div><div>  </Location></div></div></blockquote><div><br></div><div><br></div><div>where your ROS variables are filled in and your python path points to roslib and webui. </div>
<div><br></div><div>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.  </div>
<div><br></div><div>Good luck,</div><div>Adam</div><div><br><div class="gmail_quote">On Wed, Jul 7, 2010 at 8:23 AM,  <span dir="ltr"><<a href="mailto:mwitt341@aol.com">mwitt341@aol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="black" size="2" face="arial"><font color="black" face="arial" size="2">

<div> Adam<br>
<br>
I forgot to mention that when I do   init.d/apache2  i get:<br>
<br>

</div>



<div>        * Starting web server apache2<br>
apache2: Could not reliably determine the server's fully qualified name, using 127.0.0.1 for ServerName httpd (pid 2840) already running<br>
<br>
Thanks once again.<br>
<br>
Max<br>

</div><div><div></div><div class="h5">



<div style="clear:both"></div>





<div> <br>

</div>



<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>

From: mwitt341 <<a href="mailto:mwitt341@aol.com" target="_blank">mwitt341@aol.com</a>><br>

To: adasta <<a href="mailto:adasta@gmail.com" target="_blank">adasta@gmail.com</a>><br>

Sent: Wed, Jul 7, 2010 10:09 am<br>

Subject: Re: [ros-users] getting apache2 to work<br>

<br>








<div>

<font color="black" face="arial" size="2"><font color="black" face="arial" size="2">



<div> <br>



</div>







<div> <font face="Arial, Helvetica, sans-serif">Adam<br>


<br>


I still get the same error when i put </font><font><font><font><font color="black" face="arial" size="2"><font color="black" face="arial" size="2"><font color="black" face="arial" size="2"><a href="http://localhost/webui/webui" target="_blank">http://localhost/webui/webui</a>  in the browser</font></font></font></font></font></font><font face="Arial, Helvetica, sans-serif"> 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. </font><font color="black" face="arial" size="2"><font face="Arial, Helvetica, sans-serif">Essentially, </font></font><font face="Arial, Helvetica, sans-serif">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.<br>



<br>


Max<br>


</font>
</div>







<div style="clear:both"></div>







<div> <br>



</div>







<div> <br>



</div>







<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----Original Message-----<br>



From: Adam Stambler <<a href="mailto:adasta@gmail.com" target="_blank">adasta@gmail.com</a>><br>



To: ros-users <<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a>><br>



Sent: Tue, Jul 6, 2010 5:11 pm<br>



Subject: Re: [ros-users] getting apache2 to work<br>



<br>












<div>

Hi Max,



<div><br>



</div>







<div>Are you trying to get the webui running on a PR2 or simply on another computer with ROS installed?</div>







<div><br>



</div>








<div>With the pr2,  it just just be set up automatically with the deb files.  If not, double check that your pr2-environment is installed. <br>



<br>



 With another computer, following these instructions work:<a href="http://www.ros.org/wiki/webui" target="_blank">  http://www.ros.org/wiki/webui</a>.  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.  <br>





<br>



<br>



</div>







<div>Regards,</div>







<div>Adam Stambler</div>







<div><br>



</div>







<div><br>



</div>







<div>



<div class="gmail_quote">On Tue, Jul 6, 2010 at 11:03 AM,  <span dir="ltr"><<a href="mailto:mwitt341@aol.com" target="_blank">mwitt341@aol.com</a>></span> wrote:<br>





<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><font color="black" face="arial" size="2"><font color="black" face="arial" size="2">





<div> I put <a href="http://localhost/webui/webui" target="_blank">http://localhost/webui/webui</a> in the web browser and get this error:<br>





</div>











<div> <font color="black" face="arial" size="2"><pre>MOD_PYTHON ERROR<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

ProcessId:      17560<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Interpreter:    '127.0.0.1'<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

ServerName:     '127.0.0.1'<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

DocumentRoot:   '/var/www'<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

URI:            '/webui/webui/'<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Location:       '/webui/'<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Directory:      None<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Filename:       '/var/www/webui'<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

PathInfo:       '/webui/'<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Phase:          'PythonHandler'<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Handler:        'startmod'<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Traceback (most recent call last):<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

    default=default_handler, arg=req, silent=hlist.silent)<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1202, in _process_target<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

    module = import_module(module_name, path=path)<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 304, in import_module<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

    return __import__(module_name, {}, {}, ['*'])<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

ImportError: No module named startmod<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

---------------<br>

<br>

<br>

<br>

<br>

<br>

How can I get apache2 to work? Thanks for the help.<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

Max<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

<br>

</pre>
<font color="black" face="arial" size="2">







<div> </div>




</font></font>
</div>











<div style="clear:both"></div>





</font></font><br>



_______________________________________________<br>




ros-users mailing list<br>




<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>




<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>




<br>



</blockquote></div>



<br>



</div>





</div>



 





<div style="margin:0px;font-family:Tahoma,Verdana,Arial,Sans-Serif;font-size:12px;color:rgb(0, 0, 0);background-color:rgb(255, 255, 255)">

<pre style="font-size:9pt"><tt>_______________________________________________<br>

<br>

<br>

ros-users mailing list<br>

<br>

<br>

<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>

<br>

<br>

<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>

<br>

<br>

<br>

<br>

<br>

</tt></pre>
</div>



 

</div>



</font></font>
</div>

 

</div>

</div></div></font></font></blockquote></div><br></div>