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

chat.freenode.net #tryton log beginning Fri Sep 24 00:00:01 CEST 2010
-!- timewulf(~timewulf@essn-5d838017.pool.mediaWays.net) has joined #tryton00:01
timewulfhi all00:01
-!- sharoon(~sharoon@78.144.216.49) has joined #tryton00:04
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton00:55
-!- digitalsatori(~tony@116.233.250.229) has joined #tryton02:30
-!- pepeu(~manuel@201.155.193.192) has joined #tryton02:56
-!- pheller(~pheller@2002:ad30:d8c3:0:fa1e:dfff:fee6:aabf) has joined #tryton03:24
-!- gremly(~gremly@190.26.155.61) has joined #tryton04:07
-!- digitalsatori(~tony@116.233.250.229) has joined #tryton04:33
-!- yangoon(~mathiasb@p549F78B3.dip.t-dialin.net) has joined #tryton05:19
-!- vladimir_(~vladimir@bband-dyn206.178-41-106.t-com.sk) has joined #tryton06:49
-!- timewulf(~timewulf@essn-5d8388f0.pool.mediaWays.net) has joined #tryton06:50
-!- vladimir_(~vladimir@bband-dyn206.178-41-106.t-com.sk) has joined #tryton07:31
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:59
-!- sharoon(~sharoon@92.25.58.8) has joined #tryton08:18
-!- mfladischer(~fladische@2001:470:1f0b:11df:2034:10ff:feb0:1b63) has joined #tryton08:26
-!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton08:49
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:49
-!- eLBati(~elbati@93.37.66.34) has joined #tryton09:02
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton09:11
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton09:24
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:24
timewulfhi all, anyone active here?09:28
cedktimewulf: yes09:29
timewulfperfet! I've got a problem with v.1.6, debian and ssl09:30
timewulfI activated ssl strictly following the howto09:31
timewulfafter changing the lines in trytond.conf, the daemon doesn't start anymore09:32
timewulfchanging back, there's all ok again09:32
timewulfany suggestions?09:33
cedktimewulf: it is strange09:33
cedktimewulf: have you any log?09:33
timewulfno, it dies before any line reaches /var/log/trytond.log09:34
timewulfI installed on Squeeze, official packages09:35
timewulfis there any other log-file to search for entries?09:37
cedktimewulf: could run it from terminal09:39
timewulfhow?09:40
cedktrytond09:41
timewulfok, I'll try and watch09:41
timewulfinteresting, this works, stopping it and starting the init.d-script fails without any message again, just the client says "Can't connect"09:47
timewulflooking for the process shows it didn't start at all09:48
-!- Timitos(~kp@88.217.184.172) has joined #tryton09:49
timewulfI'll check the start-script, but may take a while, I'm a bit out of training09:54
-!- paepke(~paepke@p4FEB7369.dip.t-dialin.net) has joined #tryton10:00
-!- mfladischer(~fladische@2001:470:1f0b:11df:2034:10ff:feb0:1b63) has joined #tryton10:00
-!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton10:15
-!- lem0na(~lem0na@84.40.71.19) has joined #tryton10:25
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton10:38
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton11:02
sharooncedk: ping11:15
cedksharoon: pong11:18
cedktimewulf: you can ask to debian guys11:18
sharooncedk: can you explain what this code might be for http://hg.tryton.org/trytond/file/1a838190d188/trytond/model/modelsql.py#l51311:19
cedksharoon: it allow to detect when you try to read a record that you have not the right or that doesn't exist11:26
-!- vladimir_(~vladimir@bband-dyn206.178-41-106.t-com.sk) has joined #tryton11:26
sharooncedk: ok, handling invalid IDs?11:27
cedksharoon: yes11:28
cedksharoon: and also for ir.rule11:28
sharooncedk: 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?11:28
sharooncedk: also line 548 & 549 interchange could save us len(res) calls11:29
cedksharoon: don't understand11:32
sharooncedk: 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?11:33
sharooncedk: so the if could go outside the for loop11:33
cedksharoon: yes11:37
sharooncedk: 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?11:37
cedksharoon: yes it will be good11:38
sharooncedk: 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 dictionary11:39
sharooncedk: any suggestion on the test?11:40
-!- sharoon(~sharoon@92.26.129.17) has joined #tryton11:52
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton13:11
-!- ikks(~ikks@190.158.120.185) has joined #tryton13:32
-!- digitalsatori(~tony@116.233.250.229) has joined #tryton13:38
cedksharoon: no13:40
sharooncedk: please advise13:40
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton13:41
-!- eLBati(~elbati@93.37.65.186) has joined #tryton14:02
cedksharoon: seem good14:02
cedksharoon: you could add reading on model with _inherits14:03
cedksharoon: reading only some fields14:03
sharooncedk: yes, but these tests have no good coverage14:03
sharooncedk: they will have coverage only when i add those options for _inherits also14:03
cedksharoon: you must not suppose the id of the record created14:04
sharooncedk: ok14:04
sharooncedk: should i go for a search?14:04
cedksharoon: returned value of the create14:05
sharooncedk: ok, got you14:06
-!- sharoon(~sharoon@92.25.55.38) has joined #tryton14:24
-!- chrue(~chrue@dialin-65225.ewetel.net) has joined #tryton15:47
-!- gremly(~gremly@190.147.153.67) has joined #tryton16:10
-!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton16:12
-!- digitalsatori(~tony@116.233.250.229) has joined #tryton16:43
-!- chrue(~chrue@dialin-65225.ewetel.net) has joined #tryton18:01
-!- cheche(cheche@188.85.213.151) has joined #tryton18:07
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:54
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton19:20
-!- enlightx(~enlightx@dynamic-adsl-94-34-180-143.clienti.tiscali.it) has joined #tryton19:39
-!- Miraculix1(~ralf@p4FCC8871.dip0.t-ipconnect.de) has joined #tryton19:56
-!- Miraculix1(~ralf@p4FCC8871.dip0.t-ipconnect.de) has left #tryton20:15
-!- chrue(~chrue@dialin-65225.ewetel.net) has joined #tryton20:28
-!- Miraculix1(~ralf@p4FCC8871.dip0.t-ipconnect.de) has joined #tryton20:52
-!- enlightx(~enlightx@dynamic-adsl-94-34-180-143.clienti.tiscali.it) has joined #tryton22:02
-!- sharoon(~sharoon@92.26.139.112) has joined #tryton23:17

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