On 16 Apr 12:41, [email protected] wrote:
> 
> 
> > I drop the database and recreated via File>Database>New Database
> >  I get  bad login 
> >
> [Wed Apr 16 14:30:19 2014] INFO:dispatcher:bad login or password 'geordie' 
> > from 127.0.0.1:57609 using JSON-RPC on database 'Blackriver_Farm' 
> >
> and nothing shows up in the postgres logs 
>  
> 
> > When I tried this
> >
> createdb --encoding=UNICODE --owner=geordie Blackriver_Farm
> /usr/bin/trytond -i all -d Blackriver_Farm
> 
> I login and get
> 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'
> 
>  I am unable to connect.
> The owners of the databases are identified in pgadmin3 correctly
> Any other thoughts

Now the database is not initialized see:
https://code.google.com/p/tryton/wiki/SetupAndStart
Or use the client to create a database.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpKF1cNNTbka.pgp
Description: PGP signature

Reply via email to