IRC logs of #tryton for Friday, 2016-06-03

chat.freenode.net #tryton log beginning Fri Jun 3 00:00:02 CEST 2016
-!- shrox(shrox@nat/iiit/x-bovhaoxrhuhfvbty) has joined #tryton05:30
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:31
-!- frispete_(~frispete@p54A91BF3.dip0.t-ipconnect.de) has joined #tryton07:40
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton07:49
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton08:08
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:14
-!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton08:37
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:07
dj_xatraI'm testing the ldap3 patch, https://tryton-rietveld.appspot.com/1925100210:25
dj_xatraldap3 in my own test script works.10:25
dj_xatraBut in Tryton the client says "Error: need a single Unicode character as parameter".10:26
pokolidj_xatra: do you have the full traceback?10:27
dj_xatrapokoli: It contains some sensitive data, pm ok?10:31
pokolidj_xatra: just obscure it, we are not interested on your data ;)10:32
cedkdj_xatra: I think the patch is not up to date with the latest development10:32
dj_xatracedk: I know, so I pulled an earlier version of ldap_authentication10:33
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton10:33
cedkdj_xatra: it is not about ldap_authentication but the all authentication mechanism10:33
cedkdj_xatra: from issue552110:34
dj_xatraah10:34
cedknicoe: could you update the patch10:37
-!- csotelo_at_work_(~csotelo@200.4.199.12) has joined #tryton10:38
-!- ccaz1(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton10:39
dj_xatrahttp://dpaste.com/15B087E is the tail of the Tryton server traceback.10:40
dj_xatraSo it ends with "performing simple BIND". My own script goes on with "simple BIND request" etc.10:41
nicoecedk, dj_xatra: I am on it10:41
dj_xatranicoe: thanks10:41
pokolicedk: do you plan to work on issue5384 if neso is retired?10:42
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton10:58
cedkpokoli: yes probably11:04
cedkprayashm: hi11:04
cedkprayashm: I don't know if you have seen my conversation with shrox yesterday11:05
cedkprayashm: but mainly, we encourage to upload your work everyday on a review or a repository11:05
pokolicedk: I'm also interested on it, so let me know if you can not work on it as I will try to propose a patch11:08
cedkpokoli: oh you can go for it11:12
cedkpokoli: but don't go too fast about killing neso11:13
-!- shrox(shrox@nat/iiit/x-xkklhcmacuyauktc) has joined #tryton11:15
pokolicedk: I don't want to kill neso, only to make trytond single database11:17
cedkpokoli: yes but for that, we have to kill neso or to move the features to neso11:19
cedkpokoli: so I think we can wait one week before taking the decision11:19
pokolicedk: we can also make neso work on a hardcoded database and make it single database, but don't know if it's worth11:20
pokolicedk: but let's wait if someone wants to mantain neso11:21
nicoedj_xatra: I just uploaded a new review of ldap_authentication11:44
dj_xatranicoe: awesome, thanks11:51
nicoedj_xatra: np, thank you for testing11:51
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton12:05
pokoliprayashm: hi, have you read previous messages?12:16
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton12:23
prayashmpokoli: Hello! Yes I have.12:23
pokoliprayashm: so where you will upload your code?12:24
prayashmpokoli: codereview right? Should I send it to somewhere else?12:25
pokoliprayashm: for me codereview is ok, but we can adapt if you want to use a repository to upload intermediary changes and upload the final version to codereview12:26
cedkprayashm: shrox is going to use a github repo12:27
prayashmpokoli: okay. As I am new to hg ... I have used only codereview. Any other tools you would suggest?12:27
pokoliprayashm: for example you can fork fork the sao repository on a hg repository in bitbucket12:28
shroxcedk: Yes, my working repository is already online. https://github.com/shrox/test-gsoc12:29
prayashmpokoli: For github repo, I would have to maintain it using git right (which I would love) ... then how to make it compatible with hg?12:29
pokoliprayashm: there is a github mirror for sao on https://github.com/tryton/sao12:30
pokoliprayashm: so you just need to fork this repo and work on github if desired12:30
prayashmpokoli: Can I then submit a pull request?12:33
prayashmpokoli: To that tryton/sao repo on github?12:34
cedkprayashm: no we don't accept PR for tryton12:34
cedkprayashm: http://www.tryton.org/how-to-contribute.html12:35
prayashmcedk: Right.12:35
pokoliprayashm: the idea is that you work on your github repo until you think the code is good enough to upload to codereview for final review12:35
pokoliprayashm: so we can give feedback earlier12:36
prayashmpokoli: Oh finally I get it.12:36
cedkprayashm: the repo idea is more a kind of sandbox, we still expect to have a codereview12:36
prayashmpokoli: I will also make a github repo then12:36
cedkprayashm: working with a single review is also acceptable12:36
dj_xatranicoe: do you have an example of the authentications method list in config?12:39
nicoedj_xatra: you just need to put "authentications = ldap" in the session section of the config file, no?12:41
cedkthen it will authenticate only with ldap12:42
cedkyou can put ldap,password to have fallback to standard password12:42
nicoedj_xatra: http://hg.tryton.org/trytond/file/tip/doc/topics/configuration.rst#l20412:42
pokoliprayashm: so let us know where you have the repo setup, so we can subscribe to changes :)12:43
dj_xatraok12:43
dj_xatraYay, I'm logged in with ldap!12:46
nicoedj_xatra: very good :)12:48
nicoedj_xatra: Was it and active directory server?12:48
nicoe*an12:48
dj_xatranicoe: yes, it's the only kind of ldap I have here.12:48
cedkdj_xatra: in Python3?12:49
nicoedj_xatra: that's even better (kind of ;)) as I already tested openldap12:49
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton12:49
dj_xatracedk: Python 2 for starters. Will test with Python 3 later today.12:49
dj_xatraI've tested with a domain admin account as bindname. Our sysadmins don't like that, so I'll also test w/o bindname.12:50
-!- prayashm(~prayashm@14.139.207.163) has joined #tryton12:56
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton12:56
-!- mariomop(~quassel@host154.190-138-105.telecom.net.ar) has joined #tryton13:00
pokoliprayashm: so let us know where you have the repo setup, so we can subscribe to changes :)13:00
prayashmpokoli: :) I already have. The repo is live.13:01
pokoliprayashm: https://github.com/prayashm/sao ?13:03
prayashmpokoli: Yeah13:03
cedkprayashm shrox: also don't forget to make you weekly blog post13:04
prayashmpokoli: Sorry. I thought had sent the message with repo link, But it didn't go through.13:05
pokoliprayashm: nevermind I found it :)13:08
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton13:19
dj_xatraI can't get ldap working w/o a bindname. It says "In order to perform this operation a successful bind must be completed on the connection".15:02
cedkdj_xatra: is the server allow to search without bind?15:05
cedkdj_xatra: trytond needs to find the corresponding user to perform the login on it15:06
dj_xatracedk: sysadmins say that every user is at least allowed to access his own data.15:08
dj_xatraI don't know if that means that every user should bind as himself.15:09
dj_xatraThis is my first encounter with ldap.15:09
cedkdj_xatra: but tryton doesn't know the user15:09
dj_xatracedk: well, it asks for a username and password. Couldn't it then try to bind as that user and if it fails then the user is invalid?15:10
cedkdj_xatra: username is not an ldap object15:10
dj_xatracedk: I mean, get the bindname from the login dialog instead of the connection string.15:11
cedkdj_xatra: I doubt user knows their bindname15:11
dj_xatracedk: I think the bindname is the same as the account name15:18
cedkdj_xatra: maybe but then you can not limit the authentication with a filter15:22
cedkdj_xatra: I don't see any issue about creating a specific user for trytond to perform such search15:23
cedkdj_xatra: it is like having a specific user to connect to the database15:23
-!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has joined #tryton15:30
dj_xatracedk: I talked to sysadmins again. It seems what they told me earlier was not correct. They now pointed me to a specific account and that works.16:07
dj_xatraWould've been nice if they told me this yesterday. Sigh.16:07
cedkdj_xatra: I think filtering is an important feature16:10
dj_xatraDefinitely.16:10
shroxcedk: Can you have a look at this - http://pastebin.ubuntu.com/16946998/16:10
cedkshrox: and so?16:11
shroxcedk: why are those numbers in an fodt and equivalent odt file different?16:11
shrox28150 vs 118, etc.16:12
cedkshrox: I think it is just config about how the document was opened16:12
cedkshrox: I don't think you should focus on such small details16:13
cedkshrox: try first to be able to generate from an fodt an odt that can be openned by LibreOffice16:13
cedkshrox: after you will take a look at small details16:14
dj_xatracedk: just tried pip3 install ldap_authentication. It says 'no module named ConfigParser'.16:14
shroxcedk: Okay. I just didn't want to go wrong at the beginning. Because if I convert the fodt using the converter those numbers will not be the same as the odt that is creating libreoffice.16:15
dj_xatraI see that other modules have a try-except for configparser.16:16
shroxcreated using libreoffice*, I mean16:17
cedkdj_xatra: yes the patch is not yet ready for python316:17
cedkshrox: you can not compare files created by such beast as libreoffice16:18
nicoecedk, dj_xatra: yes the migration to python3 is the second step IIRC16:18
dj_xatranicoe: shall I add an ok to rietveld for active directory?16:19
nicoedj_xatra: yes please16:19
dj_xatraHm, this needs a Google account?16:20
cedkdj_xatra: yes but just an account not a gmail address16:24
dj_xatraI'm one who's hesitant to email with gmail users, so not very fond of hooking myself into Google in any way.16:26
dj_xatraOf course they're mining me anyway, but no need to encourage them.16:27
cedkdj_xatra: you have created an account on bugs.tryton.org?16:27
cedkand everything on codereview is public so…16:28
dj_xatraI have a b2ck account.16:29
cedkdj_xatra: also we don't force you to stay logged when you are not using codereview16:30
-!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton16:31
dj_xatraGotta go home. I'll think about it over the weekend.16:32
shroxcedk: Haha, I was using it as reference. I'll just continue doing my thing, haah16:33
nicoedj_xatra: For now, I know it's OK but it's for future contributions that it will be annoying16:34
dj_xatraI agree :)16:36
-!- lukio(~lukio@186.19.70.16) has joined #tryton17:18
-!- prayashm(~prayashm@103.194.233.54) has joined #tryton17:31
-!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton17:31
-!- bvillasanti1(~bvillasan@190.105.106.65) has joined #tryton17:59
-!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton18:56
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton19:21
-!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton19:24
-!- shrox(shrox@nat/iiit/x-gimsqxlcsiiddktd) has joined #tryton20:01
-!- shrox(shrox@nat/iiit/x-gimsqxlcsiiddktd) has left #tryton20:01
-!- shrox(shrox@nat/iiit/x-gimsqxlcsiiddktd) has joined #tryton20:02
-!- udono1(~yaaic@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton20:39
-!- hectorh30(~hectorh30@181.114.8.3) has joined #tryton22:04
-!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton22:08
-!- lukio(~lukio@186.19.70.16) has left #tryton22:38
-!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton22:59

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