Hi!

I would like to test Tryton 1.4 with SQLite. I hav it enabled in the
conf-file:

trytond.conf
    db_type = sqlite
    data_path = /var/lib/trytond


When starting tryton it gives me the following

$ bin/trytond --config /etc/trytond.conf
[Fri Oct 30 15:47:19 2009] DEBUG:psycopg2:installed. Logging using
Python logging module
[Fri Oct 30 15:47:19 2009] INFO:server:using /etc/trytond.conf as
configuration file
[Fri Oct 30 15:47:19 2009] INFO:server:initialising distributed
objects services
[Fri Oct 30 15:47:20 2009] INFO:modules:ir:registering classes
[Fri Oct 30 15:47:20 2009] INFO:modules:res:registering classes
[Fri Oct 30 15:47:20 2009] INFO:modules:webdav:registering classes
[Fri Oct 30 15:47:20 2009] INFO:modules:tests:registering classes
[Fri Oct 30 15:47:20 2009] INFO:modules:workflow:registering classes
[Fri Oct 30 15:47:20 2009] INFO:server:starting NetRPC protocol, port
8070
[Fri Oct 30 15:47:20 2009] INFO:server:waiting for connections...

Tryton-client says it can't connect do Server, but the server adds the
following line to output

[Fri Oct 30 15:49:23 2009] INFO:database:connect to "template1"


Though there is no SQLite database createt in /var/lib/trytond/.

If i start trytond with a database-name it seems to try to connect to
PostgreSQL..

$ bin/trytond --config /etc/trytond.conf --database=test01
[Fri Oct 30 15:53:45 2009] DEBUG:psycopg2:installed. Logging using
Python logging module
[Fri Oct 30 15:53:45 2009] INFO:server:using /etc/trytond.conf as
configuration file
[Fri Oct 30 15:53:45 2009] INFO:server:initialising distributed
objects services
[Fri Oct 30 15:53:45 2009] INFO:database:connect to "test01"
Traceback (most recent call last):
  File "bin/trytond", line 29, in <module>
    trytond.server.TrytonServer().run()
  File "/opt/trytond/trytond/server.py", line 89, in run
    database = Database(db_name).connect()
  File "/opt/trytond/trytond/backend/postgresql/database.py", line 56,
in connect
    self._connpool = ThreadedConnectionPool(minconn, maxconn, dsn)
  File "/usr/lib/python2.6/dist-packages/psycopg2/pool.py", line 161,
in __init__
    self, minconn, maxconn, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/psycopg2/pool.py", line 76,
in __init__
    self._connect()
  File "/usr/lib/python2.6/dist-packages/psycopg2/pool.py", line 80,
in _connect
    conn = psycopg2.connect(*self._args, **self._kwargs)
psycopg2.OperationalError: FATAL:  Ident-Authentifizierung für
Benutzer »webwurst« fehlgeschlagen


How do I use Tryton 1.4 with SQLite?

Greetz!
Tobias Bradtke

--~--~---------~--~----~------------~-------~--~----~
[email protected] mailing list
-~----------~----~----~----~------~----~------~--~---

Reply via email to