Module Installation fails in OpenERP 6.1

Bug #1244101 reported by Selvi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geospatial Addons for OpenERP
New
Undecided
Unassigned

Bug Description

Im using OpenERP 6.1 with CamptoCamp GeoEngine (Without GeoEngine it get installed).
Trying to install module in 6.1 throws Error:
OpenERP Waring:
Geoencoding fails

transform: couldn't project point (484548 6.5942e+06 0): latitude or longitude exceeded limits (-14)

Error is server :

2013-10-25 09:57:56,958 3781 INFO geoengine GeoNames address encoding: geolocalize Plan to Attend a Training
2013-10-25 09:57:57,694 3781 ERROR geoengine openerp.sql_db: bad query: UPDATE res_partner_address SET geo_point = ST_Transform(st_SetSRID(geo_point, 4326), '900913') WHERE id = 61
Traceback (most recent call last):
  File "/geoengine/parts/server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: transform: couldn't project point (-9.44517e+06 5.40999e+06 0): latitude or longitude exceeded limits (-14)

2013-10-25 09:57:57,697 3781 ERROR openerp_trunk_geoengine GeoNames address encoding: error while updating geocodes
Traceback (most recent call last):
  File "/geoengine/parts/geoengine/geoengine_geoname_geocoder/geonames_coder.py", line 103, in geocode_from_geonames
    cursor.execute(sql, (srid, add.id))
  File "/geoengine/parts/server/openerp/sql_db.py", line 152, in wrapper
    return f(self, *args, **kwargs)
  File "/geoengine/parts/server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: transform: couldn't project point (-9.44517e+06 5.40999e+06 0): latitude or longitude exceeded limits (-14)

2013-10-25 09:57:57,708 3781 ERROR openerp_trunk_geoengine openerp.sql_db: bad query: SELECT res_users."menu_id",res_users."action_id",res_users."gmail_password",res_users."menu_tips",res_users."active",res_users."date",res_users."context_lang",res_users."password",res_users."id",res_users."context_tz",res_users."name",res_users."context_section_id",res_users."company_id",res_users."signature",res_users."login",res_users."context_department_id",res_users."gmail_user",res_users."user_email",res_users.id FROM "res_users" WHERE res_users.id IN (1) ORDER BY name
Traceback (most recent call last):
  File "/geoengine/parts/server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of transaction block

2013-10-25 09:57:57,713 3781 ERROR openerp_trunk_geoengine openerp.tools.convert: Parse error in "/geoengine/parts/addons/crm/crm_lead_demo.xml:5:
<record id="crm_case_itisatelesalescampaign0" model="crm.lead">
            <field name="type_id" ref="crm.type_lead1"/>
            <field eval="'3'" name="priority"/>
            <field name="type">lead</field>
            <field name="user_id" ref="base.user_root"/>
            <field eval="'The Oil Company'" name="partner_name"/>
            <field eval="'draft'" name="state"/>
            <field name="section_id" ref="crm.section_sales_marketing_department"/>
            <field eval="'Luc Latour'" name="contact_name"/>
            <field name="title" ref="base.res_partner_title_sir"/>
        <field eval="'Training Manager'" name="function"/>
        <field eval="'Paris'" name="city"/>
        <field name="country_id" ref="base.fr"/>
        <field <email address hidden>'" name="email_from"/>
            <field eval="'0033 621 782-0636'" name="mobile"/>
            <field eval="1" name="active"/>
            <field name="stage_id" ref="crm.stage_lead1"/>
            <field eval="'Plan to Attend a Training'" name="name"/>
            <field eval="'0033 769 703-274'" name="phone"/>
        </record>
Traceback (most recent call last):
  File "/geoengine/parts/server/openerp/tools/convert.py", line 890, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/geoengine/parts/server/openerp/tools/convert.py", line 857, in _tag_record
    id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File "/geoengine/parts/server/openerp/addons/base/ir/ir_model.py", line 744, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/geoengine/parts/geoengine/geoengine_geoname_geocoder/geonames_coder.py", line 121, in create
    self.geocode_from_geonames(cursor, uid, res, context=context)
  File "/geoengine/parts/geoengine/geoengine_geoname_geocoder/geonames_coder.py", line 107, in geocode_from_geonames
    raise except_osv(_('Geoencoding fails'), str(exc))
except_osv: ('Geoencoding fails', "transform: couldn't project point (-9.44517e+06 5.40999e+06 0): latitude or longitude exceeded limits (-14)\n")
2013-10-25 09:57:57,742 3781 ERROR openerp_trunk_geoengine openerp.netsvc: Geoencoding fails
transform: couldn't project point (-9.44517e+06 5.40999e+06 0): latitude or longitude exceeded limits (-14)

2013-10-25 09:57:57,751 3781 INFO openerp_trunk_geoengine werkzeug: 117.218.220.72 - - [25/Oct/2013 09:57:57] "POST /web/dataset/call_button HTTP/1.1" 200 -
2013-10-25 09:57:58,795 3781 INFO ? werkzeug: 117.218.220.72 - - [25/Oct/2013 09:57:58] "GET /web/static/lib/jquery.ui/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png HTTP/1.1" 200 -
2013-10-25 09:57:58,816 3781 INFO ? werkzeug: 117.218.220.72 - - [25/Oct/2013 09:57:58] "GET /web/static/src/img/warning.png HTTP/1.1" 200 -

How do i resolve.

Selvi (selvi)
information type: Private Security → Public
Selvi (selvi)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.