El 16/04/14 17:17, geoins...@gmail.com ha escrit:
Ok I created the user and updated trytond.conf and I receive the following error an the login screen

Traceback (most recent call last):
File "/dist-packages/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
File "/dist-packages/trytond/protocols/jsonrpc.py", line 156, in _dispatch
    res = dispatch(*args)
File "/dist-packages/trytond/protocols/dispatcher.py", line 42, in dispatch
    res = security.login(database_name, user, session)
  File "/dist-packages/trytond/security.py", line 20, in login
    User = pool.get('res.user')
  File "/dist-packages/trytond/pool.py", line 168, in get
    return self._pool[self.database_name][type][name]
KeyError: 'res.user'

tail -f /var/log/postgresql/postgresql-9.3-main.log

2014-04-16 11:08:13 EDT ERROR: permission denied for relation ir_module_module

It seems that the database was created with another user, so you don't have permisions to read on it.

Droping the database and recreating the database should solve the problem.
2014-04-16 11:08:13 EDT STATEMENT: SELECT "a"."name" FROM "ir_module_module" AS "a" WHERE ("a"."state" IN ('installed', 'to upgrade', 'to remove'))
Any help would be appreciated
Thanks
Geordie


--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Reply via email to