跳转至内容
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(Flatly)
  • 不使用皮肤
折叠

Odoo 中文社区

L

llccluf

@llccluf
关于
帖子
2
主题
1
群组
0
粉丝
0
关注
0

帖子

最新 最佳 有争议的

  • Odoo 组合价格实现方法
    L llccluf
    1. 虚拟bom可以用,没问题。

      2. 我们公司也有模块 product_bundle, apps上应该有。

  • 数据库 主从备份
    L llccluf

    关于postgres数据库的主从备份。有人实现过吗?
    我用pgpool2实现。配置完成后,用psql已经可以登录postgres后台。

    但是用OpenERP还是有错误,psycopg2还是会报错。不知是不是遗漏配置信息的关系。
    先谢谢回复的人拉。


    错误信息如下
    2013-04-20 11:49:28,030 10199 ERROR trunk_demo openerp.sql_db: Connection to the database failed
    Traceback (most recent call last):
      File "/home/scipsita/openerp/trunk/server/openerp/sql_db.py", line 428, in borrow
        result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
      File "/usr/lib/python2.7/dist-packages/psycopg2/init.py", line 180, in connect
        connection_factory=connection_factory, async=async)
    OperationalError
    2013-04-20 11:49:28,031 10199 ERROR trunk_demo openerp.netsvc:
    Traceback (most recent call last):
      File "/home/scipsita/openerp/trunk/server/openerp/netsvc.py", line 237, in dispatch_rpc
        result = dispatch(method, params)
      File "/home/scipsita/openerp/trunk/server/openerp/service/common.py", line 31, in dispatch
        return fn(*params)
      File "/home/scipsita/openerp/trunk/server/openerp/service/common.py", line 42, in exp_authenticate
        res_users = openerp.registry(db)['res.users']
      File "/home/scipsita/openerp/trunk/server/openerp/init.py", line 61, in registry
        return modules.registry.RegistryManager.get(database_name)
      File "/home/scipsita/openerp/trunk/server/openerp/modules/registry.py", line 192, in get
        update_module)
      File "/home/scipsita/openerp/trunk/server/openerp/modules/registry.py", line 204, in new
        registry = Registry(db_name)
      File "/home/scipsita/openerp/trunk/server/openerp/modules/registry.py", line 76, in init
        cr = self.db.cursor()
      File "/home/scipsita/openerp/trunk/server/openerp/sql_db.py", line 472, in cursor
        return Cursor(self._pool, self.dbname, serialized=serialized)
      File "/home/scipsita/openerp/trunk/server/openerp/sql_db.py", line 178, in init
        self._cnx = pool.borrow(dsn(dbname))
      File "/home/scipsita/openerp/trunk/server/openerp/sql_db.py", line 373, in _locked
        return fun(self, *args, **kwargs)
      File "/home/scipsita/openerp/trunk/server/openerp/sql_db.py", line 428, in borrow
        result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
      File "/usr/lib/python2.7/dist-packages/psycopg2/init.py", line 180, in connect
        connection_factory=connection_factory, async=async)
    OperationalError

  • 登录

  • 没有帐号? 注册

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 版块
  • 标签
  • 热门
  • 用户
  • 群组