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

chat.freenode.net #tryton log beginning Fri Jun 3 00:00:02 CEST 2016
2016-06-03 05:30 -!- shrox(shrox@nat/iiit/x-bovhaoxrhuhfvbty) has joined #tryton
2016-06-03 07:31 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-06-03 07:40 -!- frispete_(~frispete@p54A91BF3.dip0.t-ipconnect.de) has joined #tryton
2016-06-03 07:49 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-06-03 08:08 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-06-03 08:14 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-06-03 08:37 -!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton
2016-06-03 09:07 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-06-03 10:25 <dj_xatra> I'm testing the ldap3 patch, https://tryton-rietveld.appspot.com/19251002
2016-06-03 10:25 <dj_xatra> ldap3 in my own test script works.
2016-06-03 10:26 <dj_xatra> But in Tryton the client says "Error: need a single Unicode character as parameter".
2016-06-03 10:27 <pokoli> dj_xatra: do you have the full traceback?
2016-06-03 10:31 <dj_xatra> pokoli: It contains some sensitive data, pm ok?
2016-06-03 10:32 <pokoli> dj_xatra: just obscure it, we are not interested on your data ;)
2016-06-03 10:32 <cedk> dj_xatra: I think the patch is not up to date with the latest development
2016-06-03 10:33 <dj_xatra> cedk: I know, so I pulled an earlier version of ldap_authentication
2016-06-03 10:33 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2016-06-03 10:33 <cedk> dj_xatra: it is not about ldap_authentication but the all authentication mechanism
2016-06-03 10:34 <cedk> dj_xatra: from issue5521
2016-06-03 10:34 <dj_xatra> ah
2016-06-03 10:37 <cedk> nicoe: could you update the patch
2016-06-03 10:38 -!- csotelo_at_work_(~csotelo@200.4.199.12) has joined #tryton
2016-06-03 10:39 -!- ccaz1(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-06-03 10:40 <dj_xatra> http://dpaste.com/15B087E is the tail of the Tryton server traceback.
2016-06-03 10:41 <dj_xatra> So it ends with "performing simple BIND". My own script goes on with "simple BIND request" etc.
2016-06-03 10:41 <nicoe> cedk, dj_xatra: I am on it
2016-06-03 10:41 <dj_xatra> nicoe: thanks
2016-06-03 10:42 <pokoli> cedk: do you plan to work on issue5384 if neso is retired?
2016-06-03 10:58 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-03 11:04 <cedk> pokoli: yes probably
2016-06-03 11:04 <cedk> prayashm: hi
2016-06-03 11:05 <cedk> prayashm: I don't know if you have seen my conversation with shrox yesterday
2016-06-03 11:05 <cedk> prayashm: but mainly, we encourage to upload your work everyday on a review or a repository
2016-06-03 11:08 <pokoli> cedk: I'm also interested on it, so let me know if you can not work on it as I will try to propose a patch
2016-06-03 11:12 <cedk> pokoli: oh you can go for it
2016-06-03 11:13 <cedk> pokoli: but don't go too fast about killing neso
2016-06-03 11:15 -!- shrox(shrox@nat/iiit/x-xkklhcmacuyauktc) has joined #tryton
2016-06-03 11:17 <pokoli> cedk: I don't want to kill neso, only to make trytond single database
2016-06-03 11:19 <cedk> pokoli: yes but for that, we have to kill neso or to move the features to neso
2016-06-03 11:19 <cedk> pokoli: so I think we can wait one week before taking the decision
2016-06-03 11:20 <pokoli> cedk: we can also make neso work on a hardcoded database and make it single database, but don't know if it's worth
2016-06-03 11:21 <pokoli> cedk: but let's wait if someone wants to mantain neso
2016-06-03 11:44 <nicoe> dj_xatra: I just uploaded a new review of ldap_authentication
2016-06-03 11:51 <dj_xatra> nicoe: awesome, thanks
2016-06-03 11:51 <nicoe> dj_xatra: np, thank you for testing
2016-06-03 12:05 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-03 12:16 <pokoli> prayashm: hi, have you read previous messages?
2016-06-03 12:23 -!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton
2016-06-03 12:23 <prayashm> pokoli: Hello! Yes I have.
2016-06-03 12:24 <pokoli> prayashm: so where you will upload your code?
2016-06-03 12:25 <prayashm> pokoli: codereview right? Should I send it to somewhere else?
2016-06-03 12:26 <pokoli> prayashm: 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 codereview
2016-06-03 12:27 <cedk> prayashm: shrox is going to use a github repo
2016-06-03 12:27 <prayashm> pokoli: okay. As I am new to hg ... I have used only codereview. Any other tools you would suggest?
2016-06-03 12:28 <pokoli> prayashm: for example you can fork fork the sao repository on a hg repository in bitbucket
2016-06-03 12:29 <shrox> cedk: Yes, my working repository is already online. https://github.com/shrox/test-gsoc
2016-06-03 12:29 <prayashm> pokoli: For github repo, I would have to maintain it using git right (which I would love) ... then how to make it compatible with hg?
2016-06-03 12:30 <pokoli> prayashm: there is a github mirror for sao on https://github.com/tryton/sao
2016-06-03 12:30 <pokoli> prayashm: so you just need to fork this repo and work on github if desired
2016-06-03 12:33 <prayashm> pokoli: Can I then submit a pull request?
2016-06-03 12:34 <prayashm> pokoli: To that tryton/sao repo on github?
2016-06-03 12:34 <cedk> prayashm: no we don't accept PR for tryton
2016-06-03 12:35 <cedk> prayashm: http://www.tryton.org/how-to-contribute.html
2016-06-03 12:35 <prayashm> cedk: Right.
2016-06-03 12:35 <pokoli> prayashm: the idea is that you work on your github repo until you think the code is good enough to upload to codereview for final review
2016-06-03 12:36 <pokoli> prayashm: so we can give feedback earlier
2016-06-03 12:36 <prayashm> pokoli: Oh finally I get it.
2016-06-03 12:36 <cedk> prayashm: the repo idea is more a kind of sandbox, we still expect to have a codereview
2016-06-03 12:36 <prayashm> pokoli: I will also make a github repo then
2016-06-03 12:36 <cedk> prayashm: working with a single review is also acceptable
2016-06-03 12:39 <dj_xatra> nicoe: do you have an example of the authentications method list in config?
2016-06-03 12:41 <nicoe> dj_xatra: you just need to put "authentications = ldap" in the session section of the config file, no?
2016-06-03 12:42 <cedk> then it will authenticate only with ldap
2016-06-03 12:42 <cedk> you can put ldap,password to have fallback to standard password
2016-06-03 12:42 <nicoe> dj_xatra: http://hg.tryton.org/trytond/file/tip/doc/topics/configuration.rst#l204
2016-06-03 12:43 <pokoli> prayashm: so let us know where you have the repo setup, so we can subscribe to changes :)
2016-06-03 12:43 <dj_xatra> ok
2016-06-03 12:46 <dj_xatra> Yay, I'm logged in with ldap!
2016-06-03 12:48 <nicoe> dj_xatra: very good :)
2016-06-03 12:48 <nicoe> dj_xatra: Was it and active directory server?
2016-06-03 12:48 <nicoe> *an
2016-06-03 12:48 <dj_xatra> nicoe: yes, it's the only kind of ldap I have here.
2016-06-03 12:49 <cedk> dj_xatra: in Python3?
2016-06-03 12:49 <nicoe> dj_xatra: that's even better (kind of ;)) as I already tested openldap
2016-06-03 12:49 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-06-03 12:49 <dj_xatra> cedk: Python 2 for starters. Will test with Python 3 later today.
2016-06-03 12:50 <dj_xatra> I've tested with a domain admin account as bindname. Our sysadmins don't like that, so I'll also test w/o bindname.
2016-06-03 12:56 -!- prayashm(~prayashm@14.139.207.163) has joined #tryton
2016-06-03 12:56 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-03 13:00 -!- mariomop(~quassel@host154.190-138-105.telecom.net.ar) has joined #tryton
2016-06-03 13:00 <pokoli> prayashm: so let us know where you have the repo setup, so we can subscribe to changes :)
2016-06-03 13:01 <prayashm> pokoli: :) I already have. The repo is live.
2016-06-03 13:03 <pokoli> prayashm: https://github.com/prayashm/sao ?
2016-06-03 13:03 <prayashm> pokoli: Yeah
2016-06-03 13:04 <cedk> prayashm shrox: also don't forget to make you weekly blog post
2016-06-03 13:05 <prayashm> pokoli: Sorry. I thought had sent the message with repo link, But it didn't go through.
2016-06-03 13:08 <pokoli> prayashm: nevermind I found it :)
2016-06-03 13:19 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2016-06-03 15:02 <dj_xatra> I 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".
2016-06-03 15:05 <cedk> dj_xatra: is the server allow to search without bind?
2016-06-03 15:06 <cedk> dj_xatra: trytond needs to find the corresponding user to perform the login on it
2016-06-03 15:08 <dj_xatra> cedk: sysadmins say that every user is at least allowed to access his own data.
2016-06-03 15:09 <dj_xatra> I don't know if that means that every user should bind as himself.
2016-06-03 15:09 <dj_xatra> This is my first encounter with ldap.
2016-06-03 15:09 <cedk> dj_xatra: but tryton doesn't know the user
2016-06-03 15:10 <dj_xatra> cedk: 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?
2016-06-03 15:10 <cedk> dj_xatra: username is not an ldap object
2016-06-03 15:11 <dj_xatra> cedk: I mean, get the bindname from the login dialog instead of the connection string.
2016-06-03 15:11 <cedk> dj_xatra: I doubt user knows their bindname
2016-06-03 15:18 <dj_xatra> cedk: I think the bindname is the same as the account name
2016-06-03 15:22 <cedk> dj_xatra: maybe but then you can not limit the authentication with a filter
2016-06-03 15:23 <cedk> dj_xatra: I don't see any issue about creating a specific user for trytond to perform such search
2016-06-03 15:23 <cedk> dj_xatra: it is like having a specific user to connect to the database
2016-06-03 15:30 -!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has joined #tryton
2016-06-03 16:07 <dj_xatra> cedk: 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.
2016-06-03 16:07 <dj_xatra> Would've been nice if they told me this yesterday. Sigh.
2016-06-03 16:10 <cedk> dj_xatra: I think filtering is an important feature
2016-06-03 16:10 <dj_xatra> Definitely.
2016-06-03 16:10 <shrox> cedk: Can you have a look at this - http://pastebin.ubuntu.com/16946998/
2016-06-03 16:11 <cedk> shrox: and so?
2016-06-03 16:11 <shrox> cedk: why are those numbers in an fodt and equivalent odt file different?
2016-06-03 16:12 <shrox> 28150 vs 118, etc.
2016-06-03 16:12 <cedk> shrox: I think it is just config about how the document was opened
2016-06-03 16:13 <cedk> shrox: I don't think you should focus on such small details
2016-06-03 16:13 <cedk> shrox: try first to be able to generate from an fodt an odt that can be openned by LibreOffice
2016-06-03 16:14 <cedk> shrox: after you will take a look at small details
2016-06-03 16:14 <dj_xatra> cedk: just tried pip3 install ldap_authentication. It says 'no module named ConfigParser'.
2016-06-03 16:15 <shrox> cedk: 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.
2016-06-03 16:16 <dj_xatra> I see that other modules have a try-except for configparser.
2016-06-03 16:17 <shrox> created using libreoffice*, I mean
2016-06-03 16:17 <cedk> dj_xatra: yes the patch is not yet ready for python3
2016-06-03 16:18 <cedk> shrox: you can not compare files created by such beast as libreoffice
2016-06-03 16:18 <nicoe> cedk, dj_xatra: yes the migration to python3 is the second step IIRC
2016-06-03 16:19 <dj_xatra> nicoe: shall I add an ok to rietveld for active directory?
2016-06-03 16:19 <nicoe> dj_xatra: yes please
2016-06-03 16:20 <dj_xatra> Hm, this needs a Google account?
2016-06-03 16:24 <cedk> dj_xatra: yes but just an account not a gmail address
2016-06-03 16:26 <dj_xatra> I'm one who's hesitant to email with gmail users, so not very fond of hooking myself into Google in any way.
2016-06-03 16:27 <dj_xatra> Of course they're mining me anyway, but no need to encourage them.
2016-06-03 16:27 <cedk> dj_xatra: you have created an account on bugs.tryton.org?
2016-06-03 16:28 <cedk> and everything on codereview is public so…
2016-06-03 16:29 <dj_xatra> I have a b2ck account.
2016-06-03 16:30 <cedk> dj_xatra: also we don't force you to stay logged when you are not using codereview
2016-06-03 16:31 -!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton
2016-06-03 16:32 <dj_xatra> Gotta go home. I'll think about it over the weekend.
2016-06-03 16:33 <shrox> cedk: Haha, I was using it as reference. I'll just continue doing my thing, haah
2016-06-03 16:34 <nicoe> dj_xatra: For now, I know it's OK but it's for future contributions that it will be annoying
2016-06-03 16:36 <dj_xatra> I agree :)
2016-06-03 17:18 -!- lukio(~lukio@186.19.70.16) has joined #tryton
2016-06-03 17:31 -!- prayashm(~prayashm@103.194.233.54) has joined #tryton
2016-06-03 17:31 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-06-03 17:59 -!- bvillasanti1(~bvillasan@190.105.106.65) has joined #tryton
2016-06-03 18:56 -!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton
2016-06-03 19:21 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton
2016-06-03 19:24 -!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton
2016-06-03 20:01 -!- shrox(shrox@nat/iiit/x-gimsqxlcsiiddktd) has joined #tryton
2016-06-03 20:01 -!- shrox(shrox@nat/iiit/x-gimsqxlcsiiddktd) has left #tryton
2016-06-03 20:02 -!- shrox(shrox@nat/iiit/x-gimsqxlcsiiddktd) has joined #tryton
2016-06-03 20:39 -!- udono1(~yaaic@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton
2016-06-03 22:04 -!- hectorh30(~hectorh30@181.114.8.3) has joined #tryton
2016-06-03 22:08 -!- bvillasanti(~bvillasan@190.105.106.65) has joined #tryton
2016-06-03 22:38 -!- lukio(~lukio@186.19.70.16) has left #tryton
2016-06-03 22:59 -!- JosDzG(~Thunderbi@fixed-203-141-189-203-141-123.iusacell.net) has joined #tryton

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