IRC logs of #tryton for Thursday, 2014-07-10

chat.freenode.net #tryton log beginning Thu Jul 10 00:00:01 CEST 2014
2014-07-10 00:02 <vaab> cedk: ok... thx for the precisions. I guess it's hard to gather community and foster participation. I'll ponder that and wish you a good night.
2014-07-10 00:03 -!- vaab(~vaab@cha28-1-82-240-147-17.fbx.proxad.net) has left #tryton
2014-07-10 00:23 -!- grasbauer(~jan@146.52.13.198) has joined #tryton
2014-07-10 00:46 -!- grasbauer(~jan@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton
2014-07-10 01:18 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-07-10 01:48 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-07-10 02:20 -!- vak0160(~vak0160@36.72.229.107) has joined #tryton
2014-07-10 02:29 -!- marius__(~marius@84.240.8.12) has joined #tryton
2014-07-10 03:37 -!- perilla(~perilla@186.43.194.168) has joined #tryton
2014-07-10 04:56 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-07-10 05:53 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-07-10 06:25 -!- jvblasco(~seba@62.43.196.37.static.user.ono.com) has joined #tryton
2014-07-10 06:40 -!- frispete_(~frispete@p54A910B9.dip0.t-ipconnect.de) has joined #tryton
2014-07-10 07:02 -!- prksh(~prksh@118.91.181.250) has joined #tryton
2014-07-10 07:02 -!- yangoon1(~mathiasb@84.159.11.137) has joined #tryton
2014-07-10 07:31 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-07-10 07:34 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-07-10 07:40 -!- grasbauer(~jan@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton
2014-07-10 08:01 -!- marius__(~marius@v100.nfq.lt) has joined #tryton
2014-07-10 08:10 -!- vak0160(~vak0160@36.72.229.107) has joined #tryton
2014-07-10 08:21 -!- soumyadeep(~soumyadee@122.163.11.21) has joined #tryton
2014-07-10 08:46 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-07-10 09:17 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has joined #tryton
2014-07-10 09:20 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton
2014-07-10 09:34 -!- woakas(~woakas@static.13.240.46.78.clients.your-server.de) has joined #tryton
2014-07-10 09:55 -!- nicoe(~nicoe@balisto.office.b2ck.com) has joined #tryton
2014-07-10 09:57 -!- prksh(~prksh@122.177.39.203) has joined #tryton
2014-07-10 10:02 -!- soumyadeep(~soumyadee@122.163.11.21) has joined #tryton
2014-07-10 10:21 -!- corro(~corro@46.22.23.85) has joined #tryton
2014-07-10 10:24 <pokoli> cedk: I have recieved an email from googleappengine that my tryton-rietveld account will be deleted
2014-07-10 10:24 <pokoli> cedk: it is normal?
2014-07-10 10:27 -!- mfladischer(~fladische@sh144.medunigraz.at) has joined #tryton
2014-07-10 10:30 <cedk> pokoli: yes it is the old backend
2014-07-10 10:31 <pokoli> cedk: ok, so i will just ignore it. Thanks
2014-07-10 10:50 -!- prksh(~prksh@118.91.181.250) has joined #tryton
2014-07-10 11:31 -!- bvo(~bruno@80.146.165.65) has joined #tryton
2014-07-10 12:09 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-07-10 12:13 -!- irclog(~irclog@moretus.b2ck.com) has joined #tryton
2014-07-10 12:13 -!- refnode(~refnode@refnode.com) has joined #tryton
2014-07-10 12:13 -!- flox(~florent@unaffiliated/flox) has joined #tryton
2014-07-10 12:21 -!- soumyadeep(~soumyadee@122.163.11.21) has joined #tryton
2014-07-10 12:21 -!- vaab(~vaab@cha28-1-82-240-147-17.fbx.proxad.net) has joined #tryton
2014-07-10 12:24 <vaab> Hi, had some more time to try things and write doc, but still blocked at the "Create new Datase" part. I've managed to find a default trytond.conf, and set it up. I now get a "No connection" error, but I can easily netcat to the port and it's open.
2014-07-10 12:24 <vaab> If you have any suggestions...
2014-07-10 12:27 <vaab> Of course the 3 suggestion given by the error message are all checked: if my nc manage to connect to the same IP/port, this means 1- the server is running (actually it's in a console in front of me), 2- The port is open (and additionaly it says it received my bogus netcat attempt), 3- No firewall ...
2014-07-10 12:27 <vaab> is there some special values to put in trytond.conf ?
2014-07-10 12:28 <vaab> And yes, my 'nc' was launched from the same host ;) ... (juste to avoid silly question).
2014-07-10 12:30 <cedk> vaab: probably ipv6 vs ipv4
2014-07-10 12:32 <vaab> cedk: this doesn't tell me how to solve the issue.
2014-07-10 12:32 <vaab> jsonrpc = 0.0.0.0:8000
2014-07-10 12:32 <vaab> that's ipv4
2014-07-10 12:33 <vaab> and same thing on the tryton client side.
2014-07-10 12:33 <vaab> 10.0.3.153:8000
2014-07-10 12:33 <vaab> ipv4
2014-07-10 12:33 <vaab> why the hell would we have to worry about ipv6 ?
2014-07-10 12:33 <vaab> ;)
2014-07-10 12:34 <grasbauer> vaab: 0.0.0.0:8000 != 10.0.3.153:8000 ?
2014-07-10 12:35 <vaab> grasbauer: the server conf is told to listen to all interface with: 0.0.0.0:8000, the client is told to connect to the server on his IP !
2014-07-10 12:36 <grasbauer> vaab: don't know if 0.0.0.0 in trytond is the same as * - but I would give *:8000 a try
2014-07-10 12:37 <vaab> cedk: and I should add that I get no error at all (the big red No connection) when putting a port/host that is unreachable. The Create database bouton is just disabled without any useful message of why it is disabled.
2014-07-10 12:37 <cedk> grasbauer: * is for ipv6 if exists
2014-07-10 12:37 <grasbauer> cedk: ok
2014-07-10 12:38 <vaab> grasbauer: and my netcat wouldn't have been capable of reaching the server. So I'm pretty confident the server is up and listening the port I expect.
2014-07-10 12:40 <vaab> I'm receiving from the server a pretty HTML answer with "Error response" as title when sending rubbish on this port.
2014-07-10 12:41 <grasbauer> vaab: sound very stupid - but 3 days ago a new emloyee was setting up trytond for first time - he got the same error. after checking his environment I detected that psycopg2 was not installed for the python in the virtualenv
2014-07-10 12:41 <vaab> And I get a pretty line in the server log saying it sent a code 400 to a bad request syntax.
2014-07-10 12:43 -!- soumyadeep(~soumyadee@122.163.71.228) has joined #tryton
2014-07-10 12:43 <vaab> grasbauer: I'll check that. I'm surprise not having any logs on the console side of the client neither. And Ctrl-C seems trapped. I don't really understand if it is a design decision or not, but it feels uncomfortable.
2014-07-10 12:44 <vaab> grasbauer: well on the server side, I don't have psycopg2 available.
2014-07-10 12:44 <vaab> grasbauer: I'll try install it.
2014-07-10 12:45 -!- mariomop(~quassel@190.137.205.218) has joined #tryton
2014-07-10 12:52 <vaab> grasbauer: Wow, that was it ! Thanks ! Why isn't there a proper error message displaying anywhere ? Didn't find an hint of that neither in the current docs. That's something I add in my docs.
2014-07-10 12:53 <grasbauer> vaab: don't know if it is not documentet at the docs - if not, contribute ;)
2014-07-10 12:54 <vaab> grasbauer: Yeah, I'm contributing. hum, the create button is still disabled... maybe it wasn't the sole hidden dependency that was needed...
2014-07-10 12:55 <vaab> THe situation is like if it could'nt join AT ALL the server ;). I don't have the "No connection" displaying anymore, so I don't know if the situation is worse or not.
2014-07-10 12:56 <vaab> There's defiitively somehting checked when the value change in the Server Connection field, but obviously it won't display if it is okay, but can occasionnaly display that something is wrong.
2014-07-10 12:56 <vaab> But with or without the message, the message are of no help.
2014-07-10 12:57 <grasbauer> vaab: check the requirements in the setup.py of trytond. Or you could just do a setup.py develop with your python - this will install the requirements
2014-07-10 12:57 <cedk> psycopg2 is not a hard dependency
2014-07-10 12:58 <vaab> grasbauer: and did your employee finaly succeeded to go through the "tryton" experience ?
2014-07-10 12:58 <grasbauer> vaab: yes - he need to. no decision since there is a high unemployment in our region
2014-07-10 12:59 <vaab> cedk: Yes I understand this technically, however, I don't see any justification not to complain about it when launching the server if the trytond.conf explicitely asks for postgres ! ;)
2014-07-10 12:59 <cedk> vaab: agree there should be log error on server side
2014-07-10 13:00 <cedk> it is point I would like to improve in trytond is the logging
2014-07-10 13:00 <cedk> normally trytond should be installed if you want to use postgresql: pip instal trytond[postgresql]
2014-07-10 13:00 <vaab> cedk: what frightens me, is that you must have catched an exception and willfully ignored it. Or you have a global exception ignorer which is worse...
2014-07-10 13:01 <vaab> Or is there some "debug" options to let them loose ?
2014-07-10 13:01 <grasbauer> vaab: the ugliest way to check is to put in your settings in client manualy without a profile - than connect - you will see all the exceptions
2014-07-10 13:01 <cedk> vaab: I think the exception is send to the client but the database creation popup should show a failure message
2014-07-10 13:04 <vaab> grasbauer: I'm not sure to understand what you mean. I'm going through this only led by help given on this chan. So If I should do all this in other ways, please tell me !
2014-07-10 13:05 <vaab> ok I'll tcpdump all this to see what's going on ;)
2014-07-10 13:12 <vaab> Victory ! ;)
2014-07-10 13:13 <grasbauer> vaab: And, what did you fight for your victory?
2014-07-10 13:18 <vaab> grasbauer: sadly, a lot of missing information had to be gathered (you can't get started with only the 'Install', 'getting started' or 'First steps' document that are available on the official website and on community doc efforts), packages available on PIP didn't work as advertised, and most of the errors of the applications are quiet errors or when a message is given it's often misleading.
2014-07-10 13:20 <vaab> grasbauer: for the very last part, I must admit that it was my mistake, but I didn't have any hints about it. After so many tries I did a typo. Hopefully the tcpdump helped me sort this trivial error... not the UI.
2014-07-10 13:25 <vaab> grasbaeur: I'm typing all these missing information as ReST and have already sent a few PR (a lot more to come of course). But there are part of the process that really should be simplified. The part where I must get the last trytond.conf on the mercurial to get a sample of it. I've seen a bug request about this with a patch proposal that is waiting since 2011. All this is trivial to do when you've done it once, but It's deal breaking badl
2014-07-10 13:25 <vaab> y, because it doesn't give a very good picture of the final product. And I think this is sad because I really love much of the underlying choices that were made.
2014-07-10 13:33 <grasbauer> vaab: I never had to download a trytond.conf - it's included as default in the package. Which issue you mean?
2014-07-10 13:40 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2014-07-10 13:47 -!- hiaselhans(~Thunderbi@212.186.45.207) has joined #tryton
2014-07-10 13:48 <soumyadeep> Hello people.
2014-07-10 13:49 <soumyadeep> I am planning to use tryton for a hospital management system for a friend of mine.
2014-07-10 13:50 <soumyadeep> But I am finding it highly confusing with the various module and how to go on using them.
2014-07-10 13:51 <soumyadeep> How to go on with registering patients, and going on with other treatment and procedural works.
2014-07-10 13:51 -!- tarunbhardwaj(~pfuser@118.91.181.250) has joined #tryton
2014-07-10 13:52 <soumyadeep> Can someone please guide me on how to begin with using the system, and distributing access to other users etc. :)
2014-07-10 13:52 <soumyadeep> A live working scenario would be great
2014-07-10 13:52 <udono> soumyadeep: hi, do you know http://gnuhealth.org/ ?
2014-07-10 13:53 <udono> soumyadeep: it is driven by tryton
2014-07-10 13:54 <soumyadeep> Okay
2014-07-10 13:54 <soumyadeep> Will go through it once.
2014-07-10 13:56 <cedk> vaab: about trytond.conf soon, it will no more be needed
2014-07-10 13:58 <cedk> vaab: https://bugs.tryton.org/issue3627
2014-07-10 14:19 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2014-07-10 14:29 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2014-07-10 14:34 -!- prksh(~prksh@118.91.181.250) has joined #tryton
2014-07-10 14:38 -!- prksh(~prksh@118.91.181.250) has joined #tryton
2014-07-10 14:46 -!- pablovannini(~pablo@host126.186-109-85.telecom.net.ar) has joined #tryton
2014-07-10 15:15 <marius__> how do I call some custom function on Model with proteus?
2014-07-10 15:15 <marius__> can I do something like Model.custom_function()
2014-07-10 15:16 <marius__> because now I get that there's no such attribute error
2014-07-10 15:17 <grasbauer> marius__: you must allow access via RPC
2014-07-10 15:17 <grasbauer> marius__: one moment - example follows
2014-07-10 15:21 <grasbauer> marius__: http://hg.tryton.org/modules/account/file/070eff0a80c0/move.py#l618
2014-07-10 15:21 <marius__> what does instantiate=0 means?
2014-07-10 15:25 <grasbauer> marius_: the position of the argument which gets instantiated when calling via rpc
2014-07-10 15:25 <grasbauer> marius__: see http://hg.tryton.org/modules/account/file/070eff0a80c0/move.py#l1235
2014-07-10 15:26 <grasbauer> marius__: so lines are instantiates even if you call the method with ids only and you can operate on active records
2014-07-10 15:26 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-07-10 15:29 <marius__> I get NotImplementedError from proteus :/
2014-07-10 15:34 <grasbauer> marius__: if you are doing what?
2014-07-10 15:35 <marius__> I specified context in call, now it's ok
2014-07-10 15:35 <grasbauer> marius__: if it is ok it is ok ;)
2014-07-10 15:36 <marius__> thanks ;)
2014-07-10 16:20 -!- prksh(~prksh@118.91.181.250) has joined #tryton
2014-07-10 16:21 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-07-10 17:20 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton
2014-07-10 17:24 <vaab> grasbauer: didn't see your question sorry. The default config file is nowhere to be found when installing via pip. I had to get it in mercurial sources. I don't really now what to put in the doc on this case, because I can't figure out a stable link to get the file out of mercurial.
2014-07-10 18:05 -!- pekka1(~pekka@cm-84.210.54.188.getinternet.no) has joined #tryton
2014-07-10 18:47 <grasbauer> vaab: don't know because I always installing via hg nclone - but there is a trytond.conf in the package as well
2014-07-10 19:08 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-07-10 19:31 -!- hiaselhans(~Thunderbi@212.186.45.207) has joined #tryton
2014-07-10 19:56 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-07-10 19:58 -!- rpit(~ralf@dslb-088-070-155-043.pools.arcor-ip.net) has joined #tryton
2014-07-10 20:46 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton
2014-07-10 21:45 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton

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