[jadmin] JMC Problem

Maed Maed maed at ukr.net
Mon Jan 28 09:46:20 CST 2008



Hi everyone! I installed Jabber Mail Component and it even works, but in rather unusual way:    

I got notifications, but not for all incoming E-mails. For some E-mails I got following error from JMC JID:    

Subject: Error while checking emails.    
    
An error appears while checking emails:    
    xmlNewTextChild() argument 4 must be string without null bytes or None, not str    

Server-side error:    

Getting mail list    
Getting mail 1    
OUT: '<message  from="emgw@*****" to="maed@****" type="error"><subject>Error while checking emails.</subject><body>An error appears while checking emails:\n\txmlNewTextChild() argument 4 must be string without null bytes or None, not str</body></message>'    
Error while checking mail : xmlNewTextChild() argument 4 must be string without null bytes or None, not str    
Traceback (most recent call last):    
  File "/usr/home/maed/jmc-0.2.3/src/jmc/jabber/component.py", line 874, in check_mail    
    body = body)    
  File "/usr/local/lib/python2.4/site-packages/pyxmpp/message.py", line 82, in __init__    
    self.xmlnode.newTextChild(common_ns,"subject",to_utf8(subject))    
  File "/usr/local/lib/python2.4/site-packages/libxml2.py", line 3273, in newTextChild    
    ret = libxml2mod.xmlNewTextChild(self._o, ns__o, name, content)    
TypeError: xmlNewTextChild() argument 4 must be string without null bytes or None, not str    
    
Resetting alarm signal    

Maybe some knew how to solve this problem??    

P.S. JMC v. 0.2.3 runs on rather old PC with FreeBSD 4.10 (other used software:     Python-2.4.4; dnspython-1.6.0; pyxmpp-1.0.0; libxml2-2.6.31; libxml2-python-2.6.21; libxslt-1.0.0).    P.S.S. Sorry for my poor English.    
    
Best regards,    
Maed.    
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jadmin/attachments/20080128/2813b6f7/attachment-0003.htm>


More information about the JAdmin mailing list