IRC logs of #tryton for Friday, 2016-07-01

chat.freenode.net #tryton log beginning Fri Jul 1 00:00:01 CEST 2016
2016-07-01 00:33 -!- zmijunkie1(~Adium@i59F5EE70.versanet.de) has joined #tryton
2016-07-01 02:21 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-01 03:36 -!- udono(~udono@ip-37-201-245-214.hsi13.unitymediagroup.de) has joined #tryton
2016-07-01 03:40 -!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton
2016-07-01 05:21 -!- frispete_(~frispete@p54A913A3.dip0.t-ipconnect.de) has joined #tryton
2016-07-01 06:52 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-07-01 08:11 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-07-01 08:32 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-07-01 08:34 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-07-01 08:39 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-07-01 08:39 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-07-01 08:42 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-07-01 08:45 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-07-01 08:48 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2016-07-01 09:00 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-07-01 09:42 <prayashm> How should we do the decoding of encoded files other than utf-8 in javascript?
2016-07-01 09:46 <prayashm> I am searching for python string.decode() equivalent in javascript, but didn't get any
2016-07-01 09:50 <prayashm> PapaParse documentation says it supports parsing encoded files, provided the encoding we mention should be supported by FileReader API
2016-07-01 09:51 <prayashm> I was reading about FileReader API, and I think https://encoding.spec.whatwg.org/#concept-encoding-get these are the encoding supported by it
2016-07-01 09:51 <prayashm> how should I proceed?
2016-07-01 10:02 -!- aasnan(~angel@48.red-83-45-194.dynamicip.rima-tde.net) has joined #tryton
2016-07-01 10:02 <pokoli> prayashm: for me you should ask the enconding on the import dialog, and pass the entered encoding to PapaParse
2016-07-01 10:02 <pokoli> prayashm: does Paparse have any parameter to specify the encoding?
2016-07-01 10:04 <prayashm> pokoli: Yes, there. And that is already being done.
2016-07-01 10:05 <prayashm> pokoli: currently the encoding field is a select tag similar to that in GTK client
2016-07-01 10:05 <prayashm> pokoli: do you suggest I make it a text field?
2016-07-01 10:05 <prayashm> I am passing the user chosen encoding into the config object of PapaParse
2016-07-01 10:06 <pokoli> prayashm: it's okey to have a select tag similar to the GTK client
2016-07-01 10:06 <pokoli> prayashm: so if you are pasing the encoding it's the PapaParse work to read it in the correct encoding
2016-07-01 10:09 <prayashm> pokoli: right, I want to know which options should I allow in the select tag
2016-07-01 10:10 <prayashm> pokoli: All the ones mentioned in GTK Client?
2016-07-01 10:10 <pokoli> prayashm: yes, if all are suported by PapaParse
2016-07-01 10:12 <prayashm> pokoli: PapaParse says the encoding passed should be supported by the FileReader API
2016-07-01 10:15 <pokoli> prayashm: so only the one suportted by FileReader API
2016-07-01 10:16 <pokoli> prayashm: I will expect that all the encoding are supported, but please check it :)
2016-07-01 10:18 <prayashm> Yep, I read through MDN ... and reached this file (through the w3c specification) https://encoding.spec.whatwg.org/#concept-encoding-get
2016-07-01 10:18 <prayashm> pokoli: I am pretty sure these are supported by FileReader
2016-07-01 10:19 <prayashm> pokoli: how should I test, if I am going in right direction?
2016-07-01 10:20 <pokoli> prayashm: yes, this link is the valid list of supported encodings
2016-07-01 10:21 <pokoli> prayashm: you can generate a file in a different enconding than utf-8 and try to import it
2016-07-01 10:25 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 10:37 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-07-01 10:37 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-07-01 10:57 -!- Michale(67fecb7c@gateway/web/freenode/ip.103.254.203.124) has joined #tryton
2016-07-01 10:57 <Michale> hello, How can I edit birthday via JSON RPC?
2016-07-01 10:58 <pokoli> Michale: if birthday is a field on a model: yes, you can change it via JSON-RPC
2016-07-01 11:04 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-07-01 11:08 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-07-01 12:42 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-01 12:46 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 12:48 -!- mariomop(~quassel@181.92.6.48) has joined #tryton
2016-07-01 12:51 -!- Michale(caa0a538@gateway/web/freenode/ip.202.160.165.56) has joined #tryton
2016-07-01 12:59 -!- Michale(67fecb7c@gateway/web/freenode/ip.103.254.203.124) has joined #tryton
2016-07-01 13:00 <Michale> Hello, I am trying to edit birthday as here http://pastebin.com/aydU3VmC
2016-07-01 13:00 <Michale> but getting error
2016-07-01 13:00 <Michale> is this valid for JSON RPC?
2016-07-01 13:02 <Michale> can anyone help me?
2016-07-01 13:03 <pokoli> Michale: no, the date is not correctly encoded. It misses the __class__ attribute to specify that is a Date
2016-07-01 13:03 <pokoli> Michale: see http://hg.tryton.org/sao/file/tip/src/rpc.js#l177
2016-07-01 13:06 -!- yangoon_rm1(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 13:09 <Michale> pokoli, thanks for your answer, I change like http://pastebin.com/gTicchET but still not working
2016-07-01 13:10 <pokoli> Michale: its __class__ not _class
2016-07-01 13:13 <Michale> still not working
2016-07-01 13:14 <Michale> as here http://pastebin.com/BCPZtVfE
2016-07-01 13:14 <pokoli> Michale: and what's the error?
2016-07-01 13:15 <Michale> http://pastebin.com/BCPZtVfE
2016-07-01 13:15 <Michale> sorry
2016-07-01 13:15 <Michale> 502 Bad Gateway
2016-07-01 13:15 <pokoli> Michale: that's a proxy error, not an error on the trytond server
2016-07-01 13:17 <Michale> but I am sure that's because of parameter we passing!
2016-07-01 13:19 <Michale> how to solve that?
2016-07-01 13:22 <cedk> date params must be integers
2016-07-01 13:24 <Michale> cedk, thanks!
2016-07-01 13:29 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 14:48 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-07-01 15:11 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 15:20 -!- kstenger(~karla@r190-133-121-160.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-07-01 15:26 -!- bvillasanti(~bvillasan@138.117.21.154) has joined #tryton
2016-07-01 15:40 -!- prayashm(~prayashm@45.251.36.7) has joined #tryton
2016-07-01 15:40 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-07-01 15:45 -!- kstenger(~karla@r190-133-121-160.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-07-01 15:47 -!- pelox(~rail@gusl/staff/risturiz) has joined #tryton
2016-07-01 16:09 -!- yangoon_rm1(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 16:28 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-01 16:30 -!- bechamel(~user@91.177.172.51) has joined #tryton
2016-07-01 16:33 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 16:36 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 16:38 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-01 17:03 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-07-01 17:37 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 17:37 -!- yangoon_rm1(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 17:40 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 17:42 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-01 17:55 -!- yangoon_rm1(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 17:58 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-01 18:28 -!- frispete(~frispete@p54A913A3.dip0.t-ipconnect.de) has joined #tryton
2016-07-01 18:35 -!- kstenger(~karla@r190-133-121-160.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-07-01 18:43 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-01 18:46 -!- zmijunkie(~Adium@i59F5EE70.versanet.de) has joined #tryton
2016-07-01 18:51 -!- miknotauro(~miknotaur@187.207.59.241) has joined #tryton
2016-07-01 19:20 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 19:36 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-01 20:28 -!- bvillasanti(~bvillasan@138.117.21.154) has joined #tryton
2016-07-01 20:36 -!- kstenger1(~karla@r186-48-241-199.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-07-01 20:45 -!- yangoon_rm(~mathiasb@137.158.22.107) has joined #tryton
2016-07-01 22:02 -!- JosDzGx(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-07-01 22:35 -!- frispete(~frispete@p54A913A3.dip0.t-ipconnect.de) has joined #tryton

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