Application error: error while try to login

108 views
Skip to first unread message

dmxso...@gmail.com

unread,
Jan 11, 2016, 6:55:04 PM1/11/16
to tryton
Hello,

I installed tryton and trytond from pip like suggest tryton documentation, create postgresql user and database and create trytond.conf file. Also I initialize database how is suggested in documentation.

Here my trytond.conf file here http://pastebin.com/R6HmUgZ9
My user is admin and the password is admin, too. I crypt the password and add to trytond.conf file like suggested in the documentation.
But when I tried to login the gtk client is getting the following errors:
Traceback (most recent call last):
  File "/home/myuser/.local/lib/python2.7/site-packages/tryton/gui/window/dblogin.py", line 599, in run
    if not common.test_server_version(host, port):
  File "/home/myuser/.local/lib/python2.7/site-packages/tryton/common/common.py", line 231, in test_server_version
    version = rpc.server_version(host, port)
  File "/home/myuser/.local/lib/python2.7/site-packages/tryton/rpc.py", line 67, in server_version
    result = connection.common.server.version(None, None)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/home/myuser/.local/lib/python2.7/site-packages/tryton/jsonrpc.py", line 283, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1303, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1073, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 415, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 379, in _read_status
    raise BadStatusLine(line)
BadStatusLine: ''

Albert Cervera i Areny

unread,
Jan 12, 2016, 3:37:29 AM1/12/16
to try...@googlegroups.com
2016-01-12 0:34 GMT+01:00 <dmxso...@gmail.com>:
> Hello,
>
> I installed tryton and trytond from pip like suggest tryton documentation,
> create postgresql user and database and create trytond.conf file. Also I
> initialize database how is suggested in documentation.
>
> Here my trytond.conf file here http://pastebin.com/R6HmUgZ9
>
> My user is admin and the password is admin, too. I crypt the password and
> add to trytond.conf file like suggested in the documentation.
> But when I tried to login the gtk client is getting the following errors:

Remove the known_hosts file in ~/.config/tryton/<tryton-version>/known_hosts

You can also just remove the entry corresponding to the server you're
trying to connect to (localhost:8000).
> --
> 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/300022c5-2b75-4f70-89c7-650435dfbf23%40googlegroups.com.



--
Albert Cervera i Areny
http://www.NaN-tic.com
Tel. 93 553 18 03

dmxso...@gmail.com

unread,
Jan 12, 2016, 7:35:04 PM1/12/16
to tryton
Thanks!

I tried your suggestion but the error continue.

Udo Spallek

unread,
Jan 13, 2016, 2:46:58 AM1/13/16
to try...@googlegroups.com
Hi,
Tue, 12 Jan 2016 16:25:54 -0800 (PST)
dmxso...@gmail.com:
>El martes, 12 de enero de 2016, 4:37:29 (UTC-4), Albert Cervera Areny
>escribió:
>> 2016-01-12 0:34 GMT+01:00 <dmxso...@gmail.com <javascript:>>:
>> > I installed tryton and trytond from pip like suggest tryton
>> documentation,
>> > create postgresql user and database and create trytond.conf file.
>> > Also I initialize database how is suggested in documentation.
>> > Here my trytond.conf file here http://pastebin.com/R6HmUgZ9
>> > My user is admin and the password is admin, too. I crypt the
>> > password
>> and
>> > add to trytond.conf file like suggested in the documentation.
>> > But when I tried to login the gtk client is getting the
>> > following
>> errors:
>> Remove the known_hosts file in
>> ~/.config/tryton/<tryton-version>/known_hosts
>> You can also just remove the entry corresponding to the server
>> you're trying to connect to (localhost:8000).
>I tried your suggestion but the error continue.

you need to stop the Tryton client. After this remove the known_hosts
file.
Then start the Tryton client again.

Regards Udo
--
_____________________________
virtual things
Preisler & Spallek GbR
München - Aachen

Windeckstr. 77
81375 München
Tel: +49 (89) 710 481 55
Fax: +49 (89) 710 481 56

in...@virtual-things.biz
http://www.virtual-things.biz

dmxso...@gmail.com

unread,
Jan 13, 2016, 11:35:04 AM1/13/16
to tryton
Thanks...

But now I get Network error:

connection refused....

My credentials:

server: localhost:8000
database: tryton
user: admin
password admin

Cédric Krier

unread,
Jan 13, 2016, 11:50:04 AM1/13/16
to tryton
On 2016-01-13 08:16, dmxso...@gmail.com wrote:
> Thanks...
>
> But now I get Network error:
>
> connection refused....

You should verify the network connectivity.

PS: Please don't top-post on this mailing list, see
http://groups.tryton.org/netiquette
--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages