IRC logs of #tryton for Wednesday, 2016-06-29

chat.freenode.net #tryton log beginning Wed Jun 29 00:00:04 CEST 2016
-!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton01:01
-!- meigallodixital(~meigallod@91.116.135.249) has joined #tryton01:24
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton01:26
-!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton01:53
-!- meigallodixital_(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton01:59
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton02:39
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton03:27
-!- pelox(~rail@gusl/staff/risturiz) has joined #tryton03:29
-!- kstenger(~karla@r190-133-89-235.dialup.adsl.anteldata.net.uy) has joined #tryton03:43
-!- frispete_(~frispete@p54A91153.dip0.t-ipconnect.de) has joined #tryton05:23
-!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton06:21
-!- zodman(~zodman@178.62.7.89) has joined #tryton06:39
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton07:23
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:58
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:07
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton08:19
-!- sehgalayush(7ab199c3@gateway/web/freenode/ip.122.177.153.195) has joined #tryton08:20
sehgalayushHi, I am trying to run tryton on my mac, but after the installation when I go to the manage profile section, I am gettting the response of "Could not connect to the server". On the server I am seeing a POST request but no response. I am using postgresapp of mac for DB. Please help!08:22
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:50
-!- aasnan(~angel@48.red-83-45-194.dynamicip.rima-tde.net) has joined #tryton09:02
pokolisehgalayush: where do you have the server installed? on the same machine?09:08
pokolisehgalayush: could you post the server log (using some paste service like pastebin) ?09:09
sehgalayushyes I have installed both the client and server from mercurial to my local machine.09:10
pokolisehgalayush: so are sure the server is listening on the port you are conecting?09:15
sehgalayushyes, you can check my server logs at http://pastebin.com/raw/ue3BFYWJ09:15
pokolisehgalayush: have you created a database?09:21
sehgalayushno I have created a user in psql, which I also did when I was running tryton in ubuntu and that worked fine09:22
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:25
pokolisehgalayush: the post requests sems to be the one to list the databases and the server is responding ok09:28
pokolisehgalayush: i will create a database and explained on http://doc.tryton.org/4.0/trytond/doc/topics/setup_database.html#topics-setup-database09:28
sehgalayushi ran the command and it gave this error http://pastebin.com/raw/TaXb29qZ09:34
pokolisehgalayush: it seems that the postgresql driver for tryton misses some library09:35
pokolisehgalayush: I seems that misses the SSL support09:35
sehgalayushso what should i do now?09:37
-!- udono(~udono@tmo-107-54.customers.d1-online.com) has joined #tryton09:40
cedksehgalayush: I guess you have to reinstall psycopg2 with ssl support09:42
prayashmI am working on custom delimiter support, was wondering how should we allow users to enter tab character into the html input form10:09
prayashmEasiest would be having a link/button next to the <input> tag to insert it.10:10
prayashmlike demo here http://papaparse.com/demo has10:10
pokoliprayashm: which is the current behaviour using the gtk client? have you tested? I think we should preserve the same behaviour (if possible)10:13
pokoliprayashm: we use \t to represent a tab in a python string10:13
prayashmpokoli: In GTK Client10:15
prayashmpokoli: one has to press Ctrl+Shift u9 and then leave Ctrl+Shift to insert a tab character10:15
prayashmpokoli: It doesn't accept \t though10:16
pokoliprayashm: and the same sequence does not work in browser?10:18
prayashmpokoli: it does, but behaves bit differently10:19
prayashmpokoli: tested on chrome and firefox, it worked only on the numberpad, that too when I turned off the num-lock10:19
prayashmpokoli: Yes, it does work on the browser with same sequences10:20
pokoliprayashm: so if it works, i will leave the same behaviour10:21
prayashmpokoli: Okay :)10:21
pokoliprayashm: and latter, we can improve both clients to ease the introduction of tabs in this screen :)10:21
prayashmpokoli: right!10:22
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton11:38
-!- udono(~udono@tmo-107-54.customers.d1-online.com) has joined #tryton12:14
-!- mariomop(~quassel@181.92.6.48) has joined #tryton12:47
-!- udono(~udono@ip-37-201-245-214.hsi13.unitymediagroup.de) has joined #tryton14:40
-!- kstenger(~karla@r186-54-44-57.dialup.adsl.anteldata.net.uy) has joined #tryton14:41
-!- niki(~niki@0x3e2c87ad.mobile.telia.dk) has joined #tryton14:43
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton16:20
-!- bvillasanti(~bvillasan@138.117.21.154) has joined #tryton16:24
-!- zodman(~zodman@fixed-188-105-187-188-105-56.iusacell.net) has joined #tryton16:44
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton17:11
-!- bvillasanti1(~bvillasan@138.117.21.154) has joined #tryton17:30
-!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton17:35
-!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton17:43
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton17:46
sisalphello, for those if ever who would be be interested in getting a "populated" trytond archive (trytond+all core modules), I have to maintain one here : http://download.sisalp.net/tryton-server-4.0.uptodate.tar.gz17:56
sisalpis there any documentation about trytond-admin, why it was separated, how it will evolve over time etc...17:57
pokolisisalp: there are currently two in progress issues about trytond-admin18:01
pokolisisalp: see https://bugs.tryton.org/issue5385 and https://bugs.tryton.org/issue263818:01
-!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton18:08
cedksisalp: it was separated because it makes no sense to have the same command to launch the server and to perform tasks18:10
sisalppokoli: cedk: I suppose trytond should be stop when using tryton-admin, shouldn't it ?18:11
cedksisalp: it depends18:13
cedksisalp: it you install new module, yes18:14
pokolisisalp: I usually update the data defined on xml without stoping nor restarting trytond18:14
sisalpcedk: in which case trytond-admin is used if no module changed ?18:14
sisalppokoli: I see. it is not a newmodule, but an updated module18:15
cedksisalp: but to make it simple, always restart trytond after using trytond-admin18:17
-!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton18:24
-!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton18:30
-!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton18:30
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:39
-!- nicoe(~nicoe@2a02:a03f:302d:1400:ee55:f9ff:fe7b:f7ac) has joined #tryton18:51
-!- zodman(~zodman@178.62.7.89) has joined #tryton18:55
-!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton19:15
-!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton19:37
-!- mrechte(~Thunderbi@2001:41d0:fe43:7f00:fad1:11ff:fe10:a118) has joined #tryton19:40
-!- EdbO(5065932f@gateway/web/freenode/ip.80.101.147.47) has joined #tryton20:07
EdbOHello all20:07
EdbOI'm working to get Tryton working with websockets20:08
EdbOUsing this library https://pypi.python.org/pypi/websockets20:09
EdbOIt needs python320:09
EdbOIs anybody else interested?20:09
EdbOAnd can we discuss this on the mailinglist or is discourse better?20:10
-!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton20:16
-!- kstenger1(~karla@r186-54-31-79.dialup.adsl.anteldata.net.uy) has joined #tryton20:28
cedkEdbO: what is the goal?20:50
cedkEdbO: trytond is not designed to be asynchrone20:57
-!- yangoon_rm(~mathiasb@137.158.23.34) has joined #tryton21:15
EdbOcedk: For me the goal is that the server can update clients, so long running tasks can be put into Tryton via Celery and when the task is done the server can notify the client22:08
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton22:09
EdbOcedk: also when another client updates a product, the server can send the changes to the other clients (when needed)22:09
EdbOcedk: clients then puts the data into the cache22:10
-!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton22:36
cedkEdbO: what is excatly the goal?22:43
cedkEdbO: the client can not reload a for like that if the user ha modified it22:44
cedkEdbO: also a clien can have thousands of records in cache, I don't think it can scale to push update all over22:46
cedkEdbO: about task notification, for me an email is largely more efficient22:48
EdbOcedk: my client(s) are daemons running in the background.22:51
EdbOcedk: When they are started, they connect with Tryton, get their specific data and moves into the background22:51
EdbOcedk: They gather data from different sources / sensors22:51
cedkEdbO: I don't understand, if they get data from Tryton there is not need to wait22:52
EdbOcedk: When I make a change, the client(s) should be notified of a change, so they can take action22:52
EdbOExample: A client gathers data from a sensor every minute22:52
EdbOcedk: I change that into 30 seconds22:53
EdbOcedk: the "background"-client doesn't know that, until it get notified22:53
EdbOcedk: when de "background"-client is notified is can change the interval from 1 minute to 30 seconds22:54
cedkEdbO: I think you can do that with a long polling and pg listen/notify22:56
cedkEdbO: this can be an interresting module with a generic subscribtion mechanism22:57
cedkEdbO: I think you can start a generic proposal on discourse23:04
cedkbut I don't think you need websocket nor asyncio etc.23:04
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton23:34

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!