[Twisted-Python] reactor.run() or application.save()+run?
mario at ruggier.org
Thu Feb 27 17:11:05 EST 2003
> Mario Ruggier <mario at ruggier.org> writes:
>> when i call "twistd -f pargs-webapp.tap", I get the following error :
>> Failed to load application: <twisted.persisted.styles.Ephemeral
>> instance at
>> 0x3ad330> is not safe for unpickling
>> If I do not call save() but just run(), the application runs
> It's probably related to this one:
> In short, app.save() is storing an object of class
> which cannot be loaded. You need to import that class from yourself to
> get a
> globally-correct name
Yes indeed, it is exactly this. Importing the same module corrects the
Thanks for the pointer!
> It would be nice if we could detect this sort of thing at .save() time
> emit a warning..
Yes, it would be a very good thing.
More information about the Twisted-Python