-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Milestone
Description
If the connected database is not the nereid database , the psycopg2 raises following error :
Traceback (most recent call last):
File "application_staging.py", line 60, in <module>
app.initialise()
File "/Users/aregee/.virtualenvs/office/lib/python2.7/site-packages/Nereid- 2.6.0.8-py2.7.egg/nereid/application.py", line 164, in initialise
self.load_backend()
File "/Users/aregee/.virtualenvs/office/lib/python2.7/site-packages/Nereid-2.6.0.8-py2.7.egg/nereid/application.py", line 220, in load_backend
self._pool.init()
File "/Users/aregee/.virtualenvs/office/lib/python2.7/site-packages/trytond-2.6.9-py2.7.egg/trytond/pool.py", line 134, in init
lang=lang)
File "/Users/aregee/.virtualenvs/office/lib/python2.7/site-packages/trytond- 2.6.9-py2.7.egg/trytond/modules/__init__.py", line 378, in load_modules
cursor.execute("SELECT name FROM ir_module_module " \
File "/Users/aregee/.virtualenvs/office/lib/python2.7/site-packages/trytond-2.6.9- py2.7.egg/trytond/backend/postgresql/database.py", line 309, in execute
res = self.cursor.execute(sql)
File "/Users/aregee/.virtualenvs/office/lib/python2.7/site-packages/newrelic-2.10.0.8/newrelic/hooks/database_dbapi2.py", line 25, in execute
return self.__wrapped__.execute(sql)
psycopg2.ProgrammingError: relation "ir_module_module" does not exist
LINE 1: SELECT name FROM ir_module_module WHERE state IN ('installed...
Metadata
Metadata
Assignees
Labels
No labels