Thanks Doug - tried your suggestion. Had to fiddle the path a little
( we're using python 2.5 but playerc is
in /usr/lib64/python2.4/site-packages )
...
see below:
==================================
Python 2.5.2 (r252:60911, Feb 3 2009, 16:47:25)
[GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib64/python25.zip', '/usr/lib64/python2.5',
'/usr/lib64/python2.5/plat-linux2', '/usr/lib64/python2.5/lib-tk',
'/usr/lib64/python2.5/lib-dynload', '/usr/lib64/portage/pym',
'/usr/lib64/python2.5/site-packages']
>>> sys.path.append("/usr/lib64/python2.4/site-packages")
>>> import playerc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "playerc.py", line 7, in <module>
import _playerc
ImportError: ./_playerc.so: undefined symbol: Py_InitModule4
==================================
trying python2.4 gives:
Python 2.4.4 (#1, Nov 19 2007, 14:34:53)
[GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append("/usr/lib64/python2.4/site-packages")
>>> import playerc
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib64/python2.4/site-packages/playerc.py", line 7, in ?
import _playerc
ImportError: /usr/lib64/python2.4/site-packages/_playerc.so: undefined
symbol: playerc_client_set_request_timeout
===================================
hmmm....
Matt
On Mon, 2009-04-27 at 09:32 -0400, Douglas S. Blank wrote:
> You might still want to check out Pyro 5.0.2, but I see that the error is:
>
> ImportError: /usr/lib64/python2.4/site-packages/_playerc.so: undefined
> symbol: playerc_client_set_request_timeout
>
> You might try the following:
>
> $ python
> Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:51)
> [GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import playerc
> >>>
>
> If that gives an error, I might suspect the 64-bit version of your system.
>
> -Doug
>
> >> Hi all
> >>
> >> hope someone can help with this?
> >
> > Matt,
> >
> > You might want to try Pyro 5.0.2 out of SVN. It has many enhancements
> > (thanks to Jim Marshall) for working with Player/Stage, Macs, and other
> > fixes.
> >
> > Try:
> >
> > cd to-where-you-want-to-install
> > svn co http://svn.cs.brynmawr.edu/pyrobot/trunk pyrobot
> > cd pyrobot
> > make
> >
> > Let us know if that works for you.
> >
> > -Doug
> >
> >> one of our team has been attempting to use everything.cfg with pyrobot
> >> 5.0.0
> >>
> >> The world loads to the server correctly and displays on the screen.
> >> However, when we try to load a Robot we get the following crash:
> >>
> >> ---------------------------------------------------------------------
> >> Pyrobot Version 5.0.0: Ready...
> >> Attempting to import 'Player6665'...
> >> Exception in Tkinter callback
> >> Traceback (most recent call last):
> >> File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
> >> return self.func(*args)
> >> File "./gui/TK.py", line 202, in loadRobot
> >> File "./gui/__init__.py", line 558, in loadRobot
> >> File "./engine/__init__.py", line 174, in loadRobot
> >> File "./system/__init__.py", line 86, in loadINIT
> >> File "<string>", line 1, in ?
> >> File "./plugins/robots/Player6665.py", line 1, in ?
> >> from pyrobot.robot.player import PlayerRobot
> >> File "./robot/player.py", line 16, in ?
> >> File "/usr/lib64/python2.4/site-packages/playerc.py", line 7, in ?
> >> import _playerc
> >> ImportError: /usr/lib64/python2.4/site-packages/_playerc.so: undefined
> >> symbol: playerc_client_set_request_timeout
> >> ---------------------------------------------------------------------
> >>
> >> we're using:
> >> Python 2.5.2 (r252:60911, Feb 3 2009, 16:47:25)
> >> [GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
> >>
> >>
> >> regards
> >>
> >> Matt
> >> ========================================================================
> >> p.s. : here's stdout before the error:
> >>
> >> Using PYROBOT on posix with CPU 0 in '/usr/pyrobot'...
> >>
> >> * Part of the Player/Stage/Gazebo Project
> >> [http://playerstage.sourceforge.net].
> >> * Copyright (C) 2000 - 2006 Brian Gerkey, Richard Vaughan, Andrew
> >> Howard,
> >> * Nate Koenig, and contributors. Released under the GNU General Public
> >> License.
> >> * Player comes with ABSOLUTELY NO WARRANTY. This is free software, and
> >> you
> >> * are welcome to redistribute it under certain conditions; see COPYING
> >> * for details.
> >>
> >> PLAYERPATH: :/usr/lib
> >>
> >> trying to load /libstageplugin...
> >> trying to load /usr/lib/libstageplugin...
> >> success
> >> invoking player_driver_init()...
> >> Stage driver plugin init
> >>
> >> ** Stage plugin v2.0.3 **
> >> * Part of the Player/Stage Project [http://playerstage.sourceforge.net]
> >> * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey
> >> * and contributors. Released under the GNU General Public License v2.
> >> success
> >> Stage driver creating 1 device
> >> 7000.31.0 is a Stage world
> >> [Loading /usr/pyrobot/plugins/worlds/Stage/everything.world][Include
> >> pioneer.inc][Include map.inc][Include sick.inc]
> >>
> >> Stage driver creating 1 device
> >> 6665.42.0 is "hospital"
> >> Stage driver creating 10 devices
> >> 6665.4.0 is "robot1"
> >> 6665.5.0 is "robot1.ranger:0"
> >> 6665.6.0 is "robot1.laser:0"
> >> 6665.8.0 is "robot1.laser:0.ptz:0"
> >> 6665.7.0 is "robot1.laser:0.ptz:0.blobfinder:0"
> >> 6665.10.0 is "robot1.laser:0.fiducialfinder:0"
> >> 6665.3.0 is "robot1.gripper:0"
> >> 6665.55.0 is "robot1"
> >> 6665.12.0 is "robot1.speech:0"
> >> 6665.14.0 is "robot1.bumper:0"
> >> Stage driver creating 5 devices
> >> 6666.4.0 is "p1"
> >> 6666.5.0 is "p1.ranger:0"
> >> 6666.6.0 is "p1.laser:0"
> >> 6666.7.0 is "p1.laser:0.ptz:0.blobfinder:0"
> >> 6666.10.0 is "p1.laser:0.fiducialfinder:0"
> >> Stage driver creating 5 devices
> >> 6667.4.0 is "p2"
> >> 6667.5.0 is "p2.ranger:0"
> >> 6667.6.0 is "p2.laser:0"
> >> 6667.7.0 is "p2.laser:0.ptz:0.blobfinder:0"
> >> 6667.10.0 is "p2.laser:0.fiducialfinder:0"
> >> Stage driver creating 5 devices
> >> 6668.4.0 is "p3"
> >> 6668.5.0 is "p3.ranger:0"
> >> 6668.6.0 is "p3.laser:0"
> >> 6668.7.0 is "p3.laser:0.ptz:0.blobfinder:0"
> >> 6668.10.0 is "p3.laser:0.fiducialfinder:0"
> >> Stage driver creating 5 devices
> >> 6669.4.0 is "p4"
> >> 6669.5.0 is "p4.ranger:0"
> >> 6669.6.0 is "p4.laser:0"
> >> 6669.7.0 is "p4.laser:0.ptz:0.blobfinder:0"
> >> 6669.10.0 is "p4.laser:0.fiducialfinder:0"
> >> Stage driver creating 5 devices
> >> 6670.4.0 is "p5"
> >> 6670.5.0 is "p5.ranger:0"
> >> 6670.6.0 is "p5.laser:0"
> >> 6670.7.0 is "p5.laser:0.ptz:0.blobfinder:0"
> >> 6670.10.0 is "p5.laser:0.fiducialfinder:0"
> >> Stage driver creating 5 devices
> >> 6671.4.0 is "p6"
> >> 6671.5.0 is "p6.ranger:0"
> >> 6671.6.0 is "p6.laser:0"
> >> 6671.7.0 is "p6.laser:0.ptz:0.blobfinder:0"
> >> 6671.10.0 is "p6.laser:0.fiducialfinder:0"
> >> Listening on ports: 7000 6665 6666 6667 6668 6669 6670 6671
> >>
> >>
> >>
> >> --
> >> - - - - - - - - - - - - - - - - - - - - - -
> >> Dr Matthew Studley
> >> Senior Lecturer
> >> Bristol Robotics Laboratory
> >>
> >> Room 3Q75
> >> University of the West of England
> >> Coldharbour Lane
> >> Bristol BS16 1QY
> >>
> >> +44 117 328 2671
> >>
> >>
> >>
> >> This email was independently scanned for viruses by McAfee anti-virus
> >> software and none were found
> >> _______________________________________________
> >> Pyro-users mailing list
> >> [email protected]
> >> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
> >>
> >
> > _______________________________________________
> > Pyro-users mailing list
> > [email protected]
> > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
> >
>
>
>
> This incoming email to UWE has been independently scanned for viruses by
> McAfee anti-virus software and none were detected
--
- - - - - - - - - - - - - - - - - - - - - -
Dr Matthew Studley
Senior Lecturer
Bristol Robotics Laboratory
Room 3Q75
University of the West of England
Coldharbour Lane
Bristol BS16 1QY
+44 117 328 2671
This email was independently scanned for viruses by McAfee anti-virus software
and none were found
_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users