Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nereid Project : if Connected db is not tryton db , raises error #132

Open
aregee opened this issue Jan 27, 2014 · 0 comments
Open

Nereid Project : if Connected db is not tryton db , raises error #132

aregee opened this issue Jan 27, 2014 · 0 comments
Milestone

Comments

@aregee
Copy link
Contributor

aregee commented Jan 27, 2014

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... 

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8897218-nereid-project-if-connected-db-is-not-tryton-db-raises-error?utm_campaign=plugin&utm_content=tracker%2F386869&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F386869&utm_medium=issues&utm_source=github).
@sharoonthomas sharoonthomas added this to the 3.0.4.0 milestone Feb 22, 2014
@sharoonthomas sharoonthomas modified the milestones: 3.2, 3.0.4.0 Jul 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants