OE 6.1 windows下更新出错
-
1.老版本openerp-allinone-setup-6.1-20120910-233309.exe(装了oecn的几个本地化模块), 通过web登陆备份数据库;
2.更新(Minor update)到openerp-allinone-setup-6.1-20120923-233042.exe
3.根据http://doc.openerp.com/v6.1/install/windows/updating.html, 运行openerp-server.exe -d DB_NAME -u all
结果报错:Traceback (most recent call last):<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 121, in wrapper<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 176, in execute<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\osv\osv.py", line 164, in execute_cr<br /> File "d:\Program Files\OpenERP 6.1\Server\server\openerp\addons\base\module\wizard\base_module_upgrade.py", line 101, in upgrade_module<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\pooler.py", line 39, in restart_pool<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\modules\registry.py", line 202, in new<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 334, in load_modules<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 253, in load_marked_modules<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 192, in load_module_graph<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 90, in <lambda><br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\modules\loading.py", line 136, in _load_data<br /> File "d:\Program Files\OpenERP 6.1\Server\server\.\openerp\tools\yaml_import.py", line 910, in yaml_import<br />AttributeError: 'cStringIO.StringO' object has no attribute 'name'
之后无法登陆(登陆页面可打开)。
Restore了一下之前的备份
登陆成功,按http://doc.openerp.com/v6.1/install/windows/updating.html里提到的,管理员登陆,更新base模块,同样报错。
请问大家有在windows上更新成功的吗,步骤如何?
谢谢~ -
不是开发版啊
就是从 http://www.openerp.com/downloads 下载下来的 openerp-allinone-setup-6.1-latest.exe
只不过是官方所称的 minor update