openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12017
Re: [Bug 1006271] Re: Synhronize Translations crash
В Ср., 30/05/2012 в 10:01 +0000, Amit Parik (OpenERP) пишет:
> Hello Vitaly,
>
> I have tried the "Synchronise term" on both 6.1 as well as trunk.
>
> There is nothing to do with "hr_timesheet module".
>
> *6.1* for 6.1 it's working fine and it's working fine.
>
> *Trunk* on trunk I have faced the following error.
>
> Traceback (most recent call last):
> File "/home/amp/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
> return f(self, dbname, *args, **kwargs)
> File "/home/amp/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 176, in execute
> res = self.execute_cr(cr, uid, obj, method, *args, **kw)
> File "/home/amp/workspace/rdtools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
> return getattr(object, method)(cr, uid, *args, **kw)
> File "/home/amp/workspace/rdtools/server/trunk/openerp/addons/base/module/wizard/base_update_translations.py", line 49, in act_update
> tools.trans_export(this.lang, ['all'], buf, 'csv', cr)
> File "/home/amp/workspace/rdtools/server/trunk/openerp/tools/translate.py", line 468, in trans_export
> trans = trans_generate(lang, modules, cr)
> File "/home/amp/workspace/rdtools/server/trunk/openerp/tools/translate.py", line 583, in trans_generate
> exists = pool.get(model).exists(cr, uid, res_id)
> File "/home/amp/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 4812, in exists
> cr.execute(query + "WHERE ID IN %s", (tuple(ids),))
> TypeError: 'NoneType' object is not iterable
> 2012-05-30 09:57:06,424 10615 ERROR None openerp.netsvc: 'NoneType' object is not iterable
>
> So would you please tell us which type of problem you have faced. or
> provide a your end screen-shot them we can identify your problem.
>
> Thanks and waiting for your reply!
>
> ** Changed in: openobject-server
> Status: New => Incomplete
> Part of my server log for version 6.1 (nigtly):
2012-05-31 19:37:27,687 1432 INFO test
openerp.addons.base.res.res_config: getting next operation
2012-05-31 19:37:27,687 1432 INFO test
openerp.addons.base.res.res_config: getting next
<openerp.addons.base.ir.ir_actions.ir_actions_todo object at
0x030BCE90>
2012-05-31 19:37:27,703 1432 INFO test
openerp.addons.base.res.res_config: next action is None
2012-05-31 19:37:27,733 1432 INFO test werkzeug: 127.0.0.1 - -
[31/May/2012 19:37:27] "POST /web/dataset/call_button HTTP/1.1" 200 -
2012-05-31 19:37:27,937 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:27] "POST /web/session/eval_domain_and_context HTTP/1.1" 200 -
2012-05-31 19:37:28,125 1432 INFO ? openerp.service.web_services:
successful login from 'admin' using database 'test'
2012-05-31 19:37:28,280 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:28] "POST /web/session/get_session_info HTTP/1.1" 200 -
2012-05-31 19:37:28,421 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:28] "POST /web/menu/action HTTP/1.1" 200 -
2012-05-31 19:37:28,671 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:28] "POST /web/session/modules HTTP/1.1" 200 -
2012-05-31 19:37:28,717 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:28] "POST /web/webclient/qweblist HTTP/1.1" 200 -
2012-05-31 19:37:28,733 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:28] "POST /web/webclient/csslist HTTP/1.1" 200 -
2012-05-31 19:37:28,937 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:28] "POST /web/view/load HTTP/1.1" 200 -
2012-05-31 19:37:29,328 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:29] "GET /web/webclient/css?mods=hr_timesheet_sheet HTTP/1.1" 200
-
2012-05-31 19:37:29,500 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:29] "POST /web/proxy/load HTTP/1.1" 200 -
2012-05-31 19:37:29,546 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:29] "POST /web/action/load HTTP/1.1" 200 -
2012-05-31 19:37:30,140 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:30] "POST /web/action/load HTTP/1.1" 200 -
2012-05-31 19:37:30,328 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:30] "POST /web/listview/load HTTP/1.1" 200 -
2012-05-31 19:37:30,453 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:30] "POST /web/action/load HTTP/1.1" 200 -
2012-05-31 19:37:30,546 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:30] "POST /web/action/load HTTP/1.1" 200 -
2012-05-31 19:37:30,671 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:30] "POST /web/listview/load HTTP/1.1" 200 -
2012-05-31 19:37:31,046 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/session/eval_domain_and_context HTTP/1.1" 200 -
2012-05-31 19:37:31,217 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/dataset/call HTTP/1.1" 200 -
2012-05-31 19:37:31,296 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/view/load HTTP/1.1" 200 -
2012-05-31 19:37:31,500 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/listview/load HTTP/1.1" 200 -
2012-05-31 19:37:31,608 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/session/eval_domain_and_context HTTP/1.1" 200 -
2012-05-31 19:37:31,625 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/webclient/translations HTTP/1.1" 200 -
2012-05-31 19:37:31,640 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/listview/load HTTP/1.1" 200 -
2012-05-31 19:37:31,703 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/session/eval_domain_and_context HTTP/1.1" 200 -
2012-05-31 19:37:31,703 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/session/eval_domain_and_context HTTP/1.1" 200 -
2012-05-31 19:37:31,812 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/listview/load HTTP/1.1" 200 -
2012-05-31 19:37:31,858 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/webclient/jslist HTTP/1.1" 200 -
2012-05-31 19:37:31,890 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/dataset/search_read HTTP/1.1" 200 -
2012-05-31 19:37:31,983 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:31] "POST /web/dataset/search_read HTTP/1.1" 200 -
2012-05-31 19:37:32,125 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:32] "POST /web/listview/load HTTP/1.1" 200 -
2012-05-31 19:37:32,203 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:32] "GET /web/webclient/js?mods=hr_timesheet_sheet HTTP/1.1" 200
-
2012-05-31 19:37:32,312 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:32] "POST /web/dataset/search_read HTTP/1.1" 200 -
2012-05-31 19:37:32,405 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:32] "POST /web/dataset/search_read HTTP/1.1" 200 -
2012-05-31 19:37:33,217 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:33] "POST /web/menu/load HTTP/1.1" 200 -
2012-05-31 19:37:59,500 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:59] "POST /web/menu/action HTTP/1.1" 200 -
2012-05-31 19:37:59,625 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:59] "POST /web/view/load HTTP/1.1" 200 -
2012-05-31 19:37:59,780 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:59] "POST /web/action/load HTTP/1.1" 200 -
2012-05-31 19:37:59,828 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:37:59] "POST /web/dataset/get HTTP/1.1" 200 -
2012-05-31 19:38:00,030 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:00] "POST /web/dataset/call HTTP/1.1" 200 -
2012-05-31 19:38:00,046 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:00] "POST /web/dataset/search_read HTTP/1.1" 200 -
2012-05-31 19:38:00,171 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:00] "POST /web/action/load HTTP/1.1" 200 -
2012-05-31 19:38:00,312 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:00] "POST /web/listview/load HTTP/1.1" 200 -
2012-05-31 19:38:00,358 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:00] "POST /web/session/eval_domain_and_context HTTP/1.1" 200 -
2012-05-31 19:38:00,453 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:00] "POST /web/listview/load HTTP/1.1" 200 -
2012-05-31 19:38:00,562 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:00] "POST /web/dataset/search_read HTTP/1.1" 200 -
2012-05-31 19:38:12,000 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:12] "POST /web/menu/action HTTP/1.1" 200 -
2012-05-31 19:38:12,280 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:12] "POST /web/view/load HTTP/1.1" 200 -
2012-05-31 19:38:12,467 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:12] "POST /web/dataset/default_get HTTP/1.1" 200 -
2012-05-31 19:38:12,608 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:12]
"GET /web/binary/image?session_id=9d6df71f189c4824b4d417fe15f34852&model=base.update.translations&id=&field=config_logo&t=1338482292512 HTTP/1.1" 200 -
2012-05-31 19:38:18,967 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:18] "POST /web/dataset/create HTTP/1.1" 200 -
2012-05-31 19:38:19,078 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:19] "POST /web/dataset/get HTTP/1.1" 200 -
2012-05-31 19:38:19,233 1432 INFO ? werkzeug: 127.0.0.1 - - [31/May/2012
19:38:19]
"GET /web/binary/image?session_id=9d6df71f189c4824b4d417fe15f34852&model=base.update.translations&id=2&field=config_logo&t=1338482299077 HTTP/1.1" 200 -
2012-05-31 19:38:21,750 1432 ERROR ? openerp.tools.translate: couldn't
export translation for report account.account.balance.landscape report
account/report/account_balance_landscape.rml
Traceback (most recent call last):
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\.\openerp\tools\translate.py", line 686, in trans_generate
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\.\openerp\tools\misc.py", line 212, in file_open
IOError: Report c:\program files\openerp 6.1-20120530-233414\server
\server\openerp\addons\account\report\account_balance_landscape.rml
doesn't exist or deleted :
2012-05-31 19:39:41,467 1432 INFO ? openerp.tools.translate: loading
translation file for language en_US
2012-05-31 19:39:46,671 1432 ERROR ? openerp.sql_db: bad query: INSERT
INTO tmp_ir_translation_import(name, lang, res_id, src, type,
imd_model, imd_module, imd_name, value)
VALUES(E'hr.analytical.timesheet.employee,month',
E'en_US', 0, E'Август ', E'selection', NULL, NULL, NULL, E'ГЂГўГЈГіГ
±ГІ')
Traceback (most recent call last):
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\.\openerp\sql_db.py", line 212, in execute
DataError: invalid byte sequence for encoding "UTF8": 0xc0e2
HINT: This error can also happen if the byte sequence does not match
the encoding expected by the server, which is controlled by
"client_encoding".
2012-05-31 19:39:46,671 1432 ERROR ? openerp.osv.osv: Uncaught
exception
Traceback (most recent call last):
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\.\openerp\osv\osv.py", line 121, in wrapper
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\.\openerp\osv\osv.py", line 176, in execute
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\.\openerp\osv\osv.py", line 164, in execute_cr
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\openerp\addons\base\module\wizard\base_update_translations.py", line
50, in act_update
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\.\openerp\tools\translate.py", line 935, in trans_load_data
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\openerp\addons\base\ir\ir_translation.py", line 87, in push
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\.\openerp\sql_db.py", line 152, in wrapper
File "C:\Program Files\OpenERP 6.1-20120530-233414\Server\server
\.\openerp\sql_db.py", line 212, in execute
DataError: invalid byte sequence for encoding "UTF8": 0xc0e2
HINT: This error can also happen if the byte sequence does not match
the encoding expected by the server, which is controlled by
"client_encoding".
2012-05-31 19:39:46,671 1432 ERROR ? openerp.netsvc: invalid byte
sequence for encoding "UTF8": 0xc0e2
HINT: This error can also happen if the byte sequence does not match
the encoding expected by the server, which is controlled by
"client_encoding".
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1006271
Title:
Synhronize Translations crash
Status in OpenERP Server:
Incomplete
Bug description:
In 6.1 and in 6.2 installig hr_timeshift module crash the Synhronize
Translations feature.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1006271/+subscriptions
References