| Issue 45: | 0.8 refuses to start | |
| Back to list |
Posted by guest at 2006-10-03 18:53:32
pyicqt refuses to start. Error is:
--------------------------------------------------------------------------------
--------------
Traceback (most recent call last):
File "/var/lib/ejabberd/pyicqt/PyICQt.py", line 16, in ?
main.main()
File "/var/lib/ejabberd/pyicqt/src/main.py", line 443, in main
app = App()
File "/var/lib/ejabberd/pyicqt/src/main.py", line 412, in __init__
self.transportSvc = PyTransport()
File "/var/lib/ejabberd/pyicqt/src/main.py", line 153, in __init__
self.xdb = xdb.XDB(config.jid)
File "/var/lib/ejabberd/pyicqt/src/xdb/mysql.py", line 24, in
__init__
db=config.xdbDriver_mysql["database"]
File "/usr/lib64/python2.4/site-packages/MySQLdb/__init__.py", line
66, in Connect
return Connection(*args, **kwargs)
File "/usr/lib64/python2.4/site-packages/MySQLdb/connections.py",
line 134, in __init__
super(Connection, self).__init__(*args, **kwargs2)
TypeError: 'charset' is an invalid keyword argument for this function
--------------------------------------------------------------------------------
--------
System is:
Gentoo Linux (2.6.16.28-xen)
python 2.4.3-r4
twisted 2.4.0
twisted-web 0.6.0
twisted-words 0.4.0-r1
If you need more info, you can contyct me: ICQ# 20547764
Posted by guest at 2006-10-03 18:54:32
Ah, got to mention:
Error-version is pyicqt 0.8
Version 0.7b works without problems.
Posted by guest at 2006-10-18 07:53:58
Solution: Upgrade your MySQLdb python module to be a version greater than or
equal to 1.2.1_p2. Take careful note of the "p2." For instance, the
"gamma" version is older and if you have it then you'll need to
update.
Posted by jadestorm at 2006-10-18 13:47:48
I wonder how hard it would be for me to detect the version and try the charset
only if it's new enough...
Jan 19, 2008
Project Member
#1
d...@jabber.fsinf.de
Status:
Invalid
|