On 21/10/06, Mario Beauchamp <[EMAIL PROTECTED]> wrote: > Hi Reidar, > > On 10/20/06, Reidar Strand Hagen <[EMAIL PROTECTED]> wrote: > > > > anybody smarter than me got any clue what's going on? > > I have experienced similar strange behaviors when mixing gtk and rpy. > It may be that the gtk initialisation is interfering with rpy's. When > those are preloaded (ie within an application), the problems go away.
Preloaded? Are you referring to py2exe? > So if you have only a script, try putting a delay between imports > and/or invert their order. Hmm. starting with neither import gtk, time time.sleep(1) import rpy nor the opposite makes any difference for the script :/ > > Good luck. > Thanks! After running the failing script, it does actually crash when trying to quit though. Should have posted it in the first mail, but could this be a clue for somebody what's going on? Exception in thread Thread-1 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap File "/usr/lib/python2.4/threading.py", line 422, in run File "/usr/lib/python2.4/site-packages/rpy.py", line 115, in r_eventloop exceptions.AttributeError: 'NoneType' object has no attribute 'release' Unhandled exception in thread started by Error in sys.excepthook: regards Reidar Strand Hagen ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list