IRC logs of #tryton for Sunday, 2009-09-06 #tryton log beginning Sun Sep 6 00:00:02 CEST 2009
CIA-2vengfulsquirrel roundup * #1151/Local Cache Performance Problem: [new] I had an issue where loading sales took 3.5 minutes and trytond gained 50MB of ram and ran my cpu at 75% (according to the possibly inaccura ...00:16
-!- ikks(n=ikks@ has joined #tryton00:51
-!- FWiesing( has left #tryton02:01
-!- juanfer(n=juanfer@ has joined #tryton02:25
-!- gremly(n=gremly@ has joined #tryton02:26
-!- yangoon( has joined #tryton05:20
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:34
-!- FWiesing( has joined #tryton10:56
FWiesingACTION is away: Grad nicht vorm PC12:53
-!- gour(n=gour@ has joined #tryton13:35 * r748 /wiki/ Obfuscate email address18:03
CIA-2C?dric Krier <> default * 0:42597f52d2cc neso/ (17 files in 4 dirs): Initial commit of neso18:04
-!- gour(n=gour@ has joined #tryton18:05
CIA-2ced roundup * #1151/Local Cache Performance Problem:18:30
CIA-2[invalid] I think the problem comes from your code.18:30
CIA-2The changeset 9913a412cff8 fix an issue to not add to cursor cache Function fields because i ...18:30
-!- sharkcz( has joined #tryton18:36
gourACTION today had private exchange with one GNUmed developer who was asking about the reasons not to be involved with GNUMed development and tryton was mentioned as the example of one nicely organized project19:25
yangoongour had a look yesterday to medical19:50
yangoongour: you don't semm to be the only one having problems with the import19:51
yangoonthey just split the big xml into 3 parts to reduce memory consumption19:52
CIA-2matb roundup * #1152/ImportError: No module named tryton.client:20:09
CIA-2[new] (x86_64)mathiasb@obelix:~/bin/tryton/neso/bin$ ./neso -v20:09
CIA-2Traceback (most recent call last):20:09
CIA-2File "./neso", line 50, in <module>20:09
CIA-2imp ...20:09
gouryangoon: well, i got email from the dev today informing me about that20:12
gourwhere is the docs for the core modules, i.e. ir, res, workflow & what-is-the-last-one? report?20:13
CIA-2matb roundup * #1152/ImportError: No module named tryton.client:20:16
CIA-2[chatting] Ah ok, this is very hidden in INSTALL:20:16
CIA-2To use without installation, run ``bin/neso`` from where the archive was20:16
CIA-2unpacked. You must ha ...20:16
-!- carlos(n=carlos@ has joined #tryton20:28
carloscedk: around?20:28
CIA-2matb roundup * #1153/Extend tryton-dev to automatically download a full neso instance: [new] Extend tryton-dev with an option to automatically download a full neso instance.20:29
gourcedk: thank you for reply on ml. :-)20:30
gourneso is for those with 'embedded-needs' only?20:30
-!- plinux( has joined #tryton20:31
plinuxhello hello20:32
carlosDoes anyone able to tell me what's the ir_model_field table used for?20:33
cedkgour: yes, we did it to have demo version20:33
cedkcarlos: it reflect the fields on Model20:34
gourcedk: ok. we believe we won't have need for it (for now)20:35
cedkcarlos: and it will be used later to create fields from the client20:36
-!- vengfulsquirrel( has joined #tryton20:36
gouri see that modules are documented on the web site, what about ir, res, workflow, webdav, ie. core stuff?20:37
carloscedk: I see20:38
gourACTION would like to start learning for tryton development, and it is probably supposed than one uses core stuff20:38
carloscedk: ok, thanks20:38
carloscedk: about the translations, I will try to get them ready tonight20:39
-!- vengfulsquirrel( has joined #tryton20:39
vengfulsquirrelwow this irc client is killing me, hey cedk I'm pretty sure I don't extend get_amount at all20:40
gourACTION is now using weechat(-0.3.0) again20:41
gouryesterday when asking about equivalent of OSV for tryton i got this link -, but if i try to search google group for WizardOSV i get nothing :-/ any clue?20:42
vengfulsquirrelyeah i think i mentioned that yesterday as well20:42
vengfulsquirrelgour: I think the search doesn't work at all, at least not for me either.20:42
gourvengfulsquirrel: ahh, god to know ;)20:43
vengfulsquirrelgour: When I search for osv nothing comes back, I had to find it via the archives in my email20:43
vengfulsquirrelThere aren't many messages though I think you can page through them pretty fast.  Thought its inconvient.20:44
gourvengfulsquirrel: to find something then20:44
gourwhat about my other enquiry? doc for the core stuff?20:44
vengfulsquirrel*checking log*20:45
vengfulsquirrelI started a document for reports but its not complete.20:45
yangooncedk: bechamel: cool, first time testing sqlite support with neso, it's running pretty well! neso seems really good alternative as demo version. Kudos!20:48
gourACTION cannot believe there are no docs for 'ir', 'res' etc.20:50
gourvengfulsquirrel: thank you for updating 'helloworld'20:51
vengfulsquirrelgour: Yes yes yes, the docs are not adequate yet, they are progressing though20:52
vengfulsquirrelcedk: Do you think this could be causing my performance bug?
gourvengfulsquirrel: huh, how can one develop then without having some kind of 'api' for the core stuff? otoh, every other module has, at least, some tiny *.rst file20:54
gouryangoon: do you consider worth the effort of porting medical to tryton? i wonder how easy/difficult will be to keep it up-to-date?20:57
vengfulsquirrelgour: I guess yeah its hard, we are still a small group.  The quality of the forked code gets better with each day and the new code is of high quality from the start, which is what matters most to me.  The documentation has been gradually filling in but yeah its not yet complete.20:59
vengfulsquirrelgour: Do you mean how hard it will be to port changes from the original AFTER you have ported it?21:00
gourvengfulsquirrel: yep, after the port is finished at some level, how to 'merge' their changes?21:01
gourACTION is playing withe medical atm21:01
yangoongour: that's the crucial point: the updates. If you have a reliable source you make some scripts to parse the data into the models. But the question is: where did/do they get the data?21:01
vengfulsquirrelgour: Well you could try to programmatically port it and if that succeeded you would just have to maintain that script or scripts.  Do you have a link to this module's source?21:03
gourvengfulsquirrel: svn co medical21:04
gouryangoon: i'm not so concerned about the data, 'cause our needs are quite different. have you see my post on ml?21:04
cedkvengfulsquirrel: you should add: print traceback.print_stack21:05
cedkvengfulsquirrel: where you put the logging21:05
yangoonvengfulsquirrel: gour I don't think that it makes sense to  just port the available xml files to tryton. it is much better to develop the data model in tryton and the to parse the data in.21:05
gourotherwise, i'd just play with medical to get some ideas, and start developing from scratch using tryton's infrastructure21:05
cedkACTION bbl21:05
vengfulsquirrelcedk: Okay that will take me about 4-5 hours to setup21:05
yangoongour medical for me is indeed a pure 'dictionary', there is no logic inside besides the models21:06
yangoongour: so it can serve you as sample, if you only need the data structure21:07
gouryangoon: well, i'd need the complete solution (as described in the group's post), so it seems better to write JUST what we need in tryton instead of jumping between openerp & tryton21:09
yangoongour: if you don't need the data (don't you need them really?) just develop in tryton what you need, yes.21:10
vengfulsquirrelI don't understand the purpose of neso, is it just for demoing ?21:10
yangoonvengfulsquirrel: you don't have to configure the database21:11
yangoonvengfulsquirrel: it runs almost out of the box21:12
gourif you guys write tryton stuff, and it looks you do, and considering there is no docs for core stuff, you must be quite familiar with openerp and how it evolved into tryton and/or reading lot of tryton core code...21:12
vengfulsquirrelgour: I am not familiar with openerp at all and I couldn't get it to install21:14
vengfulsquirreland I've written about 10 modules21:14
vengfulsquirrelyangoon: weird, but its just sqlite right?  Who would use it ?21:15
yangoonvengfulsquirrel: yes, but it is ok for a fast evaluation and demo21:16
gourvengfulsquirrel: usually one, at least, uses API of the to become familiar what is where? and what do you suggest me for starting with tryton development? (fortunately, openerp package for archlinux worked, so i could install it) :-)21:16
gours/familiar/familiar with/21:17
gouryangoon: the common denominator for sqlite and postgresql must be limited, right?21:17
vengfulsquirrelgour: Well they both operate with sql21:18
gourthat's why i wonder how serious stuff can be provided via neso21:18
gourvengfulsquirrel: right, but sqlite3 misses some stuff, afaik21:19
vengfulsquirrelgour: Well I just do what someone said earlier.  0. read the docs that exist 1. start writing a module 2. copy functionality from other modules that have what i want 3. if there are not other modules ask in here21:19
gourvengfulsquirrel: it sound like reverse-engineering, isn't it?21:19
yangoongour I never would use sqlite for a production system, but it is the answer to have a quick installed all-in-one package for evaluation. and I agree with cedk that postgres should be configured separately and not packaged with tryton.21:22
gouri agree with it as well21:22
gourACTION was thinking to use sqlite3 as back-end for another desktop, but not for erp-like one21:23
vengfulsquirrelgour: Yeah I guess, but eventually after a few repetitions of that it all comes together.21:25
gourvengfulsquirrel: i hope it will happen in my case too21:26
yangoonACTION food21:26
CIA-2vengfulsquirrel * r749 /wiki/ Updated wording of Project Organization.21:59
CIA-2xuard roundup * #1154/Neso : user creation is not possible error UTF 8:22:21
CIA-2[new] I tried to use neso.22:21
CIA-2Fabulous work !22:21
CIA-2I want to create a user xuard and I receive : error utf822:21
CIA-2ERROR:dispatcher:Exception calling method ...22:21
CIA-2vengfulsquirrel roundup * #1151/Local Cache Performance Problem:22:46
CIA-2File "/usr/lib64/python2.6/", line 497, in __bootstrap22:46
CIA-2self.__bootstrap ...22:46
vengfulsquirrelcedk: Can you put the code that generates the demo's database somewhere?  Or put the raw sql dump of the database somewhere?  I need it to generate a testing environment for products, sales and locations of a large magnitude to try and see if other performance problems I have happen when my modules are not installed.22:49
vengfulsquirrelPerformance problems are the last thing I need to solve before my company's initial tryton implementation is complete.22:51
-!- carlos( has joined #tryton22:57
vengfulsquirrelcedk: perfect, thanks, did you have time to look at my traceback ?23:30
CIA-2ced roundup * #1151/Local Cache Performance Problem: [chatting] Did you get sales with a lot of lines?23:30
CIA-2ced roundup * #1152/ImportError: No module named tryton.client:23:33
CIA-2[invalid] In README, it is said to read INSTALL.23:33
CIA-2And for me the error message is clear.23:33
CIA-2vengfulsquirrel roundup * #1151/Local Cache Performance Problem:23:36
CIA-2SELECT sale, COUNT(*) AS lines FROM sale_line GROUP BY sale ORDER BY lines DESC;23:36
CIA-2sale | lines23:36
CIA-291 | 8923:36
CIA-290 | 8923:36
CIA-2vengfulsquirrel roundup * #1151/Local Cache Performance Problem: Note that some sales were duplicated so that prior sale could be canceled and a change could be made. For example that is why there are two sales ...23:38
cedkvengfulsquirrel: can you give me a dump of your database?23:43
vengfulsquirrelHmm it has customer information in it and I have a bunch of modules so I'd have to give you all those too to run it.23:45
vengfulsquirrelcedk: Is there any way to be more selective about the data you need?23:45
CIA-2C?dric Krier <> default * 1989:c968de12f60a trytond/trytond/model/ Pass local_cache to BrowseRecord instanciated in BrowseRecord for issue115123:51
CIA-2ced roundup * #1151/Local Cache Performance Problem: [resolved] Fixed with changeset c968de12f60a23:52
cedkvengfulsquirrel: no more need of dump :-)23:53

Generated by 2.11.0 by Marius Gedminas - find it at!