IRC logs of #tryton for Tuesday, 2009-05-12

chat.freenode.net #tryton log beginning Tue May 12 00:00:02 CEST 2009
-!- enlightx(n=enlightx@217.203.91.13) has joined #tryton00:11
-!- ikks(n=Ikhnaie@190.144.69.234) has joined #tryton00:21
CIA-48ced roundup * #1025/Translation: account.tax.code.template do not appear in ir_translation: There is some issues in the patch: - it search and reads ir.lang for each record (bad performance). It will be better to add a function on ir.lan ...00:44
CIA-48http://bugs.tryton.org/roundup/issue102500:44
-!- ikks(n=igor@186.97.20.55) has joined #tryton03:37
-!- yangoon(n=mathiasb@p549F7B3B.dip.t-dialin.net) has joined #tryton05:20
-!- FWiesing(n=Wiesinge@194-208-185-012.tele.net) has left #tryton05:44
-!- yangoon(n=mathiasb@p549F7B3B.dip.t-dialin.net) has joined #tryton06:17
-!- ChanServ(ChanServ@services.) has joined #tryton06:17
-!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton06:17
-!- saxa(n=sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton06:17
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton06:17
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton07:19
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton07:59
-!- ikks(n=Ikhnaie@190.144.69.234) has joined #tryton08:06
-!- paepke(n=paepke@smtp.metaldyne.de) has joined #tryton08:21
-!- Ged_(n=ged@77.109.114.47.adsl.dyn.edpnet.net) has joined #tryton08:29
CIA-48dbrenck roundup * #1045/UnicodeDecodeError - Webdav on Windows Server: [new] Find error messages attached in error.txt. This happens regardles of the client. I tried using Mozilla Firefox and Windows Explorer.08:34
CIA-48http://bugs.tryton.org/roundup/issue104508:34
CIA-48dbrenck roundup * #1022/Layout improvements: [closed] This can be removed. The feature does not occur any more since changing to windows client version 1.3.008:49
CIA-48http://bugs.tryton.org/roundup/issue102208:49
-!- racke(n=racke@a89-183-22-0.net-htp.de) has joined #tryton08:50
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton09:38
-!- vengfulsquirrel(n=ian@c-67-160-236-234.hsd1.ca.comcast.net) has joined #tryton09:41
-!- paepke(n=paepke@mail.metaldyne-nue.de) has joined #tryton10:27
-!- enlightx(n=enlightx@static-217-133-36-76.clienti.tiscali.it) has joined #tryton11:10
-!- bechamel(n=user@host-85-201-74-27.brutele.be) has joined #tryton11:16
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton11:35
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton11:53
CIA-48ced roundup * #1044/TypeError: unknown type (null): [need-eg] I could not reproduce.11:55
CIA-48http://bugs.tryton.org/roundup/issue104411:55
CIA-48ced roundup * #1045/UnicodeDecodeError - Webdav on Windows Server: [chatting] What is the database names?11:58
CIA-48http://bugs.tryton.org/roundup/issue104511:58
CIA-48udono roundup * #1044/TypeError: unknown type (null): Just a hint: 0xe4 could be the german umlaut ä or a with two dots above in latin1.12:04
CIA-48http://bugs.tryton.org/roundup/issue104412:04
CIA-48udono roundup * #1045/UnicodeDecodeError - Webdav on Windows Server: Just a hint: 0xe4 could be the german umlaut ä or a with two dots above in latin1.12:05
CIA-48http://bugs.tryton.org/roundup/issue104512:05
CIA-48dbrenck roundup * #1045/UnicodeDecodeError - Webdav on Windows Server: Databasename is: tryton German keyboard: qwertz I'll check using another name ...12:30
CIA-48http://bugs.tryton.org/roundup/issue104512:30
CIA-48dbrenck roundup * #1045/UnicodeDecodeError - Webdav on Windows Server: Btw.: The request was http://localhost:8087 I did not append a database name yet ...12:32
CIA-48http://bugs.tryton.org/roundup/issue104512:32
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton12:51
CIA-48dbrenck roundup * #1045/UnicodeDecodeError - Webdav on Windows Server: Ok - database name "tryton" seems to be a problem. New database name: aaaa http://localhost:8087/aaaa 1. Authentication keept on failing, user: ...13:08
CIA-48http://bugs.tryton.org/roundup/issue104513:08
CIA-48Timitos roundup * #1025/Translation: account.tax.code.template do not appear in ir_translation: new patch with your recommendations. but i do not see any performance gain on my machine with this. the wizards seems to take some more time now.13:09
CIA-48http://bugs.tryton.org/roundup/issue102513:09
CIA-48Timitos roundup * #1025/Translation: account.tax.code.template do not appear in ir_translation: patch for cache on ir.lang13:10
CIA-48http://bugs.tryton.org/roundup/issue102513:10
CIA-48ced roundup * #1025/Translation: account.tax.code.template do not appear in ir_translation: On 12/05/09 13:09 +0200, Korbinian Preisler wrote: > > Korbinian Preisler <Timitos@virtual-things.biz> added the comment: > > new patch with you ...13:38
CIA-48http://bugs.tryton.org/roundup/issue102513:38
CIA-48ced roundup * #1025/Translation: account.tax.code.template do not appear in ir_translation: On 12/05/09 13:10 +0200, Korbinian Preisler wrote: > > Korbinian Preisler <Timitos@virtual-things.biz> added the comment: > > patch for cache on ...13:53
CIA-48http://bugs.tryton.org/roundup/issue102513:53
CIA-48C?dric Krier <ced@b2ck.com> default * 1800:9b6d8e3abaf8 trytond/trytond/backend/postgresql/database.py: Fix encoding in database list14:00
CIA-48http://hg.tryton.org/trytond/rev/9b6d8e3abaf814:00
CIA-48C?dric Krier <ced@b2ck.com> default * 1801:89b6cb8829de trytond/trytond/protocols/webdav.py:14:00
CIA-48Add missing unquote uri14:00
CIA-48Fix encoding of children14:00
CIA-48http://hg.tryton.org/trytond/rev/89b6cb8829de14:00
CIA-48ced roundup * #1045/UnicodeDecodeError - Webdav on Windows Server: I don't understand what happens.14:02
CIA-48http://bugs.tryton.org/roundup/issue104514:02
-!- woakas_(n=woakas@200.106.197.191) has joined #tryton14:04
-!- _TiN_(n=TiN@190.189.9.80) has joined #tryton14:12
-!- dbrenck(n=chatzill@euripides.first-private.de) has joined #tryton14:14
dbrenckcedrik - you there?14:14
cedkdbrenck: yes14:15
dbrenckk ... what happens ...14:15
dbrenckwindows server 1.3.014:15
dbrenckmozilla firefox14:15
dbrenckstart server, start mozilla14:16
dbrenckin mozilla URL enter: http://localhost:808714:16
dbrenck(that s where i configured webdav)14:16
dbrenckyou will be asekd to authenticate14:16
dbrenckyou enter user/passwd14:16
dbrenckauthentication fails14:17
dbrenckyou get prompted to authenticate again14:17
dbrenckyou enter user pwd again14:17
dbrenck... server fails with unicode error and does not return a thing14:17
dbrenckif you try to open http://localhost:8087/somedatabasename14:18
dbrenck...server fails with unicode error14:18
dbrenck..14:18
dbrenckclose mozilla client14:18
dbrenckopen mozilla client again14:18
dbrenckopen url http://localhost:8087/somedatabasename14:19
dbrenckyou get prompted for authentication14:19
dbrenckenter username/password14:19
dbrenckeverything is fine now .. you are logged in and displayed the collection "somedatabasename"14:19
dbrenck...14:20
dbrenckthis is reproducable14:20
dbrenckbtw: mozilla cache is cleard when closing down the client. passwords are never saved14:20
dbrenck...14:21
dbrenckurl http://localhost8087/tryton is always a problem ... this never works. You ll get a unicode error maybe due to german keyboard: qwertz (american is qwerty)14:22
dbrenckdid this description help?14:22
udono1dbrenck: I don't think it depends to german keyboard layout, it could be a codepage thing maybe14:25
cedkI don't know14:25
dbrenckI don't have a clue either... :-)14:25
udono1dbrenck: did you try to open http://localhost8087/"tryton" ?14:26
dbrenckyou really mean using --> "  <---- ? No I did not14:26
udono1dbrenck: did you create the database tryton within the tryton client?14:26
dbrenckyes i did create it with this client14:27
udono1which other postgres databases you have?14:27
dbrenckserver/client latest source14:27
udono1is there maybe some with umlauts in name?14:28
dbrencknope - never been. all databases i had were: "openerp", "tryton" and "tryton1"14:28
dbrenckcurrently I only got "aaaa"14:29
dbrenckI deleted everything to be sure to get rid of any disturbances14:29
udono1dbrenck: may try a14:31
udono1print "test:", s14:31
udono1statement in line 55 of c:\programme\python\2.4\lib\site-packages\PyWebDAV-0.9.1-py2.4.egg\DAV\BufferingHTTPServer.py14:31
dbrenckk .. gimme a few ... just got some guy in my office14:32
-!- mazvv(n=mazvv@77.87.149.32) has joined #tryton14:33
-!- mazvv(n=mazvv@77.87.149.32) has joined #tryton14:35
mazvvhi all14:35
dbrenckhey14:35
mazvvhave a question14:35
mazvvi'm very interesting in systems like tiny and tryton but...14:35
udono1dbrenck: if this fails, try a14:36
udono1print "test:", unicode(s)14:36
mazvvwhy tryton not uses standart ORM like sqlalchemy or sqlobject?14:36
dbrenckudono: LOL14:39
dbrenckudono    print "--------> buffer: '%s' s: '%s'" % ( self.__buffer, unicode( s ))14:39
dbrenckUnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 218: ordinal not in range(128)14:39
dbrenckthe print statment now fails ...14:40
dbrenckmazvv: sorry, I dont know14:40
udono1dbrenck: try unicode(self.__buffer) ...14:40
udono1mazvv: http://www.tryton.org/~irclog/2008-12-05.log.html14:41
dbrenckudono: sorry ... same sh**14:42
dbrenckprint "--------> buffer: '%s' s: '%s'" % ( unicode( self.__buffer ), unicode( s ))14:42
mazvvi think it's one of the most problem in tiny and tryton. Becouse we reduce quantity of developers ready to develop a product14:43
dbrenckudono: http://paste.pocoo.org/show/116863/14:43
udono1mazvv: cedk did a big cleanup in the orm for 1.2 so we are one step closer to database independence and maybe later changing the orm. the problem is that it's a very lot of work...14:44
udono1dbrenck: which part makes the error s or self.__buffer?14:45
udono1dbrenck: what is the encoding of your tryton database?14:46
dbrenckself.__buffer is the problem ... printing s works14:47
dbrenckits default encoding14:47
dbrencklemme see if i find postges config14:48
dbrenckJust to show the string s:14:49
dbrenck--------> s: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>trytond - WebDAV - root</title></head><body><h2>Collection: /</h2><ul><li><a href="http://HEARTOFGOLD:8087/aaaa">aaaa</a></li><li><a href="http://HEARTOFGOLD:8087/openerp">openerp</a></li></ul><hr noshade><em>Powered by <a href="http://ww14:49
dbrenckw.tryton.org/">trytond</a> version 1.3.0</em></body></html>'14:49
dbrenckso i dont think this is a postgres problem14:50
udono1dbrenck: try print "test:", unicode(self.__buffer, 'iso-8859-1')14:51
cedkdbrenck: how do you print self.__buffer14:51
udono1dbrenck: or try print "test:", unicode(self.__buffer, 'latin1')14:52
dbrenckcedk: see http://paste.pocoo.org/show/116863/14:53
cedkdbrenck: no, simply print self.__buffer14:53
dbrenckk14:53
dbrencka simple print works ...14:55
cedkdbrenck: and what is the content14:55
cedkmazvv: we didn't find a ORM that does what we need14:56
dbrenckhttp://paste.pocoo.org/show/116865/14:56
cedkdbrenck: what does it mean "Last-Modified: ..."14:56
cedkit seems a pywebdav bug14:57
dbrenckdamn14:57
dbrenckwesteurop_ä_isch14:57
dbrenckthats an umlaut14:57
dbrenckits localized14:57
dbrenckwesteuropean summertime14:58
cedkI'm not sure it is RFC compliant14:58
dbrenckNo its not - it should not be localized14:58
dbrencki ll paste this to the bugtracker .. so we can fix it15:00
dbrenck(not bugfix - just fix the issue)15:00
dbrenckguess this is due to my local xp is german, the account as well15:01
dbrencki ll switch to english and check again15:01
cedkdate format is define here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html15:03
cedkat 3.1.115:03
CIA-48dbrenck roundup * #1045/UnicodeDecodeError - Webdav on Windows Server: http://www.tryton.org/~irclog/2009-05-12.log.html def _append(self,s): """ append a string to the buffer """ try: ...15:04
CIA-48http://bugs.tryton.org/roundup/issue104515:04
udono1dbrenck: when you open a python console, import time15:07
udono1dbrenck: and then print time.strftime("%a, %d %b %Y %H:%M:%S %Z",time.localtime())15:08
udono1dbrenck: what is the output?15:08
cedkhttp://docs.python.org/library/time.html#id215:08
cedkso %Z is deprectated15:08
udono1cedk: ok, so iface.py is wrong...15:09
dbrenckTue, 12 May 2009 15:09:39 Westeuropõische Sommerzeit15:09
dbrenck:-)15:09
cedkI will submit this patch: http://dpaste.com/43346/15:14
udono1cedk: there is missing the _get_dav_creationdate?15:16
udono1cedk: you only changed _get_dav_getlastmodified15:16
cedkthis one seems more compliant: http://dpaste.com/43347/15:17
dbrenckpython does not care about local input schemes ... when opening python using en_US i am returned the same... So "Z" might depend on OS setup language15:17
dbrenckty for the patch15:18
cedkudono1: I don't think creation date is used in HTTP15:18
cedkudono1: creationdate is webdav property and use RFC333915:23
cedkudono1: so it is right15:23
cedkudono1: but I think we should use gmtime instead of locatime15:25
dbrenckpatch applied ... webdav doing allright now15:26
cedklast version of the patch: http://dpaste.com/43348/15:26
udono1cedk: yes, good idea. dbrenck: congratulation!15:26
udono1cedk: please can you move the patch to http://www.b2ck.com/~ced/pywebdav/ ? because the dpaste will removed in 6 days... bad for the irc log15:29
paepkecongrats from my side, too. really productive!15:29
dbrenckhitchhikers guide to tryton: So Long, and Thanks for All the Patches :-)15:30
-!- _TiN_(n=TiN@200.69.137.190) has joined #tryton15:31
CIA-48ced roundup * #1045/UnicodeDecodeError - Webdav on Windows Server: [in-progress] Submit to upstream: http://code.google.com/p/pywebdav/issues/detail?id=115:33
CIA-48http://bugs.tryton.org/roundup/issue104515:33
cedkudono1: send to upstream15:34
CIA-48C?dric Krier <ced@b2ck.com> default * 1802:f14b59ca2ad3 trytond/ (INSTALL trytond/protocols/webdav.py trytond/webdav/webdav.py): Fix code to use pywebdav 0.9.215:40
CIA-48http://hg.tryton.org/trytond/rev/f14b59ca2ad315:40
CIA-48C?dric Krier <ced@b2ck.com> default * 12:0beef177ddc6 party_vcarddav/webdav.py: Make Contacts collection exists15:40
CIA-48http://hg.tryton.org/modules/party_vcarddav/rev/0beef177ddc615:40
-!- dbrenck_(n=chatzill@euripides.first-private.de) has joined #tryton15:42
-!- _TiN_(n=TiN@200.69.137.190) has joined #tryton15:45
-!- ikks(n=Ikhnaie@190.144.69.234) has joined #tryton15:58
CIA-48Timitos roundup * #1025/Translation: account.tax.code.template do not appear in ir_translation: new ones16:17
CIA-48http://bugs.tryton.org/roundup/issue102516:17
CIA-48ced roundup * #1025/Translation: account.tax.code.template do not appear in ir_translation: On 12/05/09 16:17 +0200, Korbinian Preisler wrote: > > Korbinian Preisler <Timitos@virtual-things.biz> added the comment: > > new ones > > ____ ...16:32
CIA-48http://bugs.tryton.org/roundup/issue102516:32
-!- Ged_(n=ged@77.109.114.47) has joined #tryton16:38
-!- Ged_(n=ged@77.109.114.47.adsl.dyn.edpnet.net) has joined #tryton18:44
-!- essich(n=essich@f053112037.adsl.alicedsl.de) has joined #tryton18:55
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton18:56
CIA-48Timitos roundup * #1025/Translation: account.tax.code.template do not appear in ir_translation: next one18:57
CIA-48http://bugs.tryton.org/roundup/issue102518:57
-!- _TiN_(n=TiN@181-36-17-190.fibertel.com.ar) has joined #tryton19:10
-!- racke(n=racke@dslb-088-073-095-033.pools.arcor-ip.net) has joined #tryton19:30
-!- FWiesing(n=Wiesinge@194-208-185-012.tele.net) has joined #tryton19:58
CIA-48C?dric Krier <ced@b2ck.com> default * 341:2105eb7e7e5c website/ (6 files in 5 dirs): Add unit test20:17
CIA-48http://hg.tryton.org/www.tryton.org/rev/2105eb7e7e5c20:17
udono1cedk: http://tests.tryton.org/~test/ great!!!20:21
-!- racke(n=racke@dslb-088-073-095-033.pools.arcor-ip.net) has left #tryton20:23
-!- vengfulsquirrel(n=ian@c-67-160-236-234.hsd1.ca.comcast.net) has joined #tryton20:37
-!- _TiN_(n=TiN@200.69.137.190) has joined #tryton21:03
cedkudono1: also: http://tests.tryton.org/~test1_2 and http://tests.tryton.org/~test1_021:32
cedkalso there is a release of pywebdav with my patches21:35
cedkso no need of pacthes to make GroupDAV working21:35
CIA-48Mathias Behrle <mathiasb@behrle.dyndns.org> default * 342:3ffff1cd322b website/locale/de/LC_MESSAGES/tryton.po: Update translation for de22:51
CIA-48http://hg.tryton.org/www.tryton.org/rev/3ffff1cd322b22:51
CIA-48matb roundup * #1046/Website: news from May 11, 2009 only available in en and fr: [new] The news from May 11, 2009 is not available for translation in de, es and it.22:56
CIA-48http://bugs.tryton.org/roundup/issue104622:56
CIA-48bch roundup * #1046/Website: news from May 11, 2009 only available in en and fr: [resolved] Yes, we changed the way the news are created. Please send me the translation by mail (bch@b2ck.com).23:05
CIA-48http://bugs.tryton.org/roundup/issue104623:05

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