Bug in ir_translation.py line 143, in _get_source

Bug #608029 reported by Moisés López - http://www.vauxoo.com
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Anup(SerpentCS)

Bug Description

Error in start openerp-server.py

[2010-07-20 20:55:41,332] ERROR:web-services:[01]:
[2010-07-20 20:55:41,332] ERROR:web-services:[02]: Environment Information :
[2010-07-20 20:55:41,332] ERROR:web-services:[03]: System : Windows-32bit
[2010-07-20 20:55:41,332] ERROR:web-services:[04]: OS Name : nt
[2010-07-20 20:55:41,332] ERROR:web-services:[05]: Operating System Release :
[2010-07-20 20:55:41,332] ERROR:web-services:[06]: Operating System Version : 32bit
[2010-07-20 20:55:41,332] ERROR:web-services:[07]: Operating System Architecture : 32bit
[2010-07-20 20:55:41,332] ERROR:web-services:[08]: Operating System Locale : es_MX.cp1252
[2010-07-20 20:55:41,332] ERROR:web-services:[09]: Python Version : 2.5.1
[2010-07-20 20:55:41,332] ERROR:web-services:[10]: OpenERP-Server Version : 5.0.11
[2010-07-20 20:55:41,332] ERROR:web-services:[11]: Last revision No. & ID :
[2010-07-20 20:55:41,332] ERROR:web-services:[12]: Traceback (most recent call last):
[2010-07-20 20:55:41,332] ERROR:web-services:[13]: File "D:\openerp-server\bin\osv\osv.py", line 58, in wrapper
[2010-07-20 20:55:41,332] ERROR:web-services:[14]: File "D:\openerp-server\bin\osv\osv.py", line 119, in execute
[2010-07-20 20:55:41,332] ERROR:web-services:[15]: File "D:\openerp-server\bin\osv\osv.py", line 111, in execute_cr
[2010-07-20 20:55:41,332] ERROR:web-services:[16]: File "D:\openerp-server\bin\osv\orm.py", line 1371, in fields_view_get
[2010-07-20 20:55:41,332] ERROR:web-services:[17]: File "D:\openerp-server\bin\osv\orm.py", line 1116, in __view_look_dom_arch
[2010-07-20 20:55:41,332] ERROR:web-services:[18]: File "D:\openerp-server\bin\osv\orm.py", line 1099, in __view_look_dom
[2010-07-20 20:55:41,332] ERROR:web-services:[19]: File "D:\openerp-server\bin\tools\misc.py", line 683, in cached_result
[2010-07-20 20:55:41,332] ERROR:web-services:[20]: File "D:\openerp-server\bin\addons\base\ir\ir_translation.py", line 143, in _get_source
[2010-07-20 20:55:41,332] ERROR:web-services:[21]: (lang, tt, tools.ustr(name)))
[2010-07-20 20:55:41,332] ERROR:web-services:[22]: File "D:\openerp-server\bin\sql_db.py", line 77, in wrapper
[2010-07-20 20:55:41,332] ERROR:web-services:[23]: return f(self, *args, **kwargs)
[2010-07-20 20:55:41,332] ERROR:web-services:[24]: File "D:\openerp-server\bin\sql_db.py", line 122, in execute
[2010-07-20 20:55:41,332] ERROR:web-services:[25]: res = self._obj.execute(query, params)
[2010-07-20 20:55:41,332] ERROR:web-services:[26]: ProgrammingError: el operador no existe: character varying = boolean
[2010-07-20 20:55:41,332] ERROR:web-services:[27]: LINE 1: select value from ir_translation where lang=false and type=E...
[2010-07-20 20:55:41,332] ERROR:web-services:[28]:
                      ^
[2010-07-20 20:55:41,332] ERROR:web-services:[29]: HINT: Ningún operador coincide con el nombre y el tipo de los argumentos. Puede desear agregar conversiones explícitas de tipos.
[2010-07-20 20:55:59,756] INFO:shutdown:Shutdown Server! - SIGINT

Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote :
Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote :

revno 2037

Changed in openobject-server:
status: New → Confirmed
Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello,

   Thank you for pointing towards the issue. I have found a generic solution for this. Would you please check the attached patch and notify us?

Thanks.

Changed in openobject-server:
assignee: nobody → Anup (Open ERP) (ach-openerp)
milestone: none → 5.0.13
status: Confirmed → In Progress
Revision history for this message
ViktorNagy (viktor-nagy) wrote :

I have a bit different patch.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks for the contribution Viktor,moylop and Anup.

It has been fixed by revision 2086 <email address hidden>.

Changed in openobject-server:
status: In Progress → Fix Released
Revision history for this message
deeb (deeb-moh1) wrote :

hello and thank u all for the time and efforts u r putting to solve these bugs.

i have installed the openerp all-in-one package and i got an error which led me to this page,
please understand that im new to the python development...actually i know nothing about python.

so, this patch, how im supposed to apply it to my installation in order to solve the problem that i have?

thanks everyone

Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello deeb,

   Sorry but you'll have to wait for the next version. As you might be having version 5.0.12 and the changes made here will reflect in the all-in-one with the release of the next version 5.0.13 and it will be released soon.

Thanks

Revision history for this message
deeb (deeb-moh1) wrote :

im deeply gratefull for ur response Anup.
i will keep an on the next version
thanks

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.