Error while installing google_earth module (No module named google.directions)

Asked by Open Tech

While installing Google Earth module downloaded from
http://apps.openerp.com/addon/1560?filter={%22order_by%22%3A+%22click_counter+desc%22%2C+%22text_search%22%3A+%22earth%22}&page=0
shows error:

Environment Information :
System : Windows-Vista-6.1.7600
OS Name : nt
Operating System Release : Vista
Operating System Version : 6.1.7600
Operating System Architecture : 32bit
Operating System Locale : en_US.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "netsvc.pyo", line 489, in dispatch
File "service\web_services.pyo", line 599, in dispatch
File "C:\Program Files\OpenERP 6.0\Server\addons\audittrail\audittrail.py", line 511, in execute
File "C:\Program Files\OpenERP 6.0\Server\addons\audittrail\audittrail.py", line 489, in my_fct
File "osv\osv.pyo", line 122, in wrapper
File "osv\osv.pyo", line 176, in execute
File "osv\osv.pyo", line 167, in execute_cr
File "C:\Program Files\OpenERP 6.0\Server\addons\base\module\wizard\base_module_upgrade.py", line 98, in upgrade_module
File "pooler.pyo", line 60, in restart_pool
File "pooler.pyo", line 39, in get_db_and_pool
File "addons\__init__.pyo", line 883, in load_modules
File "addons\__init__.pyo", line 716, in load_module_graph
File "addons\__init__.pyo", line 456, in register_class
File "C:\Program Files\OpenERP 6.0\Server\addons\google_earth.zip\google_earth\__init__.py", line 22, in <module>
File "C:\Program Files\OpenERP 6.0\Server\addons\google_earth.zip\google_earth\google_earth.py", line 28, in <module>
ImportError: No module named google.directions

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
xrg (xrg) said :
#1

On Sunday 27 March 2011, you wrote:
> Public bug reported:
>...
> in <module> ImportError: No module named google.directions
>
Good morning,

_your_ problem is that your python installation is missing some module
necessary for google_earth (perhaps specific version).

_our_ problem is that we have not yet standardized a way to declare which
prerequisites are needed for each openerp addon. We just endup with such
exceptions.

Revision history for this message
Open Tech (open.tech) said :
#2

Hi,

Thanks for the reply. Can you please suggest how can I fix these? I think main module that is missing is google.directions. Can you please suggest from where I can get that. I couldn't find it on apps.openerp.com. Also search on google didn't produce any result.

Thanks & Regards
Amit

Thanks
Amit

Sent on my BlackBerry® from Vodafone Essar

-----Original Message-----
From: xrg <email address hidden>
Sender: <email address hidden>
Date: Sun, 27 Mar 2011 08:07:07
To: <email address hidden>
Reply-To: Bug 743446 <email address hidden>
Subject: Re: [Bug 743446] [NEW] Error while installing google_earth module (No
 module named google.directions)

On Sunday 27 March 2011, you wrote:
> Public bug reported:
>...
> in <module> ImportError: No module named google.directions
>
Good morning,

_your_ problem is that your python installation is missing some module
necessary for google_earth (perhaps specific version).

_our_ problem is that we have not yet standardized a way to declare which
prerequisites are needed for each openerp addon. We just endup with such
exceptions.

--
You received this bug notification because you are a direct subscriber
of the bug.
https://bugs.launchpad.net/bugs/743446

Title:
  Error while installing google_earth module (No module named
  google.directions)

Status in OpenERP Modules (addons):
  New

Bug description:
  While installing Google Earth module downloaded from
  http://apps.openerp.com/addon/1560?filter={%22order_by%22%3A+%22click_counter+desc%22%2C+%22text_search%22%3A+%22earth%22}&page=0
  shows error:

  Environment Information :
  System : Windows-Vista-6.1.7600
  OS Name : nt
  Operating System Release : Vista
  Operating System Version : 6.1.7600
  Operating System Architecture : 32bit
  Operating System Locale : en_US.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "netsvc.pyo", line 489, in dispatch
  File "service\web_services.pyo", line 599, in dispatch
  File "C:\Program Files\OpenERP 6.0\Server\addons\audittrail\audittrail.py", line 511, in execute
  File "C:\Program Files\OpenERP 6.0\Server\addons\audittrail\audittrail.py", line 489, in my_fct
  File "osv\osv.pyo", line 122, in wrapper
  File "osv\osv.pyo", line 176, in execute
  File "osv\osv.pyo", line 167, in execute_cr
  File "C:\Program Files\OpenERP 6.0\Server\addons\base\module\wizard\base_module_upgrade.py", line 98, in upgrade_module
  File "pooler.pyo", line 60, in restart_pool
  File "pooler.pyo", line 39, in get_db_and_pool
  File "addons\__init__.pyo", line 883, in load_modules
  File "addons\__init__.pyo", line 716, in load_module_graph
  File "addons\__init__.pyo", line 456, in register_class
  File "C:\Program Files\OpenERP 6.0\Server\addons\google_earth.zip\google_earth\__init__.py", line 22, in <module>
  File "C:\Program Files\OpenERP 6.0\Server\addons\google_earth.zip\google_earth\google_earth.py", line 28, in <module>
  ImportError: No module named google.directions

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/openobject-addons/+bug/743446/+subscribe

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#3

Hello Amit,

You can download this package from following link:
http://pypi.python.org/pypi/google.directions

Thanks.

Revision history for this message
Open Tech (open.tech) said :
#4

Hi Vinay,

Thanks for guiding me to the module, earlier I was searching for it for few days, but didn't get any result. I downloaded the module from above link, unzipped it and saved the folder at following location.
C:\Python27\Lib\site-packages

Afterwards, I tried to install google_earth, it is showing same error. I guess I am doing something wrong. Can you please help me here.

Thanks a ton for your support

Revision history for this message
Vincent CARDON (unccvince) said :
#5

Same problem initially. restarted oerp server and it worked. VC

Can you help with this problem?

Provide an answer of your own, or ask Open Tech for more information if necessary.

To post a message you must log in.