*** sss has joined #gnuenterprise *** sss has quit IRC *** titopbs has quit IRC *** btami has joined #gnuenterprise hello all btami: hi hi dimas whats the problem with uft8 ? forms complains about UnicodeEncode Error ascii codec can't ... ordinal not in range (128) what form? whitch? version or what? binary packages downloaded 2 days ago sorry, what .gfd to use to reproduce it? simple modification to simple/form.gfd with label in local encoding and encoding in the header of the form is it ok on Linux? no winXP sorry :) OK on linux * btami reboot to XP :( *** btami has quit IRC *** kilo has joined #gnuenterprise good morning *** btami has joined #gnuenterprise back dimas: trying... *** btami has quit IRC *** btami has joined #gnuenterprise btami: what provider in connections.conf could i use to connect to postgres? *** reinhard has joined #gnuenterprise tried postgresql and psycopg and no luck pypgsql or psycopg iirc complaining differently with both i have forms 0.5.9 on winxp and 0.5.5 under win98 0.5.5 works much better works with db and no encoding problem got the Unicode error :( reinhard: btami: what provider in connections.conf could i use to connect to postgres? kilo: the question is what postgresql driver is enclosed into binary build for win32 or drivers kilo=looser :) @roulette kilo: *click* @roulette *BANG* Hey, who put a blank in here?! * bigbrother reloads and spins the chambers. grrrrrrrrrrrrr rotfl *** sjc has joined #gnuenterprise dimas: please change the line 46 in uidrivers\win32\drivers\label.py self.itemWidth = len(str(object.text))*event.widgetWidth to self.itemWidth = len(str(textEncode(object.text)))*event.widgetWidth @roulette reinhard: *click* yeah :) *** cilkay has quit IRC *** sjc has quit IRC dimas: what error you get with psycopg/pypgsql ? looking.. psycopg: Error while communicating with datasource: no result to fetch so your login is succesful? i get this with false login name/passwd Traceback (most recent call last): File "", line 8, in messageDialog_ON_ACTIVATION File "c:\python23\Lib\site-packages\gnue\common\logic\NamespaceCore.py", line 192, in __setattr__ self.__dict__[name]._triggerSet(value) File "c:\python23\Lib\site-packages\gnue\forms\GFObjects\GFField.py", line 497, in triggerSetValue self.setValue (value) File "c:\python23\Lib\site-packages\gnue\forms\GFObjects\GFField.py", line 331, in setValue self._block._resultSet.current[self.field] = value File "c:\python23\Lib\site-packages\gnue\common\datasources\drivers\Base\RecordSet.py", line 73, in __setitem__ self.setField (attr, val) File "c:\python23\Lib\site-packages\gnue\common\datasources\drivers\Base\RecordSet.py", line 160, in setField gDebug (3, "setField: %s to %s" % (field, value)) UnicodeDecodeError: 'utf8' codec can't decode bytes in position 20-23: invalid data i have no postgresql installed on my XP so i just tried connection.gfd with different pg providers i have postgres on linux machine yes, i will ask kilo to set one up too brrrrrrrrrrrrrrrrrr dimas: is sample.gfd ok after suggested patch ? s/sample/form btami: i need vim there first :) notepad man! :))) dos box, edit real work coming, bbl *** btami has quit IRC dimas: ok, i've just install postgresql what do i need to set it up for the same setup you use (pgsql on linux, win32 client)? *** holycow has joined #gnuenterprise reinhard: forms bug? kilo: thanks :) if i have a checkbox on a form, and i don't touch it but other fields, then on commit it tries to be saved with NULL, not False *** btami has joined #gnuenterprise btami: patch works thx busy, with postgres test later me too *** cilkay has joined #gnuenterprise *** btami has quit IRC *** holycow has quit IRC *** kilo has quit IRC *** titopbs has joined #gnuenterprise *** titopbs has quit IRC *** Vee has quit IRC *** Vee has joined #gnuenterprise *** jcater has joined #gnuenterprise *** kilo has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** sss has joined #gnuenterprise *** wt has joined #gnuenterprise hi, I would like to convert gnue-docbook in to either text or html format. I am running debian sarge, openjade -t html main.sgml produced the error "cannot find "main.dsl". Do anyone know how to do this? *** holycow has joined #gnuenterprise ..it's a great shame to have this documentation but not be able to read it! sss: have you tried xmlto? never heard of it, I will take a look now... xmlto can convert xml to HTML (among other things), but how do I convert to xml format in the first place? openjade -t xml main.sgml still produced the error "cannot find "main.dsl" *** titopbs has joined #gnuenterprise I think I am missing the DSSSL style sheet for gnue-docbook, does anyone know where it is? *** johannesV has joined #gnuenterprise *** johannesV has quit IRC *** sjc has joined #gnuenterprise *** sss has quit IRC *** titopbs has quit IRC *** titopbs has joined #gnuenterprise *** wendall911 has quit IRC *** titopbs has quit IRC *** titopbs has joined #gnuenterprise *** titopbs has quit IRC *** jcater has quit IRC *** titopbs has joined #gnuenterprise *** jcater has joined #gnuenterprise *** titopbs has quit IRC *** titopbs has joined #gnuenterprise night all *** reinhard has quit IRC *** wt has left #gnuenterprise *** jcater has quit IRC *** wendall911 has joined #gnuenterprise *** holycow has quit IRC *** titopbs has quit IRC *** kilo has quit IRC *** wendall911 has quit IRC *** sieger has joined #gnuenterprise *** sjc has quit IRC