IRC logs of #tryton for Friday, 2010-09-24

chat.freenode.net #tryton log beginning Fri Sep 24 00:00:01 CEST 2010
2010-09-24 00:01 -!- timewulf(~timewulf@essn-5d838017.pool.mediaWays.net) has joined #tryton
2010-09-24 00:01 <timewulf> hi all
2010-09-24 00:04 -!- sharoon(~sharoon@78.144.216.49) has joined #tryton
2010-09-24 00:55 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-09-24 02:30 -!- digitalsatori(~tony@116.233.250.229) has joined #tryton
2010-09-24 02:56 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-09-24 03:24 -!- pheller(~pheller@2002:ad30:d8c3:0:fa1e:dfff:fee6:aabf) has joined #tryton
2010-09-24 04:07 -!- gremly(~gremly@190.26.155.61) has joined #tryton
2010-09-24 04:33 -!- digitalsatori(~tony@116.233.250.229) has joined #tryton
2010-09-24 05:19 -!- yangoon(~mathiasb@p549F78B3.dip.t-dialin.net) has joined #tryton
2010-09-24 06:49 -!- vladimir_(~vladimir@bband-dyn206.178-41-106.t-com.sk) has joined #tryton
2010-09-24 06:50 -!- timewulf(~timewulf@essn-5d8388f0.pool.mediaWays.net) has joined #tryton
2010-09-24 07:31 -!- vladimir_(~vladimir@bband-dyn206.178-41-106.t-com.sk) has joined #tryton
2010-09-24 07:59 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-09-24 08:18 -!- sharoon(~sharoon@92.25.58.8) has joined #tryton
2010-09-24 08:26 -!- mfladischer(~fladische@2001:470:1f0b:11df:2034:10ff:feb0:1b63) has joined #tryton
2010-09-24 08:49 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2010-09-24 08:49 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-09-24 09:02 -!- eLBati(~elbati@93.37.66.34) has joined #tryton
2010-09-24 09:11 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-09-24 09:24 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-09-24 09:24 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-09-24 09:28 <timewulf> hi all, anyone active here?
2010-09-24 09:29 <cedk> timewulf: yes
2010-09-24 09:30 <timewulf> perfet! I've got a problem with v.1.6, debian and ssl
2010-09-24 09:31 <timewulf> I activated ssl strictly following the howto
2010-09-24 09:32 <timewulf> after changing the lines in trytond.conf, the daemon doesn't start anymore
2010-09-24 09:32 <timewulf> changing back, there's all ok again
2010-09-24 09:33 <timewulf> any suggestions?
2010-09-24 09:33 <cedk> timewulf: it is strange
2010-09-24 09:33 <cedk> timewulf: have you any log?
2010-09-24 09:34 <timewulf> no, it dies before any line reaches /var/log/trytond.log
2010-09-24 09:35 <timewulf> I installed on Squeeze, official packages
2010-09-24 09:37 <timewulf> is there any other log-file to search for entries?
2010-09-24 09:39 <cedk> timewulf: could run it from terminal
2010-09-24 09:40 <timewulf> how?
2010-09-24 09:41 <cedk> trytond
2010-09-24 09:41 <timewulf> ok, I'll try and watch
2010-09-24 09:47 <timewulf> interesting, this works, stopping it and starting the init.d-script fails without any message again, just the client says "Can't connect"
2010-09-24 09:48 <timewulf> looking for the process shows it didn't start at all
2010-09-24 09:49 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2010-09-24 09:54 <timewulf> I'll check the start-script, but may take a while, I'm a bit out of training
2010-09-24 10:00 -!- paepke(~paepke@p4FEB7369.dip.t-dialin.net) has joined #tryton
2010-09-24 10:00 -!- mfladischer(~fladische@2001:470:1f0b:11df:2034:10ff:feb0:1b63) has joined #tryton
2010-09-24 10:15 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2010-09-24 10:25 -!- lem0na(~lem0na@84.40.71.19) has joined #tryton
2010-09-24 10:38 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-09-24 11:02 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-09-24 11:15 <sharoon> cedk: ping
2010-09-24 11:18 <cedk> sharoon: pong
2010-09-24 11:18 <cedk> timewulf: you can ask to debian guys
2010-09-24 11:19 <sharoon> cedk: can you explain what this code might be for http://hg.tryton.org/trytond/file/1a838190d188/trytond/model/modelsql.py#l513
2010-09-24 11:26 <cedk> sharoon: it allow to detect when you try to read a record that you have not the right or that doesn't exist
2010-09-24 11:26 -!- vladimir_(~vladimir@bband-dyn206.178-41-106.t-com.sk) has joined #tryton
2010-09-24 11:27 <sharoon> cedk: ok, handling invalid IDs?
2010-09-24 11:28 <cedk> sharoon: yes
2010-09-24 11:28 <cedk> sharoon: and also for ir.rule
2010-09-24 11:28 <sharoon> cedk: also http://hg.tryton.org/trytond/file/1a838190d188/trytond/model/modelsql.py#l541 can we handle the first part above so that we just dont have to read those fields which are not needed rather than delete later?
2010-09-24 11:29 <sharoon> cedk: also line 548 & 549 interchange could save us len(res) calls
2010-09-24 11:32 <cedk> sharoon: don't understand
2010-09-24 11:33 <sharoon> cedk: reg: lines 548 & 549 the if statement is executed for each record that is the there in the list, while all records are expected to be uniform?
2010-09-24 11:33 <sharoon> cedk: so the if could go outside the for loop
2010-09-24 11:37 <cedk> sharoon: yes
2010-09-24 11:37 <sharoon> cedk: it would be impossible to ascertain that any change on the function results in the same output without tests with good coverage, so my first task i guess would be to build a test suite for read with fairly good coverage?
2010-09-24 11:38 <cedk> sharoon: yes it will be good
2010-09-24 11:39 <sharoon> cedk: so starting on that first and finally after the change the tests will just need to ensure that the list of tuple is an equivalent of the dictionary
2010-09-24 11:40 <sharoon> cedk: any suggestion on the test?
2010-09-24 11:52 -!- sharoon(~sharoon@92.26.129.17) has joined #tryton
2010-09-24 13:11 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-09-24 13:32 -!- ikks(~ikks@190.158.120.185) has joined #tryton
2010-09-24 13:38 -!- digitalsatori(~tony@116.233.250.229) has joined #tryton
2010-09-24 13:40 <cedk> sharoon: no
2010-09-24 13:40 <sharoon> cedk: please advise
2010-09-24 13:41 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-09-24 14:02 -!- eLBati(~elbati@93.37.65.186) has joined #tryton
2010-09-24 14:02 <cedk> sharoon: seem good
2010-09-24 14:03 <cedk> sharoon: you could add reading on model with _inherits
2010-09-24 14:03 <cedk> sharoon: reading only some fields
2010-09-24 14:03 <sharoon> cedk: yes, but these tests have no good coverage
2010-09-24 14:03 <sharoon> cedk: they will have coverage only when i add those options for _inherits also
2010-09-24 14:04 <cedk> sharoon: you must not suppose the id of the record created
2010-09-24 14:04 <sharoon> cedk: ok
2010-09-24 14:04 <sharoon> cedk: should i go for a search?
2010-09-24 14:05 <cedk> sharoon: returned value of the create
2010-09-24 14:06 <sharoon> cedk: ok, got you
2010-09-24 14:24 -!- sharoon(~sharoon@92.25.55.38) has joined #tryton
2010-09-24 15:47 -!- chrue(~chrue@dialin-65225.ewetel.net) has joined #tryton
2010-09-24 16:10 -!- gremly(~gremly@190.147.153.67) has joined #tryton
2010-09-24 16:12 -!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton
2010-09-24 16:43 -!- digitalsatori(~tony@116.233.250.229) has joined #tryton
2010-09-24 18:01 -!- chrue(~chrue@dialin-65225.ewetel.net) has joined #tryton
2010-09-24 18:07 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-09-24 18:54 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-09-24 19:20 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-09-24 19:39 -!- enlightx(~enlightx@dynamic-adsl-94-34-180-143.clienti.tiscali.it) has joined #tryton
2010-09-24 19:56 -!- Miraculix1(~ralf@p4FCC8871.dip0.t-ipconnect.de) has joined #tryton
2010-09-24 20:15 -!- Miraculix1(~ralf@p4FCC8871.dip0.t-ipconnect.de) has left #tryton
2010-09-24 20:28 -!- chrue(~chrue@dialin-65225.ewetel.net) has joined #tryton
2010-09-24 20:52 -!- Miraculix1(~ralf@p4FCC8871.dip0.t-ipconnect.de) has joined #tryton
2010-09-24 22:02 -!- enlightx(~enlightx@dynamic-adsl-94-34-180-143.clienti.tiscali.it) has joined #tryton
2010-09-24 23:17 -!- sharoon(~sharoon@92.26.139.112) has joined #tryton

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