unable to find python libraries

Bug #591848 reported by Damien Forest on 2010-06-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP
New
Undecided
Unassigned

Bug Description

Hello,

I am trying to install 2 modules that have dependencies with other python libraries: google_calendar and document_webdav.

I have installed the missing libraries in python and(gdata and webdav, and installing was successful, I also tested the modules with some test data),) and added them to the environement variables but when trying to install these module they are not able to find these dependent modules. (I copied them in pythondir/Lib

Is there somewhere we can tell openerp where to look for python libraries or tell where are the default python libs ?

Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.10
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 245, in dispatch
  File "netsvc.pyo", line 74, in __call__
  File "service\web_services.pyo", line 632, in execute
  File "service\web_services.pyo", line 612, in _execute
  File "wizard\__init__.pyo", line 178, in execute
  File "wizard\__init__.pyo", line 73, in execute_cr
  File "D:\Program Files\OpenERP AllInOne\Server\addons\base\module\wizard\wizard_module_upgrade.py", line 92, in _upgrade_module
  File "pooler.pyo", line 62, in restart_pool
  File "pooler.pyo", line 40, in get_db_and_pool
  File "addons\__init__.pyo", line 740, in load_modules
  File "addons\__init__.pyo", line 581, in load_module_graph
  File "addons\__init__.pyo", line 409, in register_class
  File "D:\Program Files\OpenERP AllInOne\Server\addons\document_webdav.zip\document_webdav\__init__.py", line 22, in <module>
  File "D:\Program Files\OpenERP AllInOne\Server\addons\document_webdav.zip\document_webdav\webdav.py", line 26, in <module>
ImportError: No module named DAV

Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.10
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 245, in dispatch
  File "netsvc.pyo", line 74, in __call__
  File "service\web_services.pyo", line 632, in execute
  File "service\web_services.pyo", line 612, in _execute
  File "wizard\__init__.pyo", line 178, in execute
  File "wizard\__init__.pyo", line 73, in execute_cr
  File "D:\Program Files\OpenERP AllInOne\Server\addons\base\module\wizard\wizard_module_upgrade.py", line 92, in _upgrade_module
  File "pooler.pyo", line 62, in restart_pool
  File "pooler.pyo", line 40, in get_db_and_pool
  File "addons\__init__.pyo", line 740, in load_modules
  File "addons\__init__.pyo", line 581, in load_module_graph
  File "addons\__init__.pyo", line 409, in register_class
  File "D:\Program Files\OpenERP AllInOne\Server\addons\google_calendar.zip\google_calendar\__init__.py", line 23, in <module>
  File "D:\Program Files\OpenERP AllInOne\Server\addons\google_calendar.zip\google_calendar\wizard\__init__.py", line 22, in <module>
  File "D:\Program Files\OpenERP AllInOne\Server\addons\google_calendar.zip\google_calendar\wizard\synchronize_events.py", line 29, in <module>
ImportError: No module named gdata

affects: bzr-explorer → openerp

Which version of OpenERP ?

Regards,

it's openerp 5.0.3

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers