IRC logs of #tryton for Thursday, 2017-01-26

chat.freenode.net #tryton log beginning Thu Jan 26 00:00:01 CET 2017
2017-01-26 01:10 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-01-26 02:49 -!- johbo(~johbo@static.166.236.251.148.clients.your-server.de) has joined #tryton
2017-01-26 04:31 -!- mamcode_(~mamcode@201.208.171.171) has joined #tryton
2017-01-26 07:48 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2017-01-26 07:57 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-01-26 09:14 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-01-26 09:20 -!- udono(~udono@tmo-108-221.customers.d1-online.com) has joined #tryton
2017-01-26 09:25 -!- rpit(~rpit@2a02:908:e672:7480:56ee:75ff:fe0d:d3c7) has joined #tryton
2017-01-26 09:46 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2017-01-26 09:56 <notizblock> has anyone experienced ProtocolError messages (403 FORBIDDEN) on the client the session times out (4.2.1)?
2017-01-26 09:56 <notizblock> several of our users reported this since the upgrade to 4.2
2017-01-26 09:58 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2017-01-26 10:00 <pokoli> notizblock: not me. But you can reproduce by deleting the ir.session table, which will cause a session timeout on the next client request
2017-01-26 10:02 <notizblock> pokoli: thx, I'll try to reproduce
2017-01-26 10:02 <pokoli> notizblock: indeed the server returns 403 when there is no session: http://hg.tryton.org/trytond/file/tip/trytond/protocols/dispatcher.py#l61
2017-01-26 10:04 <pokoli> notizblock: so both clients should manage it. This is the case for sao http://hg.tryton.org/sao/file/tip/src/session.js#l243
2017-01-26 10:05 <notizblock> previous versions just asked for the password again
2017-01-26 10:05 <pokoli> notizblock: yes, that's the expected behaviour
2017-01-26 10:06 <pokoli> notizblock: about gtk client: just tested on trunk and it's working as expected (sorry but can not find the code)
2017-01-26 10:06 <notizblock> pokoli: hmm, interesting.
2017-01-26 10:08 <notizblock> pokoli: the linux client does so as well
2017-01-26 10:08 <notizblock> we use nginx in front of trytond, maybe the setup is causing issues.
2017-01-26 10:15 <pokoli> notizblock: I have a try with nginx proxy and it's also working correctly. I can share my config if that can help
2017-01-26 10:16 <notizblock> pokoli: we have a rather high session timeout (3600), I'm currently testing against the production server and see if I can reproduce with such a long timeout
2017-01-26 10:17 <notizblock> pokoli: sure, would be interesting to see
2017-01-26 10:18 -!- JanGB(~jan@ip92343817.dynamic.kabel-deutschland.de) has joined #tryton
2017-01-26 10:18 <notizblock> pokoli: might be interesting to have those configs published somewhere to help people start out
2017-01-26 10:18 <pokoli> notizblock: you can filter by create_uid to only delete the sessions of a specific user
2017-01-26 10:19 <pokoli> notizblock: yes, maybe we can create some tutorials to explain how to setup trytond with nginx and wsgi
2017-01-26 10:27 <cedk> pokoli: I do not think there is anything special with the Tryton wsgi
2017-01-26 10:28 -!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton
2017-01-26 10:32 <pokoli> cedk: nor me but it's usefull for newbies to know how to setup it in production.
2017-01-26 10:32 <pokoli> cedk: indeed both django and flask provide such tutorial: https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ and http://flask.pocoo.org/docs/0.12/deploying/
2017-01-26 10:58 <cedk> pokoli: past shows that we can not support that
2017-01-26 11:00 <cedk> pokoli: for me, this is the best we can offer: http://doc.tryton.org/4.2/trytond/doc/topics/start_server.html#wsgi-server
2017-01-26 11:02 <cedk> except if there are something else general to say
2017-01-26 11:14 <pokoli> cedk: I imagine notizblock issues are related to nginx and not to wsgi, but lets wait for his input
2017-01-26 12:03 -!- mariomop(~quassel@181.93.213.138) has joined #tryton
2017-01-26 12:04 -!- smarro(~sebastian@186.130.0.54) has joined #tryton
2017-01-26 12:45 <notizblock> works as expected after on linux gtk
2017-01-26 12:45 <notizblock> the client just asked for the password and that's it
2017-01-26 12:47 <pokoli> notizblock: so the issue is on windows?
2017-01-26 12:53 -!- smarro(~sebastian@186.130.0.54) has joined #tryton
2017-01-26 13:21 <notizblock> pokoli: don't know yet. I'll try to reproduce and report back
2017-01-26 13:58 -!- Pilou(~Pilou@rogoth.ir5.eu) has joined #tryton
2017-01-26 13:58 -!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton
2017-01-26 14:08 -!- buxy(~rhertzog@mail.vm.ouaza.com) has joined #tryton
2017-01-26 14:22 -!- kobain(~kobain@unaffiliated/kobain) has joined #tryton
2017-01-26 14:28 -!- thaneor(~ldlc6@r179-25-80-38.dialup.adsl.anteldata.net.uy) has joined #tryton
2017-01-26 16:24 -!- mamcode_(~mamcode@201.209.10.41) has joined #tryton
2017-01-26 16:56 -!- leio(~leio@gentoo/developer/leio) has left #tryton
2017-01-26 17:58 -!- gp(~gp@104-14-168-137.lightspeed.rcsntx.sbcglobal.net) has joined #tryton
2017-01-26 18:09 <gp> I tried to post to the google group but my post never appeared. Can tryton model a manufacture to order with financing by floorplan workflow? I.e. 1) order placed by customer. 2) loan taken out against order for cost (not sale price) required to manufacture and fulfill order. 3) Order fulfilled and paid by customer for sale price. 4) Loan amount plus interest repaid. 5) interest fee recorded and used to calculate profit/margin/roi
2017-01-26 18:09 <gp> for individual order and overall
2017-01-26 18:11 <cedk> gp: there is moderation for new posters
2017-01-26 18:11 <cedk> gp: I moderated your message
2017-01-26 18:12 <gp> cedk: that explains it! thanks =)
2017-01-26 18:13 <gp> Could tryton handle this use case?
2017-01-26 18:17 <cedk> gp: probably with some customization but I will answer on mailing list
2017-01-26 18:18 <gp> cedk: okay I see the message on the group now =) thanks
2017-01-26 18:51 -!- smarro(~sebastian@186.130.0.54) has joined #tryton
2017-01-26 19:27 <gp> cedk: I made a response but it said I am still being moderated
2017-01-26 22:52 -!- thaneor(~ldlc6@179.26.135.155) has joined #tryton
2017-01-26 23:06 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!