IRC logs of #tryton for Monday, 2009-02-09

chat.freenode.net #tryton log beginning Mon Feb 9 00:00:01 CET 2009
2009-02-09 01:20 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-02-09 05:19 -!- yangoon(n=mathiasb@p549F4A53.dip.t-dialin.net) has joined #tryton
2009-02-09 05:20 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-09 06:32 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-09 07:45 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-02-09 08:06 -!- nicoe(n=nicoe@ip-80-236-205-59.dsl.scarlet.be) has joined #tryton
2009-02-09 08:10 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-02-09 08:48 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-02-09 08:48 -!- enlightx(n=enlightx@host198-42-static.85-94-b.business.telecomitalia.it) has joined #tryton
2009-02-09 09:36 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-02-09 10:15 -!- Gedd(n=ged@ip-80-236-205-59.dsl.scarlet.be) has joined #tryton
2009-02-09 11:16 -!- ikks(i=igor@190.120.132.102) has joined #tryton
2009-02-09 11:26 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2009-02-09 12:29 -!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton
2009-02-09 12:54 -!- carlos(n=carlos@77.224.191.31) has joined #tryton
2009-02-09 14:03 -!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton
2009-02-09 15:25 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2009-02-09 15:57 -!- bechamel`(n=user@85.201.86.139) has joined #tryton
2009-02-09 16:07 -!- enlightx(n=enlightx@ppp-205-61.21-151.libero.it) has joined #tryton
2009-02-09 16:22 <udono> http://www.openobject.com/forum/viewtopic.php?p=29513 that's why I choose Tryton!
2009-02-09 16:25 <bechamel> udono: on the other side they already advertise automatic migration from the 4.2 : http://www.openerp.com/index.php?page=shop.product_details&flypage=openerp.tpl&product_id=14&category_id=1&option=com_virtuemart&Itemid=13
2009-02-09 16:33 <udono> bechamel: The devil is in the details... we will see which modules will be certified...
2009-02-09 16:34 -!- simahawk(n=simao@ppp-205-61.21-151.libero.it) has joined #tryton
2009-02-09 16:34 -!- simao_(n=simao@ppp-205-61.21-151.libero.it) has joined #tryton
2009-02-09 16:34 <bechamel> udono: You know, this doesn't prove that they have got migration scripts
2009-02-09 16:35 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 227:503114b4c3f3 purchase/ (purchase.py purchase.xml): Added invoice exception handling
2009-02-09 18:02 -!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-02-09 18:30 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 228:9d27fb0e1069 purchase/purchase.py: Handle invoice to purchase relation without the extra m2m
2009-02-09 19:35 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 229:a74a97e4a4da purchase/purchase.xml: Prevent empty purchase confirmation
2009-02-09 19:46 -!- enlightx(n=enlightx@host-84-220-89-221.cust-adsl.tiscali.it) has joined #tryton
2009-02-09 19:47 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 118:6b8fd835f681 sale/sale.xml: Prevent empty sale confirmation
2009-02-09 19:48 -!- snowch(n=snowch@82.152.13.57) has joined #tryton
2009-02-09 19:54 -!- juanfer(n=juanfer@190.144.69.234) has joined #tryton
2009-02-09 20:22 -!- carlos(n=carlos@77.224.191.31) has joined #tryton
2009-02-09 20:36 -!- jal01(n=chatzill@R0bf2.r.pppool.de) has joined #tryton
2009-02-09 20:37 <snowch> Hi IRC, I've noticed there has been some work going on to get OpenERP running on jython. Is there any interest in getting tryton running on jython?
2009-02-09 20:38 <cedk> snowch: not for now
2009-02-09 20:38 <snowch> cedk: that's a shame!
2009-02-09 20:39 <cedk> snowch: and personaly, I don't find the usefulness
2009-02-09 20:39 <jal01> hallo, ich bräuchte ein wenig input
2009-02-09 20:39 <cedk> snowch: why?
2009-02-09 20:40 <jal01> hello, i need any input about tryton, sorry for my english :-)
2009-02-09 20:41 <cedk> jal01: hi, can you explain?
2009-02-09 20:41 <snowch> cedk: jython would bring a whole new level of scalability, performance, and community to tryton
2009-02-09 20:42 <jal01> i have installed tryton, but the client have'nt connection to the server, why?
2009-02-09 20:42 <jal01> on debian, sorry
2009-02-09 20:42 <cedk> snowch: the performance of Tryton is linked to the SQL server and not the python code
2009-02-09 20:43 <snowch> jal01: is the client connecting to 8070?
2009-02-09 20:43 <cedk> jal01: have you any error message? on the client or server side
2009-02-09 20:44 <cedk> snowch: I don't understand the scalability argument
2009-02-09 20:44 <jal01> no, no error messages, all is OK.
2009-02-09 20:44 <jal01> server is running and client to
2009-02-09 20:44 <cedk> jal01: did you create a database?
2009-02-09 20:45 <jal01> snowch: i think not. but thats is my problem
2009-02-09 20:45 <cedk> snowch: for the community, perhaps but I don't think it will be better to write modules in java than in python
2009-02-09 20:46 <cedk> jal01: what did you have on the login popup?
2009-02-09 20:46 -!- juanfer_(n=juanfer@190.144.69.234) has joined #tryton
2009-02-09 20:47 <snowch> cedk: applications like terracotta jvm clustering
2009-02-09 20:48 <jal01> cedk: any help, script :-)
2009-02-09 20:48 <jal01> on login popup (client) = Datenbank: kann nicht zum Server verbinden
2009-02-09 20:48 <jal01> Database: cannot connect to server
2009-02-09 20:48 <cedk> snowch: first, as I said the bottleneck is the SQL database
2009-02-09 20:49 <cedk> snowch: seconde, you can run many instance of the Tryton server for the same database
2009-02-09 20:49 <cedk> jal01: client and server are on the same host?
2009-02-09 20:49 <jal01> cedk: yes
2009-02-09 20:49 <cedk> jal01: and if yes, what is in the server address
2009-02-09 20:50 <snowch> cedk: groovy would be very nice for writing modules
2009-02-09 20:50 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-09 20:50 <cedk> snowch: it looks like Python so why using java vm
2009-02-09 20:52 <jal01> cedk: 10.0.2.15 (is a VBox-Installation)
2009-02-09 20:52 <cedk> jal01: could try with 127.0.0.1
2009-02-09 20:53 <snowch> cedk: i guess the main thing is it makes us 'java' people feel more comfortable
2009-02-09 20:53 <cedk> jal01: or the client and the server are on two vhost
2009-02-09 20:54 -!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-02-09 20:54 <cedk> snowch: for me, learning program language is not a big stuff when you know already some others
2009-02-09 20:54 <jal01> is the port correct 8070?
2009-02-09 20:54 <snowch> cedk: although after looking through the refactorings, i'm feeling more comfortable with python now.
2009-02-09 20:55 <cedk> jal01: yes by default, but look at your trytond.conf file
2009-02-09 20:55 <jal01> thanks
2009-02-09 20:55 <snowch> cedk: openerp almost put be off python!
2009-02-09 20:55 <cedk> snowch: and I have some more step to do
2009-02-09 20:56 <cedk> snowch: I don't understand, there is server, client and modules in python
2009-02-09 20:56 <snowch> cedk: keep up the good work!
2009-02-09 20:57 <cedk> snowch: you can keep track of the work on https://www.ohloh.net/p/tryton/messages
2009-02-09 20:58 <cedk> I will try to update it regulary
2009-02-09 20:58 <cedk> and I invite anyone who works on Tryton or modules to add entries also
2009-02-09 20:58 <snowch> cedk: ok will check it out. thanks...
2009-02-09 20:59 <jal01> cedk: in my opinion are all lines commended (#)
2009-02-09 20:59 <jal01> ex:
2009-02-09 20:59 <jal01> #netport = 8070
2009-02-09 20:59 <jal01> it's ok?, or i have install problems?
2009-02-09 21:00 <cedk> jal01: commented lines are for default value
2009-02-09 21:00 <jal01> ok
2009-02-09 21:00 <cedk> jal01: and normally you must see a line like this: INFO:web-service:starting netrpc service, port 8070
2009-02-09 21:04 <cedk> jal01: do you have any firewall?
2009-02-09 21:05 <jal01> cedk: no firewall on debian
2009-02-09 21:05 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 23:9abc39d9e833 country/country.py: Add check on code value before calling upper
2009-02-09 21:07 <cedk> jal01: which version of Tryton do you use ?
2009-02-09 21:07 <cedk> jal01: and version of Python ?
2009-02-09 21:07 <ikks> jal01: Lenny or etch?
2009-02-09 21:07 <jal01> cedk: sorry, my battery on my notebook is empty :(
2009-02-09 21:07 <snowch> it's about time I learnt how to write a module - is there any documentation?
2009-02-09 21:08 <jal01> thanks and good night.
2009-02-09 21:08 <jal01> i return tomorrow
2009-02-09 21:08 <jal01> i use the last version of tryton.
2009-02-09 21:08 <bechamel> jal01: you can try "nc -zv 127.0.0.1 8070"
2009-02-09 21:08 <cedk> jal01: 1.0 or mercurial?
2009-02-09 21:09 <cedk> snowch: you can start here: http://www.tryton.org/doc/branches/1.0/trytond/doc/modules.html
2009-02-09 21:09 <snowch> cedk: many thanks!
2009-02-09 21:09 <cedk> snowch: it is not complete but it is a good staring point
2009-02-09 21:09 <jal01> bechamel: connection refused
2009-02-09 21:10 <bechamel> are you sure that the server run on 127.0.0.1 ?
2009-02-09 21:10 <cedk> jal01: you talked about vhost, is the client and server on the same vhost?
2009-02-09 21:11 <jal01> bechamel,cedk: yes, this is my laptop
2009-02-09 21:12 <cedk> jal01: and you have the line that I told you "starting netrpc service, port 8070" ?
2009-02-09 21:12 <jal01> no, i can't find this line/message
2009-02-09 21:13 <cedk> jal01: could you copy/paste the output of the server
2009-02-09 21:13 <cedk> jal01: with nopaste
2009-02-09 21:13 <cedk> jal01: http://www.rafb.net/paste/
2009-02-09 21:14 <bechamel> afk
2009-02-09 21:14 <jal01> cedk: sudo su tryton -c "bin/trytond"
2009-02-09 21:15 <cedk> jal01: I mean the info message of trytond
2009-02-09 21:16 <jal01> i have not this message :(
2009-02-09 21:17 <cedk> jal01: you have nothing ?
2009-02-09 21:17 <jal01> no message from server, yes nothing
2009-02-09 21:18 <jal01> Geben Sie das Passwort des neuen Benutzers ein:
2009-02-09 21:18 <jal01> Geben Sie es noch einmal ein:
2009-02-09 21:18 <jal01> CREATE USER
2009-02-09 21:18 <jal01> jal@debian:~/workspace/tryton-dist$ sudo su tryton -c "bin/trytond"
2009-02-09 21:18 <jal01> jal@debian:~/workspace/tryton-dist$ cd ~/workspace/tryton-dist/tryton
2009-02-09 21:18 <jal01> jal@debian:~/workspace/tryton-dist/tryton$ ./bin/tryton
2009-02-09 21:19 <cedk> jal01: so the server is not started
2009-02-09 21:19 <jal01> why?
2009-02-09 21:20 <jal01> should i repeat this command?
2009-02-09 21:20 <jal01> sudo su tryton -c "bin/trytond"
2009-02-09 21:20 <cedk> jal01: yes
2009-02-09 21:20 <cedk> jal01: could you make it in two steps
2009-02-09 21:21 <cedk> jal01: one: sudo su tryton
2009-02-09 21:21 <cedk> jal01: and after: ./bin/trytond
2009-02-09 21:23 <jal01> cedk: thanks, isee now, ihave probs with the direcories:
2009-02-09 21:23 <jal01> jal@debian:~$ sudo su tryton
2009-02-09 21:23 <jal01> Password:
2009-02-09 21:23 <jal01> jal@debian:~$ ./bin/trytond
2009-02-09 21:23 <jal01> bash: ./bin/trytond: Datei oder Verzeichnis nicht gefunden
2009-02-09 21:23 <jal01> jal@debian:~$
2009-02-09 21:23 <jal01> i must working :-)
2009-02-09 21:23 <jal01> bye
2009-02-09 21:25 <cedk> for jal01 if he reads irclogs, you are not in the right directory
2009-02-09 21:29 <vengfulsquirrel> cedk: Hey when I'm initializing my locations in tryton it starts off fine but then starts to get incredibly slow. Is it because of the left/right stuff? Do you have any idea why this would be ?
2009-02-09 21:34 -!- snowch(n=snowch@82.152.13.57) has left #tryton
2009-02-09 21:36 <cedk> vengfulsquirrel: could you give the structure of you location and which operation is slow?
2009-02-09 21:38 <cedk> vengfulsquirrel: or even, a dump of teh database
2009-02-09 21:43 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-09 21:43 -!- udono(n=udono@dynamic-unidsl-85-197-23-64.westend.de) has joined #tryton
2009-02-09 21:47 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton
2009-02-09 22:01 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-09 22:03 <vengfulsquirrel> my irc just tanked i don't if that happened to anyone else
2009-02-09 22:05 <vengfulsquirrel> cedk: There are 1000ish entries that look like this: http://rafb.net/p/CcSUrk55.html They are 4 node deep tree that looks like this: http://laspilitas.com/s/images/locations.png where the storage location is the root.
2009-02-09 22:06 <vengfulsquirrel> It takes about 12 seconds to save a new location at depth 4 in the client. Maybe I'm just impatient but it seems irregular.
2009-02-09 22:11 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-09 22:11 -!- udono(n=udono@dynamic-unidsl-85-197-23-64.westend.de) has joined #tryton
2009-02-09 22:18 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton
2009-02-09 22:18 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-09 22:19 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton
2009-02-09 22:26 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-09 23:08 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-09 23:09 <cedk> vengfulsquirrel: is it only for the creation?
2009-02-09 23:11 <vengfulsquirrel> Sorry did you get the image and data snippet I sent ? IRC keeps dropping me.
2009-02-09 23:11 <cedk> vengfulsquirrel: yes, I've got it
2009-02-09 23:11 <vengfulsquirrel> cedk: Well yeah I only notice for creation right now.
2009-02-09 23:12 <cedk> vengfulsquirrel: if it is only when creating or writing location, it is the left-right stuff
2009-02-09 23:12 <cedk> vengfulsquirrel: and I think it is normal, because it pre-compute the tree to speed up after search on it
2009-02-09 23:13 <cedk> vengfulsquirrel: by the way which version do you use?
2009-02-09 23:13 <vengfulsquirrel> Something I pulled in the last week.
2009-02-09 23:14 <cedk> vengfulsquirrel: the branch 1.0 or 1.1
2009-02-09 23:14 <vengfulsquirrel> I used this tryton-dev.sh .
2009-02-09 23:15 <cedk> vengfulsquirrel: yes but you can specify the branch
2009-02-09 23:16 <cedk> vengfulsquirrel: I find perhaps the issue
2009-02-09 23:16 <vengfulsquirrel> Yeah hmm I have no idea what I specified originally. How can I find that now ?
2009-02-09 23:17 <bechamel> vengfulsquirrel: cat trytond/.hg/hgrc
2009-02-09 23:17 <vengfulsquirrel> [paths]
2009-02-09 23:17 <vengfulsquirrel> default = http://hg.tryton.org/trytond
2009-02-09 23:17 <vengfulsquirrel> [extensions]
2009-02-09 23:17 <vengfulsquirrel> forest=/home/ian/workspace/tryton-dev/hgforest/forest.py
2009-02-09 23:17 <cedk> vengfulsquirrel: ok it is the 1.1 (dev)
2009-02-09 23:17 <bechamel> vengfulsquirrel: so its the trunk (akar 1.1)
2009-02-09 23:18 <vengfulsquirrel> Yeah I probably should know that. :)
2009-02-09 23:19 <vengfulsquirrel> Also I get this error at lot: HINT: Increase the configuration parameter "max_stack_depth".
2009-02-09 23:19 <vengfulsquirrel> With regards to having many products.
2009-02-09 23:19 <cedk> vengfulsquirrel: I know it is an other issue that I must fix
2009-02-09 23:22 <cedk> vengfulsquirrel: it is in _update_tree, we use a list of id in clause but it can be too big so we must split it
2009-02-09 23:23 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 486:cb0f884e2a98 stock/location.py: Add indexes on left, right of location
2009-02-09 23:23 <cedk> vengfulsquirrel: with this changeset, you must see a speed improvement for the creation of location
2009-02-09 23:26 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 487:71973f9ae27c stock/de_DE.csv: Update translation for de_DE
2009-02-09 23:26 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 488:807f70c407e7 stock/: merge
2009-02-09 23:26 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 119:b1167f4fdda8 sale/de_DE.csv: Update translation for de_DE
2009-02-09 23:26 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 120:1c8365c93ee4 sale/: merge
2009-02-09 23:27 <vengfulsquirrel> cedk: Okay there is a problem with large product sets and the product.delete method as well. maybe I should open a ticket for that
2009-02-09 23:27 <cedk> http://rafb.net/p/Nq9X3e43.html
2009-02-09 23:27 <cedk> those queries, I don't know how to do when there is too much child_ids
2009-02-09 23:27 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 230:15fb56d7054f purchase/de_DE.csv: Update translation for de_DE
2009-02-09 23:27 <CIA-10> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 231:49935272c665 purchase/: merge
2009-02-09 23:28 <cedk> vengfulsquirrel: yes could you enter an issue with the traceback
2009-02-09 23:29 <cedk> vengfulsquirrel: it is when you delete a big set of product?
2009-02-09 23:29 <vengfulsquirrel> cedk: Yeah but its not he big set of products its the big set of singleton templates that causes the problem.
2009-02-09 23:29 <vengfulsquirrel> *the
2009-02-09 23:30 <vengfulsquirrel> I think.
2009-02-09 23:30 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-02-09 23:30 <vengfulsquirrel> I fixed it but its not high quality code I will show you in the ticket.
2009-02-09 23:30 <cedk> vengfulsquirrel: ok
2009-02-09 23:30 <cedk> vengfulsquirrel: I guess it is in modules/product/product.py line 126
2009-02-09 23:31 <vengfulsquirrel> Yes
2009-02-09 23:33 <vengfulsquirrel> cedk: With respect to the production module, if I am making commits like crazy and alterations as we go back and forth on how the model should look do you think I should just start another repository once we figure out the initial layout ? Because the log might be a mess.
2009-02-09 23:35 <CIA-10> tryton: ced roundup * #771/Fix _update_tree for big set of ids: [new] If child_ids is bigger than IN_MAX, call _rebuild_tree Add loop on left_ids and right_ids
2009-02-09 23:36 <cedk> vengfulsquirrel: yes surely
2009-02-09 23:36 <cedk> vengfulsquirrel: but we will see on time
2009-02-09 23:37 <CIA-10> tryton: vengfulsquirrel roundup * #772/Large product set problem: delete method: [new] The delete method on the Product model cannot handle large product sets where each product has a 1 to 1 relationship with a template.
2009-02-09 23:51 <CIA-10> tryton: vengfulsquirrel roundup * #772/Large product set problem: delete method: [chatting] This is kind of a sloppy patch. Can you tell me if you think it will work? If so then I will clean it up and try to use IN max. diff ...

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