** Changed in: openobject-addons
Status: Confirmed => Won't Fix
--
Problems on google_earth module (no address test)
https://bugs.launchpad.net/bugs/651862
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Won't Fix
Bug description:
Hi I've got 2 problems using this module:
1) using "Layers of category of regions" if I have blank address I've got an
error, it seems that tere's not test on fields request for query google (so
google return nothing geocodes)
Error:
[2010-09-30 10:13:30,113] ERROR:web-services:[01]:
[2010-09-30 10:13:30,116] ERROR:web-services:[02]: Environment Information :
[2010-09-30 10:13:30,116] ERROR:web-services:[03]: System :
Linux-2.6.32-24-generic-i686-with-Ubuntu-10.04-lucid
[2010-09-30 10:13:30,117] ERROR:web-services:[04]: OS Name : posix
[2010-09-30 10:13:30,117] ERROR:web-services:[05]: LSB Version:
core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:cxx-4.0-ia32:cxx-4.0-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-3.2-ia32:printing-3.2-noarch:printing-4.0-ia32:printing-4.0-noarch:qt4-3.1-ia32:qt4-3.1-noarch
[2010-09-30 10:13:30,117] ERROR:web-services:[06]: Distributor ID: Ubuntu
[2010-09-30 10:13:30,117] ERROR:web-services:[07]: Description: Ubuntu 10.04.1
LTS
[2010-09-30 10:13:30,117] ERROR:web-services:[08]: Release: 10.04
[2010-09-30 10:13:30,118] ERROR:web-services:[09]: Codename: lucid
[2010-09-30 10:13:30,118] ERROR:web-services:[10]: Operating System Release :
2.6.32-24-generic
[2010-09-30 10:13:30,118] ERROR:web-services:[11]: Operating System Version :
#42-Ubuntu SMP Fri Aug 20 14:24:04 UTC 2010
[2010-09-30 10:13:30,118] ERROR:web-services:[12]: Operating System
Architecture : 32bit
[2010-09-30 10:13:30,119] ERROR:web-services:[13]: Operating System Locale :
it_IT.UTF8
[2010-09-30 10:13:30,119] ERROR:web-services:[14]: Python Version : 2.6.5
[2010-09-30 10:13:30,119] ERROR:web-services:[15]: OpenERP-Server Version :
5.0.7
[2010-09-30 10:13:30,119] ERROR:web-services:[16]: Last revision No. & ID :
2042 [email protected]
[2010-09-30 10:13:30,119] ERROR:web-services:[17]:
[2010-09-30 10:13:30,119] ERROR:web-services:[18]: Exception in call: Traceback
(most recent call last):
[2010-09-30 10:13:30,120] ERROR:web-services:[19]: File
"/home/administrator/Launchpad/training/server-training/bin/wizard/__init__.py",
line 73, in execute_cr
[2010-09-30 10:13:30,120] ERROR:web-services:[20]: action_res =
action(self, cr, uid, data, context)
[2010-09-30 10:13:30,120] ERROR:web-services:[21]: File
"/home/administrator/Launchpad/training/server-training/bin/addons/google_earth/wizard/google_map_layer.py",
line 184, in create_kml
[2010-09-30 10:13:30,120] ERROR:web-services:[22]: coordinates =
geocode(address)
[2010-09-30 10:13:30,120] ERROR:web-services:[23]: File
"/home/administrator/Launchpad/training/server-training/bin/addons/google_earth/wizard/google_map_layer.py",
line 65, in geocode
[2010-09-30 10:13:30,120] ERROR:web-services:[24]: coorText = '%s,%s' %
(coordinates[3],coordinates[2])
[2010-09-30 10:13:30,120] ERROR:web-services:[25]: IndexError: list index out
of range
[2010-09-30 10:13:35,308] INFO:web-services:DROP DB: demopan
2) I've got the same error using "Customer on Map with Turnover" (in geocode
class), but if I delete all partner without address I've got the error below,
searching for "strange" chars I find capital letter E with emphasis in french
word église (write in upper case):
[2010-09-30 10:09:21,145] ERROR:web-services:[18]: Exception in call: Traceback
(most recent call last):
[2010-09-30 10:09:21,145] ERROR:web-services:[19]: File
"/home/administrator/Launchpad/training/server-training/bin/wizard/__init__.py",
line 73, in execute_cr
[2010-09-30 10:09:21,145] ERROR:web-services:[20]: action_res =
action(self, cr, uid, data, context)
[2010-09-30 10:09:21,145] ERROR:web-services:[21]: File
"/home/administrator/Launchpad/training/server-training/bin/addons/google_earth/wizard/google_map_turnover.py",
line 108, in create_kml
[2010-09-30 10:09:21,145] ERROR:web-services:[22]: if add.street:
[2010-09-30 10:09:21,145] ERROR:web-services:[23]: UnicodeEncodeError: 'ascii'
codec can't encode character u'\xc9' in position 13: ordinal not in range(128)
Thanks
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp