IRC logs of #tryton for Saturday, 2011-06-25

chat.freenode.net #tryton log beginning Sat Jun 25 00:00:01 CEST 2011
2011-06-25 00:50 -!- enlightx(~enlightx@host103-212-dynamic.116-80-r.retail.telecomitalia.it) has joined #tryton
2011-06-25 01:42 -!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton
2011-06-25 03:51 -!- elbenfreund(~elbenfreu@g226242211.adsl.alicedsl.de) has joined #tryton
2011-06-25 05:19 -!- alimon(~alimon@189.154.30.225) has joined #tryton
2011-06-25 05:20 -!- yangoon(~mathiasb@p54B4F50B.dip.t-dialin.net) has joined #tryton
2011-06-25 06:08 -!- vladimirek(~vladimire@adsl-dyn-59.95-102-220.t-com.sk) has joined #tryton
2011-06-25 06:37 -!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton
2011-06-25 06:54 -!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton
2011-06-25 08:20 -!- sharoon(~sharoon@117.202.115.179) has joined #tryton
2011-06-25 08:58 -!- sharoon_(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton
2011-06-25 09:00 -!- reichlich(~reichlich@p5793DFB5.dip.t-dialin.net) has joined #tryton
2011-06-25 09:08 -!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton
2011-06-25 09:17 -!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton
2011-06-25 09:19 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-06-25 09:19 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-06-25 10:30 -!- helmor(~helmo@46.115.2.2) has joined #tryton
2011-06-25 10:58 -!- sharoon(~sharoon@117.196.153.158) has joined #tryton
2011-06-25 10:59 -!- sharoon_(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton
2011-06-25 11:00 -!- sharoon_(~sharoon@204-232-205-248.static.cloud-ips.com) has left #tryton
2011-06-25 11:19 -!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton
2011-06-25 11:19 -!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton
2011-06-25 11:35 -!- chrue(~chrue@host-091-097-001-083.ewe-ip-backbone.de) has joined #tryton
2011-06-25 11:36 -!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton
2011-06-25 11:36 -!- sharoon(~sharoon@204-232-205-248.static.cloud-ips.com) has left #tryton
2011-06-25 11:40 -!- nicoe(~nicoe@29.140-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-06-25 11:42 -!- sharoon_(~sharoon@117.196.152.148) has joined #tryton
2011-06-25 11:43 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-06-25 11:43 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-06-25 12:09 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-06-25 12:59 -!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton
2011-06-25 13:17 -!- chrue1(~chrue@host-091-097-064-136.ewe-ip-backbone.de) has joined #tryton
2011-06-25 13:48 -!- elbenfreund(~elbenfreu@g226242211.adsl.alicedsl.de) has joined #tryton
2011-06-25 13:49 -!- enlightx(~enlightx@93.189.143.198) has joined #tryton
2011-06-25 14:11 -!- helmor(~helmo@46.115.1.244) has joined #tryton
2011-06-25 14:39 -!- enlightx(~enlightx@93.189.143.198) has joined #tryton
2011-06-25 14:43 -!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton
2011-06-25 15:54 -!- chrue(~chrue@host-091-097-064-136.ewe-ip-backbone.de) has joined #tryton
2011-06-25 16:08 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-06-25 16:40 -!- elbenfreund(~elbenfreu@p54B94A71.dip.t-dialin.net) has joined #tryton
2011-06-25 17:20 -!- meanmicio(~lfm@190.195.50.15) has joined #tryton
2011-06-25 17:25 -!- elbenfreund(~elbenfreu@p54B94A71.dip.t-dialin.net) has joined #tryton
2011-06-25 17:53 -!- saxa(~sasa@189.26.255.43) has joined #tryton
2011-06-25 18:32 -!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton
2011-06-25 18:53 -!- rhubner(~rhubner@177.16.50.16) has joined #tryton
2011-06-25 18:56 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-06-25 18:57 <rhubner> Hi cedk
2011-06-25 18:58 <cedk> rhubner: hi
2011-06-25 18:59 <rhubner> cedk: I'm almost ready with the prototype...
2011-06-25 18:59 <cedk> rhubner: good
2011-06-25 18:59 <rhubner> cedk: I need to finish 3 parses from text markup...
2011-06-25 19:00 <rhubner> cedk: I have a question...
2011-06-25 19:00 <cedk> rhubner: have you already upload a codereview?
2011-06-25 19:01 <rhubner> cedk: I'm updating the code of the prototype: https://bitbucket.org/rhubner/rte_trytonclient
2011-06-25 19:03 <rhubner> cedk: When I finished the prototype, I will create a new issue tracker "feature" in bugs.tryton.org
2011-06-25 19:04 <rhubner> cedk: ...to join the prototype code into a widget
2011-06-25 19:05 <rhubner> cedk: but rather, I have some questions about this...
2011-06-25 19:06 <cedk> rhubner: ok
2011-06-25 19:06 -!- FWiesing(~franz@mail.tryton.at) has left #tryton
2011-06-25 19:08 <rhubner> cedk: Is it better create a new file "richtextbox.py" and add the class RichTextBox or add RichTextBox class into textbox.py file?
2011-06-25 19:10 <cedk> rhubner: I think it is better to have richtextbox.py otherwise textbox.py will become too long
2011-06-25 19:11 <cedk> rhubner: it is important that you start to create a codereview
2011-06-25 19:12 <rhubner> cedk: I'll try to create a new codereview now ....
2011-06-25 19:13 <rhubner> cedk: codereview or "feature" in bugs.tryton.org?
2011-06-25 19:14 <cedk> rhubner: you can start with just codereview
2011-06-25 19:14 <cedk> rhubner: the issue will be the final step :-)
2011-06-25 19:15 <rhubner> cedk: Because I had problems in creating a codereview, remember?
2011-06-25 19:15 <rhubner> cedk: I'll try again now...
2011-06-25 19:38 <rhubner> cedk: Just remember some things... Do I need to create a repository on my computer, and add the richtexteditor.py in it and call upload.py?
2011-06-25 19:38 <cedk> rhubner: yes but why not putting directly in tryton client
2011-06-25 19:39 <rhubner> Hummm
2011-06-25 19:40 <rhubner> cedk: Do I direct from directory where I put in richtextedirot Tryton client?
2011-06-25 19:40 <cedk> rhubner: anywhere inside the repo
2011-06-25 19:42 <rhubner> cedk: is it necessary to do commit or only "hg add file.py" ?
2011-06-25 19:42 <cedk> rhubner: only add
2011-06-25 19:48 -!- chrue(~chrue@host-091-097-064-136.ewe-ip-backbone.de) has joined #tryton
2011-06-25 20:05 <rhubner> cedk: same errors ... the command can not connect to codereview.tryton.org
2011-06-25 20:05 <rhubner> cedk: error: http://pastebin.com/aX9MsBRp
2011-06-25 20:08 <rhubner> cedk: I got! I did not know needed to be root
2011-06-25 20:08 <rhubner> cedk: http://codereview.tryton.org/52004/
2011-06-25 20:10 <cedk> rhubner: normally you don't need to be root
2011-06-25 20:11 <rhubner> cedk: It should be access to urllib2...
2011-06-25 20:12 <cedk> rhubner: very strange
2011-06-25 20:13 <cedk> rhubner: it look like a firewall issue
2011-06-25 20:13 <rhubner> cedk: the current contents of richtextbox.py is the same of textbox.py
2011-06-25 20:14 <rhubner> cedk: I'll make a merge of prototype and richtextbox.py
2011-06-25 20:15 <rhubner> cedk: Ok?
2011-06-25 20:15 <cedk> rhubner: ok
2011-06-25 20:15 <cedk> rhubner: you can have a look at http://hg.openhex.org/hgreview
2011-06-25 20:16 <cedk> it simplifies the usage of codereview especially for long dev
2011-06-25 20:17 <cedk> rhubner: I think instead of copy you must inherit textbox
2011-06-25 20:18 <rhubner> cedk: Humm I agree.. I'll have to rewrite only __init__ method then...
2011-06-25 20:19 <cedk> rhubner: yeps
2011-06-25 20:19 <rhubner> cedk: When I have to do a commit?
2011-06-25 20:22 <cedk> rhubner: it can be at the end of the summer :-)
2011-06-25 20:22 <cedk> rhubner: codereview can behave as a dev repository
2011-06-25 20:23 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-06-25 20:23 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-06-25 20:23 <cedk> rhubner: especially if you use hgreview
2011-06-25 20:35 <rhubner> cedk: is hgreview used the same way of upload.py?
2011-06-25 20:35 <cedk> rhubner: yes they share some part of the code
2011-06-25 20:36 <rhubner> cedk: Humm .. I have one more question for today... :)
2011-06-25 20:39 <rhubner> cedk: Do I need to add those files trg and trc from tryton server to build new widget to codereview?
2011-06-25 20:40 <cedk> rhubner: you must put them in tryton client
2011-06-25 20:43 <rhubner> cedk: but the file trytond/ir/ui/form.rng doesn't of tryton server
2011-06-25 20:44 <cedk> rhubner: ha ok, I thought you were talking about icon files
2011-06-25 20:44 <rhubner> cedk: sorry, I said trg... is rng
2011-06-25 20:44 <cedk> rhubner: so yes it is good to make a second codereview for the server-side change
2011-06-25 20:45 <cedk> rhubner: by the way, when you made change in your current code, you must update the current codereview and not create a new one
2011-06-25 20:48 <rhubner> cedk: But do I have to send files from the server-side in the same codereview I created?
2011-06-25 20:52 <rhubner> cedk: I didn't also understand that generation of rnc file.... I put the widget name "richtext' in file trytond/ir/ui/form.rng and file trytond/ir/ui/form.rnc in the correct location and it works!
2011-06-25 20:53 <cedk> rhubner: you must create a new codereview for the server
2011-06-25 20:53 <cedk> rhubner: you can have only one repo per codereview
2011-06-25 20:54 <cedk> rhubner: for rng, you can use http://www.thaiopensource.com/relaxng/trang-manual.html
2011-06-25 20:58 <rhubner> Do I modify just thetrytond/ir/ui/form.rng and uses trang it?
2011-06-25 20:59 <cedk> rhubner: modify rnc (because it is easier) and generate with trang the rng
2011-06-25 21:00 <rhubner> cedk: Only this?
2011-06-25 21:01 <rhubner> cedk: last question! I promise... what is the correct location of svg files (icon files)?
2011-06-25 21:02 <cedk> rhubner: in share/pixmaps/tryton
2011-06-25 21:03 <rhubner> cedk: for some time I can not find Sharoon here.. I would do most of the questions for him...
2011-06-25 21:03 <rhubner> cedk: Thank you ... I'll work some more...
2011-06-25 21:08 <cedk> rhubner: I think he is travelling in US this latest weeks
2011-06-25 21:09 <cedk> rhubner: but we manage the GSoC all together and there is no personal land :-)
2011-06-25 21:13 <rhubner> cedk: Ok :) Where do you from?
2011-06-25 21:14 <cedk> rhubner: Belgium
2011-06-25 21:50 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton
2011-06-25 22:32 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-06-25 23:22 <jcm> hi Cedk
2011-06-25 23:23 <jcm> finally I succeeded in connecting to my tryton installation on my debian server (was a stupid firewall problem)
2011-06-25 23:23 <jcm> I encounter some problems with diacriticals encodings with csv reader in the import script
2011-06-25 23:25 <cedk> jcm: what is "diacriticals" ?
2011-06-25 23:26 <jcm> accentuated chars, ie not ASCII
2011-06-25 23:26 <jcm> exact error is : 'UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal' in ' if previous != getattr(instance, self.name):'
2011-06-25 23:28 <cedk> jcm: I wrote the script with the assumption that the csv files will be in utf-8
2011-06-25 23:28 <jcm> seems that name.decode('utf8') could be the solution
2011-06-25 23:30 <cedk> jcm: yes but there is a lot of places to change
2011-06-25 23:30 <jcm> all my data is in utf8...
2011-06-25 23:30 <cedk> jcm: I think it is better to re-encode the files
2011-06-25 23:31 <cedk> jcm: could you give the full traceback
2011-06-25 23:31 <cedk> jcm: using a website like pastebin.ca
2011-06-25 23:34 <jcm> http://pastebin.com/r5uPH7Nd
2011-06-25 23:36 <jcm> I slightly modified the script, commited to the repository I host. The script worked well here on MacOSX, the bug appears only on debian server.
2011-06-25 23:37 <cedk> jcm: do you know the value of code ?
2011-06-25 23:42 <jcm> err... could be because the last line of csv is empty ? does 'ValueError: need more than 0 values to unpack' mean that there's nothing in code?
2011-06-25 23:44 <cedk> jcm: it is because it find nothing for the code
2011-06-25 23:45 <cedk> jcm: so yes, you must not have empty lines in the csv file
2011-06-25 23:46 <jcm> ok, I undestand. I try to rename an account that is not in account_fr. Should create it. Will add a test to avoid such an error.
2011-06-25 23:46 <jcm> sry to bother you with my bugs :/
2011-06-25 23:46 <cedk> jcm: no problems
2011-06-25 23:49 <cedk> jcm: I will be happy to know when you will have finish to validate the french account chart
2011-06-25 23:52 -!- nicoe(~nicoe@137.139-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!