Hi Reidar,

On 10/21/06, Reidar Strand Hagen <[EMAIL PROTECTED]> wrote:

> > 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?

I do use py2exe for my app but what I really mean is that rpy has long
finished loading before it is used in the app.

> > So if you have only a script, try putting a delay between imports
> > and/or invert their order.
>
> import gtk, time
> time.sleep(1)
> import rpy

Maybe try a longer delay... and I think that time won't be imported
until gtk is finished if you put them on the same line so it kinda
defeats the purpose.

> After running the failing script, it does actually crash when trying
> to quit though.
>
> exceptions.AttributeError: 'NoneType' object has no attribute 'release'

I have no idea what is going on here...

cheers
-- 
Mario B.

-------------------------------------------------------------------------
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

Reply via email to