IRC logs of #tryton for Friday, 2010-02-26

chat.freenode.net #tryton log beginning Fri Feb 26 00:00:02 CET 2010
2010-02-26 01:18 -!- rednul(~rednul@216.187.188.134) has joined #tryton
2010-02-26 02:21 -!- ikks(~ikks@200.118.243.193) has joined #tryton
2010-02-26 05:18 -!- yangoon(~mathiasb@p549F6DD0.dip.t-dialin.net) has joined #tryton
2010-02-26 07:14 -!- FWiesing(~FWiesing@194-208-185-012.tele.net) has joined #tryton
2010-02-26 07:35 -!- Timitos(~timitos@88.217.184.172) has joined #tryton
2010-02-26 08:19 -!- sharkcz(~dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2010-02-26 09:21 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-02-26 09:28 -!- sharoon(~sharoonth@opg066b.halls.manchester.ac.uk) has joined #tryton
2010-02-26 09:33 -!- paepke(~paepke@p4FEB1706.dip0.t-ipconnect.de) has joined #tryton
2010-02-26 09:43 -!- bechamel(~user@host-85-201-159-186.brutele.be) has joined #tryton
2010-02-26 09:46 <cedk> paepke: I think I have fixed the patch for 2.5
2010-02-26 09:50 <paepke> cedk, ok i'll test it
2010-02-26 10:02 -!- paepke_(~paepke@p4FEB0F7F.dip0.t-ipconnect.de) has joined #tryton
2010-02-26 10:32 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-02-26 11:19 -!- mlhamel_(~mlhamel@ANantes-157-1-143-51.w90-25.abo.wanadoo.fr) has joined #tryton
2010-02-26 11:28 <paepke> cedk, the new patch works now. great.
2010-02-26 11:29 <paepke> cedk, comparing the patch against standard system it is not faster in installing the country-module (xml-import) should there be any difference?
2010-02-26 11:32 <cedk> paepke: no because importing xml data are done by the sax pareser
2010-02-26 11:33 -!- essich(~essich@p4FCF8C95.dip0.t-ipconnect.de) has joined #tryton
2010-02-26 11:35 -!- sharoon(~sharoonth@opg066b.halls.manchester.ac.uk) has left #tryton
2010-02-26 11:36 <cedk> paepke: where it can have difference is on generating xml view
2010-02-26 12:06 -!- ikks(~ikks@200.118.243.193) has joined #tryton
2010-02-26 12:08 <paepke> cedk: ic. thx
2010-02-26 12:10 <paepke> cedk is it planned to change that, too?
2010-02-26 12:14 -!- paepke_(~paepke@p4FEB03C8.dip0.t-ipconnect.de) has joined #tryton
2010-02-26 13:05 -!- ikks(~ikks@200.118.243.193) has joined #tryton
2010-02-26 13:33 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-02-26 13:38 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-02-26 14:42 -!- woakas(~woakas@190.144.69.234) has joined #tryton
2010-02-26 14:42 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-02-26 16:08 -!- essich(~essich@p4FCF8C95.dip0.t-ipconnect.de) has joined #tryton
2010-02-26 16:58 <yangoon> cedk: when saving a utf-8 encoded file with the binary field, it is stored as b64 encoded value. decoding this value doesn't give me back valid utf-8 data. any idea how to proceed?
2010-02-26 16:59 <cedk> yangoon: no
2010-02-26 17:04 <cedk> yangoon: tell me more
2010-02-26 17:05 <yangoon> cedk: well, iam saving an import file containing utf chars with the binary field
2010-02-26 17:06 <yangoon> i fetch it from the model and do base64.b64decode(data)
2010-02-26 17:06 <cedk> yangoon: how?
2010-02-26 17:07 <yangoon> cedk: http://paste.pocoo.org/show/183059/
2010-02-26 17:09 <cedk> yangoon: you must use decodestring
2010-02-26 17:09 <yangoon> cedk: same problem with decodestring
2010-02-26 17:15 <cedk> yangoon: I don't understand
2010-02-26 17:17 <bechamel> yangoon: maybe: data = unicode(data).decode('utf-8')
2010-02-26 17:22 <yangoon> bechamel: tried already this, result is: UnicodeDecodeError: 'ascii' codec can't decode byte 0xdc in position 291: ordinal not in range(128)
2010-02-26 17:25 <yangoon> cedk: I tried already with decodestring, but it returns broken utf-8 values as well
2010-02-26 17:30 <cedk> yangoon: how do you set the data?
2010-02-26 17:31 <yangoon> cedk: I send you a test file, that I am saving via a biinary field
2010-02-26 17:36 <yangoon> cedk: it is an encoding issue between OS: the original import file is saved on a windows client
2010-02-26 17:37 <yangoon> cedk: as soon as I save the same file again on linux it works
2010-02-26 17:38 <cedk> yangoon: I still don't know what you are doing?
2010-02-26 17:39 <cedk> yangoon: what does it mean "saving via a biinary field" ?
2010-02-26 17:40 <yangoon> cedk: I have a fields.Binary on a model, and I am saving a file with the slection dialog of this field
2010-02-26 17:42 <yangoon> cedk: may be the file is windows-1252 encoded, I will have to check
2010-02-26 17:51 <yangoon> cedk: bechamel indeed, file is windows-1252, so thx and sorry for the noise
2010-02-26 17:51 <bechamel> yangoon: np
2010-02-26 17:58 <paepke> cedk, its great to see that there's something going on with ssl-checking! i'll test it as soon i come back from a short holiday! Thanks!
2010-02-26 17:59 <cedk> paepke: for me it is the only missing part
2010-02-26 18:00 <paepke> cedk, for me additionally: not falling back to non-ssl
2010-02-26 18:01 <cedk> paepke: it is already in the patch
2010-02-26 18:01 <paepke> cedk, yes i saw that. thats really great.
2010-02-26 18:01 -!- petrus(~petrus@142.176.238.66) has joined #tryton
2010-02-26 18:01 <paepke> cedk, thats a great step forward.
2010-02-26 18:08 -!- mlhamel(~mlhamel@ANantes-157-1-143-51.w90-25.abo.wanadoo.fr) has joined #tryton
2010-02-26 18:17 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-02-26 18:18 -!- petrus(~petrus@142.176.238.66) has joined #tryton
2010-02-26 18:52 -!- paepke(~paepke@p4FEB03C8.dip0.t-ipconnect.de) has left #tryton
2010-02-26 19:51 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2010-02-26 21:46 -!- sharoon(~sharoonth@opg066b.halls.manchester.ac.uk) has joined #tryton
2010-02-26 23:09 -!- mlhamel(~mlhamel@ANantes-157-1-143-51.w90-25.abo.wanadoo.fr) has joined #tryton
2010-02-26 23:44 -!- yangoon_rm(~mathiasb@frbg-5f730bb5.pool.mediaWays.net) has joined #tryton
2010-02-26 23:49 -!- mlhamel(~mlhamel@ANantes-157-1-143-51.w90-25.abo.wanadoo.fr) has joined #tryton

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