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

ImportError: No module named document.document

By
Benoy P P
on 3/15/13, 11:06 AM 2,532 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>
openerp.cli.main()
File "/usr/local/lib/python2.7/dist-packages/openerp-7.0-py2.7.egg/openerp/cli/__init__.py", line 51, in main
__import__(m)
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
0
ahmed
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

0

AJ Schrafel Paper Corp

--AJ Schrafel Paper Corp--
2060
| 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.

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: 3/15/13, 11:06 AM
Seen: 2532 times
Last updated: 3/16/15, 8:10 AM