Odoo Help


ImportError: No module named document.document

Benoy P P
on 3/15/13, 11:06 AM 3,611 views

Do anyone have any idea about this error ?

user@user-System-Product-Name:/etc/init.d$ sudo openerp-server start
Traceback (most recent call last):
File "/usr/local/bin/openerp-server", line 5, in <module>
pkg_resources.run_script('openerp==7.0', 'openerp-server')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0-py2.7.egg/EGG-INFO/scripts/openerp-server", line 5, in <module>
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0-py2.7.egg/openerp/cli/__init__.py", line 51, in main
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0-py2.7.egg/openerp/modules/module.py", line 82, in load_module
mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
File "/opt/openerp/server/openerp/addons/document_ftp/__init__.py", line 22, in <module>
import ftpserver
File "/opt/openerp/server/openerp/addons/document_ftp/ftpserver/__init__.py", line 26, in <module>
import abstracted_fs
File "/opt/openerp/server/openerp/addons/document_ftp/ftpserver/abstracted_fs.py", line 16, in <module>
from document.document import get_node_context
ImportError: No module named document.document

Somebody please help me to resolve it

Actually this error came to me because of some access previllege , after i gave the previllege "chmod 777 /etc/init.d/openerp-server", it started working fine.

Benoy P P
on 3/15/13, 4:37 PM
On 3/15/13, 12:31 PM

I think there is a problem of compatibility, I also encounter the same problem with another module and it was a couse of compability


AJ Schrafel Paper Corp

--AJ Schrafel Paper Corp--
| 4 5 8
Bronx, United States
--AJ Schrafel Paper Corp--

Exploring OpenERP for business

AJ Schrafel Paper Corp
On 3/15/13, 11:31 AM

is document_ftp your custom module?

I needs have the dependency of document added to it's __openerp__.py file so that document is loaded before document_ftp is loaded.

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/15/13, 11:06 AM
Seen: 3611 times
Last updated: 3/16/15, 8:10 AM