Package: openerp-server
Version: 5.0.0-3-1
Severity: grave
Justification: renders package unusable


Hi,

I installed openerp-server using the file README.Debian, I created the user and 
the database.

If I try to initialize the database, I have these errors:

$ sudo /usr/bin/openerp-server --config=/etc/openerp-server.conf --init=all
[sudo] password for fredo: 
Traceback (most recent call last):
  File "./openerp-server.py", line 108, in <module>
    pooler.get_db_and_pool(db, update_module=tools.config['init'] or 
tools.config['update'])
  File "/usr/lib/openerp-server/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/lib/openerp-server/addons/__init__.py", line 676, in load_modules
    has_updates = load_module_graph(cr, graph, status, perform_checks=False, 
report=report)
  File "/usr/lib/openerp-server/addons/__init__.py", line 562, in 
load_module_graph
    additional_data.keys()
  File "/usr/lib/openerp-server/sql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/openerp-server/sql_db.py", line 118, in execute
    res = self._obj.execute(query, params)
psycopg2.ProgrammingError: ERREUR:  la relation "ir_module_module" n'existe pas

In english :
psycopg2.ProgrammingError: relation "ir_module_module" does not exist


In the configuration file I have these two options enabled:
verbose = True
debug_mode = True


In the log file :

[2009-04-15 19:36:46,549] INFO:server:version - 5.0.0
[2009-04-15 19:36:46,549] INFO:server:addons_path - 
/usr/lib/openerp-server/addons
[2009-04-15 19:36:46,550] INFO:server:database hostname - localhost
[2009-04-15 19:36:46,550] INFO:server:database port - 5432
[2009-04-15 19:36:46,550] INFO:server:database user - openerp_user
[2009-04-15 19:36:46,550] INFO:objects:initialising distributed objects services
[2009-04-15 19:36:46,852] INFO:dbpool:Connecting to openerp



If I try to run the server, I have these errors:

$ sudo /usr/bin/openerp-server --config=/etc/openerp-server.conf
Traceback (most recent call last):
  File "./openerp-server.py", line 108, in <module>
    pooler.get_db_and_pool(db, update_module=tools.config['init'] or 
tools.config['update'])
  File "/usr/lib/openerp-server/pooler.py", line 40, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/usr/lib/openerp-server/addons/__init__.py", line 703, in load_modules
    cr.execute("SELECT name from ir_module_module WHERE state in (%s)" % 
','.join(['%s']*len(STATES_TO_LOAD)), STATES_TO_LOAD)
  File "/usr/lib/openerp-server/sql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/openerp-server/sql_db.py", line 118, in execute
    res = self._obj.execute(query, params)
psycopg2.ProgrammingError: ERREUR:  la relation « ir_module_module » n'existe 
pas

In english :
psycopg2.ProgrammingError: relation "ir_module_module" does not exist


In the log file :

[2009-04-15 17:16:42,374] INFO:server:version - 5.0.0
[2009-04-15 17:16:42,374] INFO:server:addons_path - 
/usr/lib/openerp-server/addons
[2009-04-15 17:16:42,374] INFO:server:database hostname - localhost
[2009-04-15 17:16:42,374] INFO:server:database port - 5432
[2009-04-15 17:16:42,375] INFO:server:database user - openerp_user
[2009-04-15 17:16:42,375] INFO:objects:initialising distributed objects services
[2009-04-15 17:16:42,676] INFO:dbpool:Connecting to openerp



The database is not created and the server doesn't start.

I can not connect to the server with the GTK client to initialize the database.


Regards.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openerp-server depends on:
ii  adduser                       3.110      add and remove users and groups
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-libxslt1               1.1.24-2   Python bindings for libxslt1
ii  python-lxml                   2.1.5-1    pythonic binding for the libxml2 a
ii  python-psycopg2               2.0.9-5    Python module for PostgreSQL
ii  python-pychart                1.39-6     Python library for creating high q
ii  python-pydot                  1.0.2-1    Python interface to Graphviz's dot
ii  python-reportlab              2.2-2      ReportLab library to create PDF do
ii  python-tz                     2009d-1    Python version of the Olson timezo
ii  python-xml                    0.8.4-10.1 XML tools for Python

Versions of packages openerp-server recommends:
ii  ghostscript                  8.64~dfsg-1 The GPL Ghostscript PostScript/PDF
ii  graphviz                     2.20.2-3+b1 rich set of graph drawing tools
ii  postgresql                   8.3.7-1     object-relational SQL database (su
ii  postgresql-client-8.3 [postg 8.3.7-1     front-end programs for PostgreSQL 
ii  python-imaging               1.1.6-3     Python Imaging Library
ii  python-matplotlib            0.98.3-5    Python based plotting system in a 
ii  python-openssl               0.8-1       Python wrapper around the OpenSSL 
ii  python-pyparsing             1.5.1-2     Python parsing module

Versions of packages openerp-server suggests:
pn  openerp-client                <none>     (no description available)

-- no debconf information



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to