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

chat.freenode.net #tryton log beginning Mon Oct 11 00:00:01 CEST 2010
2010-10-11 00:10 -!- eLBati(~elbati@94.163.97.141) has joined #tryton
2010-10-11 00:31 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-10-11 01:23 -!- heg(~heg@dyn.83-228-143-208.dsl.vtx.ch) has joined #tryton
2010-10-11 02:57 -!- digitalsatori(~tony@116.233.251.215) has joined #tryton
2010-10-11 04:07 -!- gremly1(~gremly@190.26.155.61) has joined #tryton
2010-10-11 04:15 -!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton
2010-10-11 05:18 -!- yangoon(~mathiasb@p549F6551.dip.t-dialin.net) has joined #tryton
2010-10-11 05:52 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2010-10-11 06:55 -!- vladimir__(~vladimir@213.151.246.136) has joined #tryton
2010-10-11 07:23 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2010-10-11 07:50 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-10-11 08:22 -!- eLBati(~elbati@94.160.20.103) has joined #tryton
2010-10-11 08:41 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-10-11 08:56 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-10-11 09:17 -!- eLBati(~elbati@93-33-6-246.ip42.fastwebnet.it) has joined #tryton
2010-10-11 09:19 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-10-11 09:29 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-10-11 09:44 -!- heg(~heg@dyn.83-228-143-208.dsl.vtx.ch) has joined #tryton
2010-10-11 10:13 -!- digitalsatori(~tony@116.233.251.215) has joined #tryton
2010-10-11 10:59 -!- digitalsatori(~tony@116.233.251.215) has joined #tryton
2010-10-11 11:13 -!- vladimir__(~vladimir@213.151.246.136) has joined #tryton
2010-10-11 11:51 -!- paepke(~paepke@p4FEB30F1.dip.t-dialin.net) has joined #tryton
2010-10-11 12:08 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2010-10-11 12:22 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton
2010-10-11 12:28 -!- paepke(~paepke@p4FEB30F1.dip.t-dialin.net) has joined #tryton
2010-10-11 12:50 -!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton
2010-10-11 13:17 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2010-10-11 13:19 <cedk> pjstevns: have you any traceback about the segfault?
2010-10-11 13:19 <pjstevns> no, that was the weird thing. No backtrace!
2010-10-11 13:19 <pjstevns> I'll try to recreate it.
2010-10-11 13:21 <cedk> pjstevns: do you use ssl?
2010-10-11 13:21 <pjstevns> No
2010-10-11 13:21 <pjstevns> yep! happened again. Here's what the console output looks like:
2010-10-11 13:22 <pjstevns> [Mon Oct 11 11:21:09 2010] INFO:modules:ir:loading export.xml
2010-10-11 13:22 <pjstevns> [Mon Oct 11 11:21:10 2010] INFO:modules:ir:loading rule.xml
2010-10-11 13:22 <pjstevns> [Mon Oct 11 11:21:10 2010] INFO:modules:ir:loading property.xml
2010-10-11 13:22 <pjstevns> [Mon Oct 11 11:21:10 2010] INFO:modules:ir:loading module/module.xml
2010-10-11 13:22 <pjstevns> Segmentation fault
2010-10-11 13:22 <pjstevns> and off course the gtk client complains about 'socket connection broken'
2010-10-11 13:22 <pjstevns> I'll try to run this through pdb. Hold on!
2010-10-11 13:23 <cedk> pjstevns: so it is at the very begining
2010-10-11 13:24 <pjstevns> no those are just the last few lines. It happens about half way through
2010-10-11 13:25 <cedk> pjstevns: yes but it is the last xml file that is parsed
2010-10-11 13:26 <cedk> pjstevns: is it always this one?
2010-10-11 13:26 <pjstevns> I'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 anything
2010-10-11 13:28 <cedk> pjstevns: ok
2010-10-11 13:30 <pjstevns> cedk: this time it happened on another xml file:
2010-10-11 13:31 <pjstevns> [Mon Oct 11 11:29:54 2010] INFO:modules:ir:loading ir.xml
2010-10-11 13:31 <pjstevns> [Mon Oct 11 11:29:54 2010] INFO:modules:ir:loading ui/ui.xml
2010-10-11 13:31 <pjstevns> [Mon Oct 11 11:29:54 2010] INFO:modules:ir:loading ui/menu.xml
2010-10-11 13:31 <pjstevns> [Mon Oct 11 11:29:54 2010] INFO:modules:ir:loading ui/view.xml
2010-10-11 13:31 <pjstevns> Segmentation fault
2010-10-11 13:31 <pjstevns> continuing...
2010-10-11 13:32 <pjstevns> even when using pdb: no backtrace! I'm beginning to suspect my python interpreter. I'll rebuild that one first.
2010-10-11 13:37 <cedk> pjstevns: yes, I will suggest it
2010-10-11 13:37 <cedk> pjstevns: are perhaps any other library like psycopg etc.
2010-10-11 13:43 <pjstevns> and lxml, etc...
2010-10-11 14:00 -!- eLBati(~elbati@93-32-213-33.ip35.fastwebnet.it) has joined #tryton
2010-10-11 14:00 -!- digitalsatori(~tony@116.233.251.215) has joined #tryton
2010-10-11 14:16 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-10-11 14:16 <cedk> pjstevns: I think there is still an issue with translation and duplicate record in client
2010-10-11 14:23 <cedk> pjstevns: I think I got the patch
2010-10-11 14:24 <pjstevns> cedk: haven't been able to crash things since the buildout from scratch
2010-10-11 14:25 <pjstevns> cedk: nor have I seen duplicate rows in the client since your earlier patch
2010-10-11 14:26 <pjstevns> cedk: happy to test though. shoot!
2010-10-11 14:26 <cedk> I think I must find a way to be sure that the join on ir_translation will no more create duplicate records
2010-10-11 14:36 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-10-11 14:55 <cedk> what do you think about adding a constraint on ir.translation for the model translations
2010-10-11 14:59 <bechamel> cedk: how would you express this constraint ? a sql or a python constraint ?
2010-10-11 15:01 <cedk> bechamel: python because it is only on some kind of records
2010-10-11 15:04 <bechamel> cedk: 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 tables
2010-10-11 15:05 <cedk> bechamel: I don't think
2010-10-11 15:07 <cedk> bechamel: you will not be able to translate everything on one form
2010-10-11 15:13 <cedk> I will upload a patch in 2mins
2010-10-11 15:18 -!- mfladischer(~fladische@2001:470:1f0b:11df:e070:ffff:fe62:c9c8) has joined #tryton
2010-10-11 15:19 <cedk> bechamel, pjstevns: http://codereview.appspot.com/2392041/
2010-10-11 15:30 <bechamel> cedk: seems good, IMO the error message would be better like 'Translation of type \'model\' must be unique'
2010-10-11 15:32 <cedk> bechamel: done
2010-10-11 15:42 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-10-11 16:31 -!- pheller(~pheller@c1fw237.constantcontact.com) has joined #tryton
2010-10-11 16:43 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-10-11 17:14 -!- digitalsatori(~tony@116.233.251.215) has joined #tryton
2010-10-11 17:36 <pheller> cedk: 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?
2010-10-11 17:43 -!- paepke(~paepke@p4FEB45BD.dip.t-dialin.net) has joined #tryton
2010-10-11 17:47 <cedk> pheller: It will be also the packaging
2010-10-11 17:50 <pheller> cedk: ok, I'm not quite ready for the packaging. I can take it in early November.
2010-10-11 17:50 <cedk> pheller: I got only one old macbook and I keep it only to generate the client
2010-10-11 17:51 <pheller> cedk: ah ha, I see. I will take it in November. :-)
2010-10-11 18:20 -!- Gerald_E(~quassel@ip-240-3.pel.cz) has joined #tryton
2010-10-11 18:20 -!- paepke(~paepke@p4FEB18EF.dip0.t-ipconnect.de) has joined #tryton
2010-10-11 18:47 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-10-11 19:15 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-10-11 19:22 <udono> cedk: 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?
2010-10-11 19:23 -!- enlightx(~enlightx@dynamic-adsl-94-34-197-35.clienti.tiscali.it) has joined #tryton
2010-10-11 19:27 <udono> cedk: on netrpc I do: sock.send((DATABASE, user_id, session, 'wizard', 'ir.module.module.install_upgrade', 'create')); wizard_id = sock.receive()
2010-10-11 19:36 <udono> Seems, I found it: wizard_id = self.wizard.create('ir.module.module.install_upgrade', self.context ) using self.wizard = proteus.Model.get('ir.action.wizard')
2010-10-11 19:43 <udono> no, last line it doesn't work...
2010-10-11 19:46 <cedk> udono: I did not yet implement wizard in proteus
2010-10-11 19:58 <udono> cedk: Ic
2010-10-11 19:59 <udono> cedk: is there a low-level way in proteus, which I could try?
2010-10-11 20:01 <cedk> udono: I don't know
2010-10-11 20:07 <cedk> udono: I guess the best will be to improve proteus
2010-10-11 20:13 <udono> cedk: yes
2010-10-11 20:14 <udono> cedk: but for me testing is more important now. So I change to manual testing.
2010-10-11 20:22 <cedk> udono: I will try to add it tonight
2010-10-11 20:22 <cedk> udono: because I think it is better to have repeatable test
2010-10-11 20:22 <paepke> cedk, :-o wow. great! (just followed youre discussion)
2010-10-11 20:22 <udono> cedk: It would be very great!
2010-10-11 20:23 <udono> cedk: I will provide some automated tests on accounting and invoice.
2010-10-11 20:26 <udono> cedk: maybe the old discussion is useful? http://www.mail-archive.com/tryton-dev@googlegroups.com/msg00620.html
2010-10-11 20:26 <cedk> udono: yes I remember
2010-10-11 21:15 -!- eLBati(~elbati@94.161.121.46) has joined #tryton
2010-10-11 21:49 -!- paepke(~paepke@p4FEB18EF.dip0.t-ipconnect.de) has left #tryton
2010-10-11 22:12 -!- bechamel(~user@host-85-201-147-56.brutele.be) has joined #tryton
2010-10-11 22:42 <cedk> udono: http://codereview.appspot.com/2440041
2010-10-11 22:43 <cedk> It just misses action and report handling
2010-10-11 22:44 <cedk> but it should not fail when running a wizard that launch one of both
2010-10-11 23:23 -!- gavinf(~gavinf@196-210-199-66.dynamic.isadsl.co.za) has joined #tryton

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