[Pyro-users] Tkinter error Thread.__init__() not called on pyro 4.9.3 under Mac OS X Tiger

2007-10-18 Thread Jacobo Tarragón
Hi there!

I'm pretty new to pyrobot, but after a hard installation process I got
it running. My Server, Robot (PyrobotSimulator/Vaccum cleaner,
PyrobotRobot6000) and Brain are loading correctly, but I get the
following Tkinter error when trying to run (or step) the simulation:

***
Exception in Tkinter callbak
Traceback (most recent call last):

 File 
/Library/Frameworks/Python.framwork/Versions/2.4//lib/python2.4/lib-tk/Tkinter.py,
line 1345, in __call__

 return self.func(*args)

 File ./gui/__init__.py, line 443, in stepEngine

 self.engine.pleaseStep()

 File ./engine/__init__.py, line 257, in pleaseStep

 self.brain.pleaseStep()

 File ./brain/__init__.py, line 180, in pleaseStep

while self.isAlive() and self.condition.acquire(0) == 0:

 File 
/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/threading.py,
line 567, in isAlive

 assert self.__initialized, Thread.__init() not called
AssertionError: Thread.__init__() not called
***

I've been looking through the archives, but couldn't find a
solution... is there a known fix for this? Have I missed something?

Any help will be so much thankful : )

See you!

***

My system config is:

Mac OS X 10.4.10
Python2.4, Python2.5 (2.5 is default, but I get the same error no
matter which python I run)
Pyrobot compiled with Python2.4
All features turned off while configuring
Native Tk is working correctly (I run the test ok on the python console)
Imagelib, numpy are also installed for python.

I run pyrobot this way:

[EMAIL PROTECTED]: ~/pyrobot/ $ python bin/pyrobot
- or -
[EMAIL PROTECTED] ~/pyrobot/ $
/Library/Frameworks/Python.framework/Versions/2.4/bin/python2.4
bin/pyrobot
___
Pyro-users mailing list
Pyro-users@pyrorobotics.org
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users


Re: [Pyro-users] Tkinter error Thread.__init__() not called on pyro 4.9.3 under Mac OS X Tiger

2007-10-18 Thread Douglas S. Blank

Does this command work (all one line):

python bin/pyrobot -s PyrobotSimulator -w VacuumCleanerWorld.py -r 
PyrobotRobot6 -b Test


I just ran with Pyrobot version 5.0.0 and it worked, but I can't think 
of anything that would not work on 4.9.3 Mac (but I haven't tried it).


Anyone else running on Mac that could test this?

You can get the current CVS version here:

http://pyrorobotics.org/?page=PyroDeveloperCVS

-Doug


Jacobo Tarragón wrote:

Hi there!

I'm pretty new to pyrobot, but after a hard installation process I got
it running. My Server, Robot (PyrobotSimulator/Vaccum cleaner,
PyrobotRobot6000) and Brain are loading correctly, but I get the
following Tkinter error when trying to run (or step) the simulation:

***
Exception in Tkinter callbak
Traceback (most recent call last):

 File 
/Library/Frameworks/Python.framwork/Versions/2.4//lib/python2.4/lib-tk/Tkinter.py,
line 1345, in __call__

 return self.func(*args)

 File ./gui/__init__.py, line 443, in stepEngine

 self.engine.pleaseStep()

 File ./engine/__init__.py, line 257, in pleaseStep

 self.brain.pleaseStep()

 File ./brain/__init__.py, line 180, in pleaseStep

while self.isAlive() and self.condition.acquire(0) == 0:

 File 
/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/threading.py,
line 567, in isAlive

 assert self.__initialized, Thread.__init() not called
AssertionError: Thread.__init__() not called
***

I've been looking through the archives, but couldn't find a
solution... is there a known fix for this? Have I missed something?

Any help will be so much thankful : )

See you!

***

My system config is:

Mac OS X 10.4.10
Python2.4, Python2.5 (2.5 is default, but I get the same error no
matter which python I run)
Pyrobot compiled with Python2.4
All features turned off while configuring
Native Tk is working correctly (I run the test ok on the python console)
Imagelib, numpy are also installed for python.

I run pyrobot this way:

[EMAIL PROTECTED]: ~/pyrobot/ $ python bin/pyrobot
- or -
[EMAIL PROTECTED] ~/pyrobot/ $
/Library/Frameworks/Python.framework/Versions/2.4/bin/python2.4
bin/pyrobot


___
Pyro-users mailing list
Pyro-users@pyrorobotics.org
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users