Skip to Content
Menu
This question has been flagged
7 Replies
17186 Views

Hello, I read a lot in this forum about my question but could not fix it. Please help. thanks.

Version 7, local hosted for testing purposes, just installed a module which seems to be the origin.

in my config file I have add on path:  

addons_path = C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\openerp\addons

2014-07-04 06:23:47,993 2960 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2014 06:23:47] "GET /?db=Company1 HTTP/1.1" 404 -
2014-07-04 06:23:48,043 2960 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2014 06:23:48] "GET /favicon.ico HTTP/1.1" 404 -
2014-07-04 06:23:50,456 2960 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2014 06:23:50] "GET /?db=Company1 HTTP/1.1" 404 -
2014-07-04 06:23:53,134 2960 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2014 06:23:53] "GET /?db=Company1 HTTP/1.1" 404 -
2014-07-04 06:23:56,344 2960 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2014 06:23:56] "GET /?db=Company1 HTTP/1.1" 404 -
2014-07-04 06:24:04,223 2960 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2014 06:24:04] "GET /?db=Company1 HTTP/1.1" 404 -
2014-07-04 06:24:12,766 2960 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2014 06:24:12] "GET / HTTP/1.1" 404 -
2014-07-04 06:24:20,019 2960 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2014 06:24:20] "GET /?db=Company1 HTTP/1.1" 404 -
2014-07-04 06:38:33,404 2960 INFO ? werkzeug: 127.0.0.1 - - [04/Jul/2014 06:38:33] "GET /?db=Company1 HTTP/1.1" 404 -
2014-07-04 06:39:39,023 2904 INFO ? openerp: OpenERP version 7.0-20140427-231325
2014-07-04 06:39:39,025 2904 INFO ? openerp: addons paths: C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\openerp\addons
2014-07-04 06:39:39,026 2904 INFO ? openerp: database hostname: localhost
2014-07-04 06:39:39,026 2904 INFO ? openerp: database port: 5432
2014-07-04 06:39:39,026 2904 INFO ? openerp: database user: admin
2014-07-04 06:39:44,345 2904 CRITICAL ? openerp.modules.module: Couldn't load module web
2014-07-04 06:39:44,345 2904 CRITICAL ? openerp.modules.module: No module named importlib
2014-07-04 06:39:44,345 2904 ERROR ? openerp.service: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\.\openerp\service\__init__.py", line 60, in load_server_wide_modules
  File "C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\.\openerp\modules\module.py", line 415, in load_openerp_module
  File "C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\openerp\addons\web\http.py", line 628, in wsgi_postload
  File "C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\openerp\addons\web\http.py", line 517, in __init__
  File "C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\openerp\addons\web\http.py", line 580, in load_addons
  File "C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\.\openerp\modules\module.py", line 133, in load_module
  File "C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\openerp\addons\report_geraldo\__init__.py", line 31, in <module>
  File "C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\openerp\addons\report_geraldo\ir_actions.py", line 25, in <module>
  File "C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\openerp\addons\report_geraldo\cubic_parser.py", line 25, in <module>
ImportError: No module named importlib

Avatar
Discard
Author

Hello, I have installed openerp with the package all-in on my computer (Windows 7), I have nothing installed to look at the code and compile it. Is it possible to do something directly in the files, without compiling anything? For example is it possible to remove a module or change directly something in a file by editing in notepad? thanks a lot Otherwise is there a way to have access to my data in the different projects? thanks

Best Answer

Hello It seems to me that the directory containing the module web is not mentioned in your addons_path addons_path = C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\openerp\addons, C:\Program Files (x86)\OpenERP 7.0-20140427-231325\Server\server\addons

Avatar
Discard
Best Answer

could n't able to import  importlib

Is importlib is found on the report_geralod.?.

If not  comment the line that import importlib.

Avatar
Discard
Best Answer


Windows 7 için çözüm;

1. Uninstall odoo server

2. Uninstall postgresql server

3. Regedit dosyasında odoo ve postgresql e ait kayıtları siliniz

4. Yeni bir kullanıcı açınız "administrator" yetkisine sahip

5. Restart windows 7

6. Yeni kullanıcı ile windowsa giriniz

7. install odoo for windows

 

Mustafa Küçük (istanbul)

Avatar
Discard
Best Answer

And how i can install this library in windows?

Avatar
Discard
Best Answer

You are missing the python dependency importlib, as you can see from the last line of your server traceback.

You just need to install it: on most linux distributions, assuming you have pip installed, you can do sudo pip install importlib
 

You can check the installation by opening a python shell and typing "import importlib": if it doesn't return an error, you installed it correctly.

Avatar
Discard
Author Best Answer

SOLVED - I have removed the folders from the rep Addons and it worked, I will not reinstall this module anymore! thx anyway.

Avatar
Discard