IRC logs of #tryton for Tuesday, 2009-09-08 #tryton log beginning Tue Sep 8 00:00:02 CEST 2009
-!- TiN_(n=TiN@ has joined #tryton00:13
CIA-2Mathias Behrle <> default * 209:4f7b053462f3 sale/de_DE.csv: Update translation for de_DE00:21
CIA-2Mathias Behrle <> default * 53:3139ec3a5a20 account_product/de_DE.csv: Update translation for de_DE00:22
CIA-2Mathias Behrle <> default * 501:d66af04272aa account/de_DE.csv: Update translation for de_DE00:23
CIA-2C?dric Krier <> default * 1998:6791f3478845 trytond/trytond/tests/ Fix arguments of search in unittest script00:28
CIA-2ced roundup * #1162/Unit test failing with "Wrong offset type (<type 'dict'>)!": [resolved] Fix with changeset 6791f347884500:28
-!- gremly(n=gremly@ has joined #tryton01:12
-!- ikks(n=ikks@ has joined #tryton02:59
-!- gremly(n=gremly@ has joined #tryton04:32
-!- yangoon( has joined #tryton05:19
-!- gremly(n=gremly@ has joined #tryton05:38
-!- udono1( has joined #tryton07:34
-!- Timitos(n=timitos@ has joined #tryton07:56
-!- gour(n=Gour@ has joined #tryton07:59
gouryangoon: morning. shall i put that patch for review?08:02
-!- sharkcz( has joined #tryton08:02
Timitosgour: which patch?08:09
gourTimitos: 'doc' patch fixing some typos08:10
Timitosgour: the advantage of putting the patch for review is that everybody who wants can easily browse through your changes and maybe can comment some typos as yangoon says that there are still some there.08:12
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:19
-!- vengfulsquirrel( has joined #tryton08:27
vengfulsquirrelcedk: Hey I was hoping to convert that sql dump for 1.2 to trunk do you think that's possible?08:28
cedkvengfulsquirrel: what sql dump?08:30
vengfulsquirrelcedk: The one you put online a day or two ago of the demo, I was going to try and feed it into an environment with trunk and the base modules to start trying to identify problems I'm having but WITHOUT my modules running.08:31
cedkvengfulsquirrel: normally, yes08:31
-!- enlightx( has joined #tryton08:36
-!- paepke( has joined #tryton08:40
vengfulsquirrelcedk: Okay well I've been trying it but I'm getting this, do you have any idea to get this to go away?
CIA-2C?dric Krier <> default * 1999:2d20900b6eb3 trytond/trytond/model/ Strip quote from cursor dict because some SQLite version return it.08:48
cedkvengfulsquirrel: it has been fixed08:49
gourTimitos: wiki doc says "assign the maintainer as reviewer". who is the one?08:50
Timitosgour: its cedk as the issue in the bugtracker is assigned to him08:56
CIA-2Carlos Perell? Mar?n <> default * 13:1082e6a0566e account_invoice_line_standalone/ ( es_ES.csv): Added es_ES translation09:02
vengfulsquirrelcedk: Fixed in trunk ?09:03
cedkvengfulsquirrel: yes09:04
cedkvengfulsquirrel: oups sorry not yet:
vengfulsquirrelthat's weird it didn't fail on my other sql dump, but yeah that seemed to have fixed the problem09:16
vengfulsquirrelcedk: Sorry I have two more items, did you see my doc issues in the bug tracker, they are starting to go very stale, also is there a way to force modules to be applied in a certain order without having to list one as depending on the other?  Mainly for the purposes of having super() chain up in a certain order.09:19
gourACTION will try to create his 1st issue for review09:20
cedkvengfulsquirrel: no, if you need a specific order so it must depend09:22
cedkvengfulsquirrel: the code will produce always the same order09:22
gourcedk: do i need to create patch with 'hg diff' in order to use script for uploading for codereview?09:27
CIA-2C?dric Krier <> default * 2000:72ffa1b0af9e trytond/trytond/model/ Backed out changeset 2d20900b6eb309:29
CIA-2C?dric Krier <> default * 2001:e71c18285c80 trytond/trytond/model/ Strip quote from cursor dict because some SQLite version return it.09:29
vengfulsquirrelgour: should actually be mercurial aware, at least in my experience09:29
gourvengfulsquirrel: i've (darcs) patch which I've applied to trytond trunk and put on bitbucket. now i'm not sure how to create issue with codereview app :-/09:30
gouri'll try to just upload the patch via web-site...and i'll put cedk' email as reviewer...09:33
gourthere is always that asbestos cave to hide in emergency case09:34
-!- bechamel( has joined #tryton09:41
gourcedk: i've created issue for codereview. is email sent automatically to the mailing list or should i do it manually?09:43
cedkgour: put the link on the issue09:44
gourcedk: so i have to post to the ml with the link or just add the link for the issue in the tracker?09:45
-!- carlos( has joined #tryton09:45
cedkgour: it depends of the audience of the issue09:48
gourcedk: i put you as reviewer and already (yesterday) created issue on the tracker. maybe just to add link to the issue in the tracker?09:50
CIA-2gour roundup * #1161/patch: fix typos for documentation:09:51
CIA-2Here is the link for codereview:09:51
cedkbechamel: I tested the speed of reduce_ids, it is about 10^-5 sec09:53
bechamelcedk: what was the lenght of the ids ?09:55
bechamelcedk: I was pondering on using a reduce() over the list of ids (and a custom method) to simplify the code09:57
cedkbechamel: 8009:57
cedkbechamel: I don't see how you could use reduce09:59
gouranyone using script for updating all the repos at once? i just executed it with '-u' and it did not update anything although the tip is from 6th :-/10:23
gourotoh, mercurial docs says that 1.3 has some equivalent of forest extension in the core...any plan to use it in tryton?10:24
vengfulsquirrelgour: hgforest should be used via, and you should be able to do hg fpull/hg fupdate10:24
vengfulsquirrelThat's what I do.10:24
gourhmm, i understood that tryton-dev-sh -u should work as well10:25
gourlet me try it10:25
gourhmm, it looks fpull does something :-)10:27
gourACTION is reading about hg's subrepos feature10:29
gourthere are way too many (D)VCS-es around and it would be nice, at least, to make interoperability between them easier in order not to have to learn so many different systems10:31
gourthere is new list at LP discussing it, maybe something will come out of it10:34
gourLaunchpad - here is the link
vengfulsquirrelgour: Yeah I guess I don't move between them very often.10:38
gourvengfulsquirrel: how to add new modules (like neso) to hgforest?10:39
vengfulsquirrelgour: Just clone it from the website into the modules directory.10:41
gourhmm, now i see that neso is not within /modules10:43
vengfulsquirrelgour: wait neso isn't a module, so that's not right10:43
vengfulsquirrelha I'm too late10:44
vengfulsquirrelyou tricked me, yeah but for modules that's how you would do it, but neso shouldn't be in the forest10:44
gourhow could i trick some tryton dev? it must be illusion ;)10:50
gourhgforest pulled all the modules in :-)10:50
vengfulsquirrelgour: Yes, but sometimes you will want to bring in a module that you weren't using when you originally ran
vengfulsquirrelgour: good luck though, i'm off, talk to you tomorrow10:59
gourvengfulsquirrel: it would be nice if hg's subrepos feature would be used in he future10:59
gourvengfulsquirrel: bye10:59
yangooncedk: why was it necessary to fix this sqlite issue rather in than in the backend? I would think that exactly this is the purpose of the backend: to handle database specific issues12:54
yangooncedk: /me talking of
cedkyangoon: the isssue happens only there and I think it will be to overload to try to fix every dictfetchall of sqlite12:55
bechamelcedk: maybe you should add a comment for it13:01
yangooncedk: I am not used to you making such compromises...;)13:01
cedkbechamel: it is in mercurial log13:01
-!- ikks(n=ikks@ has joined #tryton13:03
CIA-2C?dric Krier <> default * 2002:13dc3142f04a trytond/ (6 files in 6 dirs): Add new tool reduce_ids13:04
cedkyangoon: maybe, it is possible to put it in sqlite part without extra cost13:06
cedkyangoon, bechamel:
yangooncedk: I would prefer, yes13:11
bechamelcedk: awesome13:12
cedkbechamel: Legen - wait for it...13:14
cedkbechamel: ..Dary!13:14
CIA-2C?dric Krier <> default * 2003:5f85228e7753 trytond/trytond/ (backend/sqlite/ model/ Better fix for quote in dictionary of some SQLite version13:17
CIA-2 * r750 /wiki/ reduce_ids done14:01
CIA-2carlos roundup * #1163/Gettext / pyBabel support for translations:14:08
CIA-2[new] Hi,14:08
CIA-2I'm working on a branch to move Tryton to use Gettext's .po files to handle its translations.14:08
CIA-2Today, I finished a really basic pro ...14:08
gourcarlos: making translation process more standardized is great idea ;)14:24
pantheracarlos: much appreciated14:28
gourACTION sends carlos a fruit-cake as reward14:33
Timitoscedk: paepke: the mac client does not work on a powerpc mac. i tested it with a powerbook G4 and mac os x 10.4.1115:01
paepkeTimitos: thanks for this hint. good that i didn't bought one15:01
pantheraonce you have po files, one can aske for translations on debian-l10n list,15:03
pantheraso the debian translators of allover the world will take it up and do the work for you.15:03
carlosgour, panthera: your are welcome15:06
yangoonpanthera: you are talking about translation for new languages?15:06
yangoonpanthera: I doubt, that such specific translation can be done, if you are not familiar with the application15:08
pantherayangoon: i was speaking about 'all the not translated strings' for all the languages where there is a translator subscribed to the list and who is willing to translate it.15:10
pantheraalso, i think that for someone familiar with the terms (!= the application) can do a quite good translation,15:11
pantherait's not 100% perfect. but an 'only' ~90% perfect translation is imho not a problem.15:11
-!- woakas(n=woakas@ has joined #tryton15:28
-!- juanfer(n=juanfer@ has joined #tryton15:56
-!- _TiN_(i=ahenze@ has joined #tryton16:02
gouri got some comments for my codereview-issue. what is the common procedure? change/fix the 'code' as the comments are coming along or wait for some signal when the codereview is finished and then apply all the changes ans push to public repo (bitbucket)?16:15
cedkgour: fix and upload new patch16:16
gourcedk: ok. new patch should be uploaded as new issue or it is possible to upload to the same one?16:18
cedkgour: same one16:19
gourcedk: this is possible with script?16:19
cedkgour: -i id_issue16:20
cedkgour: --help16:20
gourcedk: thank you. useful script, right?16:21
gourcedk: in darcs it is practice to commit many small patches (e.g. 1/file) because of darcs' cherrypicking abylities, changesets are commutable then etc. what about hg/tryton? to commit separate change for each file or to commit everything at once?16:27
cedkgour: everything at once16:27
-!- enlightx( has joined #tryton16:51
CIA-2Bertrand Chenal <> default * 2004:535dbd909b37 trytond/trytond/model/ Removed required option to reflect db17:01
gourhmm, strange thing. after fixing files according to comments on codereview, my repo got few file.orig files17:07
gourACTION uploaded new patch with the fixes based on the comments17:10
gouryangoon: thank you for the comments for my 'doc patch'. it will really improve the docs17:23
gourwhat is tryton-appropriate 'hg diff' command to produce patch?17:34
gourACTION read the translation-thread on ml. interesting stuff17:42
Timitosgour: do a hg commit and then a hg export. it is explained here:
gourTimitos: if i commit and export, then won't be able to upload the diff ('cause it's already commited) ?17:54
Timitosgour: yes. i think so. i thought you where talking about the last version of the fix to be imported into the tryton repo.17:55
Timitosgour: i also added some comments on your patch. hope you noticed it.17:56
gourTimitos: i plan that instead of just uploading the patch (via hg export) i'll push to my public bitbucket repo17:57
gourTimitos: sure. just noticed ;)17:57
gourTimitos: i'll wait for some more before uploading new patch set17:59
Timitosgour: ok. i don't know exactly the process of providing a patch from a external repo. you need to ask cedk for this.18:00
gourTimitos: ok. i believe that if i provide public repo, it should be easy to merge from it and commit to trunk18:01
Timitosgour: i think so. but i am interested in the standard process for this case too. it should be documented18:02
gourACTION agrees, although with free hg-hosting is easy as well.18:03
gourTimitos: darcs has 'send' command to send a bundle over email. very convenient. maybe hg has something similar...i'm still very new with it18:04
gours/bundle/bundle containing the patch with the context/18:04
Timitosgour: it seems that there is an extension for this18:09
gourTimitos: heh, John Goerzen is haskell guy and was pretty familiar with darcs' advantages, although he moved to git :-/18:15
gourACTION regularly uses darcs, is somewhat familiar with bzr (although not recent development), now uses hg, but fomr git only: git clone & git pull :-)18:15
gourBryan O'Sullivan - author of Patchbomb extension - is another haskeller :-)18:17
-!- vengfulsquirrel( has joined #tryton18:21
-!- FWiesing(n=FWiesing@ has joined #tryton18:24
FWiesingACTION is away: Grad nicht vorm PC18:24
vengfulsquirrelDoes anyone know why these are stalling? ,
CIA-2C?dric Krier <> default * 14:482df19071ca account_invoice_line_standalone/ ( Prepare release 1.2.018:46
CIA-2C?dric Krier <> default * 15:7ea9c75b1be2 account_invoice_line_standalone/CHANGELOG: Add CHANGELOG18:46
CIA-2C?dric Krier <> default * 16:4f11f15dd7e2 account_invoice_line_standalone/.hgtags: Added tag 1.2.0 for changeset 7ea9c75b1be218:46
cedkvengfulsquirrel: no maintainer is in nosy list nor assigned18:48
vengfulsquirrelgreat, okay i'll fix that18:49
vengfulsquirrelif that's possible18:49
CIA-2C?dric Krier <> default * 17:eb5b15175d90 account_invoice_line_standalone/ Increase version number18:50
CIA-2C?dric Krier <> default * 17:1d1e1604970c account_invoice_line_standalone/ Increase version number18:51
CIA-2vengfulsquirrel roundup * #1118/Doc: Explaination of on_change, on_change_with and default for fields.: Update nosy list but setting assigned to nothing.18:51
CIA-2vengfulsquirrel roundup * #1117/Report Documentation: Update nosy list but unset assigned.18:52
jerojasroI have a form for a model, and when trying to save a new record for that model, tryton tells me that the form is invalid. where can I find more info about *why* it is invalid?18:54
jerojasrommm, nevermind. A missing field. sorry for the noise18:56
CIA-2C?dric Krier <> default * 17:9c98d5e9874c purchase_invoice_line_standalone/ ( CHANGELOG): Prepare release 1.2.019:06
CIA-2C?dric Krier <> default * 18:8ac51999a390 purchase_invoice_line_standalone/.hgtags: Added tag 1.2.0 for changeset 9c98d5e9874c19:06
CIA-2C?dric Krier <> default * 19:a0860ab6339a purchase_invoice_line_standalone/ Increase version number19:08
CIA-2C?dric Krier <> default * 19:b5aa0d143841 purchase_invoice_line_standalone/ Increase version number19:08
CIA-2C?dric Krier <> default * 292:60b2e88df878 gentoo-overlay/app-tryton/account_invoice_line_standalone/ (4 files): New ebuild19:10
CIA-2C?dric Krier <> default * 293:98a41951ac08 gentoo-overlay/app-tryton/purchase_invoice_line_standalone/ (4 files): New ebuild19:10
FWiesingACTION is back (gone 01:13:22)19:38
CIA-2C?dric Krier <> default * 18:c56c82594efa account_invoice_line_standalone/ (3 files in 2 dirs): Add test views20:16
CIA-2C?dric Krier <> default * 20:39e6b10523b6 purchase_invoice_line_standalone/ (3 files in 2 dirs): Add test views20:25
-!- FWiesing(n=FWiesing@ has left #tryton20:30
-!- FWiesing( has joined #tryton20:30
FWiesingACTION is away: Grad nicht vorm PC20:50
FWiesingACTION is back (gone 00:00:15)20:50
-!- carlos( has joined #tryton20:58
FWiesingACTION is away: Grad nicht vorm PC21:09
FWiesingACTION is back (gone 00:00:04)21:10
-!- enlightx( has joined #tryton21:20
-!- carlos( has joined #tryton21:42
-!- carlos( has joined #tryton21:57
CIA-2Timitos roundup * #1137/fix amount computation for differing currencies in PayInvoice: seems to be the better version. new patch attached21:58
-!- carlos( has joined #tryton22:14
-!- FWiesing( has left #tryton23:02

Generated by 2.11.0 by Marius Gedminas - find it at!