SAO on New Tryton 4.2 setup

515 views
Skip to first unread message

Vincent Bastos

unread,
Dec 7, 2016, 12:12:43 AM12/7/16
to tryton
Hey,

I am trying out SAO on a new setup of Tryton 4.2 and I get the following error:

405 Method not allowed.

The GTK client works fine, but not the web client.

I have run npm install and grunt in the top directory of SAO which produced the dist directory.

I see the following statements in the console:

 "GET / HTTP/1.1" 302 -

 "GET /index.html HTTP/1.1" 301 -

 "GET /index.html/ HTTP/1.1" 405 -


Cheers,

Vince

Axel Braun

unread,
Dec 7, 2016, 4:43:45 AM12/7/16
to try...@googlegroups.com
Am Dienstag, 6. Dezember 2016, 21:12:43 CET schrieb Vincent Bastos:
> Hey,
>
> I am trying out SAO on a new setup of Tryton 4.2 and I get the following
> error:
>
> 405 Method not allowed.
>
> The GTK client works fine, but not the web client.

I can confrm this

Cheers
Axel

Sergi Almacellas Abellana

unread,
Dec 7, 2016, 4:53:36 AM12/7/16
to try...@googlegroups.com
El 07/12/16 a les 10:43, Axel Braun ha escrit:
Could you both post your trytond.conf (only the sao relevant part if you
want) ?

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Axel Braun

unread,
Dec 7, 2016, 6:40:28 AM12/7/16
to try...@googlegroups.com
Am Mittwoch, 7. Dezember 2016, 10:53:33 CET schrieb Sergi Almacellas Abellana:
> El 07/12/16 a les 10:43, Axel Braun ha escrit:
> > Am Dienstag, 6. Dezember 2016, 21:12:43 CET schrieb Vincent Bastos:
> >> > Hey,
> >> >
> >> > I am trying out SAO on a new setup of Tryton 4.2 and I get the
> >> > following
> >> > error:
> >> >
> >> > 405 Method not allowed.
> >> >
> >> > The GTK client works fine, but not the web client.
> >
> > I can confrm this
>
> Could you both post your trytond.conf (only the sao relevant part if you
> want) ?

Sure, and that made me aware of the typo:

[web]
root = /usr/lib/node_modules/tryton-sao

it was writing node-modules instead. Corrected, works.
But this is not the solution for https://bugs.tryton.org/issue6090 - in
between it shows that this happens sometimes, not always.

Thanks
Axel

Sergi Almacellas Abellana

unread,
Dec 7, 2016, 6:54:03 AM12/7/16
to try...@googlegroups.com
El 07/12/16 a les 12:25, Axel Braun ha escrit:
> Am Mittwoch, 7. Dezember 2016, 10:53:33 CET schrieb Sergi Almacellas Abellana:
>> > El 07/12/16 a les 10:43, Axel Braun ha escrit:
>>> > > Am Dienstag, 6. Dezember 2016, 21:12:43 CET schrieb Vincent Bastos:
>>>>> > >> > Hey,
>>>>> > >> >
>>>>> > >> > I am trying out SAO on a new setup of Tryton 4.2 and I get the
>>>>> > >> > following
>>>>> > >> > error:
>>>>> > >> >
>>>>> > >> > 405 Method not allowed.
>>>>> > >> >
>>>>> > >> > The GTK client works fine, but not the web client.
>>> > >
>>> > > I can confrm this
>> >
>> > Could you both post your trytond.conf (only the sao relevant part if you
>> > want) ?
> Sure, and that made me aware of the typo:
>
> [web]
> root = /usr/lib/node_modules/tryton-sao

I this should be:

root = /usr/lib/node_modules/tryton-sao/

with a slash at the end.

Axel Braun

unread,
Dec 7, 2016, 7:41:52 AM12/7/16
to try...@googlegroups.com
Good to know that it works anyway :-)

Vincent Bastos

unread,
Dec 7, 2016, 8:30:15 AM12/7/16
to try...@googlegroups.com
I added "/" in the root url and it works now.

Thanks


--
You received this message because you are subscribed to a topic in the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/3251217.RfmLF9SNMJ%40t520.axxite.internal.



--
Vincent Bastos
Lava Lab Software
Reply all
Reply to author
Forward
0 new messages