chat.freenode.net #tryton log beginning Thu Aug 18 00:00:02 CEST 2011 | ||
2011-08-18 00:26 -!- Ildin(~chatzilla@209-161-16-151.gscwireless.net) has joined #tryton | ||
2011-08-18 00:58 -!- hoRn(~jan@dslb-188-106-135-073.pools.arcor-ip.net) has left #tryton | ||
2011-08-18 02:02 -!- ikks(~ikks@186.28.73.58) has joined #tryton | ||
2011-08-18 03:22 -!- bvillasanti(~bruno@190.105.104.98) has joined #tryton | ||
2011-08-18 03:37 -!- elbenfreund1(~elbenfreu@p54B92B9B.dip.t-dialin.net) has joined #tryton | ||
2011-08-18 03:58 -!- gremly(~gremly@200.106.218.64) has joined #tryton | ||
2011-08-18 05:00 -!- yangoon1(~mathiasb@p549F3F71.dip.t-dialin.net) has joined #tryton | ||
2011-08-18 05:01 -!- alimon(alimon@187.156.11.33) has joined #tryton | ||
2011-08-18 05:09 -!- bvillasanti1(~bruno@190.105.104.98) has joined #tryton | ||
2011-08-18 05:11 -!- bvillasanti1(~bruno@190.105.104.98) has left #tryton | ||
2011-08-18 07:07 -!- helmor(~helmo@46.115.23.79) has joined #tryton | ||
2011-08-18 08:43 -!- okko1(~okko@62.58.29.41) has joined #tryton | ||
2011-08-18 09:09 -!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton | ||
2011-08-18 09:12 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton | ||
2011-08-18 09:26 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2011-08-18 09:50 -!- jcm(~jcm@99.12.194.77.rev.sfr.net) has joined #tryton | ||
2011-08-18 09:52 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-08-18 09:52 -!- nicoe(~nicoe@62.58.29.41) has joined #tryton | ||
2011-08-18 10:17 -!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton | ||
2011-08-18 10:18 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton | ||
2011-08-18 10:44 -!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has joined #tryton | ||
2011-08-18 11:12 -!- okko1(~okko@62.58.29.41) has joined #tryton | ||
2011-08-18 11:40 -!- johbo(~johbo@155.56.40.51) has joined #tryton | ||
2011-08-18 11:40 -!- johbo_(~johbo@155.56.40.51) has joined #tryton | ||
2011-08-18 12:09 -!- ikks(~ikks@190.25.172.191) has joined #tryton | ||
2011-08-18 12:30 -!- reichlich(~reichlich@p578E8BC7.dip.t-dialin.net) has joined #tryton | ||
2011-08-18 12:40 -!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has left #tryton | ||
2011-08-18 12:40 -!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has joined #tryton | ||
2011-08-18 12:41 <meanmicio> I think we need to implement a way to free the memory after uploading large datafiles. I seems is nor releasing the memory after it. | ||
2011-08-18 12:42 <cedk> meanmicio: it is Python fault :-) | ||
2011-08-18 12:42 <cedk> meanmicio: it never free memory used once | ||
2011-08-18 12:43 <cedk> meanmicio: I think it is that | ||
2011-08-18 12:43 <cedk> meanmicio: but perhaps you can describe more the use case? | ||
2011-08-18 12:44 <meanmicio> would del() would help at all ? | ||
2011-08-18 12:44 <meanmicio> basically when loading a large xml file | ||
2011-08-18 12:45 <cedk> meanmicio: and what do you see? | ||
2011-08-18 12:45 <meanmicio> for example, in GNU Health we load the ICD-10-PCS (medical procedures). They're about 150000 | ||
2011-08-18 12:45 <meanmicio> The python process grows in memory | ||
2011-08-18 12:46 <meanmicio> and after finishing loading them to the DB, RAM won't be released | ||
2011-08-18 12:46 <meanmicio> I had a smililar issue with OE, and I end up splitting the file in 3 parts | ||
2011-08-18 12:47 <meanmicio> The problem is when it hits swap | ||
2011-08-18 12:48 <meanmicio> Of course, I can bounce the tryton server and is just fine afterwards | ||
2011-08-18 12:49 <cedk> meanmicio: parsing of xml is done with a sax parser so it doesn't consume a lot of memory | ||
2011-08-18 12:50 <cedk> meanmicio: but I suspect that it is the cache on xml ids | ||
2011-08-18 12:52 <cedk> meanmicio: which version of Tryton? | ||
2011-08-18 12:53 <meanmicio> cedk: 2.0.1 | ||
2011-08-18 12:53 <cedk> meanmicio: I think this could help http://hg.tryton.org/trytond/rev/0f95dd4eec16 | ||
2011-08-18 12:55 <meanmicio> cool. That's what I thought... calling del | ||
2011-08-18 12:56 -!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has left #tryton | ||
2011-08-18 12:56 -!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has joined #tryton | ||
2011-08-18 13:02 <meanmicio> cedk: great, thanks. I'll check this version and update you on results. | ||
2011-08-18 13:10 -!- ndn(5c2e0311@gateway/web/freenode/ip.92.46.3.17) has joined #tryton | ||
2011-08-18 13:12 -!- ndn_pit(~ndn_pit@92.46.3.17) has joined #tryton | ||
2011-08-18 13:13 -!- ndn_pit(~ndn_pit@92.46.3.17) has left #tryton | ||
2011-08-18 13:13 -!- ndn_pit(~ndn_pit@92.46.3.17) has joined #tryton | ||
2011-08-18 13:16 -!- ndn_pit(~ndn_pit@92.46.3.17) has joined #tryton | ||
2011-08-18 13:16 <ndn_pit> hello | ||
2011-08-18 13:16 <hoRn> hi all | ||
2011-08-18 13:17 <nicoe> hello | ||
2011-08-18 13:17 <ndn_pit> can I ask? | ||
2011-08-18 13:17 <ndn_pit> about tryton | ||
2011-08-18 13:17 <nicoe> Don't ask to ask | ||
2011-08-18 13:17 <cedk> ndn_pit: too late already done :-) | ||
2011-08-18 13:17 <nicoe> Just do it ! | ||
2011-08-18 13:17 <ndn_pit> :) | ||
2011-08-18 13:18 <ndn_pit> I want to develop soft phone in tryton | ||
2011-08-18 13:18 <ndn_pit> I'm sorry for my english | ||
2011-08-18 13:18 <cedk> ndn_pit: what do you mean by softphone? | ||
2011-08-18 13:18 <ndn_pit> yes | ||
2011-08-18 13:19 <ndn_pit> what sohuld i do for that? | ||
2011-08-18 13:19 <cedk> ndn_pit: what do you want to do? | ||
2011-08-18 13:20 <hoRn> ndn_pit: Integration of something like SIP in tryton? | ||
2011-08-18 13:20 <ndn_pit> yes | ||
2011-08-18 13:22 <ndn_pit> I want to make and receive voice calls | ||
2011-08-18 13:24 <ndn_pit> is it possible? | ||
2011-08-18 13:24 <ndn_pit> i think i should get source code of tryton client and remake it... am i right? | ||
2011-08-18 13:25 <cedk> ndn_pit: it is not really the goal of the project | ||
2011-08-18 13:25 <ndn_pit> goal is: make crm system | ||
2011-08-18 13:25 <cedk> ndn_pit: I think you should look more for an integration with an existing softphone | ||
2011-08-18 13:26 <hoRn> ndn_pit: yes. cedk said it. you can write protocols from an existing software for softcalls to tryton client to get some history of your communication | ||
2011-08-18 13:26 <ndn_pit> "I think you should look more for an integration with an existing softphone" any solution is possibly | ||
2011-08-18 13:27 <hoRn> tryton server | ||
2011-08-18 13:27 <cedk> ndn_pit: you should perhaps look at existing PBX like Asterisk | ||
2011-08-18 13:28 <cedk> or sipd | ||
2011-08-18 13:29 <ndn_pit> aim: when client call to softphone(may be external) - tryton should open certain party form... | ||
2011-08-18 13:31 <cedk> ndn_pit: if you can have the softphone running a command then you can do it with Tryton | ||
2011-08-18 13:31 <nicoe> ndn_pit: you can call tryton passing it an url | ||
2011-08-18 13:31 <cedk> ndn_pit: there is a URL schema hanled by the client | ||
2011-08-18 13:32 <cedk> ndn_pit: http://doc.tryton.org/2.0/tryton/doc/usage.html#url | ||
2011-08-18 13:33 <ndn_pit> problem is not run softphone from tryton, but open certain form in tryton from softphone | ||
2011-08-18 13:33 <ndn_pit> when call received | ||
2011-08-18 13:34 <ndn_pit> I am so sorry for my english... :) | ||
2011-08-18 13:35 <hoRn> ndn_pit: for this read the link cedk passed | ||
2011-08-18 13:36 <ndn_pit> ok thank you | ||
2011-08-18 13:38 <ndn_pit> is there way to create "create view" for model? i mean one view for edit and another for create | ||
2011-08-18 13:38 <cedk> ndn_pit: not really | ||
2011-08-18 13:38 <cedk> ndn_pit: why do you want that? | ||
2011-08-18 13:40 <ndn_pit> in create form i can enter some data which i can not edit in edit-view | ||
2011-08-18 13:41 <cedk> ndn_pit: make the field readonly once the id > 0 | ||
2011-08-18 13:42 <ndn_pit> ok thanks | ||
2011-08-18 13:45 <ndn_pit> I noticed when doing a historical model - the new record is added, even if real change was not... | ||
2011-08-18 13:45 <ndn_pit> is it fixable? | ||
2011-08-18 13:46 <cedk> ndn_pit: no just aggregate in the query if you want to remove it | ||
2011-08-18 13:46 <cedk> ndn_pit: and even the modification date was changed at least :-) | ||
2011-08-18 13:47 <ndn_pit> you mean: i should remove record by myself? | ||
2011-08-18 13:50 <cedk> ndn_pit: no just when you read it aggregate | ||
2011-08-18 13:51 <ndn_pit> it will let to grow my db, am i right? | ||
2011-08-18 13:52 <cedk> ndn_pit: it costs too much to not create the record | ||
2011-08-18 13:52 <ndn_pit> ok | ||
2011-08-18 14:02 <ndn_pit> what is "Transaction.context" and how can i use it? I wasn't find it in documentation, but it uses in standard modules... | ||
2011-08-18 14:03 <cedk> ndn_pit: it is a kind of global dict for a transation | ||
2011-08-18 14:03 <cedk> ndn_pit: it can be used to pass extra informations | ||
2011-08-18 14:04 <ndn_pit> is it global for all modules? | ||
2011-08-18 14:04 <ndn_pit> or global in model? | ||
2011-08-18 14:05 <cedk> ndn_pit: it is global for a transaction (=a request) | ||
2011-08-18 14:06 <ndn_pit> sorry | ||
2011-08-18 14:06 <ndn_pit> is there way to get current user in code? | ||
2011-08-18 14:06 <cedk> ndn_pit: it is something that you should use as last way | ||
2011-08-18 14:07 <cedk> ndn_pit: yes Transaction().user | ||
2011-08-18 14:08 <ndn_pit> relation based on "function" field - is it bad? may be for performance... | ||
2011-08-18 14:12 <cedk> ndn_pit: it depends on how you write the code | ||
2011-08-18 14:12 <cedk> ndn_pit: and it is always better to prevent duplication of data with Function fields | ||
2011-08-18 14:13 <ndn_pit> ok | ||
2011-08-18 14:24 <ndn_pit> is there api for email integration? i mean: create my mail clent in tryton... | ||
2011-08-18 14:26 <cedk> ndn_pit: the email integration is not about create email client in tryton | ||
2011-08-18 14:29 <ndn_pit> sorry, can you explain me what mean email integration? | ||
2011-08-18 14:30 <cedk> ndn_pit: it is about storing emails into tryton database to allow business process on it | ||
2011-08-18 14:30 <cedk> ndn_pit: and providing an IMAP server | ||
2011-08-18 14:31 -!- reichlich(~reichlich@p578E8BC7.dip.t-dialin.net) has joined #tryton | ||
2011-08-18 14:32 <ndn_pit> i think i don't need that yet :) | ||
2011-08-18 14:32 <ndn_pit> what should i do to create my email client in tryton? | ||
2011-08-18 14:33 <ndn_pit> use pyhton libraryies for examle: smtp library? | ||
2011-08-18 14:34 <cedk> ndn_pit: what do you mean by email client? | ||
2011-08-18 14:35 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton | ||
2011-08-18 14:37 <ndn_pit> i mean create some module in which i can raed, send, group my emails | ||
2011-08-18 14:39 <cedk> ndn_pit: why not using a existing email client? | ||
2011-08-18 14:39 <ndn_pit> simple email client, with simple functionality | ||
2011-08-18 14:41 <cedk> ndn_pit: that doesn't answer my question | ||
2011-08-18 14:41 <nicoe> "simple email client with simple functionnality" == mutt | ||
2011-08-18 14:42 <ndn_pit> it would comfortable to operate on letters from one working enviroment | ||
2011-08-18 14:42 <nicoe> mutt says "All email client sucks, this one just sucks less" | ||
2011-08-18 14:42 <cedk> ndn_pit: don't understand | ||
2011-08-18 14:43 <nicoe> ndn_pit: people are used to their email client, changing the way they work is *hard* | ||
2011-08-18 14:43 <nicoe> moreover I doubt that tryton matches the UI of an email client | ||
2011-08-18 14:43 <ndn_pit> in our country it's not problem ) | ||
2011-08-18 14:45 <cedk> ndn_pit: developing an email client is a lot of work so it is better to reuse one | ||
2011-08-18 14:47 <ndn_pit> use external client by url? | ||
2011-08-18 14:48 <ndn_pit> or don't relate tryton with email client? | ||
2011-08-18 14:48 -!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has left #tryton | ||
2011-08-18 14:48 -!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has joined #tryton | ||
2011-08-18 14:49 <cedk> ndn_pit: I don't know, you said that you just need an email client to read/write/send emails so this is not linked to Tryton | ||
2011-08-18 14:51 <ndn_pit> ok i will try to do that ) | ||
2011-08-18 14:55 -!- ndn_pit(~ndn_pit@92.46.3.17) has left #tryton | ||
2011-08-18 15:01 -!- alimon(alimon@187.156.11.33) has joined #tryton | ||
2011-08-18 15:19 <hoRn> nicoe: Is there any thought about coloring lines by states or might i have missed it? | ||
2011-08-18 15:21 <nicoe> I created a patch about that but cedk did not like the idea i think | ||
2011-08-18 15:22 <hoRn> nicoe: with arguments or by ignoring your patch ;) | ||
2011-08-18 15:23 <hoRn> nicoe: i still coding something for quality management - so it would be nice to warn the user with a ugly red, if somethings fails | ||
2011-08-18 15:24 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton | ||
2011-08-18 15:25 <hoRn> niceo: i can do it with a internal message as well - but i like to show it in the treeview | ||
2011-08-18 15:25 <cedk> hoRn: there is the colors tag on tree view | ||
2011-08-18 15:26 <hoRn> cedk: ok | ||
2011-08-18 15:27 <nicoe> oups I was wrong, what I did is a patch that add tooltips to treeview | ||
2011-08-18 15:27 <hoRn> cedk, nicoe: ok - gtk has no colors on trees? | ||
2011-08-18 15:29 <nicoe> It has color on trees | ||
2011-08-18 15:29 <nicoe> but only for the foreground color I think | ||
2011-08-18 15:29 <nicoe> but I might be wrong | ||
2011-08-18 15:30 <hoRn> nicoe: yes - i checked it in this moment: foreground only | ||
2011-08-18 15:32 <hoRn> cedk: i read the documentation - A PySON string that will be evaluated for each record | ||
2011-08-18 15:33 <hoRn> cedk: but I don't know what it exactly means | ||
2011-08-18 15:34 <cedk> hoRn: you must put a PySON expression | ||
2011-08-18 15:34 <hoRn> cedk: ok - i will try | ||
2011-08-18 15:41 -!- okko1(~okko@62.58.29.41) has joined #tryton | ||
2011-08-18 15:43 -!- okko1(~okko@62.58.29.41) has joined #tryton | ||
2011-08-18 15:52 -!- saxa(~sasa@189.26.255.43) has joined #tryton | ||
2011-08-18 16:06 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2011-08-18 16:11 -!- okko1(~okko@62.58.29.41) has joined #tryton | ||
2011-08-18 16:17 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton | ||
2011-08-18 16:19 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton | ||
2011-08-18 16:34 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | ||
2011-08-18 17:11 -!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2011-08-18 17:13 -!- enlightx__(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton | ||
2011-08-18 17:21 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton | ||
2011-08-18 17:25 -!- ndn_pit(~ndn_pit@92.47.202.240) has joined #tryton | ||
2011-08-18 18:26 -!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has left #tryton | ||
2011-08-18 18:50 -!- reichlich(~reichlich@p578E8BC7.dip.t-dialin.net) has joined #tryton | ||
2011-08-18 19:05 -!- ndn_pit(~ndn_pit@92.47.202.240) has left #tryton | ||
2011-08-18 19:11 -!- alimon(alimon@189.154.55.187) has joined #tryton | ||
2011-08-18 19:12 -!- ccomb(~ccomb@vau75-2-81-57-244-84.fbx.proxad.net) has joined #tryton | ||
2011-08-18 20:13 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton | ||
2011-08-18 20:13 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton | ||
2011-08-18 20:15 -!- meanmicio(~lfm@host210.190-226-53.telecom.net.ar) has joined #tryton | ||
2011-08-18 21:14 -!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton | ||
2011-08-18 21:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-08-18 21:22 -!- bvillasanti(~bruno@190.105.89.122) has joined #tryton | ||
2011-08-18 21:23 -!- elbenfreund(~elbenfreu@109.104.45.201) has joined #tryton | ||
2011-08-18 21:27 -!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton | ||
2011-08-18 22:03 -!- sebamarro(~sebastian@host95.190-31-173.telecom.net.ar) has joined #tryton | ||
2011-08-18 22:13 -!- nicoe(~nicoe@42.74-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton | ||
2011-08-18 23:16 -!- elbenfreund(~elbenfreu@p54B92B9B.dip.t-dialin.net) has joined #tryton | ||
2011-08-18 23:32 -!- jcm(~jcm@99.12.194.77.rev.sfr.net) has joined #tryton | ||
2011-08-18 23:50 -!- bvillasanti(~bruno@190.105.89.122) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!