Hmm, I updated the sources to the latest bzr stable, the error when list files has now changed:
> > [2010-05-04 09:39:43,687] ERROR:FTP:[13]: Python Version : 2.5.2 > [2010-05-04 09:39:43,687] ERROR:FTP:[14]: OpenERP-Server Version : 5.0.7 > [2010-05-04 09:39:43,687] ERROR:FTP:[15]: Last revision No. & ID : 1950 > j...@tinyerp.com-20100202150454-x9kne83yzkjciidw > [2010-05-04 09:39:43,687] ERROR:FTP:[16]: > [2010-05-04 09:39:43,687] ERROR:FTP:[17]: Traceback (most recent call last): > [2010-05-04 09:39:43,687] ERROR:FTP:[18]: File > "/usr/lib/python2.5/asyncore.py", line 68, in read > [2010-05-04 09:39:43,688] ERROR:FTP:[19]: obj.handle_read_event() > [2010-05-04 09:39:43,688] ERROR:FTP:[20]: File > "/usr/lib/python2.5/asyncore.py", line 390, in handle_read_event > [2010-05-04 09:39:43,688] ERROR:FTP:[21]: self.handle_read() > [2010-05-04 09:39:43,688] ERROR:FTP:[22]: File > "/usr/lib/python2.5/asynchat.py", line 137, in handle_read > [2010-05-04 09:39:43,688] ERROR:FTP:[23]: self.found_terminator() > [2010-05-04 09:39:43,688] ERROR:FTP:[24]: File > "/opt/openerp.bzr/server/bin/addons/document/ftpserver/ftpserver.py", line > 1577, in found_terminator > [2010-05-04 09:39:43,688] ERROR:FTP:[25]: method(arg) # call the proper > ftp_* method > [2010-05-04 09:39:43,688] ERROR:FTP:[26]: File > "/opt/openerp.bzr/server/bin/addons/document/ftpserver/ftpserver.py", line > 2038, in ftp_LIST > [2010-05-04 09:39:43,688] ERROR:FTP:[27]: iterator = > self.run_as_current_user(self.fs.get_list_dir, path) > [2010-05-04 09:39:43,688] ERROR:FTP:[28]: File > "/opt/openerp.bzr/server/bin/addons/document/ftpserver/ftpserver.py", line > 1807, in run_as_current_user > [2010-05-04 09:39:43,688] ERROR:FTP:[29]: return function(*args, **kwargs) > [2010-05-04 09:39:43,688] ERROR:FTP:[30]: File > "/opt/openerp.bzr/server/bin/addons/document/ftpserver/abstracted_fs.py", > line 685, in get_list_dir > [2010-05-04 09:39:43,689] ERROR:FTP:[31]: listing = self.listdir(path) > [2010-05-04 09:39:43,689] ERROR:FTP:[32]: File > "/opt/openerp.bzr/server/bin/addons/document/ftpserver/abstracted_fs.py", > line 427, in listdir > [2010-05-04 09:39:43,689] ERROR:FTP:[33]: for db in self.db_list(): > [2010-05-04 09:39:43,689] ERROR:FTP:[34]: File > "/opt/openerp.bzr/server/bin/addons/document/ftpserver/abstracted_fs.py", > line 125, in db_list > [2010-05-04 09:39:43,689] ERROR:FTP:[35]: result = s.list(document=True) > [2010-05-04 09:39:43,689] ERROR:FTP:[36]: TypeError: list() got an unexpected > keyword argument 'document' > [2010-05-04 09:39:43,689] INFO:FTP:[adm...@195.176.213.9:44755 Disconnected. > The source 125 is "s.list(document=True)" . If this is changed to "result = s.list()", we're back to the unicode errors above. Any tips please? -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=55292#55292 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users