IRC logs of #tryton for Tuesday, 2009-02-10

chat.freenode.net #tryton log beginning Tue Feb 10 00:00:02 CET 2009
2009-02-10 00:04 <CIA-10> tryton: ced roundup * #772/Large product set problem: delete method: [unread] Ok, it is the right direction. You can look at trytond/model/modeldb.py line 332 for an example with cursor.IN_MAX. You don't need to set ...
2009-02-10 00:06 <cedk> vengfulsquirrel: I put some comments for the issue
2009-02-10 01:33 <CIA-10> tryton: vengfulsquirrel roundup * #772/Large product set problem: delete method: A made some modifications, if I don't set res=True I'll get an undefined error because I use it in an and to collect all the returns: ie. res = pr ...
2009-02-10 02:17 -!- juanfer(n=juanfer@190.157.120.122) has joined #tryton
2009-02-10 02:38 -!- ikks(i=igor@190.102.208.65) has joined #tryton
2009-02-10 05:19 -!- yangoon(n=mathiasb@p549F4557.dip.t-dialin.net) has joined #tryton
2009-02-10 06:14 -!- desdulianto(n=david@125.162.44.206) has joined #tryton
2009-02-10 07:28 -!- nicoe(n=nicoe@ip-80-236-205-59.dsl.scarlet.be) has joined #tryton
2009-02-10 07:34 -!- desdulianto(n=david@125.162.44.206) has left #tryton
2009-02-10 07:53 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-02-10 07:57 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-02-10 09:21 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-10 09:52 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton
2009-02-10 09:52 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-02-10 10:13 -!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-02-10 10:29 -!- Gedd(n=ged@ip-80-236-205-59.dsl.scarlet.be) has joined #tryton
2009-02-10 10:40 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2009-02-10 10:54 <CIA-10> tryton: ced roundup * #772/Large product set problem: delete method: I don't like to call many time the super function, it doesn't fit well the object programming. I propose to use an other strategy: - Create a lis ...
2009-02-10 11:00 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2009-02-10 11:06 -!- simahawk(n=simao@ppp-173-56.21-151.libero.it) has joined #tryton
2009-02-10 13:23 -!- jal01(n=ja_edv@217.243.230.58) has joined #tryton
2009-02-10 13:26 -!- jal01(n=ja_edv@217.243.230.58) has left #tryton
2009-02-10 13:27 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 232:213bd39eb779 purchase/purchase.py: Guidelines
2009-02-10 13:27 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 233:870a27459e3c purchase/purchase.xml: Show cancel status of invoice only on purchase form
2009-02-10 13:33 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 121:ac58d631ca79 sale/ (sale.py sale.xml): Handle invoice exceptions
2009-02-10 13:33 <CIA-10> tryton: Bertrand Chenal <bch@b2ck.com> default * 122:68c4ec9e1b88 sale/: Merge
2009-02-10 13:41 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2009-02-10 13:47 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-02-10 14:01 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-02-10 14:19 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-2712b7a314c477a8) has joined #tryton
2009-02-10 14:31 <udono> Hi all
2009-02-10 14:31 <udono> what is the use of full_name in party/party.py
2009-02-10 14:32 <cristi_an> for reports :) (jokeing)
2009-02-10 14:32 <cristi_an> :P
2009-02-10 14:34 <udono> cristi_an: :-)
2009-02-10 14:34 <bechamel> cristi_an: actually you are right
2009-02-10 14:34 <cristi_an> heheh :)
2009-02-10 14:34 <udono> cristi_an: Thanks
2009-02-10 14:35 <cristi_an> first time i gave an answer related to tryton
2009-02-10 14:35 <cristi_an> ;)
2009-02-10 14:35 <udono> bechamel: but it just copy the name to the full_name attribute.
2009-02-10 14:36 <udono> ACTION thinks a first tryton related answer tooks him half a year fulltime...
2009-02-10 14:36 <bechamel> udono: this allow to do party.full_name instead of party_obj.name_get(...)
2009-02-10 14:37 <cristi_an> udono: Errare humanum est sed perseverare diabolicum
2009-02-10 14:37 <udono> cristi_an: in vino veritas
2009-02-10 14:37 <cristi_an> that is true also :)
2009-02-10 14:38 <udono> cristi_an: so, quod erat demonstrandum
2009-02-10 14:38 <cristi_an> :))
2009-02-10 14:38 <cedk> bechamel: no it is not the same than name_get
2009-02-10 14:39 <cedk> full_name is use on report to allow easy customization of the party name displaied in reports
2009-02-10 14:39 -!- juanfer(n=juanfer@190.157.120.122) has joined #tryton
2009-02-10 14:39 <udono> cedk: It is meant when I like to combine Prename, surnames etc.?
2009-02-10 14:40 <cedk> udono: yes
2009-02-10 14:41 <udono> cedk: so it's a helping hand, or a wink for my party_types module...
2009-02-10 14:41 <cedk> udono: also
2009-02-10 14:41 <udono> cedk: thanks, I will implement it...
2009-02-10 15:04 -!- ikks_(n=igor@201.244.188.98) has joined #tryton
2009-02-10 15:17 -!- igor__(n=igor@190.144.69.234) has joined #tryton
2009-02-10 15:40 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2009-02-10 17:35 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-0156ab29907dd52c) has joined #tryton
2009-02-10 17:41 -!- cedric_b(n=cedric@ANantes-158-1-23-156.w86-195.abo.wanadoo.fr) has joined #tryton
2009-02-10 19:13 -!- jal01(n=chatzill@R23a8.r.pppool.de) has joined #tryton
2009-02-10 19:13 <cedk> jal01: hi
2009-02-10 19:13 <cedk> jal01: did you see my answer on the irclog?
2009-02-10 19:14 <cedk> jal01: http://www.tryton.org/~irclog/2009-02-09.log.html#t2009-02-09_21:25
2009-02-10 19:14 <jal01> cedk: hi
2009-02-10 19:28 <jal01> cedk: hello now i have more (a lot ) of "diagnostic material" :-)
2009-02-10 19:28 <jal01> jal@debian:~/workspace/tryton-dist/trytond$ sudo su tryton
2009-02-10 19:28 <jal01> jal@debian:~/workspace/tryton-dist/trytond$ ./bin/trytond
2009-02-10 19:28 <jal01> [Tue Feb 10 20:26:44 2009] DEBUG:psycopg2:installed. Logging using Python logging module
2009-02-10 19:28 <jal01> [Tue Feb 10 20:26:45 2009] INFO:init:using /home/jal/workspace/tryton-dist/trytond/etc/trytond.conf as configuration file
2009-02-10 19:28 <jal01> [Tue Feb 10 20:26:45 2009] INFO:init:initialising distributed objects services
2009-02-10 19:28 <jal01> Traceback (most recent call last):
2009-02-10 19:28 <jal01> File "./bin/trytond", line 28, in ?
2009-02-10 19:28 <jal01> trytond.server.TrytonServer().run()
2009-02-10 19:28 <jal01> File "/home/jal/workspace/tryton-dist/trytond/trytond/server.py", line 109, in run
2009-02-10 19:28 <jal01> register_classes()
2009-02-10 19:28 <jal01> File "/home/jal/workspace/tryton-dist/trytond/trytond/modules/__init__.py", line 305, in register_classes
2009-02-10 19:28 <jal01> import trytond.ir
2009-02-10 19:28 <jal01> File "/home/jal/workspace/tryton-dist/trytond/trytond/ir/__init__.py", line 6, in ?
2009-02-10 19:28 <jal01> from model import *
2009-02-10 19:29 <jal01> File "/home/jal/workspace/tryton-dist/trytond/trytond/ir/model.py", line 6, in ?
2009-02-10 19:29 <jal01> from trytond.report import Report
2009-02-10 19:29 <jal01> File "/home/jal/workspace/tryton-dist/trytond/trytond/report/__init__.py", line 2, in ?
2009-02-10 19:29 <jal01> from report import *
2009-02-10 19:29 <jal01> File "/home/jal/workspace/tryton-dist/trytond/trytond/report/report.py", line 28, in ?
2009-02-10 19:29 <jal01> from genshi.filters import Translator
2009-02-10 19:29 <jal01> ImportError: cannot import name Translator
2009-02-10 19:29 <jal01> jal@debian:~/workspace/tryton-dist/trytond$
2009-02-10 19:29 <cedk> jal01: please use pastebin or nopaste to copy/paste
2009-02-10 19:30 <cedk> jal01: it seems that you don't have genshi installed
2009-02-10 19:30 <cedk> jal01: http://www.rafb.net/paste/
2009-02-10 19:33 <jal01> cedk: during the installation i have the problems with relatorio, but not with genshi
2009-02-10 19:35 <cedk> jal01: did you have genshi installed?
2009-02-10 19:36 <jal01> yes
2009-02-10 19:36 <cedk> jal01: which version?
2009-02-10 19:36 <yangoon> jal01: do you know http://code.google.com/p/tryton/wiki/InstallationOnDebian?
2009-02-10 19:37 <jal01> yangoon:yes
2009-02-10 19:37 <yangoon> you are on etch or on lenny?
2009-02-10 19:38 <jal01> yangoon:etch
2009-02-10 19:38 <jal01> cedk: i hope, the last :-)
2009-02-10 19:40 <yangoon> jal01: could you please do "apt-cache policy python-genshi" on the command line?
2009-02-10 19:40 <cedk> jal01: check it
2009-02-10 19:41 <yangoon> jal01: I see , it is Candidate: 0.3.4-1
2009-02-10 19:42 <yangoon> jal01: if possible, you should install 0.5.1-1~bpo40+1 0 from backports.org
2009-02-10 19:42 <cedk> jal01: you need genshi >= 0.5
2009-02-10 19:43 <jal01> *** 0.3.4-1 0
2009-02-10 19:43 <jal01> 500 http://ftp.de.debian.org etch/main Packages
2009-02-10 19:43 <jal01> 100 /var/lib/dpkg/status
2009-02-10 19:47 <cedk> jal01: so you must upgrade genshi
2009-02-10 19:49 <jal01> cedk: ok, thanks
2009-02-10 20:08 <udono> jal01: when there are problems in upgrading genshi on etch, please request me, since I tried it last week. See http://www.tryton.org/~irclog/2009-02-05.log.html#t2009-02-05_11:14
2009-02-10 20:11 <igor__> jal01, lenny is about to be released, almost sure on this weekend
2009-02-10 20:11 <igor__> Better use Lenny, don't fight with etch...
2009-02-10 20:11 <yangoon> jal01: I would recommend to try the packages from backports.org, or upgrade at once to lenny
2009-02-10 20:12 <yangoon> +1
2009-02-10 20:13 <jal01> I'm working on genshi-update :)
2009-02-10 20:13 <jal01>
2009-02-10 20:13 <jal01> how is the full name of the pakage?
2009-02-10 20:14 <yangoon> jal01: python-genshi
2009-02-10 20:18 <jal01> yangoon: python-genshi, it's all?
2009-02-10 20:18 <jal01> sorry don't work :(
2009-02-10 20:18 <jal01> mayb a ex. coomand line?
2009-02-10 20:19 <ikks> jal01, if you are new to Debian, better install lenny
2009-02-10 20:19 <ikks> on your vm
2009-02-10 20:19 <ikks> the time spent will be less
2009-02-10 20:20 <jal01> all: why etch don't work?
2009-02-10 20:21 <yangoon> jal01: you have to do "apt-get install python-genshi", but before that you have to insert backports.org in the sources.list and update packages
2009-02-10 20:21 <yangoon> jal01: etch is *very* stable;)
2009-02-10 20:22 <yangoon> jal01: it is almost oldstable, as ikks says
2009-02-10 20:22 <yangoon> jal01: if you try in a VM, go for lenny
2009-02-10 20:25 <jal01> yangoo: thanks for your help, it's dont work :(
2009-02-10 20:25 <jal01> i try on VB. tomorrow i start with lenny. thanks for yor help :-)
2009-02-10 20:25 <jal01> one question: what about suse or fedora?
2009-02-10 20:26 <yangoon> jal01: it is a matter of taste, tryton works on all linux distros
2009-02-10 20:27 <jal01> yangoon: thanks
2009-02-10 20:28 -!- enlightx(n=enlightx@host-84-220-89-221.cust-adsl.tiscali.it) has joined #tryton
2009-02-10 20:29 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-02-10 20:32 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-02-10 20:49 <yangoon> anyone tested already tryton with psyco? do you use it?
2009-02-10 20:50 <cedk> yangoon: I did a long time ago
2009-02-10 20:51 <cedk> yangoon: and I think that bechamel try it recently
2009-02-10 20:52 <yangoon> cedk: did you have speed improvements?
2009-02-10 20:52 <cedk> yangoon: a little
2009-02-10 20:54 <cedk> yangoon: what is slow most of the time is postgresql
2009-02-10 20:55 <cedk> yangoon: in fact it is more that most of the time spend for a request is spend by postgresql and not the python code
2009-02-10 20:55 <yangoon> cedk: yes, better to speed up there
2009-02-10 20:56 <yangoon> cedk: indexing is rather done by postgres, I suppose
2009-02-10 20:56 <yangoon> cedk: if not done like in your patch for locations
2009-02-10 20:56 <cedk> yangoon: yes
2009-02-10 20:57 <cedk> yangoon: but we must be carefull with index
2009-02-10 21:06 <yangoon> http://www.slideshare.net/digitalsatori/openerp-effects-in-chinese
2009-02-10 21:08 <yangoon> they forgot to translate the brilliant smile of Richard
2009-02-10 21:14 <bechamel> yangoon: last time I tried trytond with psyco it was ok except when killing the server, crtl-c didn't work (but ctl-z did the trick)
2009-02-10 21:15 <yangoon> bechamel: but ctl-z only puts in background? or did it kill?
2009-02-10 21:17 <bechamel> yangoon: yes ctrl-z just suspend the process you need to type "kill -9 %1" after
2009-02-10 21:17 <cedk> yangoon: I suppose it was: crtl-z + kill -9 %1
2009-02-10 21:18 <yangoon> yes. ok, with that it should really go;)
2009-02-10 21:22 <cedk> yangoon: I guess it must have a solution for this issue
2009-02-10 21:27 <CIA-10> tryton: matb roundup * #773/NameError: global name 'ste' is not defined: [new] Printing Fin.Man./Reporting/Income Statement with selected periods (without selecting periods no crash): Traceback (most recent call last): ...
2009-02-10 21:58 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-02-10 22:14 -!- paola_(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-02-10 22:30 -!- paola_(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-02-10 22:54 <cedk> this is exactly what we will never do: http://openobject.com/forum/topic9175.html
2009-02-10 22:56 <panthera> ouch :/
2009-02-10 22:56 <panthera> a very bad one that is.
2009-02-10 22:57 <cedk> panthera: and even better we try to have migration at any time :-)
2009-02-10 22:59 <bechamel> cedk: except when I forgot it :)
2009-02-10 22:59 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2009-02-10 22:59 <cedk> bechamel: but I remember it to you :-)
2009-02-10 23:01 <cedk> panthera: for the package of OpenERP in Debian, I think it will be good to add a warning that migration will not work out of the box
2009-02-10 23:03 <panthera> cedk: the packages are 'dumb' anyway in the sense of that the admin has to setup and
2009-02-10 23:03 <panthera> take care about the db itself anyway.
2009-02-10 23:03 <panthera> for tryton, i'll be adding debconf support to it.
2009-02-10 23:04 <cedk> panthera: I don't know what is debconf?
2009-02-10 23:06 <panthera> cedk: did you ever used a debian system?
2009-02-10 23:07 <cedk> panthera: it was about ten years ago
2009-02-10 23:07 <panthera> ok. so i know how to explain it.
2009-02-10 23:08 <panthera> debconf is a framework that allowes packages to ask questions to the user at package installation time,
2009-02-10 23:08 <panthera> and act/react to the answers given.
2009-02-10 23:09 <cedk> panthera: ok
2009-02-10 23:09 <panthera> of course, one can preseed those answers to have it non-interactive if wished.
2009-02-10 23:09 <panthera> however. a user does 'apt-get install tryton-server' and the package will ask the user,
2009-02-10 23:09 <cedk> panthera: so you will add update database in it?
2009-02-10 23:09 <panthera> if it should setup a db, and if so, will ask for the users
2009-02-10 23:09 <cedk> panthera: great, like my ebuild :-)
2009-02-10 23:09 <panthera> , passwords, IPs etc.
2009-02-10 23:10 <panthera> yeah, other distributions do have other ways to acchieve the same i'm sure :)
2009-02-10 23:10 <panthera> in case of an upgrade, you can ask the user if tryton should update the db itself, or not.
2009-02-10 23:11 <cedk> panthera: yes, this is a good way
2009-02-10 23:11 <panthera> so, once we'll have all the packages in sid, i will work on that,
2009-02-10 23:11 <panthera> so any newbie can install and setup tryton without needing to touch any files,
2009-02-10 23:11 <panthera> but by just answering questions. or accepting its default values.
2009-02-10 23:11 <cedk> panthera: this sounds very good
2009-02-10 23:12 <panthera> ...and when done and i'm comfortable with it, i can build you live images for that
2009-02-10 23:13 <panthera> (as i happen to be the guy doing the debian live cds :)
2009-02-10 23:14 <cedk> panthera: bechamel had the idea to create a live CD for Tryton
2009-02-10 23:15 <panthera> what distribution does he use?
2009-02-10 23:15 <cedk> bechamel: ping
2009-02-10 23:16 <bechamel> cedk: yes i'm there
2009-02-10 23:16 <bechamel> panthera: debian
2009-02-10 23:16 <panthera> bechamel: so you're using live-helper then?
2009-02-10 23:17 <bechamel> panthera: it was just an idea, i didn't start anything yet
2009-02-10 23:17 <panthera> bechamel: ok :)
2009-02-10 23:17 <bechamel> panthera: I had the idea when i discoverd unetbootin
2009-02-10 23:17 -!- ikks_(n=igor@201.244.188.98) has joined #tryton
2009-02-10 23:18 <panthera> well, anyhow.. if you feel you need them earlier than i get arround to do it myself,
2009-02-10 23:18 <bechamel> panthera: the problem with a live cd is to provide image download
2009-02-10 23:19 <panthera> why? i can do them on live.debian.net as i do with official debian ones.
2009-02-10 23:19 <panthera> +the
2009-02-10 23:19 <bechamel> panthera: yes? this should be great
2009-02-10 23:19 <panthera> sure
2009-02-10 23:20 <bechamel> /should/would/
2009-02-10 23:20 <bechamel> cedk: this is not gentoo that can provide this kind if stuff .. ;)
2009-02-10 23:21 <panthera> for the sake of completeness and to finish my sentence from above:
2009-02-10 23:21 <panthera> 22:17:35 < panthera> well, anyhow.. if you feel you need them earlier than i get arround to do it myself,
2009-02-10 23:21 <panthera> feel free to do it yourself and send me your live-helper config directory so i'll autobuild them on live.debian.net.
2009-02-10 23:21 <cedk> bechamel: I can put download stuff on my webpage
2009-02-10 23:22 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-02-10 23:24 <panthera> a set currently consists of an iso image, an usb-hdd image, a netboot tarball, and the squashfs image for booting from the internet; plus the source tarball.
2009-02-10 23:24 <cedk> panthera: do you have a scheduled date for that?
2009-02-10 23:25 <panthera> assuming one would fill a cd with it, that would be 650+650+650+650+1300=3.9GB for one architecture,
2009-02-10 23:25 <panthera> and usually, you want at least i386 and amd64. so you would need 7.8GB webspace.
2009-02-10 23:26 <vengfulsquirrel> Does anyone know what could cause this? Its pretty cryptic: http://rafb.net/p/NwXqwW71.html
2009-02-10 23:26 <panthera> and if you want more than one tryton version at the time, e.g. release and devel, you multiply by two.
2009-02-10 23:27 <panthera> cedk: this week i'm busy with finishing tasks for univ. and lenny release;
2009-02-10 23:27 <panthera> cedk: next week i'll upgrading all machines to lenny; after that i start working on
2009-02-10 23:27 <panthera> regular packaging again. debconf stuff takes me about one week i'd say.
2009-02-10 23:28 <cedk> panthera: ok, it was just to have a idea of the time
2009-02-10 23:28 <panthera> and when done that, the livecds another day. so.. roughly that could be done in.. three weeks of now.
2009-02-10 23:28 <panthera> speaking about time.. what timeframe, roughly, is tryton 1.2 aiming for?
2009-02-10 23:29 <bechamel> vengfulsquirrel: the line just before your paste should give you where the error is
2009-02-10 23:29 <cedk> panthera: http://www.tryton.org/community/calendar.html
2009-02-10 23:30 <cedk> panthera: release 1.2 will be the 13 april
2009-02-10 23:30 <panthera> that's nice.
2009-02-10 23:31 <panthera> so we can coordinate if you want, so that you can release 1.2 and offer live systems for it at the same time.
2009-02-10 23:32 <cedk> panthera: great
2009-02-10 23:33 <panthera> great software as tryton deserves the effort
2009-02-10 23:33 <panthera> anway.. going to bed.. it's already late :/
2009-02-10 23:39 <vengfulsquirrel> bechamel: Hmm yeah I was pasting from the client, http://rafb.net/p/pRKnjE37.html, still doesn't seem to give much information. I think it might be caused by one of the modules I've written but its hard to tell what has caused it.
2009-02-10 23:43 <vengfulsquirrel> cedk: Hey the production module only has like 10 lines in it but I think I should probably put a license on it now so I don't have to think/worry about it later, should I just copy the licensing out of another module ?
2009-02-10 23:46 <cedk> vengfulsquirrel: for now it is your code so you put the license you want :-)
2009-02-10 23:46 <cedk> vengfulsquirrel: but if you want to have it later include in the base of Tryton, you must choose GPL-3
2009-02-10 23:47 <vengfulsquirrel> cedk: okay yeah i'm just oging to copy the gpl 3 and put my name in it and then i think that will be fine
2009-02-10 23:48 <cedk> vengfulsquirrel: I suggest you to follow the same way that what we do for other modules
2009-02-10 23:48 <cedk> vengfulsquirrel: one file LICENSE with the GPL-3 and one file COPYRIGHT with your copyright
2009-02-10 23:49 <cedk> vengfulsquirrel: and put the little sentence on top of each file
2009-02-10 23:49 <vengfulsquirrel> yeah okay thanks, i can do that
2009-02-10 23:51 <vengfulsquirrel> Also for that patch, I'm still trying to test it but somehow I broke my trytond install so it might be a while.

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