Re: [tryton] Clean Install Problems

2017-10-14 Thread PMan
On Saturday, October 14, 2017 at 4:40:06 AM UTC-4, Cédric Krier wrote: > On 2017-10-13 17:28, PMan wrote: > > This gives me this error: > > > > 'trytond.backend', db_type) > > ValueError: not enough values to unpack (expected 1, got 0) > > > > This is clea

Re: [tryton] Clean Install Problems

2017-10-17 Thread PMan
On Sunday, October 15, 2017 at 10:40:06 AM UTC-4, PMan wrote: > On Saturday, October 14, 2017 at 11:17:20 PM UTC-4, Mark Shane Hayden wrote: > > On Oct 14, 2017 01:55, "PMan" <max...@gmail.com> wrote: > > Greetings! > > > > > > > > I

Re: [tryton] Clean Install Problems

2017-10-17 Thread PMan
On Sunday, October 15, 2017 at 10:40:06 AM UTC-4, PMan wrote: > On Saturday, October 14, 2017 at 11:17:20 PM UTC-4, Mark Shane Hayden wrote: > > On Oct 14, 2017 01:55, "PMan" <max...@gmail.com> wrote: > > Greetings! > > > > > > > > I

[tryton] Clean Install Problems

2017-10-14 Thread PMan
Greetings! I'm trying to install 4.4.4 from source on Cloud Linux 7 with cagefs. My environment: Postgres 9.6, which I know is working, because it is the backend for another app on that server that has been running for months. Virtual environment (VE): Python 3.6 I try to test install from

Re: [tryton] Tryton root in suddirectory

2017-11-12 Thread PMan
I am serving the static files from the web root with the following Apache config: Alias "/bower_components" "/opt/Tryton/sao/bower_components" Alias "/offcanvas.css" "/opt/Tryton/sao/offcanvas.css" Alias "/dist" "/opt/Tryton/sao/dist" Alias "/images" "/opt/Tryton/sao/images" Alias

Re: [tryton] Tryton root in suddirectory

2017-11-14 Thread PMan
Thanks for the feed back, Cedric. I moved it to a subdomain, and it is working. I'll mark this closed. Thanks again! -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit

Re: [tryton] Tryton root in suddirectory

2017-11-03 Thread PMan
I simplify the setup, just Werkzeug and mod_proxy. I still get redirects... here is my apache configuration: Options FollowSymLinks Indexes SetHandler wsgi-handler ProxyPass http://127.0.0.1:8000/ ProxyPassReverse http://127.0.0.1:8000/ I tried it with and without the trailing

Re: [tryton] Tryton root in suddirectory

2017-11-04 Thread PMan
Small edit: In the command line, I get this: Fri Nov 03 21:34:17 2017] INFO:werkzeug:127.0.0.1 - - [04/Nov/2017 11:55:42] "GET / HTTP/1.1" 302 - Fri Nov 03 21:34:17 2017] INFO:werkzeug:127.0.0.1 - - [03/Nov/2017 21:34:17] "GET /index.html HTTP/1.1" 405 - Regards, Paul -- You received this

Re: [tryton] Tryton root in suddirectory

2017-11-04 Thread PMan
I'm getting closer... Still proxied to "/" with the correct [web] root, I now get lots of missing bower_components. Sat Nov 04 14:29:50 2017] INFO:werkzeug:127.0.0.1 - - [04/Nov/2017 14:29:50] "GET /bower_components/c3/c3.min.js HTTP/1.1" 404 - Sat Nov 04 14:29:50 2017] INFO:werkzeug:127.0.0.1

Re: [tryton] Tryton root in suddirectory

2017-11-08 Thread PMan
My mistake, I was attempting to install sao as root. There are many docs that say not to. So I ran npm install --production as a non-root user, and sao installed without errors. @Cedric; I installed the patch you suggested, and now I do not get redirected back to /index.html. But /tryton is

Re: [tryton] uWSGI: can't find trytond.application.app

2017-10-29 Thread PMan
@Cedric: Thank you, that did it. In the docs here: http://doc.tryton.org/4.4/trytond/doc/topics/start_server.html it says " you can use the application trytond.application.app" That has a period '.' between application and app, but what is required is a colon ':'. uwsgi starts without errors

Re: [tryton] uWSGI: can't find trytond.application.app

2017-10-25 Thread PMan
Thank you. I enabled threads in the .ini file but I got the same results: (Tryton) root@host [/opt/Tryton]# /opt/python36/bin/uwsgi /opt/Tryton/etc/tryton.ini [uWSGI] getting INI configuration from /opt/Tryton/etc/tryton.ini *** Starting uWSGI 2.0.15 (64bit) on [Wed Oct 25 16:13:07 2017] ***

Re: [tryton] Clean Install Problems

2017-10-24 Thread PMan
I specified PostgreSQL like this: uri = PostgreSQL://username:'password'@localhost:5432 And now trytond starts. Thank you very much! -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit

[tryton] uWSGI: can't find trytond.application.app

2017-10-24 Thread PMan
Greetings; I have successfully started the standalone trytond, and now I am trying to run trytond behind uWSGI. My environment: Postgres 9.6 Python 3.6 trytond 4.4.1 sao 4.4.1 uwsgi (installed via pip3) 2.0.15 Here is the iwsgi .ini file (tryton.ini): [uwsgi] uid = user gid = user master =

[tryton] Tryton root in suddirectory

2017-10-31 Thread PMan
Greetings all. I have tryton starting with uwsgi. The root of the tryton instance is mysite.com/tryton When I browse to that url, it redirects to mysite.com/index.html and then I get an error that says "index.html does not exist". Is there a way to configure tryton/sao to be located at

Re: [tryton] uWSGI: can't find trytond.application.app

2017-10-26 Thread PMan
Thanks Cedric, I will leave threads enabled for now. Thank you Sergi, I tried that configuration, but got the same results. The only file in the trytond-4.4.4/trytond/modules directory is __init__.py. Here is the error: (Tryton) root@host [/opt/Tryton]# /opt/python36/bin/uwsgi --ini

Re: [tryton] uWSGI: can't find trytond.application.app

2017-10-28 Thread PMan
@Sergi: I installed trytond by: - downloading and expanding the source inside the virtual environment - activating the virtual environment, and then - python setup.py install After reading your post, I stored my config files, deleted the virtual environment, and started over. 1 Created the