cloudtrends / hornerp

Automatically exported from code.google.com/p/hornerp
0 stars 0 forks source link

can't create database for i18n #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create database

What is the expected output? What do you see instead?
a database is created but it haven't!

What version of the product are you using? On what operating system?
5.0.6  windows vista

Please provide any additional information below.
[2010-01-29 13:56:23,506] DEBUG:timers:Job scheduled in 3599.49499989 
seconds for ir_cron._poolJobs
[2010-01-29 13:56:23,512] INFO:i18n:module base: loading translation file 
for language zh_CN
[2010-01-29 13:56:32,486] DEBUG:sql:bad query: select res_company.id from 
"res_company" where (res_company.overdue_msg = 
'您收到此邮件,说明您的账单
正在处理,如果您有任何疑问,请和我们财务部联系,联系��
�话:86-577-88782788。
') order by id
[2010-01-29 13:56:32,486] DEBUG:sql:[01]: 错误:  字段 
res_company.overdue_msg 不存在
[2010-01-29 13:56:32,486] DEBUG:sql:[02]: LINE 1: select res_company.id 
from "res_company" where (res_company....
[2010-01-29 13:56:32,486] DEBUG:sql:[03]:                                       

^
[2010-01-29 13:56:33,480] ERROR:web-services:[01]: 
[2010-01-29 13:56:33,480] ERROR:web-services:[02]: Environment Information 
: 
[2010-01-29 13:56:33,480] ERROR:web-services:[03]: System : Windows-32bit-
SP1
[2010-01-29 13:56:33,480] ERROR:web-services:[04]: OS Name : nt
[2010-01-29 13:56:33,480] ERROR:web-services:[05]: Operating System Release 
: 
[2010-01-29 13:56:33,480] ERROR:web-services:[06]: Operating System Version 
: 32bit
[2010-01-29 13:56:33,480] ERROR:web-services:[07]: Operating System 
Architecture : 32bit
[2010-01-29 13:56:33,480] ERROR:web-services:[08]: Operating System Locale 
: zh_CN.cp936
[2010-01-29 13:56:33,480] ERROR:web-services:[09]: Python Version : 2.5.2
[2010-01-29 13:56:33,480] ERROR:web-services:[10]: OpenERP-Server Version : 
5.0.6
[2010-01-29 13:56:33,480] ERROR:web-services:[11]: Last revision No. & ID : 
[2010-01-29 13:56:33,480] ERROR:web-services:[12]: CREATE DATABASE
[2010-01-29 13:56:33,482] ERROR:web-services:[13]: Traceback (most recent 
call last):
[2010-01-29 13:56:33,482] ERROR:web-services:[14]:   File 
"service\web_services.pyo", line 101, in __call__
[2010-01-29 13:56:33,482] ERROR:web-services:[15]:   File "d:\OpenERP 
AllInOne\Server\addons\base\module\module.py", line 474, in 
update_translations
[2010-01-29 13:56:33,482] ERROR:web-services:[16]:   File 
"tools\translate.pyo", line 594, in trans_load
[2010-01-29 13:56:33,482] ERROR:web-services:[17]:   File 
"tools\translate.pyo", line 701, in trans_load_data
[2010-01-29 13:56:33,482] ERROR:web-services:[18]:   File "osv\orm.pyo", 
line 2854, in search
[2010-01-29 13:56:33,482] ERROR:web-services:[19]:   File "sql_db.pyo", 
line 76, in wrapper
[2010-01-29 13:56:33,483] ERROR:web-services:[20]:   File "sql_db.pyo", 
line 120, in execute
[2010-01-29 13:56:33,483] ERROR:web-services:[21]: ProgrammingError: 错误:  
字段 res_company.overdue_msg 不存在

Original issue reported on code.google.com by mihi1...@gmail.com on 29 Jan 2010 at 6:12

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create database
2. choose language:zh_cn(简体中文)
if the 2nd step is english then it is right!
so the bug is in zh_CN.po in base?

Original comment by mihi1...@gmail.com on 29 Jan 2010 at 6:25

GoogleCodeExporter commented 9 years ago
老肖,我重新打包测试过了,这个错误出现在我发布了 
all-in-one 0.1beta1 以后你更新的翻译
里,请尽快解决。

Original comment by old...@gmail.com on 30 Jan 2010 at 1:09

GoogleCodeExporter commented 9 years ago
翻译会影响数据库创建吗? 按理应该不会吧?

Original comment by mrshe...@gmail.com on 1 Feb 2010 at 12:54

GoogleCodeExporter commented 9 years ago
把这个八哥解决了我就能放 OE 0.1 RC2

Original comment by old...@gmail.com on 1 Feb 2010 at 1:08

GoogleCodeExporter commented 9 years ago
诸位,不好一西啦。
确实是我更新的base模块的翻译文件的原因。重新更新了base的
翻译,base的翻译更完全了。SVN
上的所有翻译包都测试过了,现在不会有问题了。

Original comment by xiangfu.xiao@gmail.com on 3 Feb 2010 at 1:42