Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

File creation by using ftp OpenERP V7

By
Koffi KPONOUGLO
on 4/12/14, 2:40 PM 1,186 views

I use filezilla or Nautipolis on ubuntu. I access all files in every database by using ftp. So i want to add new file still by using filezilla but i can't. i can just creat new directory. What can i do?

When i return in windows7 and use internet explorer, i can add new file easly.

exmple7 openerp.addons.document_ftp.ftpserver: Traceback (most recent call last): File "/usr/lib/python2.7/asyncore.py", line 83, in read obj.handle_read_event() File "/usr/lib/python2.7/asyncore.py", line 444, in handle_read_event self.handle_read() File "/home/benos/Public/openerp-7/openerp/addons/document_ftp/ftpserver/ftpserver.py", line 657, in handle_read chunk = self.recv(self.ac_in_buffer_size) File "/usr/lib/python2.7/asyncore.py", line 388, in recv self.handle_close() File "/home/benos/Public/openerp-7/openerp/addons/document_ftp/ftpserver/ftpserver.py", line 795, in handle_close self.close() File "/home/benos/Public/openerp-7/openerp/addons/document_ftp/ftpserver/ftpserver.py", line 801, in close self.file_obj.close() File "/home/benos/Public/openerp-7/openerp/addons/document/document.py", line 2111, in close registry.get('ir.attachment').write(cr, 1, par.file_id, {'datas': data}) File "/home/benos/Public/openerp-7/openerp/addons/base_calendar/crm_meeting.py", line 160, in write return super(ir_attachment, self).write(cr, uid, ids, vals, context=context) File "/home/benos/Public/openerp-7/openerp/addons/document/document.py", line 132, in write return super(document_file, self).write(cr, uid, ids, vals, context) File "/home/benos/Public/openerp-7/openerp/addons/base/ir/ir_attachment.py", line 268, in write self.check(cr, uid, ids, 'write', context=context, values=vals) File "/home/benos/Public/openerp-7/openerp/addons/document/document.py", line 78, in check cr.execute('SELECT DISTINCT parent_id from ir_attachment WHERE id in %s AND parent_id is not NULL', (tuple(ids),)) TypeError: 'long' object is not iterable

Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner self.run() File "/home/benos/Public/openerp-7/openerp/addons/document_ftp/ftpserver/__init__.py", line 60, in run ftpd.serve_forever() File "/home/benos/Public/openerp-7/openerp/addons/document_ftp/ftpserver/ftpserver.py", line 2951, in serve_forever asyncore.loop(timeout=1.0, use_poll=False) File "/usr/lib/python2.7/asyncore.py", line 216, in loop poll_fun(timeout, map) File "/usr/lib/python2.7/asyncore.py", line 156, in poll read(obj) File "/usr/lib/python2.7/asyncore.py", line 87, in read obj.handle_error() File "/home/benos/Public/openerp-7/openerp/addons/document_ftp/ftpserver/ftpserver.py", line 772, in handle_error self.close() File "/home/benos/Public/openerp-7/openerp/addons/document_ftp/ftpserver/ftpserver.py", line 801, in close self.file_obj.close() File "/home/benos/Public/openerp-7/openerp/addons/document/document.py", line 2111, in close registry.get('ir.attachment').write(cr, 1, par.file_id, {'datas': data}) File "/home/benos/Public/openerp-7/openerp/addons/base_calendar/crm_meeting.py", line 160, in write return super(ir_attachment, self).write(cr, uid, ids, vals, context=context) File "/home/benos/Public/openerp-7/openerp/addons/document/document.py", line 132, in write return super(document_file, self).write(cr, uid, ids, vals, context) File "/home/benos/Public/openerp-7/openerp/addons/base/ir/ir_attachment.py", line 268, in write self.check(cr, uid, ids, 'write', context=context, values=vals) File "/home/benos/Public/openerp-7/openerp/addons/document/document.py", line 78, in check cr.execute('SELECT DISTINCT parent_id from ir_attachment WHERE id in %s AND parent_id is not NULL', (tuple(ids),)) TypeError: 'long' object is not iterable

Is it normal?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 4/12/14, 2:40 PM
Seen: 1186 times
Last updated: 3/16/15, 8:10 AM