Hi,

After logging in via ftp:8021 to the document system, files cannot be listed.

> 
> [2010-05-04 09:22:42,683] ERROR:FTP:[05]: Distributor ID:       Ubuntu
> [2010-05-04 09:22:42,683] ERROR:FTP:[06]: Description:  Ubuntu 8.04.4 LTS
> [2010-05-04 09:22:42,683] ERROR:FTP:[07]: Release:      8.04
> [2010-05-04 09:22:42,683] ERROR:FTP:[08]: Codename:     hardy
> [2010-05-04 09:22:42,684] ERROR:FTP:[09]: Operating System Release : 
> 2.6.24-16-server
> [2010-05-04 09:22:42,684] ERROR:FTP:[10]: Operating System Version : #1 SMP 
> Thu Apr 10 13:58:00 UTC 2008
> [2010-05-04 09:22:42,684] ERROR:FTP:[11]: Operating System Architecture : 
> 32bit
> [2010-05-04 09:22:42,684] ERROR:FTP:[12]: Operating System Locale : en_US.UTF8
> [2010-05-04 09:22:42,684] ERROR:FTP:[13]: Python Version : 2.5.2
> [2010-05-04 09:22:42,684] ERROR:FTP:[14]: OpenERP-Server Version : 5.0.7
> [2010-05-04 09:22:42,684] ERROR:FTP:[15]: Last revision No. & ID : 1950 
> j...@tinyerp.com-20100202150454-x9kne83yzkjciidw
> 
> 
> [2010-05-04 09:22:42,684] ERROR:FTP:[17]: Traceback (most recent call last):
> [2010-05-04 09:22:42,684] ERROR:FTP:[18]:   File 
> "/usr/lib/python2.5/asyncore.py", line 68, in read
> [2010-05-04 09:22:42,684] ERROR:FTP:[19]:     obj.handle_read_event()
> [2010-05-04 09:22:42,684] ERROR:FTP:[20]:   File 
> "/usr/lib/python2.5/asyncore.py", line 390, in handle_read_event
> [2010-05-04 09:22:42,684] ERROR:FTP:[21]:     self.handle_read()
> [2010-05-04 09:22:42,685] ERROR:FTP:[22]:   File 
> "/usr/lib/python2.5/asynchat.py", line 137, in handle_read
> [2010-05-04 09:22:42,685] ERROR:FTP:[23]:     self.found_terminator()
> [2010-05-04 09:22:42,685] ERROR:FTP:[24]:   File 
> "/opt/openerp.bzr/server/bin/addons/document/ftpserver/ftpserver.py", line 
> 1577, in found_terminator
> [2010-05-04 09:22:42,685] ERROR:FTP:[25]:     method(arg)  # call the proper 
> ftp_* method
> [2010-05-04 09:22:42,685] ERROR:FTP:[26]:   File 
> "/opt/openerp.bzr/server/bin/addons/document/ftpserver/ftpserver.py", line 
> 2038, in ftp_LIST
> [2010-05-04 09:22:42,685] ERROR:FTP:[27]:     iterator = 
> self.run_as_current_user(self.fs.get_list_dir, path)
> [2010-05-04 09:22:42,685] 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:22:42,685] ERROR:FTP:[29]:     return function(*args, **kwargs)
> [2010-05-04 09:22:42,685] 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:22:42,685] ERROR:FTP:[31]:     listing = self.listdir(path)
> [2010-05-04 09:22:42,685] ERROR:FTP:[32]:   File 
> "/opt/openerp.bzr/server/bin/addons/document/ftpserver/abstracted_fs.py", 
> line 429, in listdir
> [2010-05-04 09:22:42,685] ERROR:FTP:[33]:     uid = security.login(db, 
> self.username, self.password)
> [2010-05-04 09:22:42,685] ERROR:FTP:[34]:   File 
> "/opt/openerp.bzr/server/bin/service/security.py", line 31, in login
> [2010-05-04 09:22:42,686] ERROR:FTP:[35]:     cr = pooler.get_db(db).cursor()
> [2010-05-04 09:22:42,686] ERROR:FTP:[36]:   File 
> "/opt/openerp.bzr/server/bin/pooler.py", line 77, in get_db
> [2010-05-04 09:22:42,686] ERROR:FTP:[37]:     return 
> get_db_and_pool(db_name)[0]
> [2010-05-04 09:22:42,686] ERROR:FTP:[38]:   File 
> "/opt/openerp.bzr/server/bin/pooler.py", line 40, in get_db_and_pool
> [2010-05-04 09:22:42,686] ERROR:FTP:[39]:     addons.load_modules(db, 
> force_demo, status, update_module)
> [2010-05-04 09:22:42,686] ERROR:FTP:[40]:   File 
> "/opt/openerp.bzr/server/bin/addons/__init__.py", line 740, in load_modules
> [2010-05-04 09:22:42,686] ERROR:FTP:[41]:     r = load_module_graph(cr, 
> graph, status, report=report)
> [2010-05-04 09:22:42,686] ERROR:FTP:[42]:   File 
> "/opt/openerp.bzr/server/bin/addons/__init__.py", line 596, in 
> load_module_graph
> [2010-05-04 09:22:42,686] ERROR:FTP:[43]:     modobj.check(cr, 1, [mid])
> [2010-05-04 09:22:42,686] ERROR:FTP:[44]:   File 
> "/opt/openerp.bzr/server/bin/addons/base/module/module.py", line 488, in check
> [2010-05-04 09:22:42,686] ERROR:FTP:[45]:     if not mod.description:
> [2010-05-04 09:22:42,686] ERROR:FTP:[46]:   File 
> "/opt/openerp.bzr/server/bin/osv/orm.py", line 229, in __getattr__
> [2010-05-04 09:22:42,686] ERROR:FTP:[47]:     return self[name]
> [2010-05-04 09:22:42,686] ERROR:FTP:[48]:   File 
> "/opt/openerp.bzr/server/bin/osv/orm.py", line 190, in __getitem__
> [2010-05-04 09:22:42,687] ERROR:FTP:[49]:     datas = 
> self._table.read(self._cr, self._uid, ids, fffields, context=self._context, 
> load="_classic_write")
> [2010-05-04 09:22:42,687] ERROR:FTP:[50]:   File 
> "/opt/openerp.bzr/server/bin/osv/orm.py", line 2172, in read
> [2010-05-04 09:22:42,687] ERROR:FTP:[51]:     result = self._read_flat(cr, 
> user, select, fields, context, load)
> [2010-05-04 09:22:42,687] ERROR:FTP:[52]:   File 
> "/opt/openerp.bzr/server/bin/osv/orm.py", line 2244, in _read_flat
> [2010-05-04 09:22:42,687] ERROR:FTP:[53]:     res.extend(cr.dictfetchall())
> [2010-05-04 09:22:42,687] ERROR:FTP:[54]:   File 
> "/usr/lib/python2.5/site-packages/psycopg2/psycopg1.py", line 83, in 
> dictfetchall
> [2010-05-04 09:22:42,687] ERROR:FTP:[55]:     rows = _2cursor.fetchall(self)
> 
> [2010-05-04 09:22:42,687] ERROR:FTP:[56]: UnicodeDecodeError: 'ascii' codec 
> can't decode byte 0xc3 in position 486: ordinal not in range(128)
> 
> [2010-05-04 09:22:42,688] INFO:FTP:[adm...@195.176.213.9:51917 Disconnected.
> 

Is is really something to do with a filename with accents, or is there 
something else to chase?[/code]




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=55288#55288

-------------------- m2f --------------------


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

Reply via email to