Issue 80: AttributeError: 'module' object has no attribute 'checkPID'
Status:  Fixed
Owner:
Closed:  Jan 2008
Reported by jadest...@gmail.com, Dec 15, 2007
 Posted by guest at 2007-07-13 16:37:56

Hi everybody, 
I can't start pyicq anymore.

Logfile:
[2007-07-13 16:55:02] Traceback (most recent call last):
[2007-07-13 16:55:02]   File "PyICQt.py", line 16, in ?
[2007-07-13 16:55:02]     main.main()
[2007-07-13 16:55:02]   File
"/home/smo/stuff/pyicq-t-0.8a/src/main.py", line 443, in main
[2007-07-13 16:55:02]     app = App()
[2007-07-13 16:55:02]   File
"/home/smo/stuff/pyicq-t-0.8a/src/main.py", line 393, in __init__
[2007-07-13 16:55:02]     twistd.checkPID(config.pid)
[2007-07-13 16:55:02] AttributeError: 'module' object has no attribute
'checkPID'

system:
- Debian testing (lenny)
- python-twisted: 2.5.0-2

Let me know if any more information is needed.

smo

Posted by maxbritov at 2007-07-13 17:54:54

http://osdir.com/ml/network.jabber.py-transports/2007-01/msg00008.html

Posted by maxbritov at 2007-07-13 17:56:15

--- 1/main.py	2007-03-30 11:34:45.000000000 +0300
+++ 2/main.py	2007-07-12 16:33:11.957894897 +0300
@@ -89,7 +89,10 @@
 	import signal
 	signal.signal(signal.SIGHUP, reloadConfig)
 	# Load scripts for PID and daemonizing
-	from twisted.scripts import twistd
+	try:
+		from twisted.scripts import _twistd_unix as twistd
+	except:
+		from twisted.scripts import twistd

Posted by guest at 2007-07-14 10:04:09

Thanks, your patch is working.

Any reason why this hasn't been fixed in the pyicq-sources?

smo

Posted by maxbritov at 2007-07-16 12:27:41

pyicq unmaintained atm

Posted by jadestorm at 2007-07-16 12:41:50

Kinda yeah.  I haven't had any time to look at PyICQt in a long while.  Well
aside from pulling in patches from PyAIMt about a month ago and putting out
0.8a.  I'm looking for developers.  For some reason I get a lot more
interest in
developing PyAIMt and none for PyICQt, and yet PyICQt seems to get the most
downloads and overall interest.  =/ 


Jan 6, 2008
Project Member #1 d...@jabber.fsinf.de
Fixed in rev 231
Status: Fixed