Hello, I have to correct myselft, I have downloaded the trytond-4.0.0.tar.gz <https://downloads.tryton.org/4.0/trytond-4.0.0.tar.gz> package, not the sao :)
Best Regards, Balazs 2016. június 1., szerda 16:50:04 UTC+2 időpontban Balazs Nagy a következőt írta: > Hello Everybody! > > I am just trying to install for testing and learning the tryton server > from source on debian 8.4, following the documentation. The prerequisites > are installed, I've downloaded the source relase (tryton-sao-4.0.0.tgz > <https://downloads.tryton.org/4.0/tryton-sao-4.0.0.tgz>) unpacked and run > the 'python setup.py install'. The configuration file contains the > following keys: > [database] > uri = postgresql://tryton:123456@localhost/ > data_path = /root/trytond_lib > [web] > listen = *:80 > > The database initalize went well, so I started the server with the > following command: trytond -c ~/tryton.conf -v -d trytondb > > /usr/local/lib/python3.4/dist-packages/relatorio-0.6.2-py3.4.egg/relatorio/templates/__init__.py:29: > > UserWarning: Unable to load plugin 'chart' > warnings.warn("Unable to load plugin '%s'" % name) > /usr/local/lib/python3.4/dist-packages/trytond-4.0.0-py3.4.egg/trytond/modules/__init__.py:143: > > DeprecationWarning: This method will be removed in future versions. Use > 'parser.read_file()' instead. > module_config.readfp(fp) > 5284 -1219880640 [2016-06-01 14:16:08,353] INFO trytond.config using > /root/tryton.conf as configuration file > 5284 -1219880640 [2016-06-01 14:16:08,358] INFO trytond.pool init pool for > "trytondb" > 5284 -1219880640 [2016-06-01 14:16:08,410] INFO > trytond.backend.postgresql.database connect to "trytondb" > 5284 -1219880640 [2016-06-01 14:16:08,706] INFO trytond.modules ir > 5284 -1219880640 [2016-06-01 14:16:08,711] INFO trytond.modules res > 5284 -1219880640 [2016-06-01 14:16:08,714] INFO trytond.pool setup pool > for "trytondb" > 5284 -1219880640 [2016-06-01 14:16:08,883] INFO trytond.modules all > modules loaded > 5284 -1219880640 [2016-06-01 14:16:08,902] INFO werkzeug * Running on > http://localhost:80/ (Press CTRL+C to quit) > > When I try to reach the server : > curl -v -L http://localhost > * Rebuilt URL to: http://localhost/ > * Hostname was NOT found in DNS cache > * Trying ::1... > * connect to ::1 port 80 failed: Connection refused > * Trying 127.0.0.1... > * Connected to localhost (127.0.0.1) port 80 (#0) > > GET / HTTP/1.1 > > User-Agent: curl/7.38.0 > > Host: localhost > > Accept: */* > > > * HTTP 1.0, assume close after body > < HTTP/1.0 302 FOUND > < Content-Type: text/html; charset=utf-8 > < Content-Length: 229 > < Location: http://localhost/index.html > < Server: Werkzeug/0.11.10 Python/3.4.2 > < Date: Wed, 01 Jun 2016 14:18:17 GMT > < > * Closing connection 0 > * Issue another request to this URL: 'http://localhost/index.html' > * Hostname was found in DNS cache > * Trying ::1... > * connect to ::1 port 80 failed: Connection refused > * Trying 127.0.0.1... > * Connected to localhost (127.0.0.1) port 80 (#1) > > GET /index.html HTTP/1.0 > > User-Agent: curl/7.38.0 > > Host: localhost > > Accept: */* > > > * HTTP 1.0, assume close after body > < HTTP/1.0 500 INTERNAL SERVER ERROR > < Content-Type: text/html > < Content-Length: 291 > < Server: Werkzeug/0.11.10 Python/3.4.2 > < Date: Wed, 01 Jun 2016 14:18:17 GMT > < > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> > <title>500 Internal Server Error</title> > <h1>Internal Server Error</h1> > <p>The server encountered an internal error and was unable to complete > your request. Either the server is overloaded or there is an error in the > application.</p> > * Closing connection 1 > > I got HTTP 500 response and I see the following in trytond logs: > 5284 -1246794944 [2016-06-01 14:18:17,083] INFO werkzeug 127.0.0.1 - - > [01/Jun/2016 14:18:17] "GET / HTTP/1.1" 302 - > 5284 -1246794944 [2016-06-01 14:18:17,235] INFO werkzeug 127.0.0.1 - - > [01/Jun/2016 14:18:17] "GET /index.html HTTP/1.0" 500 - > 5284 -1246794944 [2016-06-01 14:18:17,259] ERROR werkzeug Error on request: > Traceback (most recent call last): > File > "/usr/local/lib/python3.4/dist-packages/Werkzeug-0.11.10-py3.4.egg/werkzeug/serving.py", > > line 193, in run_wsgi > execute(self.server.app) > File > "/usr/local/lib/python3.4/dist-packages/Werkzeug-0.11.10-py3.4.egg/werkzeug/serving.py", > > line 183, in execute > for data in application_iter: > File > "/usr/local/lib/python3.4/dist-packages/Werkzeug-0.11.10-py3.4.egg/werkzeug/wsgi.py", > > line 703, in __next__ > return self._next() > File > "/usr/local/lib/python3.4/dist-packages/Werkzeug-0.11.10-py3.4.egg/werkzeug/wrappers.py", > > line 81, in _iter_encoded > for item in iterable: > TypeError: 'RequestRedirect' object is not iterable > > What is missing or what did I wrong? > > Thank you, > Balazs > > -- 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/7369ad50-5c4d-48ce-b3eb-4532a3b8a4d9%40googlegroups.com.
