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

chat.freenode.net #tryton log beginning Thu Feb 12 00:00:01 CET 2009
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton00:06
CIA-10tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): Could you put also the header file?00:18
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton00:34
carloshttp://www.openobject.com/forum/viewtopic.php?p=29878#2987800:35
carlosfirst reactions to the missing migration scripts00:35
vengfulsquirrelcedk: Is the max_stack_depth problem related to the child_of large data set problem ?00:36
carlosthe company from the one sending that post is one of the most active contributors from Spain00:36
cedkvengfulsquirrel: I don't understand00:37
cedkcarlos: yes, we already talk about that yesterday00:38
cedkcarlos: it seems that Tiny want to work like big companies that make open source software00:41
vengfulsquirrelcedk: I get """ProgrammingError: stack depth limit exceeded  HINT:  Increase the configuration parameter "max_stack_depth".""  all the time now with large data sets.00:44
cedkvengfulsquirrel: could you put the backtrace00:44
cedkvengfulsquirrel: I have fill this issue: http://bugs.tryton.org/roundup/issue77100:47
vengfulsquirrelcedk: 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.html00:47
cedkvengfulsquirrel: ok, fill an issue for this one also00:49
carloscedk: the main problem I see there is that they want to have full control of all installations00:50
carlosthat's a valid business model, however, it doesn't fit my needs (and the needs of many companies)00:51
carlosanyway, no need to take this topic again, just wanted to point the new link00:51
-!- panthera_(n=daniel@unable-to-package.org) has joined #tryton01:08
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 266:a12766a69ef8 website/ (7 files in 6 dirs): Fix content language and copyright01:12
carlosgood night01:26
CIA-10tryton: 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 ...01:30
CIA-10tryton: 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 ...03:29
-!- yangoon(n=mathiasb@p549F4509.dip.t-dialin.net) has joined #tryton05:19
-!- nicoe(n=nicoe@ip-80-236-205-59.dsl.scarlet.be) has joined #tryton07:21
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton07:42
-!- Gedd(n=ged@77.109.113.40) has joined #tryton07:56
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton08:00
-!- bechamel(n=user@85.201.86.139) has joined #tryton09:29
-!- carlos(n=carlos@89.7.24.44) has joined #tryton09:34
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton09:45
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton09:52
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:20
-!- tekknokrat(n=gthieleb@dslb-088-074-150-146.pools.arcor-ip.net) has joined #tryton10:40
-!- tekknokrat(n=gthieleb@dslb-088-074-182-032.pools.arcor-ip.net) has joined #tryton10:42
-!- tekknokrat(n=gthieleb@dslb-088-074-182-032.pools.arcor-ip.net) has left #tryton10:42
-!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton10:48
CIA-10tryton: 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 ...10:59
CIA-10tryton: 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 ...11:21
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1532:34121150e148 trytond/trytond/ (5 files in 2 dirs): Rename ModelDB int ModelSQL11:33
-!- simahawk(n=simao@ppp-246-61.21-151.libero.it) has joined #tryton11:39
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1533:8cb2f3eb63d5 trytond/trytond/model/modelsql.py: Fix _update_tree to take care of IN_MAX for issue77111:55
CIA-10tryton: ced roundup * #771/Fix _update_tree for big set of ids: [resolved] Fix with changeset 8cb2f3eb63d511:55
bechamelaccount12:57
bechamellist12:57
bechameloups12:57
udonocedk: I know a bit about max_stack_depth.13:05
udonocedk: I had this problem in my search form for german zip numbers...13:06
udonocedk: it is a restriction of postgresql I think, >= 8.313:06
udonocedk: I had to separate the where clause into chunks of smaller count.13:07
udonocedk: http://paste.pocoo.org/show/103663/13:15
udonocedk: but its inefficient and takes a long time when you have more than 10000 zip codes inside...13:15
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton13:17
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton13:18
cedkudono: yes, we know. We fix those issues generally with a loop13:18
cedkudono: the ModelSQL takes care of that13:19
cedkudono: in most of the cases13:19
udonocedk: yes, ok13:21
cedkudono: but it doesn't work for the search clause with big list13:22
cedkudono: it is the devs to take care of this13:22
udonocedk: yes, but its no problem afais13:23
cedkudono: I don't see how the ModelSQL could make for those cases13:25
udonocedk: Its no problem for "the devs to take care of this", I meant.13:27
udonocedk: 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.13:28
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton13:36
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton13:37
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton13:56
-!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-61f686edaf40b3d3) has joined #tryton14:26
cristi_ancedk: is possible in the client to cache some data that you know that do not change so often ?14:27
cedkcristi_an: it is already the case14:32
cedkcristi_an: for the xml of the views14:34
cristi_ank :)14:36
cedkcristi_an: but maybe you have more ideas14:41
-!- simahawk(n=simao@ppp-17-31.21-151.libero.it) has joined #tryton14:55
-!- simahawk(n=simao@ppp-84-27.21-151.libero.it) has joined #tryton15:18
-!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton15:26
-!- Gedd(n=ged@77.109.115.32.adsl.dyn.edpnet.net) has joined #tryton16:06
-!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton17:06
-!- simahawk(n=simao@ppp-163-50.21-151.libero.it) has joined #tryton17:21
-!- ikks(i=igor@190.120.134.60) has joined #tryton17:32
-!- simahawk(n=simao@ppp-180-49.21-151.libero.it) has joined #tryton18:00
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1534:9a0ead191e10 trytond/trytond/protocols/netrpc.py: Use better logger name18:31
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1535:982b8c8eaeb1 trytond/trytond/ (protocols/__init__.py server.py): Import netrpc only if needed18:31
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1536:b051a58dd3ca trytond/trytond/ (netsvc.py protocols/xmlrpc.py server.py): Move xmlrpc into protocols18:31
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1537:fa46182f668b trytond/trytond/ (netsvc.py protocols/webdav.py server.py webdavsvc.py): Move webdav in protocols18:46
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1538:65bd86924d34 trytond/trytond/ (protocols/dispatcher.py tools/misc.py): Use better logger name19:09
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1539:5405083e3345 trytond/trytond/ (ir/model.py model/model.py): Handle write_access on ir.model19:09
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1540:6343cf08f2aa trytond/trytond/model/model.py: Add test on _columns before use it in query19:09
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1541:6e2b416c739b trytond/trytond/wizard/wizard.py: Use ModelView for WizardOSV19:09
CIA-10tryton: ian@igentoo.localhost default * 128:d25f469288e7 product/product.py: Update product delete method to allow large data sets.19:10
CIA-10tryton: ced roundup * #772/Large product set problem: delete method: [resolved] Applied. Don't forget to re-assign the issue once you put a patch.19:11
CIA-10tryton: ced roundup * #772/Large product set problem: delete method: [chatting] And put the issue number in the commit message.19:12
CIA-10tryton: 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/bb869abfffc4602019:13
CIA-10tryton: 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_content19:28
CIA-10tryton: 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)19:29
CIA-10tryton: 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.19:32
CIA-10tryton: 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.19:33
CIA-10tryton: 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.19:33
CIA-10tryton: 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.19:35
CIA-10tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): I don't inherit it. But I printed with standard header.19:41
-!- juanfer(n=juanfer@190.157.120.122) has joined #tryton19:50
CIA-10tryton: ced roundup * #423/operator: contains behaves strange with underscores: I try to add "word" but this make the space for the input very small.19:59
CIA-10tryton: 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 operators20:01
CIA-10tryton: ced roundup * #776/genshi/template/eval.py: UndefinedError(key, owner=owner): I try it now with a duplicate ir.action.report and it works.20:06
CIA-10tryton: 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 ids20:07
-!- ikks(n=igor@190.144.69.234) has joined #tryton20:53
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton20:53
-!- saxa(n=sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton21:45
-!- bechamel(n=user@85.201.86.139) has left #tryton23:42

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