openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27381
[Bug 1288629] [NEW] 7.0 document_ftp: tests broken
Public bug reported:
Hello,
I tried running the document_ftp tests and got a failure
2014-03-06 09:36:01,686 17768 ERROR ? openerp.addons.document_ftp.ftpserver: Traceback (most recent call last):
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/ftpserver/ftpserver.py", line 1800, in try_as_current_user
return self.run_as_current_user(function, *args, **kwargs)
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/ftpserver/ftpserver.py", line 1775, in run_as_current_user
return function(*args, **kwargs)
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/ftpserver/abstracted_fs.py", line 291, in get_crdata
if dbname not in self.db_list():
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/ftpserver/abstracted_fs.py", line 63, in db_list
s = netsvc.ExportService.getService('db')
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/netsvc.py", line 117, in getService
return cls._services[name]
KeyError: 'db'
2014-03-06 09:36:01,686 17768 INFO ? openerp.addons.document_ftp.ftpserver: [admin]@127.0.0.1:36047 FAIL get_crdata() "/test_70" Exception: db.
2014-03-06 09:36:01,686 17768 ERROR test_70 openerp.tools.yaml_import: 451 db.
Traceback (most recent call last):
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 864, in process
self._process_node(node)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 877, in _process_node
self.process_python(node)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 550, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/test/document_ftp_test2.yml", line 2, in <module>
In order to test the document_ftp functionality
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/test_easyftp.py", line 46, in get_ftp_login
ftp.cwd("/" + cr.dbname)
File "/usr/lib/python2.7/ftplib.py", line 550, in cwd
return self.voidcmd(cmd)
File "/usr/lib/python2.7/ftplib.py", line 249, in voidcmd
return self.voidresp()
File "/usr/lib/python2.7/ftplib.py", line 224, in voidresp
resp = self.getresp()
File "/usr/lib/python2.7/ftplib.py", line 217, in getresp
raise error_temp, resp
error_temp: 451 db.
2014-03-06 09:36:01,745 17768 ERROR test_70 openerp.modules.loading: module document_ftp: an exception occurred in a test
Traceback (most recent call last):
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/modules/loading.py", line 83, in load_test
_load_data(cr, module_name, idref, mode, 'test')
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/modules/loading.py", line 122, in _load_data
tools.convert_yaml_import(cr, module_name, fp, kind, idref, mode, noupdate, report)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 928, in yaml_import
yaml_interpreter.process(yaml_string)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 864, in process
self._process_node(node)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 877, in _process_node
self.process_python(node)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 550, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/test/document_ftp_test2.yml", line 2, in <module>
In order to test the document_ftp functionality
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/test_easyftp.py", line 46, in get_ftp_login
ftp.cwd("/" + cr.dbname)
File "/usr/lib/python2.7/ftplib.py", line 550, in cwd
return self.voidcmd(cmd)
File "/usr/lib/python2.7/ftplib.py", line 249, in voidcmd
return self.voidresp()
File "/usr/lib/python2.7/ftplib.py", line 224, in voidresp
resp = self.getresp()
File "/usr/lib/python2.7/ftplib.py", line 217, in getresp
raise error_temp, resp
error_temp: 451 db.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1288629
Title:
7.0 document_ftp: tests broken
Status in OpenERP Addons (modules):
New
Bug description:
Hello,
I tried running the document_ftp tests and got a failure
2014-03-06 09:36:01,686 17768 ERROR ? openerp.addons.document_ftp.ftpserver: Traceback (most recent call last):
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/ftpserver/ftpserver.py", line 1800, in try_as_current_user
return self.run_as_current_user(function, *args, **kwargs)
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/ftpserver/ftpserver.py", line 1775, in run_as_current_user
return function(*args, **kwargs)
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/ftpserver/abstracted_fs.py", line 291, in get_crdata
if dbname not in self.db_list():
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/ftpserver/abstracted_fs.py", line 63, in db_list
s = netsvc.ExportService.getService('db')
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/netsvc.py", line 117, in getService
return cls._services[name]
KeyError: 'db'
2014-03-06 09:36:01,686 17768 INFO ? openerp.addons.document_ftp.ftpserver: [admin]@127.0.0.1:36047 FAIL get_crdata() "/test_70" Exception: db.
2014-03-06 09:36:01,686 17768 ERROR test_70 openerp.tools.yaml_import: 451 db.
Traceback (most recent call last):
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 864, in process
self._process_node(node)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 877, in _process_node
self.process_python(node)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 550, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/test/document_ftp_test2.yml", line 2, in <module>
In order to test the document_ftp functionality
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/test_easyftp.py", line 46, in get_ftp_login
ftp.cwd("/" + cr.dbname)
File "/usr/lib/python2.7/ftplib.py", line 550, in cwd
return self.voidcmd(cmd)
File "/usr/lib/python2.7/ftplib.py", line 249, in voidcmd
return self.voidresp()
File "/usr/lib/python2.7/ftplib.py", line 224, in voidresp
resp = self.getresp()
File "/usr/lib/python2.7/ftplib.py", line 217, in getresp
raise error_temp, resp
error_temp: 451 db.
2014-03-06 09:36:01,745 17768 ERROR test_70 openerp.modules.loading: module document_ftp: an exception occurred in a test
Traceback (most recent call last):
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/modules/loading.py", line 83, in load_test
_load_data(cr, module_name, idref, mode, 'test')
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/modules/loading.py", line 122, in _load_data
tools.convert_yaml_import(cr, module_name, fp, kind, idref, mode, noupdate, report)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 928, in yaml_import
yaml_interpreter.process(yaml_string)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 864, in process
self._process_node(node)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 877, in _process_node
self.process_python(node)
File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/yaml_import.py", line 550, in process_python
unsafe_eval(code_obj, {'ref': self.get_id}, code_context)
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/test/document_ftp_test2.yml", line 2, in <module>
In order to test the document_ftp functionality
File "/home/afayolle/work/oerp/addons/7.0/document_ftp/test_easyftp.py", line 46, in get_ftp_login
ftp.cwd("/" + cr.dbname)
File "/usr/lib/python2.7/ftplib.py", line 550, in cwd
return self.voidcmd(cmd)
File "/usr/lib/python2.7/ftplib.py", line 249, in voidcmd
return self.voidresp()
File "/usr/lib/python2.7/ftplib.py", line 224, in voidresp
resp = self.getresp()
File "/usr/lib/python2.7/ftplib.py", line 217, in getresp
raise error_temp, resp
error_temp: 451 db.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1288629/+subscriptions
Follow ups
References