IRC logs of #tryton for Monday, 2010-08-30

chat.freenode.net #tryton log beginning Mon Aug 30 00:00:02 CEST 2010
2010-08-30 00:37 -!- sharoon(~sharoon@vpn22.its.manchester.ac.uk) has joined #tryton
2010-08-30 02:36 -!- tony__(~tony@116.233.241.167) has joined #tryton
2010-08-30 02:43 -!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton
2010-08-30 05:18 -!- yangoon(~mathiasb@p549F51F5.dip.t-dialin.net) has joined #tryton
2010-08-30 05:59 -!- gremly(~gremly@190.26.158.160) has joined #tryton
2010-08-30 06:26 -!- daniel(~daniel@adsl-99-94-153-118.dsl.chcgil.sbcglobal.net) has joined #tryton
2010-08-30 06:59 -!- daniel(~daniel@adsl-99-94-153-118.dsl.chcgil.sbcglobal.net) has joined #tryton
2010-08-30 07:07 -!- daniel(~daniel@adsl-99-94-153-118.dsl.chcgil.sbcglobal.net) has joined #tryton
2010-08-30 07:18 -!- daniel(~daniel@adsl-99-94-153-118.dsl.chcgil.sbcglobal.net) has joined #tryton
2010-08-30 07:22 -!- paepke(~paepke@p4FEB2449.dip0.t-ipconnect.de) has joined #tryton
2010-08-30 07:25 -!- daniel(~daniel@adsl-99-94-153-118.dsl.chcgil.sbcglobal.net) has joined #tryton
2010-08-30 07:31 -!- daniel(~daniel@adsl-99-94-153-118.dsl.chcgil.sbcglobal.net) has joined #tryton
2010-08-30 07:41 -!- eLBati(~elbati@94.161.4.157) has joined #tryton
2010-08-30 07:44 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-08-30 07:47 <daniel> hello?
2010-08-30 07:47 <paepke> good morning danil
2010-08-30 07:47 <paepke> well at least in europe :-)
2010-08-30 07:50 <daniel> ha!
2010-08-30 07:50 <daniel> late night working here in chicago
2010-08-30 07:52 <paepke> daniel, its 7.50. way to early ;-)
2010-08-30 07:58 -!- mr_amit(~amit@117.254.29.87) has joined #tryton
2010-08-30 08:12 -!- tony__(~tony@116.233.241.167) has joined #tryton
2010-08-30 08:17 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-08-30 09:15 -!- udono(~udono@dynamic-unidsl-85-197-21-182.westend.de) has joined #tryton
2010-08-30 09:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-08-30 09:43 -!- eLBati(~elbati@93.37.65.117) has joined #tryton
2010-08-30 09:46 -!- tony__(~tony@116.233.241.167) has joined #tryton
2010-08-30 09:57 <mr_amit> I am having this error with new database: http://pastebin.com/R64sevS5
2010-08-30 09:59 <mr_amit> with latest revisions from the mercurial repos.
2010-08-30 10:01 <cedk> mr_amit: are you using the last version of the client?
2010-08-30 10:01 <mr_amit> yes
2010-08-30 10:01 <mr_amit> I mean from mercurial repo
2010-08-30 10:02 <cedk> mr_amit: what are you doing?
2010-08-30 10:02 <mr_amit> creating new db from client
2010-08-30 10:02 <mr_amit> but unable to connect
2010-08-30 10:03 <mr_amit> database is created but when I try to connect to this new db
2010-08-30 10:04 <mr_amit> it gives me this error
2010-08-30 10:07 <cedk> mr_amit: I can not reproduce, I really think you don't have the last revision of the client
2010-08-30 10:07 <mr_amit> let me check again
2010-08-30 10:07 <mr_amit> it's latest revison
2010-08-30 10:07 <mr_amit> * revision
2010-08-30 10:08 <mr_amit> ok, I forget `hg up`
2010-08-30 10:08 <mr_amit> let me try again
2010-08-30 10:09 <mr_amit> okay, it's working!
2010-08-30 10:09 <mr_amit> thanks!
2010-08-30 10:09 <sejo> hmm latest openoffice documents not compatible?
2010-08-30 10:10 <cedk> sejo: which version of relatorio?
2010-08-30 10:10 <sejo> cedk: python-relatorio-0.4.1-1.el5
2010-08-30 10:11 <cedk> sejo: update to 0.5.5
2010-08-30 10:11 <sejo> cedk: ok thx
2010-08-30 10:14 <sejo> hmm still corrupt invoice.edt
2010-08-30 10:14 <sejo> odt
2010-08-30 10:15 -!- Red15(~red15@unaffiliated/red15) has joined #tryton
2010-08-30 10:19 <sejo> ok heve the issue when i attach an image
2010-08-30 10:20 <cedk> sejo: I think that your invoice.odt is stored in the database
2010-08-30 10:20 <cedk> sejo: so you need to reset it
2010-08-30 10:21 <sejo> hmm how do I do that?
2010-08-30 10:21 <cedk> sejo: in SQL :-)
2010-08-30 10:22 <cedk> it is the column invoice_report of account_invoice table
2010-08-30 10:27 -!- gsp(~sge@91.113.145.226) has joined #tryton
2010-08-30 10:28 <sejo> hmm the invoice isn't saved yet
2010-08-30 10:28 <sejo> I jus try to do the direct print
2010-08-30 10:30 <cedk> sejo: so fill an issue with the odt generated
2010-08-30 10:31 <sejo> http://bugs.tryton.org/roundup/issue1507
2010-08-30 10:32 <sejo> i have the same issue
2010-08-30 10:32 <gsp> cedk: Hi! I was just browsing through the models and ORM-ish components of tryton and started wondering about some of the basics - I figured you'd be the right person to turn to concerning tryton's core...
2010-08-30 10:32 <sejo> just going to remove the image
2010-08-30 10:36 <cedk> sejo: ok
2010-08-30 10:37 <cedk> gsp: yes
2010-08-30 10:39 <gsp> cedk: While the tryton's internal orm-capabilities seem cover pretty much all standard scenarios, it's still sort of a pain to follow it's schematics and control the fetch-behaviour etc.
2010-08-30 10:39 <gsp> cedk: Having worked with SQL-Alchemy before (and knowning there's quite a few other well-tested ORM-implementations in python out there) I was wondering why no existing library was used and integrated in Tryton
2010-08-30 10:40 <gsp> cedk: Barely a legacy of OpenERP or are there any performance-wise considerations behind this?
2010-08-30 10:40 <cedk> gsp: because we inherit it from OpenERP
2010-08-30 10:42 <cedk> gsp: and also we need to have a domain representation that is language independent
2010-08-30 10:47 <cedk> gsp: what is missing is a way to make "group by" queries with aggregation
2010-08-30 10:47 <cedk> gsp: and also having the second operand being a field
2010-08-30 10:50 <cedk> gsp: but I'm thinking about a way to use SQLAlchemy expression
2010-08-30 10:51 <gsp> cedk: I'm just trying to understand what you mean by language-independent / how is that not possible with sqla?
2010-08-30 10:52 <cedk> gsp: the search method is callable from xml-rpc, json-rpc etc.
2010-08-30 10:53 <cedk> gsp: so the aguments of search must be represantable in those language
2010-08-30 10:54 <cedk> gsp: that is why we have stuff like that: [('name', '=', 'foo'), ('date', '>=', datetime.date.today())]
2010-08-30 10:56 <gsp> cedk: I see; what would stop you from parsing this in an intermediate layer of python though? As far as I know the SQLA Expression are pretty powerful; I might fail to see some of the complexity though, not having seen all that much of tryton's core and rpc-interface
2010-08-30 10:57 <cedk> gsp: yes it could be possible
2010-08-30 11:01 <cedk> gsp: I'm thinking about using Table reflection and then allow to use SA expression for search etc.
2010-08-30 11:02 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-08-30 11:15 <gsp> cedk: I realize this isn't exactly a project done in a weekend, but what would be your estimated workload of implementing SQLA as the db-backend? Any great pitfalls one might anticipate?
2010-08-30 11:18 <cedk> gsp: I don't know. I need to analyze more SQLAlchemy to be sure to select the right way
2010-08-30 11:23 -!- digitalsatori(~tony@116.233.241.112) has joined #tryton
2010-08-30 11:27 -!- tony__(~tony@116.233.246.164) has joined #tryton
2010-08-30 12:06 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-08-30 12:09 <cedk> gsp: I think we could achieve it in 2 months
2010-08-30 12:09 <cedk> gsp: but I have some other stuffs to do before
2010-08-30 12:27 <paepke> cedk, do you want to replace the current orm or just have the same syntax?
2010-08-30 12:34 -!- sharoon(~sharoon@vpn103.its.manchester.ac.uk) has joined #tryton
2010-08-30 12:49 <cedk> paepke: just use the expression
2010-08-30 12:49 <cedk> paepke: and keep the Tryton ORM/Model
2010-08-30 12:51 <paepke> cedk, ok. ic.
2010-08-30 12:52 <cedk> paepke: and then replace perhaps the search by a select (like in SA)
2010-08-30 12:55 <paepke> cedk, haven't used SA in the past. only the django orm.
2010-08-30 13:52 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-08-30 14:21 <cedk> yangoon: hi, can you put a comment when editing the wiki? It is easier to understand the change. Thanks
2010-08-30 14:22 <yangoon> cedk: I hit the submit button by accident just before doing the comment:(
2010-08-30 14:24 <cedk> yangoon: ha ok
2010-08-30 14:53 -!- eLBati(~elbati@93.37.66.37) has joined #tryton
2010-08-30 15:02 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-08-30 15:37 -!- pheller(~pheller@c1fw236.constantcontact.com) has joined #tryton
2010-08-30 16:07 -!- digitalsatori(~tony@116.233.245.126) has joined #tryton
2010-08-30 16:15 -!- gremly(~gremly@190.147.153.61) has joined #tryton
2010-08-30 16:25 -!- gsp(~sge@91.113.145.226) has left #tryton
2010-08-30 16:44 -!- eLBati(~elbati@93.37.66.37) has joined #tryton
2010-08-30 17:22 <pheller> procurement scheduling is considered a part of MRP, and therefore not yet implemented in Tryton, correct?
2010-08-30 17:24 <cedk> pheller: do you mean generating purchase based on stock level ?
2010-08-30 17:28 <pheller> cedk: yes
2010-08-30 17:36 <cedk> pheller: it is done in stock_supply
2010-08-30 17:37 <pheller> cedk: ah ha, ok, thanks
2010-08-30 18:11 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-08-30 18:38 <pheller> cedk: ok, so stock_supply does orderpoints, but not "make to order"?
2010-08-30 18:42 <bechamel> pheller: "make to order" needs mrp
2010-08-30 18:42 <pheller> bechamel: ok, that's what I expected. Thanks
2010-08-30 18:43 <pheller> Has anyone thought about using Celery for periodic and/or distributed task execution?
2010-08-30 18:43 <pheller> http://celeryq.org/docs/getting-started/first-steps-with-celery.html
2010-08-30 18:44 -!- sharoon(~sharoon@vpn48.its.manchester.ac.uk) has joined #tryton
2010-08-30 18:53 <udono> pheller: I met a lecture on FROSCON about celery and found it very interesting, too.
2010-08-30 18:54 <pheller> I wonder if it might be an alternative to ir.cron ....?
2010-08-30 18:54 <pheller> specifically, I have some workflows that created a new thread on the server in OpenERP.
2010-08-30 18:55 <pheller> .... I think a celery task is a far simpler way to do it.
2010-08-30 18:55 <pheller> and is more intuitive than using ir.cron to launch a next action
2010-08-30 18:56 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-08-30 18:57 <udono> pheller: unsure about this, my target was more to reserch amqp binding to use trytond as a producer/consumer
2010-08-30 18:57 <pheller> udono: ah, also an interesting thought
2010-08-30 19:02 -!- pheller(~pheller@c1fw236.constantcontact.com) has left #tryton
2010-08-30 19:02 -!- pheller(~pheller@c1fw236.constantcontact.com) has joined #tryton
2010-08-30 19:03 -!- pheller(~pheller@c1fw236.constantcontact.com) has joined #tryton
2010-08-30 19:18 -!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton
2010-08-30 19:18 -!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton
2010-08-30 19:32 <cedk> pheller: in fact all you need is threads
2010-08-30 19:33 <pheller> cedk: yes, only celery makes it simple to distribute those threads if they take a lot of resources. Only thinking out loud :-)
2010-08-30 19:33 <cedk> pheller: this kind of programming works only for some kind of algorithm
2010-08-30 19:33 <cedk> pheller: I don't see right now usage in business software
2010-08-30 19:35 <pheller> I would agree -- it's not for things like running a workflow for closing an accounting period..... it maybe makes some sense for the IT provisioning tasks I'm working with....
2010-08-30 19:35 <cedk> pheller: so I guess it will be external at Tryton core
2010-08-30 19:36 <pheller> cedk: yes. Perhaps a good entry for a faq "how can I distribute workflow tasks to other computers"
2010-08-30 19:41 <cedk> pheller: I still don't understand what you want to do
2010-08-30 19:42 <pheller> cedk: a good example might be to collect the configurations os many network devices (in my job, I sometimes deal with > 10,000 routers). This process sometimes takes 1 hour or more, even when running many threads.... It might be useful to spread the workload across several machines.
2010-08-30 20:20 -!- eLBati(~elbati@94.160.8.234) has joined #tryton
2010-08-30 20:32 -!- paepke(~paepke@p5B32B045.dip.t-dialin.net) has joined #tryton
2010-08-30 20:54 -!- zodman(~Miranda@200.76.52.125) has joined #tryton
2010-08-30 20:55 <zodman> hi dudes i happy to see my nick on pyconfr xD
2010-08-30 20:58 -!- bechamel(~user@host-85-201-147-56.brutele.be) has joined #tryton
2010-08-30 21:10 -!- enlightx(~enlightx@dynamic-adsl-94-34-211-122.clienti.tiscali.it) has joined #tryton
2010-08-30 21:19 <woakas> zodman: rocks :)
2010-08-30 21:26 <paepke> zodman, great. now youre famous
2010-08-30 21:28 -!- sharoon_(~sharoon@vpn9.its.manchester.ac.uk) has joined #tryton
2010-08-30 22:15 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2010-08-30 23:07 -!- sharoon(~sharoon@vpn9.its.manchester.ac.uk) has joined #tryton
2010-08-30 23:36 -!- pheller(~pheller@2002:ad30:d8c3:0:fa1e:dfff:fee6:aabf) has joined #tryton
2010-08-30 23:41 -!- gremly(~gremly@190.147.153.61) has joined #tryton
2010-08-30 23:58 -!- gremly(~gremly@190.147.153.61) has joined #tryton

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