1

运行 Ubuntu 12.04,我尝试运行 OpenERP 7.0,使用最新的 tarball 存档。

wget "http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz"
tar -xzf openerp-7.0-latest.tar.gz
# cd extracted directory
./openerp-server  —xmlrpc-port=40069 —netrpc-port=40070 —addons-path=openerp/addons,openerp/web/addons

这是我得到的:

Traceback (most recent call last):
  File "./openerp-server", line 5, in <module>
    openerp.cli.main()
  File "/path/to/decrompressed/directory/openerp-7.0-20140113-001013/openerp/cli/__init__.py", line 51, in main
    __import__(m)
  File "/path/to/decrompressed/directory/openerp-7.0-20140113-001013/openerp/modules/module.py", line 133, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/path/to/decrompressed/directory/openerp-7.0-20140113-001013/openerp/addons/account_test/__init__.py", line 2, in <module>
    import report
  File "/path/to/decrompressed/directory/openerp-7.0-20140113-001013/openerp/addons/account_test/report/__init__.py", line 1, in <module>
    import account_test_report
  File "/path/to/decrompressed/directory/openerp-7.0-20140113-001013/openerp/addons/account_test/report/account_test_report.py", line 25, in <module> 
    from report import report_sxw
  File "/path/to/decrompressed/directory/openerp-7.0-20140113-001013/openerp/report/__init__.py", line 25, in <module>
    import custom
  File "/path/to/decrompressed/directory/openerp-7.0-20140113-001013/openerp/report/custom.py", line 623, in <module>
    report_custom('report.custom')
  File "/path/to/decrompressed/directory/openerp-7.0-20140113-001013/openerp/report/custom.py", line 58, in __init__
    report_int.__init__(self, name)
  File "/path/to/decrompressed/directory/openerp-7.0-20140113-001013/openerp/report/interface.py", line 45, in __init__
    assert not self.exists(name), 'The report "%s" already exists!' % name
AssertionError: The report "report.custom" already exists!

我已经在同一台机器上成功运行了一个 6.0 实例,但是当我尝试启动 7.0 版本时,这个服务器没有运行。我不知道这是否与我之前已经安装了 6.0 的事实有关。会不会是 PostgreSQL 的问题?我没有删除现有的 6.0 数据库。

4

1 回答 1

-2

在没有更多参数的情况下运行服务器似乎可行:

./openerp-server
2014-01-13 14:26:35,270 1014 INFO ? openerp: OpenERP version 7.0-20140113-001013
…
于 2014-01-13T14:37:44.770 回答