IRC logs of #tryton for Monday, 2010-10-11

chat.freenode.net #tryton log beginning Mon Oct 11 00:00:01 CEST 2010
-!- eLBati(~elbati@94.163.97.141) has joined #tryton00:10
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton00:31
-!- heg(~heg@dyn.83-228-143-208.dsl.vtx.ch) has joined #tryton01:23
-!- digitalsatori(~tony@116.233.251.215) has joined #tryton02:57
-!- gremly1(~gremly@190.26.155.61) has joined #tryton04:07
-!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton04:15
-!- yangoon(~mathiasb@p549F6551.dip.t-dialin.net) has joined #tryton05:18
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton05:52
-!- vladimir__(~vladimir@213.151.246.136) has joined #tryton06:55
-!- Timitos(~kp@88.217.184.172) has joined #tryton07:23
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:50
-!- eLBati(~elbati@94.160.20.103) has joined #tryton08:22
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton08:41
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:56
-!- eLBati(~elbati@93-33-6-246.ip42.fastwebnet.it) has joined #tryton09:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:19
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton09:29
-!- heg(~heg@dyn.83-228-143-208.dsl.vtx.ch) has joined #tryton09:44
-!- digitalsatori(~tony@116.233.251.215) has joined #tryton10:13
-!- digitalsatori(~tony@116.233.251.215) has joined #tryton10:59
-!- vladimir__(~vladimir@213.151.246.136) has joined #tryton11:13
-!- paepke(~paepke@p4FEB30F1.dip.t-dialin.net) has joined #tryton11:51
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton12:08
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton12:22
-!- paepke(~paepke@p4FEB30F1.dip.t-dialin.net) has joined #tryton12:28
-!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton12:50
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton13:17
cedkpjstevns: have you any traceback about the segfault?13:19
pjstevnsno, that was the weird thing. No backtrace!13:19
pjstevnsI'll try to recreate it.13:19
cedkpjstevns: do you use ssl?13:21
pjstevnsNo13:21
pjstevnsyep! happened again. Here's what the console output looks like:13:21
pjstevns[Mon Oct 11 11:21:09 2010] INFO:modules:ir:loading export.xml13:22
pjstevns[Mon Oct 11 11:21:10 2010] INFO:modules:ir:loading rule.xml13:22
pjstevns[Mon Oct 11 11:21:10 2010] INFO:modules:ir:loading property.xml13:22
pjstevns[Mon Oct 11 11:21:10 2010] INFO:modules:ir:loading module/module.xml13:22
pjstevnsSegmentation fault13:22
pjstevnsand off course the gtk client complains about 'socket connection broken'13:22
pjstevnsI'll try to run this through pdb. Hold on!13:22
cedkpjstevns: so it is at the very begining13:23
pjstevnsno those are just the last few lines. It happens about half way through13:24
cedkpjstevns: yes but it is the last xml file that is parsed13:25
cedkpjstevns: is it always this one?13:26
pjstevnsI'm not sure. I can't get it to crash running through pdb, so I'll test some more and let you know if I find out anything13:26
cedkpjstevns: ok13:28
pjstevnscedk: this time it happened on another xml file:13:30
pjstevns[Mon Oct 11 11:29:54 2010] INFO:modules:ir:loading ir.xml13:31
pjstevns[Mon Oct 11 11:29:54 2010] INFO:modules:ir:loading ui/ui.xml13:31
pjstevns[Mon Oct 11 11:29:54 2010] INFO:modules:ir:loading ui/menu.xml13:31
pjstevns[Mon Oct 11 11:29:54 2010] INFO:modules:ir:loading ui/view.xml13:31
pjstevnsSegmentation fault13:31
pjstevnscontinuing...13:31
pjstevnseven when using pdb: no backtrace!  I'm beginning to suspect my python interpreter. I'll rebuild that one first.13:32
cedkpjstevns: yes, I will suggest it13:37
cedkpjstevns: are perhaps any other library like psycopg etc.13:37
pjstevnsand lxml, etc...13:43
-!- eLBati(~elbati@93-32-213-33.ip35.fastwebnet.it) has joined #tryton14:00
-!- digitalsatori(~tony@116.233.251.215) has joined #tryton14:00
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton14:16
cedkpjstevns: I think there is still an issue with translation and duplicate record in client14:16
cedkpjstevns: I think I got the patch14:23
pjstevnscedk: haven't been able to crash things since the buildout from scratch14:24
pjstevnscedk: nor have I seen duplicate rows in the client since your earlier patch14:25
pjstevnscedk: happy to test though. shoot!14:26
cedkI think I must find a way to be sure that the join on ir_translation will no more create duplicate records14:26
-!- pepeu(~manuel@201.155.193.192) has joined #tryton14:36
cedkwhat do you think about adding a constraint on ir.translation for the model translations14:55
bechamelcedk: how would you express this constraint ? a sql or a python constraint ?14:59
cedkbechamel: python because it is only on some kind of records15:01
bechamelcedk: wouldn't be better to have one translation table per model to translate ? (and like that define custom constraint when needed), a bit like the history tables15:04
cedkbechamel: I don't think15:05
cedkbechamel: you will not be able to translate everything on one form15:07
cedkI will upload a patch in 2mins15:13
-!- mfladischer(~fladische@2001:470:1f0b:11df:e070:ffff:fe62:c9c8) has joined #tryton15:18
cedkbechamel, pjstevns: http://codereview.appspot.com/2392041/15:19
bechamelcedk: seems good, IMO the error message would be better like 'Translation of type \'model\' must be unique'15:30
cedkbechamel: done15:32
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton15:42
-!- pheller(~pheller@c1fw237.constantcontact.com) has joined #tryton16:31
-!- gremly(~gremly@200.106.202.91) has joined #tryton16:43
-!- digitalsatori(~tony@116.233.251.215) has joined #tryton17:14
phellercedk: I have a question about ownership of the MacOS Client sub-project.  What does "ownership" include?  Will I need to do the packaging, or will that still be automated on one of your systems?17:36
-!- paepke(~paepke@p4FEB45BD.dip.t-dialin.net) has joined #tryton17:43
cedkpheller: It will be also the packaging17:47
phellercedk: ok, I'm not quite ready for the packaging.  I can take it in early November.17:50
cedkpheller: I got only one old macbook and I keep it only to generate the client17:50
phellercedk: ah ha, I see.  I will take it in November.  :-)17:51
-!- Gerald_E(~quassel@ip-240-3.pel.cz) has joined #tryton18:20
-!- paepke(~paepke@p4FEB18EF.dip0.t-ipconnect.de) has joined #tryton18:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:47
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton19:15
udonocedk: hi, I try to put my testscripts for accounting and invoice into proteus. I can not figure out, how to use the wizards. Do you have a syntax example?19:22
-!- enlightx(~enlightx@dynamic-adsl-94-34-197-35.clienti.tiscali.it) has joined #tryton19:23
udonocedk: on netrpc I do: sock.send((DATABASE, user_id, session, 'wizard', 'ir.module.module.install_upgrade', 'create'));  wizard_id = sock.receive()19:27
udonoSeems, I found it:  wizard_id = self.wizard.create('ir.module.module.install_upgrade', self.context ) using self.wizard = proteus.Model.get('ir.action.wizard')19:36
udonono, last line it doesn't work...19:43
cedkudono: I did not yet implement wizard in proteus19:46
udonocedk: Ic19:58
udonocedk: is there a low-level way in proteus, which I could try?19:59
cedkudono: I don't know20:01
cedkudono: I guess the best will be to improve proteus20:07
udonocedk: yes20:13
udonocedk: but for me testing is more important now. So I change to manual testing.20:14
cedkudono: I will try to add it tonight20:22
cedkudono: because I think it is better to have repeatable test20:22
paepkecedk, :-o wow. great! (just followed youre discussion)20:22
udonocedk: It would be very great!20:22
udonocedk: I will provide some automated tests on accounting and invoice.20:23
udonocedk: maybe the old discussion is useful? http://www.mail-archive.com/tryton-dev@googlegroups.com/msg00620.html20:26
cedkudono: yes I remember20:26
-!- eLBati(~elbati@94.161.121.46) has joined #tryton21:15
-!- paepke(~paepke@p4FEB18EF.dip0.t-ipconnect.de) has left #tryton21:49
-!- bechamel(~user@host-85-201-147-56.brutele.be) has joined #tryton22:12
cedkudono: http://codereview.appspot.com/244004122:42
cedkIt just misses action and report handling22:43
cedkbut it should not fail when running a wizard that launch one of both22:44
-!- gavinf(~gavinf@196-210-199-66.dynamic.isadsl.co.za) has joined #tryton23:23

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