*** jcater_ has joined #gnuenterprise
*** holycow has joined #gnuenterprise
*** jcater_ has quit IRC
*** sjc has joined #gnuenterprise
*** kilo has joined #gnuenterprise
*** holycow has quit IRC
*** drewc has quit IRC
*** drewc has joined #gnuenterprise
*** johannesV has joined #gnuenterprise
*** dsmith has joined #gnuenterprise
*** dimas has joined #gnuenterprise
*** btami has joined #gnuenterprise
<btami> johannesV: are you here?
<btami> i'm fighting with a strange bug on XP
<btami> --------------------------------
<btami> c:\python23\scripts>setup-db
<btami> c:\python23\scripts>python gnue-schema --connection=gnue --createdb base.gsd
<btami> 'base.gsd' gsd fßjl bet÷ltÚse...
<btami> ************************************************************
<btami> Attempting to log into "Security Database" (as SYSDBA):
<btami>   Password:
<btami> ************************************************************
<btami> SÚma frissÝtÚse ...
<btami> Adatok frissÝtÚse ...
<btami> 'ascii' codec can't decode byte 0xe1 in position 5: ordinal not in range(128)
<btami> c:\python23\scripts>python gnue-gcd2sql --connection=gnue auth.gcd sample.gcd
<btami> 'ascii' codec can't decode byte 0xe1 in position 9: 
<btami> ----------------------------------------
<btami> i get this with firebird
<btami> but on Linux there is no bug, setup-sb runs without errors
<btami> ?
<btami> bbl
*** btami has quit IRC
*** johannesV_ has joined #gnuenterprise
*** johannesV has quit IRC
*** btami has joined #gnuenterprise
<btami> johannesV_: the line 510 in Scripter.py 
<btami>       print _("  updating table '%s' ...") % tablename
<btami> just don't understand why this is fails on win :(
*** btami has quit IRC
*** btami has joined #gnuenterprise
*** kilo has quit IRC
*** btami has quit IRC
*** jcater_ has joined #gnuenterprise
*** jcater has quit IRC
*** jcater_ has joined #gnuenterprise
*** ChanServ sets mode: +o jcater
*** jcater_ was kicked by jcater (jcater)
*** jcater sets mode: -o jcater
*** jamest has joined #gnuenterprise
* apropos is back from away after 1 day 18 hrs 20 mins
*** reinhard has joined #gnuenterprise
*** bluesbaron_ has joined #gnuenterprise
*** bluesbaron_ has left #gnuenterprise
*** johannesV_ has left #gnuenterprise
*** mangomadness has quit IRC
*** btami has joined #gnuenterprise
<btami> hi
<reinhard> hi btami
<reinhard> you got my mail?
<btami> yes :)
<reinhard> was your u_() commit a fix for your windows problem?
<btami> yes, but i don't force u_(), just applied johannes fix again in gcd2sql
<btami> he fixed Scripter.py this way...
<btami> btw. it (the fix) works :)
<btami> maybe print can be changed to GDebug() message
<btami> if 2.1 compatibility is important
<reinhard> well, for 2.1 compatibility
<reinhard> we've done much worse hacks than this
<btami> who using 2.1 ?
<reinhard> and I'm not sure what 2.2. will do with this
<reinhard> i only can test 2.1 and 2.3
<reinhard> it works with 2.3 but breaks 2.1
<btami> woody has 2.1 only ?
<reinhard> all people using debian stable use 2.1
<reinhard> yes
<btami> i see
<reinhard> i think as soon as sarge is stable
<reinhard> we will move to 2.3 as a requirement
<reinhard> as it will give us *lots* of good stuff
<reinhard> like boolean type
<btami> not has woody 2.2 too ?
<reinhard> builtin xmlrpc
<reinhard> no
<reinhard> no 2.2 in woody
<reinhard> maybe backports, but not official
<reinhard> but i still don't understand why the code breaks under windows
<reinhard> the error you get should *never* happen with policy = 'replace'
<reinhard> by definition
<reinhard> ah oh
<reinhard> now i get it
<btami> reinhard: woody has 2.2
<btami> http://packages.debian.org/cgi-bin/search_packages.pl?keywords=python&searchon=names&subword=1&version=stable&release=all
<reinhard> doh
<reinhard> you are right
<reinhard> hmmm
<btami> sorry :)
<reinhard> i think we still should talk to jcater and jamest
<reinhard> but seeing this
<reinhard> i would be ok with depending on 2.2
<jcater> I think we need to sequester the debian folks
<jcater> and force them to release
<jcater> =)
<reinhard> btami: FWIW
<reinhard> i think the correct patch
<reinhard> that doesn't break anything
<reinhard> would be
<reinhard>       print _("  updating table '%s' ...") % tablename
<reinhard>       print o(u_("  updating table '%s' ...") % tablename)
<btami> pretty :)
<reinhard> the reason why the original code breaks is
<reinhard> tablename is a unicode string
<btami> yes, i realized
<reinhard> _() returns an encoded 8-bit string
<reinhard> so _() % tablename tries to decode the translation to unciode
<reinhard> but not knowing what character set to use for translation
<reinhard> so u() % tablename will work because it's unicode % unicode
<reinhard> but then you have to o() it to send it to "print"
<reinhard> so print then again gets 8-bit string
<reinhard> hopefully Johannes will read this
<reinhard> sigh
<reinhard> if i knew which fool it was to decide some 40 years ago
<reinhard> that 8 bits are enough to store a character
<reinhard> i think i would punch his nose ;-)
<reinhard> well
<reinhard> gotta go to bed
<reinhard> night all
*** reinhard has quit IRC
<btami> isn't tablename.encode('utf-8') simpler ?
<btami> night
*** btami has quit IRC
*** sjc has quit IRC
*** jcater has quit IRC
*** nickr has quit IRC
*** nickr has joined #gnuenterprise
*** jcater has joined #gnuenterprise
*** mangomadness has joined #gnuenterprise
*** tocer has joined #gnuenterprise
*** jamest has quit IRC
*** jcater has quit IRC
*** jcater has joined #gnuenterprise
*** tocer has left #gnuenterprise
*** dyfet has joined #gnuenterprise
*** jcater has quit IRC
*** dyfet has left #gnuenterprise
*** holycow has joined #gnuenterprise
*** nickr has quit IRC
*** jcater has joined #gnuenterprise
*** jcater has quit IRC
*** dcmwai has joined #gnuenterprise
