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

chat.freenode.net #tryton log beginning Fri Mar 11 00:00:04 CET 2016
2016-03-11 00:31 -!- bvillasanti(~bvillasan@138.117.21.56) has joined #tryton
2016-03-11 00:36 -!- bvillasanti(~bvillasan@138.117.21.56) has joined #tryton
2016-03-11 02:08 -!- JosDzGx(~Thunderbi@189.130.232.144) has joined #tryton
2016-03-11 02:10 -!- mbtamuli12(mbtamuli12@gateway/shell/blinkenshell.org/x-lquczzmvxilqnbrp) has left #tryton
2016-03-11 02:13 -!- JosDzGx(~Thunderbi@187.188.72.34) has joined #tryton
2016-03-11 04:24 -!- flook_(pakhandiba@nat/iiit/x-rcphdmflsohbxdga) has joined #tryton
2016-03-11 04:41 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2016-03-11 06:49 -!- kstenger(~karla@r167-56-238-108.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-03-11 07:02 -!- toshad(uid150688@gateway/web/irccloud.com/x-qyjclfbbplbghgmf) has joined #tryton
2016-03-11 07:09 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-11 07:19 -!- vivekjain(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton
2016-03-11 07:40 -!- frispete_(~frispete@p54A91EAB.dip0.t-ipconnect.de) has joined #tryton
2016-03-11 07:46 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-11 07:48 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-03-11 08:04 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-03-11 08:06 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-11 08:15 -!- kstenger1(~karla@r186-54-31-240.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-03-11 08:20 -!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton
2016-03-11 08:21 -!- toshad(uid150688@gateway/web/irccloud.com/x-qyjclfbbplbghgmf) has joined #tryton
2016-03-11 08:53 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-03-11 08:54 -!- toshad(uid150688@gateway/web/irccloud.com/x-qyjclfbbplbghgmf) has joined #tryton
2016-03-11 08:54 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-03-11 09:12 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-11 09:40 -!- harindersingh(6705860a@gateway/web/freenode/ip.103.5.134.10) has joined #tryton
2016-03-11 09:41 -!- harindersingh(6705860a@gateway/web/cgi-irc/kiwiirc.com/ip.103.5.134.10) has joined #tryton
2016-03-11 10:29 -!- manipalsingh(manipalsin@nat/iiit/x-loamcrmxauquhnof) has joined #tryton
2016-03-11 10:58 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-03-11 11:41 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-11 11:47 -!- flook(pakhandiba@nat/iiit/x-eiofhwwldpbxjmuv) has joined #tryton
2016-03-11 12:17 -!- mariomop(~quassel@host101.181-1-255.telecom.net.ar) has joined #tryton
2016-03-11 12:26 -!- harindersingh(6705860a@gateway/web/cgi-irc/kiwiirc.com/ip.103.5.134.10) has joined #tryton
2016-03-11 12:57 -!- ccaz(~ccr@80.215.169.72) has joined #tryton
2016-03-11 13:08 -!- flook(pakhandiba@nat/iiit/x-kzmgkbyqiouiivkd) has joined #tryton
2016-03-11 14:29 -!- bvillasanti(~bvillasan@138.117.21.56) has joined #tryton
2016-03-11 15:12 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2016-03-11 15:18 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2016-03-11 15:20 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2016-03-11 15:50 -!- umeshksingla_(uid137324@gateway/web/irccloud.com/x-ibfjiajrniaejeix) has joined #tryton
2016-03-11 16:08 -!- yland(~yland@41.202.219.67) has joined #tryton
2016-03-11 16:18 <yland> Hello, my name is Amate Yolande, I've been trying to setup tryton with sqlite, but so far when I try to create a database I get the following errors http://pastebin.com/4LUwsA0L
2016-03-11 16:23 <cedk> yland: have you pysqlite2 installed?
2016-03-11 16:24 <cedk> yland: if yes which version?
2016-03-11 16:36 -!- yland(~yland@41.202.219.70) has joined #tryton
2016-03-11 17:05 -!- tafodinho(~tafodinho@195.24.220.134) has joined #tryton
2016-03-11 17:06 <cedk> yland: did you see my question about pysqlite2 installed?
2016-03-11 17:11 <yland> cedk, No, I and am just seeing it now.
2016-03-11 17:11 <tafodinho> hello everyone please i have an error cloning the tryton code please view error at http://pastebin.com/Nt4AmFkS
2016-03-11 17:16 <cedk> tafodinho: try without ssl
2016-03-11 17:17 <cedk> tafodinho: otherwise can you access it via browser?
2016-03-11 17:17 <tafodinho> cedk: no.
2016-03-11 17:17 <tafodinho> cedk: please hw do i do it
2016-03-11 17:19 <cedk> tafodinho: open a browser and type the URL
2016-03-11 17:19 <tafodinho> cedk: i have done just that
2016-03-11 17:20 -!- flook(flook@nat/iiit/x-hhjdbrqjzcbustxq) has joined #tryton
2016-03-11 17:21 <cedk> tafodinho: and what is the result?
2016-03-11 17:21 <yland> cedk: I do not think pysqlite2 is installed. I am trying to install it.
2016-03-11 17:21 <tafodinho> cedk: i have the tryton repository under the mercurial
2016-03-11 17:21 <cedk> yland: no need to install it
2016-03-11 17:22 <cedk> yland: which version of Python do you have?
2016-03-11 17:22 <cedk> tafodinho: ok so your browser doesn't have ssl issue
2016-03-11 17:22 <cedk> tafodinho: did you retry once to clone?
2016-03-11 17:22 <tafodinho> cedk: so what can be the possible problem. Yes
2016-03-11 17:22 <yland> cedk: python2.7
2016-03-11 17:23 <tafodinho> cedk: can i use ssh
2016-03-11 17:24 <cedk> tafodinho: no, http or https
2016-03-11 17:24 <cedk> yland: more precisly
2016-03-11 17:25 <cedk> yland: because it seems you have a sqlite embeded that doesn't have context management on the connection
2016-03-11 17:25 <yland> cedk: python2.7.10
2016-03-11 17:26 <tafodinho> cedk: because i also had some problem like that with github and i am using ssh on github
2016-03-11 17:34 <cedk> yland: this is very strange because I have the same version and sqlite support context management
2016-03-11 17:34 <cedk> yland: are you really sur you don't have pysqlite2 installed
2016-03-11 17:46 -!- yland(~yland@41.202.219.70) has joined #tryton
2016-03-11 17:46 <yland> cedk: I am not certain but when I run trytond -c conffile -d database --all -v, it runs for a while then it stop with "database is locked"
2016-03-11 17:48 <nicoe> yland: Can you execute the example given there https://docs.python.org/2/library/sqlite3.html#using-the-connection-as-a-context-manager
2016-03-11 17:52 <yland> nicoe: yes , I can execute the example.
2016-03-11 17:57 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-11 18:00 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-11 18:01 <cedk> tafodinho: if you have similar issue with other website, I guess it is linked to some router that has a wrong MTU
2016-03-11 18:02 <cedk> yland: it is not clear if you have run the code successfuly or not
2016-03-11 18:05 <yland> cedk: running python setup.py ran successfully, but running trytond -c conffile -d database --all -v, it runs for a while then it stop with "database is locked"
2016-03-11 18:07 <yland> cedk: I just get errors when trying to access or create a database
2016-03-11 18:09 -!- JosDzG(~Thunderbi@187.188.72.34) has joined #tryton
2016-03-11 18:10 <kstenger1> yland: what result do you get after running the example above?
2016-03-11 18:12 <yland> kstenger1: example.db file if created and data is inserted into the file
2016-03-11 18:13 <cedk> yland: so I'm pretty sure you have a very old pysqlite2 installed
2016-03-11 18:13 <kstenger1> yland: that's the example nicoe posted above?
2016-03-11 18:14 <yland> kstenger1: yes it is.
2016-03-11 18:15 <yland> could this have any thing to do with configuration ?
2016-03-11 18:16 -!- flook(flook@nat/iiit/x-pitwodzhthetxcvd) has joined #tryton
2016-03-11 18:23 <kstenger1> yland: I think you are not runnign this example https://docs.python.org/2/library/sqlite3.html#using-the-connection-as-a-context-manager it has nothing to do with tryton nor it's configuration. When I run it on a python2 terminal I get "couldn't add Joe twice" as output, which output do you get when you run it?
2016-03-11 18:28 <yland> kstenger: sorry for the mix up, ran the program and I got "couldn't add Joe twice"
2016-03-11 18:29 <cedk> that's what I think, you have a good sqlite3 lib but trytond first try to import pysqlite2
2016-03-11 18:29 <cedk> and I think you have a too old pysqlite2 installed
2016-03-11 18:30 <nicoe> yland: can you run "python -c 'import pysqlite2' ?
2016-03-11 18:30 <nicoe> yland: If so cedk analysis is right
2016-03-11 18:32 <yland> nicoe: yes, I ran the command and I got no errors.
2016-03-11 18:33 <kstenger> yland: what's your OS/distro? maybe the package name is different
2016-03-11 18:34 <yland> kstenger: fedora 23
2016-03-11 18:36 <kstenger> could be the package python-sqlite2 ?
2016-03-11 18:37 <kstenger> bah, there seems to be another called python2-pysqlite
2016-03-11 18:41 <kstenger> would this be easier if she tries to run inside a virtualenv?
2016-03-11 18:43 <yland> kstenger: I have been using virtualenv throughout
2016-03-11 18:43 <yland> Thanks everyone for the help I would try to install it all over on ubuntu14 and report back with any updates
2016-03-11 18:46 <kstenger> yland: ok, just keep in mind that as suggested by cedk it could be solved if you update your pysqlite2 version (I particularly don't know exactly how to do this on fedora)
2016-03-11 18:48 <yland> kstenger: Do you know how I could update it on ubuntu, if I run into the same issue ?.
2016-03-11 18:48 <kstenger> yland: it would be easier to find it out, but I somehow doubt you will run into the same issue
2016-03-11 18:49 <kstenger> (you may get other issues heh, but probabilities of the same one are low ;-) )
2016-03-11 18:50 <yland> kstenger: Thanks
2016-03-11 18:51 <cedk> yland: or you can uninstall pysqlite2
2016-03-11 18:58 -!- lukio(~lukio@190.55.81.222) has joined #tryton
2016-03-11 19:35 -!- softcoder32(~djff@41.202.219.64) has joined #tryton
2016-03-11 19:58 -!- lukio(~lukio@190.55.81.222) has left #tryton
2016-03-11 20:07 <softcoder32> hello, i am a gsoc 2016 aspirant well versed in python and c programming. i wish to participate under the tryton org. if i wish for some directives on where to start. thanks
2016-03-11 20:09 <kstenger> softcoder32: hi, and welcome, take a look at this https://discuss.tryton.org/t/google-summer-of-code-2016/66
2016-03-11 20:11 <softcoder32> @kstenger, are gsoc aspirant just expected to submit patches or i can also commit, hence cloning repo with ssh??
2016-03-11 20:12 <kstenger> softcoder32: you can submit patches to the bugtracker
2016-03-11 20:12 <cedk> softcoder32: submit patch following: http://www.tryton.org/how-to-contribute.html
2016-03-11 20:13 <cedk> softcoder32: direct push access is given after showing deep involvement in the project
2016-03-11 20:17 -!- kstenger1(~karla@r186-48-34-229.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-03-11 20:18 -!- yland(~yland@41.202.219.74) has joined #tryton
2016-03-11 20:19 -!- softcoder32(~djff@41.202.219.68) has joined #tryton
2016-03-11 20:39 -!- softcoder32(~djff@41.202.219.64) has joined #tryton
2016-03-11 21:13 -!- softcoder32(~djff@41.202.219.64) has joined #tryton
2016-03-11 21:16 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2016-03-11 21:16 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2016-03-11 21:47 -!- shrox(shrox@nat/iiit/x-ibhxwvqfjekjjnyb) has joined #tryton
2016-03-11 22:00 -!- softcoder32(~djff@41.202.219.78) has joined #tryton
2016-03-11 22:18 <shrox> Hi, I have a question about using upload.py to submit patches. When I run the following command, how will the upload.py file know the location of the code that I want to submit for review? python ~/.local/bin/upload.py --oauth2
2016-03-11 22:21 <cedk> shrox: you must run it from within the repository
2016-03-11 22:22 <shrox> cedk: I see. Okay, thanks!
2016-03-11 22:38 <shrox> cedk: It says "No valid patches found in output from hg diff" even though I have made changes to the code. Am I missing something?
2016-03-11 22:40 <cedk> shrox: what happens if you do: hg status
2016-03-11 22:42 <shrox> cedk: It says there are files not added to version control
2016-03-11 22:42 <shrox> cedk: ..and shows a number of files
2016-03-11 22:43 <cedk> shrox: if you only created new files, you must add them with: hg add command
2016-03-11 22:45 <shrox> cedk: these are .pyc files that were created when the py files were run
2016-03-11 22:46 <cedk> shrox: you must not add those
2016-03-11 22:49 <shrox> cedk: Yes, I haven't.
2016-03-11 22:51 <cedk> shrox: so is hg status showing any modification or addition?
2016-03-11 22:56 <shrox> cedk: I found the mistake I was making. I had cloned the modules that I made the changes in separately so the hg command on the main repo didn't consider them.
2016-03-11 22:57 <shrox> cedk: I will just have to separately run the upload.py files in the two module folders I think.
2016-03-11 22:59 <shrox> cedk: Sorry, just the one module.
2016-03-11 23:01 <cedk> shrox: if you have modified 2 repositories, you have to run twice upload.py on each one
2016-03-11 23:01 <cedk> shrox: also you can use hgreview extension which could be easier
2016-03-11 23:08 <shrox> cedk: Yes, I have figured it out now :) Thank you so much. I'll hopefully not have any problems with my next patch. And yes, I'll try the extension. I read about it on the 'to contribute' page. Thanks!

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