Re: [tryton] Configuration error

2016-04-16 Thread Raimon Esteve
El dia 16/04/2016 3.00, "Alan Langford"  va escriure:
>
> I'm trying to set up tryton on CENTOS7 with MariaDB. I installed tryton
with PIP. No modules are installed.
>
> I have set up a database "trytondb" and a user of the same name.
>
> My database URI is (password replaced)
>
> uri = mysql://trytondb:long_alphanumeric_pass@localhost:3306/
>
> I've verified that I can connect to the database in a PHP script.
>
> When I run tryton I get this error
>
> $ trytond -c /etc/trytond/trytond.conf -d trytondb --all
> Traceback (most recent call last):
>   File "/usr/local/bin/trytond", line 80, in 
> server.TrytonServer(options).run()
>   File "/usr/local/lib/python2.7/site-packages/trytond/server.py", line
84, in run
> with Transaction().start(db_name, 0) as transaction:
>   File "/usr/local/lib/python2.7/site-packages/trytond/transaction.py",
line 75, in start
> Database = backend.get('Database')
>   File
"/usr/local/lib/python2.7/site-packages/trytond/backend/__init__.py", line
30, in get
> ep, = pkg_resources.iter_entry_points('trytond.backend', db_type)
> ValueError: need more than 0 values to unpack
>
>
> Any advice as to what I've got wrong here is much appreciated.

Are you installed python requeriments? MySQL-python?

Raimon

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/CAN2HbXV4XkGn0TCbqYNK%3DHZcabrWccVSHSKuwYsHcaEq72aduQ%40mail.gmail.com.


[tryton] Configuration error

2016-04-15 Thread Alan Langford
I'm trying to set up tryton on CENTOS7 with MariaDB. I installed tryton 
with PIP. No modules are installed.

I have set up a database "trytondb" and a user of the same name. 

My database URI is (password replaced)

uri = mysql://trytondb:long_alphanumeric_pass@localhost:3306/

I've verified that I can connect to the database in a PHP script.

When I run tryton I get this error

$ trytond -c /etc/trytond/trytond.conf -d trytondb --all
Traceback (most recent call last):
  File "/usr/local/bin/trytond", line 80, in 
server.TrytonServer(options).run()
  File "/usr/local/lib/python2.7/site-packages/trytond/server.py", line 84, 
in run
with Transaction().start(db_name, 0) as transaction:
  File "/usr/local/lib/python2.7/site-packages/trytond/transaction.py", 
line 75, in start
Database = backend.get('Database')
  File 
"/usr/local/lib/python2.7/site-packages/trytond/backend/__init__.py", line 
30, in get
ep, = pkg_resources.iter_entry_points('trytond.backend', db_type)
ValueError: need more than 0 values to unpack


Any advice as to what I've got wrong here is much appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/bba25149-ef80-44f3-aa25-ffe90a575f9a%40googlegroups.com.