IRC logs of #tryton for Thursday, 2009-02-12

chat.freenode.net #tryton log beginning Thu Feb 12 00:00:01 CET 2009
2009-02-12 00:06 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton
2009-02-12 00:18 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): Could you put also the header file?
2009-02-12 00:34 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-12 00:35 <carlos> http://www.openobject.com/forum/viewtopic.php?p=29878#29878
2009-02-12 00:35 <carlos> first reactions to the missing migration scripts
2009-02-12 00:36 <vengfulsquirrel> cedk: Is the max_stack_depth problem related to the child_of large data set problem ?
2009-02-12 00:36 <carlos> the company from the one sending that post is one of the most active contributors from Spain
2009-02-12 00:37 <cedk> vengfulsquirrel: I don't understand
2009-02-12 00:38 <cedk> carlos: yes, we already talk about that yesterday
2009-02-12 00:41 <cedk> carlos: it seems that Tiny want to work like big companies that make open source software
2009-02-12 00:44 <vengfulsquirrel> cedk: I get """ProgrammingError: stack depth limit exceeded HINT: Increase the configuration parameter "max_stack_depth"."" all the time now with large data sets.
2009-02-12 00:44 <cedk> vengfulsquirrel: could you put the backtrace
2009-02-12 00:47 <cedk> vengfulsquirrel: I have fill this issue: http://bugs.tryton.org/roundup/issue771
2009-02-12 00:47 <vengfulsquirrel> cedk: I wrote a custom module for inventory, but I get a similar error when trying to delete a lot of locations at once: http://rafb.net/p/LeKlid17.html
2009-02-12 00:49 <cedk> vengfulsquirrel: ok, fill an issue for this one also
2009-02-12 00:50 <carlos> cedk: the main problem I see there is that they want to have full control of all installations
2009-02-12 00:51 <carlos> that's a valid business model, however, it doesn't fit my needs (and the needs of many companies)
2009-02-12 00:51 <carlos> anyway, no need to take this topic again, just wanted to point the new link
2009-02-12 01:08 -!- panthera_(n=daniel@unable-to-package.org) has joined #tryton
2009-02-12 01:12 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 266:a12766a69ef8 website/ (7 files in 6 dirs): Fix content language and copyright
2009-02-12 01:26 <carlos> good night
2009-02-12 01:30 <CIA-10> tryton: vengfulsquirrel roundup * #777/Large data set problem: max_stack_depth error: [new] I will investigate further to try and isolate the bug. I didn't paste the list of ids because they are long but they are in the attached f ...
2009-02-12 03:29 <CIA-10> tryton: vengfulsquirrel roundup * #777/Large data set problem: max_stack_depth error: [chatting] This fixes the error but the query is slow. This code takes 8 minutes for 20,000 products: product_ids = product_obj.search(curso ...
2009-02-12 05:19 -!- yangoon(n=mathiasb@p549F4509.dip.t-dialin.net) has joined #tryton
2009-02-12 07:21 -!- nicoe(n=nicoe@ip-80-236-205-59.dsl.scarlet.be) has joined #tryton
2009-02-12 07:42 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-02-12 07:56 -!- Gedd(n=ged@77.109.113.40) has joined #tryton
2009-02-12 08:00 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-02-12 09:29 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2009-02-12 09:34 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-02-12 09:45 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-02-12 09:52 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2009-02-12 10:20 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-02-12 10:40 -!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has joined #tryton
2009-02-12 10:42 -!- tekknokrat(n=gthieleb@dslb-088-074-182-032.pools.arcor-ip.net) has joined #tryton
2009-02-12 10:42 -!- tekknokrat(n=gthieleb@dslb-088-074-182-032.pools.arcor-ip.net) has left #tryton
2009-02-12 10:48 -!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-02-12 10:59 <CIA-10> tryton: ced roundup * #777/Large data set problem: max_stack_depth error: I would prefer to replace the SQL queries in ir.translation by ModelStorage function calls. And the slow down comes from the fact that for now whe ...
2009-02-12 11:21 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): The error appears also with the standard header file: <record model="ir.action.report" id="report_invoice_discount"> <field nam ...
2009-02-12 11:33 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1532:34121150e148 trytond/trytond/ (5 files in 2 dirs): Rename ModelDB int ModelSQL
2009-02-12 11:39 -!- simahawk(n=simao@ppp-246-61.21-151.libero.it) has joined #tryton
2009-02-12 11:55 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1533:8cb2f3eb63d5 trytond/trytond/model/modelsql.py: Fix _update_tree to take care of IN_MAX for issue771
2009-02-12 11:55 <CIA-10> tryton: ced roundup * #771/Fix _update_tree for big set of ids: [resolved] Fix with changeset 8cb2f3eb63d5
2009-02-12 12:57 <bechamel> account
2009-02-12 12:57 <bechamel> list
2009-02-12 12:57 <bechamel> oups
2009-02-12 13:05 <udono> cedk: I know a bit about max_stack_depth.
2009-02-12 13:06 <udono> cedk: I had this problem in my search form for german zip numbers...
2009-02-12 13:06 <udono> cedk: it is a restriction of postgresql I think, >= 8.3
2009-02-12 13:07 <udono> cedk: I had to separate the where clause into chunks of smaller count.
2009-02-12 13:15 <udono> cedk: http://paste.pocoo.org/show/103663/
2009-02-12 13:15 <udono> cedk: but its inefficient and takes a long time when you have more than 10000 zip codes inside...
2009-02-12 13:17 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton
2009-02-12 13:18 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton
2009-02-12 13:18 <cedk> udono: yes, we know. We fix those issues generally with a loop
2009-02-12 13:19 <cedk> udono: the ModelSQL takes care of that
2009-02-12 13:19 <cedk> udono: in most of the cases
2009-02-12 13:21 <udono> cedk: yes, ok
2009-02-12 13:22 <cedk> udono: but it doesn't work for the search clause with big list
2009-02-12 13:22 <cedk> udono: it is the devs to take care of this
2009-02-12 13:23 <udono> cedk: yes, but its no problem afais
2009-02-12 13:25 <cedk> udono: I don't see how the ModelSQL could make for those cases
2009-02-12 13:27 <udono> cedk: Its no problem for "the devs to take care of this", I meant.
2009-02-12 13:28 <udono> cedk: I think when you put it into the ModelSQL, it will slow down all other requests. So better let it out, since we find a good way.
2009-02-12 13:36 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton
2009-02-12 13:37 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton
2009-02-12 13:56 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-02-12 14:26 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-61f686edaf40b3d3) has joined #tryton
2009-02-12 14:27 <cristi_an> cedk: is possible in the client to cache some data that you know that do not change so often ?
2009-02-12 14:32 <cedk> cristi_an: it is already the case
2009-02-12 14:34 <cedk> cristi_an: for the xml of the views
2009-02-12 14:36 <cristi_an> k :)
2009-02-12 14:41 <cedk> cristi_an: but maybe you have more ideas
2009-02-12 14:55 -!- simahawk(n=simao@ppp-17-31.21-151.libero.it) has joined #tryton
2009-02-12 15:18 -!- simahawk(n=simao@ppp-84-27.21-151.libero.it) has joined #tryton
2009-02-12 15:26 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-02-12 16:06 -!- Gedd(n=ged@77.109.115.32.adsl.dyn.edpnet.net) has joined #tryton
2009-02-12 17:06 -!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-02-12 17:21 -!- simahawk(n=simao@ppp-163-50.21-151.libero.it) has joined #tryton
2009-02-12 17:32 -!- ikks(i=igor@190.120.134.60) has joined #tryton
2009-02-12 18:00 -!- simahawk(n=simao@ppp-180-49.21-151.libero.it) has joined #tryton
2009-02-12 18:31 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1534:9a0ead191e10 trytond/trytond/protocols/netrpc.py: Use better logger name
2009-02-12 18:31 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1535:982b8c8eaeb1 trytond/trytond/ (protocols/__init__.py server.py): Import netrpc only if needed
2009-02-12 18:31 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1536:b051a58dd3ca trytond/trytond/ (netsvc.py protocols/xmlrpc.py server.py): Move xmlrpc into protocols
2009-02-12 18:46 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1537:fa46182f668b trytond/trytond/ (netsvc.py protocols/webdav.py server.py webdavsvc.py): Move webdav in protocols
2009-02-12 19:09 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1538:65bd86924d34 trytond/trytond/ (protocols/dispatcher.py tools/misc.py): Use better logger name
2009-02-12 19:09 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1539:5405083e3345 trytond/trytond/ (ir/model.py model/model.py): Handle write_access on ir.model
2009-02-12 19:09 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1540:6343cf08f2aa trytond/trytond/model/model.py: Add test on _columns before use it in query
2009-02-12 19:09 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1541:6e2b416c739b trytond/trytond/wizard/wizard.py: Use ModelView for WizardOSV
2009-02-12 19:10 <CIA-10> tryton: ian@igentoo.localhost default * 128:d25f469288e7 product/product.py: Update product delete method to allow large data sets.
2009-02-12 19:11 <CIA-10> tryton: ced roundup * #772/Large product set problem: delete method: [resolved] Applied. Don't forget to re-assign the issue once you put a patch.
2009-02-12 19:12 <CIA-10> tryton: ced roundup * #772/Large product set problem: delete method: [chatting] And put the issue number in the commit message.
2009-02-12 19:13 <CIA-10> tryton: ced roundup * #777/Large data set problem: max_stack_depth error: The issue needs this new behavior before http://groups.google.com/group/tryton/browse_frm/thread/bb869abfffc46020
2009-02-12 19:28 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1542:1fee1208a21f trytond/trytond/ (ir/action.py report/report.py): Use at any time base64 encoding data for report_content and style_content
2009-02-12 19:29 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): [testing] I try the report attached and I have any problems (except the new discount field)
2009-02-12 19:32 <CIA-10> tryton: ced roundup * #674/Modules: Userside switching language doesn't work any longer: [resolved] So 1 month without news. I close the issue, re-open it if there is still the issue.
2009-02-12 19:33 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): Did you inherit it in another module? It is only for reports replacing others.
2009-02-12 19:33 <CIA-10> tryton: ced roundup * #688/TypeError: int() argument must be a string or a number, not 'tuple': [resolved] So 1 month without news. I close the issue, re-open it if there is still the issue.
2009-02-12 19:35 <CIA-10> tryton: matb roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): And as Timitos says, it is the call of the header file, that makes problems. Printing without header file works.
2009-02-12 19:41 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): I don't inherit it. But I printed with standard header.
2009-02-12 19:50 -!- juanfer(n=juanfer@190.157.120.122) has joined #tryton
2009-02-12 19:59 <CIA-10> tryton: ced roundup * #423/operator: contains behaves strange with underscores: I try to add "word" but this make the space for the input very small.
2009-02-12 20:01 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1179:5ac5fb476917 tryton/tryton/gui/window/view_form/widget_search/char.py: Use "does not" for negative search operators
2009-02-12 20:06 <CIA-10> tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): I try it now with a duplicate ir.action.report and it works.
2009-02-12 20:07 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1543:7988c21af9b4 trytond/trytond/ir/action.py: Fix copy of ir.action.report to work with list of ids
2009-02-12 20:53 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2009-02-12 20:53 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-12 21:45 -!- saxa(n=sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton
2009-02-12 23:42 -!- bechamel(n=user@85.201.86.139) has left #tryton

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