chat.freenode.net #tryton log beginning Thu Sep 3 00:00:02 CEST 2009 | ||
2009-09-03 00:19 -!- _TiN_(i=ahenze@190.0.162.41) has joined #tryton | ||
2009-09-03 00:22 -!- yangoon(n=mathiasb@p549F3052.dip.t-dialin.net) has joined #tryton | ||
2009-09-03 00:23 -!- yangoon(n=mathiasb@p549F3052.dip.t-dialin.net) has joined #tryton | ||
2009-09-03 01:04 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton | ||
2009-09-03 01:14 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1978:448c5a919032 trytond/trytond/backend/sqlite/database.py: Add split_part function to SQLite | ||
2009-09-03 01:14 <CIA-2> http://hg.tryton.org/trytond/rev/448c5a919032 | ||
2009-09-03 01:16 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton | ||
2009-09-03 01:39 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has left #tryton | ||
2009-09-03 02:38 -!- ikks_(n=ikks@190.158.123.5) has joined #tryton | ||
2009-09-03 05:10 -!- paepke(n=paepke@p5B32F51B.dip.t-dialin.net) has joined #tryton | ||
2009-09-03 05:18 -!- yangoon(n=mathiasb@84.159.99.78) has joined #tryton | ||
2009-09-03 05:28 -!- gremly(n=gremly@190.156.166.163) has joined #tryton | ||
2009-09-03 05:58 -!- gremly(n=gremly@190.156.166.163) has joined #tryton | ||
2009-09-03 06:39 -!- ChanServ(ChanServ@services.) has joined #tryton | ||
2009-09-03 06:39 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton | ||
2009-09-03 06:39 -!- udono(n=udono@dynamic-unidsl-85-197-19-166.westend.de) has joined #tryton | ||
2009-09-03 06:40 -!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton | ||
2009-09-03 06:40 -!- CIA-2(n=CIA@208.69.182.149) has joined #tryton | ||
2009-09-03 06:40 -!- yangoon(n=mathiasb@84.159.99.78) has joined #tryton | ||
2009-09-03 06:40 -!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton | ||
2009-09-03 07:32 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton | ||
2009-09-03 07:52 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2009-09-03 07:52 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton | ||
2009-09-03 07:52 -!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton | ||
2009-09-03 07:52 -!- CIA-2(n=CIA@208.69.182.149) has joined #tryton | ||
2009-09-03 08:01 -!- paepke(n=paepke@smtp.metaldyne.de) has joined #tryton | ||
2009-09-03 08:23 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton | ||
2009-09-03 08:24 -!- gour(n=gour@93.159.70.227) has joined #tryton | ||
2009-09-03 08:25 <gour> huh, was already afraid something happened with #tryton, but it was just net-split :-) | ||
2009-09-03 08:25 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2009-09-03 08:25 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton | ||
2009-09-03 08:25 -!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton | ||
2009-09-03 08:25 -!- CIA-2(n=CIA@208.69.182.149) has joined #tryton | ||
2009-09-03 08:38 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2009-09-03 08:38 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton | ||
2009-09-03 08:39 -!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton | ||
2009-09-03 08:39 -!- CIA-2(n=CIA@208.69.182.149) has joined #tryton | ||
2009-09-03 08:40 -!- carlos(n=carlos@17.156.221.87.dynamic.jazztel.es) has joined #tryton | ||
2009-09-03 08:41 -!- Timitos(n=timitos@88.217.184.172) has left #tryton | ||
2009-09-03 08:42 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton | ||
2009-09-03 08:45 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has left #tryton | ||
2009-09-03 09:33 -!- udono(n=udono@dynamic-unidsl-85-197-19-166.westend.de) has joined #tryton | ||
2009-09-03 09:45 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1394:fccc77af5d8f tryton/tryton/gui/window/ (dbcreate.py dbdumpdrop.py dbrestore.py): Remove old url for server connection | ||
2009-09-03 09:45 <CIA-2> http://hg.tryton.org/tryton/rev/fccc77af5d8f | ||
2009-09-03 10:09 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2009-09-03 10:10 -!- enlightx(n=enlightx@217.202.69.160) has joined #tryton | ||
2009-09-03 10:19 -!- bechamel(n=user@host-85-201-159-186.brutele.be) has joined #tryton | ||
2009-09-03 10:23 -!- cristi_an(i=5978d3ce@gateway/web/freenode/x-kvobfkibtecbuwya) has joined #tryton | ||
2009-09-03 11:02 <gour> if i'd make the module for handling patients in tryton and would like to use it as database back-end for another desktop app written in haskell, what would be the optimal protocol for communication between haskell client and tryton? | ||
2009-09-03 11:09 <Timitos> gour: i think xml-rpc or net-rpc. there are some code snippets in the wiki: http://code.google.com/p/tryton/wiki/CodeSnippets | ||
2009-09-03 11:12 <cedk> netrpc is only for python | ||
2009-09-03 11:17 <gour> yeah...there is xml-rpc for haskell | ||
2009-09-03 11:25 -!- carlos(n=carlos@17.156.221.87.dynamic.jazztel.es) has joined #tryton | ||
2009-09-03 12:07 <CIA-2> Bertrand Chenal <bch@b2ck.com> default * 1979:7ae301ff234a trytond/trytond/ir/date.py: Allow rpc on today() of ir.date | ||
2009-09-03 12:07 <CIA-2> http://hg.tryton.org/trytond/rev/7ae301ff234a | ||
2009-09-03 12:07 <CIA-2> Bertrand Chenal <bch@b2ck.com> default * 81:2de072dd2ce8 currency/currency.py: Allow rpc of compute() | ||
2009-09-03 12:07 <CIA-2> http://hg.tryton.org/modules/currency/rev/2de072dd2ce8 | ||
2009-09-03 12:07 <CIA-2> Bertrand Chenal <bch@b2ck.com> default * 82:9aaba992833d currency/currency.py: Added ondelete cascade between currency and rate | ||
2009-09-03 12:07 <CIA-2> http://hg.tryton.org/modules/currency/rev/9aaba992833d | ||
2009-09-03 12:07 <CIA-2> Bertrand Chenal <bch@b2ck.com> default * 83:c9751bbe5a11 currency/tests/test_currency.py: Added tests | ||
2009-09-03 12:07 <CIA-2> http://hg.tryton.org/modules/currency/rev/c9751bbe5a11 | ||
2009-09-03 12:19 <CIA-2> Bertrand Chenal <bch@b2ck.com> default * 84:02bb9c322eb6 currency/currency.py: Fix _rpc usage | ||
2009-09-03 12:19 <CIA-2> http://hg.tryton.org/modules/currency/rev/02bb9c322eb6 | ||
2009-09-03 12:27 -!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton | ||
2009-09-03 12:27 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2009-09-03 12:28 -!- yangoon(n=mathiasb@84.159.99.78) has joined #tryton | ||
2009-09-03 12:32 <CIA-2> matb roundup * #1147/Tax rounding issue with one line: | ||
2009-09-03 12:32 <CIA-2> [new] Creating an invoice line with | ||
2009-09-03 12:32 <CIA-2> 123.75 h x 50 and tax 19% results in tryon to base 6187.50 and tax amount 1175.62 | ||
2009-09-03 12:32 <CIA-2> but it calculates to 1175 ... | ||
2009-09-03 12:32 <CIA-2> http://bugs.tryton.org/roundup/issue1147 | ||
2009-09-03 12:38 <CIA-2> Bertrand Chenal <bch@b2ck.com> default * 1980:3b464dfd0453 trytond/trytond/ir/date.py: Fix _rpc usage | ||
2009-09-03 12:38 <CIA-2> http://hg.tryton.org/trytond/rev/3b464dfd0453 | ||
2009-09-03 12:46 <CIA-2> ced roundup * #1147/Tax rounding issue with one line: | ||
2009-09-03 12:46 <CIA-2> [invalid] It is correct. The rounding method uses is half to even. | ||
2009-09-03 12:46 <CIA-2> http://en.wikipedia.org/wiki/Rounding#Round_half_to_even | ||
2009-09-03 12:46 <CIA-2> http://bugs.tryton.org/roundup/issue1147 | ||
2009-09-03 12:59 <CIA-2> paepke roundup * #1147/Tax rounding issue with one line: | ||
2009-09-03 12:59 <CIA-2> [chatting] at least in germany there is a DIN 1333 Norm: http://de.wikipedia.org/wiki/DIN_1333 | ||
2009-09-03 12:59 <CIA-2> these are the examples extracted from the german ... | ||
2009-09-03 12:59 <CIA-2> http://bugs.tryton.org/roundup/issue1147 | ||
2009-09-03 12:59 <CIA-2> matb roundup * #1147/Tax rounding issue with one line: Ok, then we will have to discuss for Germany, if this method is acceptable according to German accounting provisions. Because AFAIK in Germany we ... | ||
2009-09-03 12:59 <CIA-2> http://bugs.tryton.org/roundup/issue1147 | ||
2009-09-03 13:10 <CIA-2> ced roundup * #1147/Tax rounding issue with one line: I find that the half away from zero is not good for accounting because there is never or not very often negative amount to counterbalance the uppe ... | ||
2009-09-03 13:10 <CIA-2> http://bugs.tryton.org/roundup/issue1147 | ||
2009-09-03 13:28 <CIA-2> matb roundup * #1148/Client does not connect to server started afterwards: [new] If the server is started after the client (or restarted), the client does not connect any more, but has to be restarted, too. | ||
2009-09-03 13:28 <CIA-2> http://bugs.tryton.org/roundup/issue1148 | ||
2009-09-03 13:53 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton | ||
2009-09-03 14:47 -!- woakas(n=woakas@190.144.69.234) has joined #tryton | ||
2009-09-03 14:50 -!- _TiN_(i=ahenze@190.0.162.41) has joined #tryton | ||
2009-09-03 15:53 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton | ||
2009-09-03 15:57 -!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2009-09-03 16:28 <CIA-2> Bertrand Chenal <bch@b2ck.com> default * 202:df9ed75b68ff stock_supply/product.py: Removed dead code | ||
2009-09-03 16:28 <CIA-2> http://hg.tryton.org/modules/stock_supply/rev/df9ed75b68ff | ||
2009-09-03 17:18 <gour> i was wondering why trytond is failing to start here and after enabling stdin/stderr in init script i found out the following - http://dpaste.com/89126/ | ||
2009-09-03 17:18 <gour> is it possible to get some more gracious feedback due to wrong paths in trytond.conf ? | ||
2009-09-03 17:21 -!- ovnicraft(n=ovnicraf@192.188.48.254) has joined #tryton | ||
2009-09-03 17:27 <gour> cedk: here is the mail i got from medical dev - http://dpaste.com/89129/ | ||
2009-09-03 17:35 <bechamel> gour: he didn't care to answer your question | ||
2009-09-03 17:37 <gour> bechamel: well, he is, at least, informed about it | ||
2009-09-03 17:38 <bechamel> gour: yes | ||
2009-09-03 17:40 <gour> bechamel: however, maybe it's better to start from the scratch and write more general module which can be useful for wider audience...something like gcstar - e.g. http://www.gcstar.org/images/screenshots/screen1.png | ||
2009-09-03 17:40 <gour> what do you think? | ||
2009-09-03 17:43 <carlos> gour: I guess it depends on how fast do you need something and how easy is to port it to Tryton | ||
2009-09-03 17:44 <gour> carlos: well, porting medical to triton would certainly involve lot of stripping 'cause our environment is quite different | ||
2009-09-03 17:44 <Timitos> gour: if you have the time it is always better first to create a small generic module and to extend it by custom modules | ||
2009-09-03 17:45 <bechamel> it depends of the analyse you will do (or you already have done) and it's difficult to answer you because I don't know how you work and what do you need exactly, it depends how the medical module can fit or not with your workflow. Moreover it depends also on some stuff that doens't seems to be well designed in the medical module | ||
2009-09-03 17:45 <Timitos> such modules could be reused more easy | ||
2009-09-03 17:45 <gour> i just tested SSL with tryton and did not have tiem to start even with 'hello world' module for tryton, so it's difficult to say how different are the two envs | ||
2009-09-03 17:46 <gour> yeah, i'm also for careful analysis and not rushing...for the beginning we can track those client's data somewhere and enter 'em later into proper system which can incrementally evolve | ||
2009-09-03 17:47 <gour> however, whatever route i choose i have to master tryton development a bit :-) | ||
2009-09-03 17:57 -!- irclog(n=irclog@91.121.95.126) has joined #tryton | ||
2009-09-03 18:02 <CIA-2> ced@b2ck.com * r735 /wiki/HelloWorld.wiki: Edited wiki page through web user interface. | ||
2009-09-03 18:02 <CIA-2> ced@b2ck.com * r736 /wiki/BuildingRPMs.wiki: Edited wiki page through web user interface. | ||
2009-09-03 18:02 <CIA-2> ced@b2ck.com * r737 /wiki/InstallationOnDebian.wiki: Edited wiki page through web user interface. | ||
2009-09-03 18:02 <CIA-2> ced@b2ck.com * r738 /wiki/InstallationOnDebian.wiki: Edited wiki page through web user interface. | ||
2009-09-03 18:02 <CIA-2> ced@b2ck.com * r739 /wiki/InstallationOnMandriva.wiki: Edited wiki page through web user interface. | ||
2009-09-03 18:06 <cedk> Guys, release 1.4 is coming, any help is welcome to reach to goals: http://code.google.com/p/tryton/wiki/Release_1_4_0 or any TODO in repos | ||
2009-09-03 18:12 <Timitos> cedk: maybe i can take this one: Allow to use email in place of request | ||
2009-09-03 18:12 <Timitos> cedk: as i need to leave soon today i will talk to you tomorrow about this | ||
2009-09-03 18:15 <cedk> Timitos: that is not a little job :-) | ||
2009-09-03 18:15 <cedk> Timitos: for me, it is the harder of the list | ||
2009-09-03 18:16 <Timitos> cedk: i think all of them are not that little. i don't know about your ideas of this part. maybe i do not see your intention | ||
2009-09-03 18:17 <Timitos> cedk: do you want to create a full email-client instead of request? | ||
2009-09-03 18:17 <cedk> Timitos: globally, it is to allow to receive email instead of request | ||
2009-09-03 18:17 <cedk> Timitos: yes | ||
2009-09-03 18:17 <yangoon> cedk I have someone willing to test and contribute (evtl.) to oracle backend, who has a full licence | ||
2009-09-03 18:17 <Timitos> cedk: ok. then this is not a little job :-) but interesting | ||
2009-09-03 18:18 <cedk> Timitos: but it can start simply with a email warning | ||
2009-09-03 18:18 <yangoon> cedk: but I think it is too short until release date | ||
2009-09-03 18:18 <cedk> yangoon: it can be started and we will see | ||
2009-09-03 18:18 <cedk> yangoon: even integrated for beta | ||
2009-09-03 18:19 <Timitos> cedk: lets talk tomorrow | ||
2009-09-03 18:21 <cedk> yangoon: sqlite port was pretty fast | ||
2009-09-03 18:21 <cedk> yangoon: and perhaps the most complicate as it is not full SQL compliant | ||
2009-09-03 18:23 <yangoon> cedk: I will have to take a look and ask the interested party | ||
2009-09-03 18:23 <yangoon> cedk: I have neither oracle nor DB2 | ||
2009-09-03 18:25 <cedk> yangoon: it should be a good marketing stuff to have Oracle backend | ||
2009-09-03 18:25 <cedk> yangoon: by the way, did you test my patch? | ||
2009-09-03 18:25 <yangoon> cedk: for the marketing: YES | ||
2009-09-03 18:26 <yangoon> cedk: for the patch: still testing;) seems not to change anything | ||
2009-09-03 18:27 <yangoon> cedk: second run with account and party_bank preinstalled now takes 120 min and is not finished | ||
2009-09-03 18:27 <yangoon> cedk: first run with only party_bank installed took exactly the same time as without patch | ||
2009-09-03 18:27 <yangoon> cedk: ans yes, the patch is installed:) | ||
2009-09-03 18:28 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton | ||
2009-09-03 18:31 <cedk> yangoon: for the installation, we can not really improve it | ||
2009-09-03 18:31 <cedk> yangoon: it is for the update | ||
2009-09-03 18:33 <yangoon> cedk: ok, update is next step | ||
2009-09-03 18:35 <cedk> yangoon: for install, the only thing we see, will be to drop indexes to speed up the INSERT | ||
2009-09-03 18:38 -!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2009-09-03 18:39 <yangoon> cedk: could be a good point, as indexing seems to take a lot of time | ||
2009-09-03 18:40 <yangoon> cedk: can this be made inside the transaction? | ||
2009-09-03 18:41 <cedk> yangoon: I don't think | ||
2009-09-03 18:42 <yangoon> cedk: then it is dangerous when the install breaks | ||
2009-09-03 18:44 <cedk> yangoon: why? | ||
2009-09-03 18:45 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton | ||
2009-09-03 18:47 <yangoon> cedk: dangerous is too much said: if someone interrupts the long install, he is left behind without the indices | ||
2009-09-03 18:48 <cedk> yangoon: which is not a real issue | ||
2009-09-03 18:50 <yangoon> cedk: the indices of which you are speaking are those automatically created by postgres? | ||
2009-09-03 18:56 <cedk> yangoon: no, I don't think postgres create automatically indexes | ||
2009-09-03 19:08 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1981:5586a3010cf4 trytond/ (CHANGELOG TODO trytond/model/modelview.py): Use the module dependency order to apply views that inherits | ||
2009-09-03 19:08 <CIA-2> http://hg.tryton.org/trytond/rev/5586a3010cf4 | ||
2009-09-03 19:08 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1982:caec6eac53ee trytond/trytond/ir/date.py: merge | ||
2009-09-03 19:08 <CIA-2> http://hg.tryton.org/trytond/rev/caec6eac53ee | ||
2009-09-03 19:09 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1983:8d5707580904 trytond/CHANGELOG: Add missing CHANGELOG | ||
2009-09-03 19:09 <CIA-2> http://hg.tryton.org/trytond/rev/8d5707580904 | ||
2009-09-03 19:11 <CIA-2> C?dric Krier <ced@b2ck.com> default * 85:75d651d3bbc0 currency/CHANGELOG: Add missing CHANGELOG | ||
2009-09-03 19:11 <CIA-2> http://hg.tryton.org/modules/currency/rev/75d651d3bbc0 | ||
2009-09-03 19:24 <gour> ACTION is going to start playing with tryton by trying out 'hello world' module from the wiki (it would be nice if the text would be polished a little bit) | ||
2009-09-03 19:26 <gour> since the server has to be aware of all the modules available, there is no way to extend the default path where he server can find them? | ||
2009-09-03 19:27 <gour> i'm asking in regards to development process...how is it possible to work 'locally'? | ||
2009-09-03 19:32 <cedk> gour: no because the module name must be unique | ||
2009-09-03 19:32 <cedk> gour: but I work with symlink | ||
2009-09-03 19:33 <gour> (except fiddling with ..'modules' folder's perms) | ||
2009-09-03 19:33 <cedk> gour: locally, you mean not root? | ||
2009-09-03 19:34 <gour> yep | ||
2009-09-03 19:34 <cedk> gour: you can download the source in your local folder | ||
2009-09-03 19:34 <gour> server is installed system-wide | ||
2009-09-03 19:34 <cedk> gour: installation is for production | ||
2009-09-03 19:34 <gour> heh, i'm aware of that possibility...ok | ||
2009-09-03 19:35 <cedk> gour: it is like that I work | ||
2009-09-03 19:36 <gour> cedk: it looks that i should keep releases for the packaging and install locally from the trunk for playing/learning/developing... | ||
2009-09-03 19:37 <gour> iirc, wiki mentions forest-extension, probably to have all the modules in a proper place...i was trying with hg, but then used bzr more (when wanting to migrate from darcs), but now i'm back on darcs :-) | ||
2009-09-03 19:38 <cedk> gour: I wrote a script that fetch all in once | ||
2009-09-03 19:38 <gour> cedk: cool. where it is? | ||
2009-09-03 19:38 <cedk> http://code.google.com/p/tryton/wiki/InstallationMercurial#Automatic_Way | ||
2009-09-03 19:39 <cedk> gour: if you plan to write module for 1.2, you should use the 1.2 branch | ||
2009-09-03 19:40 <gour> cedk: i believe 1.4 will be out sooner than i'd be able to write a module :-) | ||
2009-09-03 19:40 <gour> except if tryton really has RAPID learning curve :-D | ||
2009-09-03 19:42 <gour> ACTION is fetching with the script | ||
2009-09-03 19:42 <cedk> gour: 1.4 is for 19 October, see http://www.tryton.org/community/calendar.html | ||
2009-09-03 19:42 <gour> cedk: yes, it's 'close' | ||
2009-09-03 19:43 <gour> ACTION thinks there are too many DVC-s outside | ||
2009-09-03 19:43 <gour> *DVCS-s | ||
2009-09-03 19:45 <gour> ahh, 'Clone module analytic_account failed!' due to abort: destination '/home/gour/repos/hg/hgforest' is not empty :-/ | ||
2009-09-03 19:49 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton | ||
2009-09-03 19:58 -!- enlightx(n=enlightx@host-78-13-114-247.cust-adsl.tiscali.it) has joined #tryton | ||
2009-09-03 20:12 -!- cristi_an(i=5978d3ce@gateway/web/freenode/x-xapnvrlfgpmpbbpf) has joined #tryton | ||
2009-09-03 21:00 <gour> i'm trying to run tryton locally from the trunk - here is what i got - http://dpaste.com/89220/ | ||
2009-09-03 21:16 <gour> ahh, the symlink for modules was wrong...now it's ok | ||
2009-09-03 21:18 <gour> ACTION is running dev server 1.3.0 :-) | ||
2009-09-03 23:33 <vengfulsquirrel> This is a very broad question so don't kill me. If I'm having seemingly unpredictable performance problems where would I start debugging those? | ||
2009-09-03 23:39 <cedk> vengfulsquirrel: your code :-) | ||
2009-09-03 23:39 <cedk> vengfulsquirrel: or better last changes | ||
2009-09-03 23:41 <cedk> vengfulsquirrel: joke apart, generally, I start by putting a print statement of the queries in backend/postgresql/database.py in cursor.execute | ||
2009-09-03 23:41 <cedk> vengfulsquirrel: most of the time, it is a bad code that generate a lot of SQL queries | ||
2009-09-03 23:41 <vengfulsquirrel> Yeah its pretty much always been a problem, maybe my computer is just too slow. | ||
2009-09-03 23:41 <vengfulsquirrel> Okay that's a good idea | ||
2009-09-03 23:42 <cedk> vengfulsquirrel: did you have the same with the demo server? | ||
2009-09-03 23:42 <vengfulsquirrel> Like loading the list of sales right now takes about 5 minutes and uses over 50% of my cpu | ||
2009-09-03 23:42 <vengfulsquirrel> Oh yeah I can try that | ||
2009-09-03 23:42 <cedk> vengfulsquirrel: how much sales? | ||
2009-09-03 23:42 <vengfulsquirrel> ha hold on let me list them | ||
2009-09-03 23:43 <vengfulsquirrel> Is the code for the demo server open ? | ||
2009-09-03 23:43 <vengfulsquirrel> Maybe its a relation I added to customer shipments. | ||
2009-09-03 23:44 <cedk> vengfulsquirrel: what do you mean by code? | ||
2009-09-03 23:46 <vengfulsquirrel> Like during development if I find something that I think is a problem but not my problem to try it out on trunk I need to initial the database with data that satisfies all the necessary relations. | ||
2009-09-03 23:46 <vengfulsquirrel> *initialize | ||
2009-09-03 23:47 <vengfulsquirrel> So I guess like the code that initializes the database for the demo server. | ||
2009-09-03 23:47 <cedk> vengfulsquirrel: the demo runs the last version from mercurial of branch 1.2 | ||
2009-09-03 23:59 <vengfulsquirrel> 82 sales |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!