-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks. Works like a charm. Would be nice if this would be fixed in 0.11.3 ;)
Greets, Florian Gonzalo Barrio wrote: > Try changing this: > > if os.name == "posix": import signal # Set SIGHUP to reload the > config file & close & open debug file signal.signal(signal.SIGHUP, > SIGHUPstuff) # Load some scripts for PID and daemonising from > twisted.scripts import _twistd_unix as twistd > > to this: > > if os.name == "posix": import signal # Set SIGHUP to reload the > config file & close & open debug file signal.signal(signal.SIGHUP, > SIGHUPstuff) # Load some scripts for PID and daemonising try: from > twisted.scripts import _twistd_unix as twistd except: from > twisted.scripts import twistd > > Cheers, Gonzalo > > > > Florian Jensen wrote: >> Hi, >> >> I am having a problem with starting PyMSNt 0.11.2. On Ubuntu 6.10 >> it works just fine. On 7.04 I constantly get this error. >> >> [EMAIL PROTECTED]:~/transports/pymsnt-0.11.2$ python PyMSNt.py >> Traceback (most recent call last): File "PyMSNt.py", line 14, in >> <module> main.main() File >> "/home/jabber/transports/pymsnt-0.11.2/src/main.py", line 398, in >> main app = App() File >> "/home/jabber/transports/pymsnt-0.11.2/src/main.py", line 335, in >> __init__ twistd.checkPID(config.pid) AttributeError: 'module' >> object has no attribute 'checkPID' >> [EMAIL PROTECTED]:~/transports/pymsnt-0.11.2$ >> >> Any idea what might be wrong? >> >> Greets, >> >> Florian > > _______________________________________________ py-transports > mailing list py-transports@blathersource.org > http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports > > > > _______________________________________________ py-transports > mailing list py-transports@blathersource.org > http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGqhAJhVB5LeyL4PERAsc6AKCPciRiKaEo7ubL5A2yjnZRQaufpQCgi/2E ci5BAm0KdVX5mtUhQEG56Fg= =GUY5 -----END PGP SIGNATURE----- _______________________________________________ py-transports mailing list py-transports@blathersource.org http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports