Hi there, 

I have an error using the tinyerp-mailgate (the rest of tinyerp is working)

I have installed the fetchmail follwing the instructions. And now after reading 
the emails the script give an error :

[EMAIL PROTECTED]:~/Desktop$ fetchmail -f fetchmailrc -v
fetchmail: 6.3.2 interroge 192.168.1.81 (protocole POP3) à jeu 01 fév 2007 
22:36:57 CET : récupération en cours
fetchmail: POP3<OK> CAPA
fetchmail: POP3< +OK Here's what I can do:
fetchmail: POP3< STLS
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< LOGIN-DELAY 10
fetchmail: POP3< PIPELINING
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Courier Mail Server
fetchmail: POP3<fetchmail> STLS
fetchmail: POP3<OK> CAPA
fetchmail: POP3< +OK Here's what I can do:
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< LOGIN-DELAY 10
fetchmail: POP3< PIPELINING
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Courier Mail Server
fetchmail: POP3<fetchmail> USER web5_support
fetchmail: POP3<OK> PASS *
fetchmail: POP3<OK> STAT
fetchmail: POP3<OK> LAST
fetchmail: POP3<ERR> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 1170337730.13539_1.boule
fetchmail: POP3< 2 UID2-1170338012
fetchmail: POP3<2> LIST 1
fetchmail: POP3<OK> TOP 1 99999999
fetchmail: POP3< +OK headers follow.
lecture du message [EMAIL PROTECTED]:1 parmi 2 (1102 octets)
#********Traceback (most recent call last):
  File 
"/usr/lib/tinyerp-server/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py",
 line 225, in ?
    parser = email_parser(options.userid, options.password, options.section, 
options.email, options.default)
  File 
"/usr/lib/tinyerp-server/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py",
 line 45, in __init__
    self.section_id = self.rpc('crm.case.section', 'search', 
[('code','=',section)])[0]
  File 
"/usr/lib/tinyerp-server/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py",
 line 37, in __call__
    return self.rpc.execute(self.user_id, self.passwd, *request)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1286, in _parse_response
    return u.close()
  File "/usr/lib/python2.4/xmlrpclib.py", line 744, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault>
fetchmail: MDA a retourné un état non nul (1)
 non éliminé
fetchmail: POP3> LIST 2
fetchmail: POP3<OK> TOP 2 99999999
fetchmail: POP3< +OK headers follow.
lecture du message [EMAIL PROTECTED]:2 parmi 2 (1102 octets)
#********Traceback (most recent call last):
  File 
"/usr/lib/tinyerp-server/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py",
 line 225, in ?
    parser = email_parser(options.userid, options.password, options.section, 
options.email, options.default)
  File 
"/usr/lib/tinyerp-server/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py",
 line 45, in __init__
    self.section_id = self.rpc('crm.case.section', 'search', 
[('code','=',section)])[0]
  File 
"/usr/lib/tinyerp-server/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py",
 line 37, in __call__
    return self.rpc.execute(self.user_id, self.passwd, *request)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1286, in _parse_response
    return u.close()
  File "/usr/lib/python2.4/xmlrpclib.py", line 744, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault>
fetchmail: MDA a retourné un état non nul (1)
 non éliminé
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Bye-bye.
fetchmail: 6.3.2 interroge 192.168.1.81 (protocole POP3) à jeu 01 fév 2007 
22:37:05 CET : interrogation finie
fetchmail: terminaison normale, état 0
[EMAIL PROTECTED]:~/Desktop$

What should I do ?

Many thanks

I send a swiss chocolate for the first helping me to resolve....  :D





_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to