Daniel,

You'll need to append the path in which the wxgazebo module was  
installed to the PYTHONPATH. This can be done by typing the following  
(assuming you are using bash):

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.4/site-packages

Also, you can put this line in your ~/.bashrc file. You may wish to  
look here:

http://playerstage.sourceforge.net/doc/Gazebo-manual-0.7.0-html/ 
install.html

The instructions walk through setting local variables.

> If i change the PYTHONPATH manually will afect the linux system??
Not really. The PYTHONPATH is the directory in which python looks for  
loadable modules. This is similar in notion to the PATH which directs  
where the shell is to look for executables, LD_LIBRARY_PATH for  
library, or CPATH for header files. The only problem that arises with  
the PYTHONPATH is if you are directing the system to load a module in  
one location rather than another. If you are unfamiliar with python,  
take a look at www.python.org and the documentation there in.

Enter the export line above into your bash shell and run wxgazebo. It  
should work assuming everything else is set up correctly.

Nathan

>
> Best Regards
> Daniel Mendoza Quiñones
>
>
> -----Original Message-----
> From: Daniel Igor Mendoza Quiñones
> Sent: Tue 2/27/2007 6:41 PM
> To:   [email protected]
> Cc:   
> Subject:      Error running gazebo
> Hello,
> I installed gazebo 0.6.1 and tried to run it with the followings  
> results
>
> when i tried gazebo
> [EMAIL PROTECTED] gazebo-0.7.0]# gazebo /usr/local/share/gazebo/ 
> worlds/example.world
> ** Gazebo 0.6.1 **
> * Part of the Player/Stage Project [http:// 
> playerstage.sourceforge.net].
> * Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard,
> * Nate Koenig and contributors.
> * Released under the GNU General Public License.
> using display [:0.0]
> X Error of failed request:  GLXUnsupportedPrivateRequest
>   Major opcode of failed request:  143 (GLX)
>   Minor opcode of failed request:  16 (X_GLXVendorPrivate)
>   Serial number of failed request:  14
>   Current serial number in output stream:  16
>
> when i tried wxgazebo
> [EMAIL PROTECTED] gazebo-0.7.0]# wxgazebo /usr/local/share/gazebo/ 
> worlds/example.world
> Traceback (most recent call last):
>   File "/usr/local/bin/wxgazebo", line 4, in ?
>     from wxgazebo.main import main
> ImportError: No module named wxgazebo.main
>
> How can i fix this problems?
>
> Regards
> Daniel Mendoza Quiñones
>
>
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to