IRC logs of #tryton for Thursday, 2011-08-18

chat.freenode.net #tryton log beginning Thu Aug 18 00:00:02 CEST 2011
-!- Ildin(~chatzilla@209-161-16-151.gscwireless.net) has joined #tryton00:26
-!- hoRn(~jan@dslb-188-106-135-073.pools.arcor-ip.net) has left #tryton00:58
-!- ikks(~ikks@186.28.73.58) has joined #tryton02:02
-!- bvillasanti(~bruno@190.105.104.98) has joined #tryton03:22
-!- elbenfreund1(~elbenfreu@p54B92B9B.dip.t-dialin.net) has joined #tryton03:37
-!- gremly(~gremly@200.106.218.64) has joined #tryton03:58
-!- yangoon1(~mathiasb@p549F3F71.dip.t-dialin.net) has joined #tryton05:00
-!- alimon(alimon@187.156.11.33) has joined #tryton05:01
-!- bvillasanti1(~bruno@190.105.104.98) has joined #tryton05:09
-!- bvillasanti1(~bruno@190.105.104.98) has left #tryton05:11
-!- helmor(~helmo@46.115.23.79) has joined #tryton07:07
-!- okko1(~okko@62.58.29.41) has joined #tryton08:43
-!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton09:09
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton09:12
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton09:26
-!- jcm(~jcm@99.12.194.77.rev.sfr.net) has joined #tryton09:50
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:52
-!- nicoe(~nicoe@62.58.29.41) has joined #tryton09:52
-!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton10:17
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton10:18
-!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has joined #tryton10:44
-!- okko1(~okko@62.58.29.41) has joined #tryton11:12
-!- johbo(~johbo@155.56.40.51) has joined #tryton11:40
-!- johbo_(~johbo@155.56.40.51) has joined #tryton11:40
-!- ikks(~ikks@190.25.172.191) has joined #tryton12:09
-!- reichlich(~reichlich@p578E8BC7.dip.t-dialin.net) has joined #tryton12:30
-!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has left #tryton12:40
-!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has joined #tryton12:40
meanmicioI think we need to implement a way to free the memory after uploading large datafiles. I seems is nor releasing the memory after it.12:41
cedkmeanmicio: it is Python fault :-)12:42
cedkmeanmicio: it never free memory used once12:42
cedkmeanmicio: I think it is that12:43
cedkmeanmicio: but perhaps you can describe more the use case?12:43
meanmiciowould del() would help at all ?12:44
meanmiciobasically when loading a large xml file12:44
cedkmeanmicio: and what do you see?12:45
meanmiciofor example, in GNU Health we load the ICD-10-PCS (medical procedures). They're about 15000012:45
meanmicioThe python process grows in memory12:45
meanmicioand after finishing loading them to the DB, RAM won't be released12:46
meanmicioI had a smililar issue with OE, and I end up splitting the file in 3 parts12:46
meanmicioThe problem is when it hits swap12:47
meanmicioOf course, I can bounce the tryton server and is just fine afterwards12:48
cedkmeanmicio: parsing of xml is done with a sax parser so it doesn't consume a lot of memory12:49
cedkmeanmicio: but I suspect that it is the cache on xml ids12:50
cedkmeanmicio: which version of Tryton?12:52
meanmiciocedk: 2.0.112:53
cedkmeanmicio: I think this could help http://hg.tryton.org/trytond/rev/0f95dd4eec1612:53
meanmiciocool. That's what I thought... calling del12:55
-!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has left #tryton12:56
-!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has joined #tryton12:56
meanmiciocedk: great, thanks. I'll check this version and update you on results.13:02
-!- ndn(5c2e0311@gateway/web/freenode/ip.92.46.3.17) has joined #tryton13:10
-!- ndn_pit(~ndn_pit@92.46.3.17) has joined #tryton13:12
-!- ndn_pit(~ndn_pit@92.46.3.17) has left #tryton13:13
-!- ndn_pit(~ndn_pit@92.46.3.17) has joined #tryton13:13
-!- ndn_pit(~ndn_pit@92.46.3.17) has joined #tryton13:16
ndn_pithello13:16
hoRnhi all13:16
nicoehello13:17
ndn_pitcan I ask?13:17
ndn_pitabout tryton13:17
nicoeDon't ask to ask13:17
cedkndn_pit: too late already done :-)13:17
nicoeJust do it !13:17
ndn_pit:)13:17
ndn_pitI want to develop soft phone in tryton13:18
ndn_pitI'm sorry for my english13:18
cedkndn_pit: what do you mean by softphone?13:18
ndn_pityes13:18
ndn_pitwhat sohuld i do for that?13:19
cedkndn_pit: what do you want to do?13:19
hoRnndn_pit: Integration of something like SIP in tryton?13:20
ndn_pityes13:20
ndn_pitI want to make and receive voice calls13:22
ndn_pitis it possible?13:24
ndn_piti think i should get source code of tryton client and remake it... am i right?13:24
cedkndn_pit: it is not really the goal of the project13:25
ndn_pitgoal is: make crm system13:25
cedkndn_pit: I think you should look more for an integration with an existing softphone13:25
hoRnndn_pit: yes. cedk said it. you can write protocols from an existing software for softcalls to tryton client to get some history of your communication13:26
ndn_pit"I think you should look more for an integration with an existing softphone" any solution is possibly13:26
hoRntryton server13:27
cedkndn_pit: you should perhaps look at existing PBX like Asterisk13:27
cedkor sipd13:28
ndn_pitaim: when client call to softphone(may be external) - tryton should open certain party form...13:29
cedkndn_pit: if you can have the softphone running a command then you can do it with Tryton13:31
nicoendn_pit: you can call tryton passing it an url13:31
cedkndn_pit: there is a URL schema hanled by the client13:31
cedkndn_pit: http://doc.tryton.org/2.0/tryton/doc/usage.html#url13:32
ndn_pitproblem is not run softphone from tryton, but open certain form in tryton from softphone13:33
ndn_pitwhen call received13:33
ndn_pitI am so sorry for my english... :)13:34
hoRnndn_pit: for this read the link  cedk passed13:35
ndn_pitok thank you13:36
ndn_pitis there way to create "create view" for model? i mean one view for edit and another for create13:38
cedkndn_pit: not really13:38
cedkndn_pit: why do you want that?13:38
ndn_pitin create form i can enter some data which i can not edit in edit-view13:40
cedkndn_pit: make the field readonly once the id > 013:41
ndn_pitok thanks13:42
ndn_pitI noticed when doing a historical model - the new record is added, even if real change was not...13:45
ndn_pitis it fixable?13:45
cedkndn_pit: no just aggregate in the query if you want to remove it13:46
cedkndn_pit: and even the modification date was changed at least :-)13:46
ndn_pityou mean: i should remove record by myself?13:47
cedkndn_pit: no just when you read it aggregate13:50
ndn_pitit will let to grow my db, am i right?13:51
cedkndn_pit: it costs too much to not create the record13:52
ndn_pitok13:52
ndn_pitwhat is "Transaction.context" and how can i use it? I wasn't find it in documentation, but it uses in standard modules...14:02
cedkndn_pit: it is a kind of global dict for a transation14:03
cedkndn_pit: it can be used to pass extra informations14:03
ndn_pitis it global for all modules?14:04
ndn_pitor global in model?14:04
cedkndn_pit: it is global for a transaction (=a request)14:05
ndn_pitsorry14:06
ndn_pitis there way to get current user in code?14:06
cedkndn_pit: it is something that you should use as last way14:06
cedkndn_pit: yes Transaction().user14:07
ndn_pitrelation based on "function" field - is it bad? may be for performance...14:08
cedkndn_pit: it depends on how you write the code14:12
cedkndn_pit: and it is always better to prevent duplication of data with Function fields14:12
ndn_pitok14:13
ndn_pitis there api for email integration? i mean: create my mail clent in tryton...14:24
cedkndn_pit: the email integration is not about create email client in tryton14:26
ndn_pitsorry, can you explain me what mean email integration?14:29
cedkndn_pit: it is about storing emails into tryton database to allow business process on it14:30
cedkndn_pit: and providing an IMAP server14:30
-!- reichlich(~reichlich@p578E8BC7.dip.t-dialin.net) has joined #tryton14:31
ndn_piti think i don't need that yet :)14:32
ndn_pitwhat should i do to create my email client in tryton?14:32
ndn_pituse pyhton libraryies for examle: smtp library?14:33
cedkndn_pit: what do you mean by email client?14:34
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton14:35
ndn_piti mean create some module in which i can raed, send, group my emails14:37
cedkndn_pit: why not using a existing email client?14:39
ndn_pitsimple email client, with simple functionality14:39
cedkndn_pit: that doesn't answer my question14:41
nicoe"simple email client with simple functionnality" == mutt14:41
ndn_pitit would comfortable to operate on letters from one working enviroment14:42
nicoemutt says "All email client sucks, this one just sucks less"14:42
cedkndn_pit: don't understand14:42
nicoendn_pit: people are used to their email client, changing the way they work is *hard*14:43
nicoemoreover I doubt that tryton matches the UI of an email client14:43
ndn_pitin our country it's not problem )14:43
cedkndn_pit: developing an email client is a lot of work so it is better to reuse one14:45
ndn_pituse external client by url?14:47
ndn_pitor don't relate tryton with email client?14:48
-!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has left #tryton14:48
-!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has joined #tryton14:48
cedkndn_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 Tryton14:49
ndn_pitok i will try to do that )14:51
-!- ndn_pit(~ndn_pit@92.46.3.17) has left #tryton14:55
-!- alimon(alimon@187.156.11.33) has joined #tryton15:01
hoRnnicoe: Is there any thought about coloring lines by states or might i have missed it?15:19
nicoeI created a patch about that but cedk did not like the idea i think15:21
hoRnnicoe: with arguments or by ignoring your patch ;)15:22
hoRnnicoe: i still coding something for quality management - so it would be nice to warn the user with a ugly red, if somethings fails15:23
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton15:24
hoRnniceo: i can do it with a internal message as well - but i like to show it in the treeview15:25
cedkhoRn: there is the colors tag on tree view15:25
hoRncedk: ok15:26
nicoeoups I was wrong, what I did is a patch that add tooltips to treeview15:27
hoRncedk, nicoe: ok - gtk has no colors on trees?15:27
nicoeIt has color on trees15:29
nicoebut only for the foreground color I think15:29
nicoebut I might be wrong15:29
hoRnnicoe: yes - i checked it in this moment: foreground only15:30
hoRncedk: i read the documentation - A PySON string that will be evaluated for each record15:32
hoRncedk: but I don't know what it exactly means15:33
cedkhoRn: you must put a PySON expression15:34
hoRncedk: ok - i will try15:34
-!- okko1(~okko@62.58.29.41) has joined #tryton15:41
-!- okko1(~okko@62.58.29.41) has joined #tryton15:43
-!- saxa(~sasa@189.26.255.43) has joined #tryton15:52
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton16:06
-!- okko1(~okko@62.58.29.41) has joined #tryton16:11
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton16:17
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton16:19
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton16:34
-!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton17:11
-!- enlightx__(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton17:13
-!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton17:21
-!- ndn_pit(~ndn_pit@92.47.202.240) has joined #tryton17:25
-!- hoRn(~jan@dslb-178-000-014-126.pools.arcor-ip.net) has left #tryton18:26
-!- reichlich(~reichlich@p578E8BC7.dip.t-dialin.net) has joined #tryton18:50
-!- ndn_pit(~ndn_pit@92.47.202.240) has left #tryton19:05
-!- alimon(alimon@189.154.55.187) has joined #tryton19:11
-!- ccomb(~ccomb@vau75-2-81-57-244-84.fbx.proxad.net) has joined #tryton19:12
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton20:13
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton20:13
-!- meanmicio(~lfm@host210.190-226-53.telecom.net.ar) has joined #tryton20:15
-!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton21:14
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:17
-!- bvillasanti(~bruno@190.105.89.122) has joined #tryton21:22
-!- elbenfreund(~elbenfreu@109.104.45.201) has joined #tryton21:23
-!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton21:27
-!- sebamarro(~sebastian@host95.190-31-173.telecom.net.ar) has joined #tryton22:03
-!- nicoe(~nicoe@42.74-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton22:13
-!- elbenfreund(~elbenfreu@p54B92B9B.dip.t-dialin.net) has joined #tryton23:16
-!- jcm(~jcm@99.12.194.77.rev.sfr.net) has joined #tryton23:32
-!- bvillasanti(~bruno@190.105.89.122) has left #tryton23:50

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!