*** johannesV has joined #gnuenterprise *** reinhard has joined #gnuenterprise good morning all *** derek has quit IRC good morning *** btami has joined #gnuenterprise johannesV: I just noticed that dialog boxes in the wx26 driver are not modal the "go to record" box and the about box both allow the main form to be clicked while the box is still open then the cursor even blinks in the main form but I can't type anything -- johannesV: you're still able to use wx (24) driver and win32 driver, right? could you please test if menu bar and toolbar still works as expected with these drivers? (after my last commit) reinhard: have you read my yesterday traceback? oh yes ok I completely forgot about that, thanks for reminding btw. the latest released gnue-reports doesn't work with gnue-common that's bad should we do a release of gnue-reports now? would that help? it needs GRParser .py and GRSources from svn head to work trying... *** kilo has joined #gnuenterprise good morning hi kilo good morning reinhard: nope, it needs svn common too ok so we might want to look into releases for common and reports at least actually latest release of forms *should* work with svn common dunno (because I don't want to release forms in the middle of this stuff we are doing) i think non use released reports yet except me :) :) i tried i tried :) lol btami: about your traceback yesterday can you please svn up and see if you can reproduce? yes (although I think nothing should have changed here) same error (with gtk2 uidriver only) when you open the form and then go to query mode, does that traceback, too? Traceback (most recent call last): File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/uidrivers/gtk2/ToolBar.py", line 107, in _toggleEvent self._fire(userAction, not button.get_active()) File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/uidrivers/_commonGuiToolkit/ToolBar.py", line 127, in _fire self.driver.dispatchEvent (event, _form = self.form) File "/adat/svn/gnue/.cvsdevelbase/gnue/common/events/EventController.py", line 152, in dispatchEvent handler(event) File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/GFInstance.py", line 1149, in requestQuery message = event._form.initQuery () File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/GFForm.py", line 613, in initQuery if self._currentBlock.mode != 'query': AttributeError: 'NoneType' object has no attribute 'mode' hmmmm is the first focusable widget on that form a button? yes ok I can reproduce bingo, if i put it to be second it's ok did you change that lately? or did it work with button first before johannes' changes? yes, lately ok, so it could be that the problem was there since ever? (however, I wonder why it works with old wx driver at all) it was there earlier iirc reinhard, the dialgs *are* shown modal ... i would say it's a bug in wx that the mouse-click is sent to (and handled by) the parent-window johannesV: oh, ok can you investigate further? running it on msw it works as intended so it appears to be a wxGTK bug ok on msw do you have an hourglass cursor while your mouse is outside the dialog? on wxMac it works fine too no, there's no hour-glass ... should it be there ? I'm not sure (did you svn up?) if so we'd have to change the cursor for the parent-frame I set the mouse to hourglass immedately on toolbar click ah, ok just a sec hm, that damn svn ... have to wait for the first timeout ... this could take some time strange svn works ok here reinhard, for which frame are you changing the cursor ? no first timeout needed btami, that's a problem which only affects jamest and me ... :( hmm * johannesV still waiting for timeout maybe j* problem? :D yah we'd have to ask jcater then ... :) :) johannesV: I just do a wx.beginBusyCursor() hm, but then what kind of cursor is set for the new dialog ? if there's something better, please tell me (or change in wx26/Udriver.py beginWait() honestly I just copied that over from the old wx driver :) oh, time out .... svn running now ok, the hour-glass blinks for a very short time hmm... I'm trying to find *any* modal dialog in a gtk2 app ok, hour-glass also blinks on msw reinhard, the dialog is modal as it stays on top of the parent yes the pb is, that one is still able to focus another widget of the paretn I think for gtk2 modal dialogs *always* allow the main window to be focussed again maybe reinhard, what shall i check wrt toolbar on msw/mac ? just if query, delete, undelete, exit work with menu and with toolbar especially with old wx driver and with win32 driver (as I can't test for those) ah, ok , so i need a database ... * johannesV sending wol-call downstairs ... i'm just trying wx26 on XP, but the spalsh is before the startup error box, so i can't read the error msg unless turn off splash in gnue.conf hmm, i think there should be a fix to hide the splash in the exception handler ... btami, can you add a bugreport to roundup ? yep btami: can you work around the button-is-first-control-on-form bug for now? I think it might take some time to fix this properly sure ok, I'll add this one to roundup then thx two new bugs within 2 minutes not a good day ;-) i have another 2 designer tracebaks with unicode error with this form forms with win32 ui too reinhard, win32-driver seems to be ok with menu and toolbar * btami is fighting to correct overlapping errors without designer btami, i'm sorry for that ... but it must have been done at some point in time ... :( *** kilo_ has joined #gnuenterprise nevermind, it's my bad reinhard, wx-driver is ok too johannesV: thanks for testing *** kilo_ has left #gnuenterprise i got this error with wx, wx26, win32 (gtk2 is ok): Traceback (most recent call last): File "/adat/svn/gnue/gnue-forms/scripts/gnue-forms", line 34, in ? client.run () File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/GFClient.py", line 201, in run instance.activate () File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/GFInstance.py", line 356, in activate self.activateForm ('__main__', self._parameters) File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/GFInstance.py", line 388, in activateForm form.refreshDisplay (form) File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/GFForm.py", line 1028, in refreshDisplay block.walk(self.__refreshDisplay) File "/adat/svn/gnue/.cvsdevelbase/gnue/common/definitions/GObjects.py", line 256, in walk child.walk (function, *args, **parms) File "/adat/svn/gnue/.cvsdevelbase/gnue/common/definitions/GObjects.py", line 256, in walk child.walk (function, *args, **parms) File "/adat/svn/gnue/.cvsdevelbase/gnue/common/definitions/GObjects.py", line 256, in walk child.walk (function, *args, **parms) File "/adat/svn/gnue/.cvsdevelbase/gnue/common/definitions/GObjects.py", line 253, in walk function (self, *args, **parms) File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/GFForm.py", line 1038, in __refreshDisplay self.dispatchEvent('updateENTRY',object, _form=self) File "/adat/svn/gnue/.cvsdevelbase/gnue/common/events/EventController.py", line 152, in dispatchEvent handler(event) File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/uidrivers/_base/UIdriver.py", line 394, in updateEntry assert gDebug (5, "UPD-ENTRY %s current: '%s' (%s)" % (entry, value, index)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 16: ordinal not in range(128) http://www.gnuenterprise.org/~btami/ugyfel.gfd tha pb is with 3. page, same fields as on1., just rows=20 btami: can you try again now? *** SachaS is now known as SachaAway File "/adat/svn/gnue/.cvsdevelbase/gnue/common/events/EventController.py", line 152, in dispatchEvent handler(event) File "/adat/svn/gnue/.cvsdevelbase/gnue/forms/uidrivers/_base/UIdriver.py", line 394, in updateEntry assert gDebug (5, "UPD-ENTRY %s current: %s (%s)" % (entry, repr(value), UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 16: ordinal not in range(128) dunno why gtk2 and others differs strange can you give me the value of "entry", "value", and "index" just before the traceback? i tried to print them they are ok until the 3.page coming try to print repr(x) instead of x that should work in any case ok, wait... tamas@tami:/adat$ gfcvs -u wx26 ugyfel.gfd form.layout.Alapadatok.entNev u'3S COMPUTER Kft.' 0 form.layout.Alapadatok.Box1.entIrsz1 u'6721' 0 form.layout.Alapadatok.Box1.entVaros1 u'Szeged' 0 form.layout.Alapadatok.Box1.entUtca1 u'K\xe1lvin t\xe9r 7.' 0 form.layout.Alapadatok.Box2.entIrsz2 '' 0 form.layout.Alapadatok.Box2.entVaros2 '' 0 form.layout.Alapadatok.Box2.entUtca2 '' 0 form.layout.Alapadatok.Box3.entTel1 u'426-277' 0 form.layout.Alapadatok.Box3.entTel2 '' 0 form.layout.Alapadatok.Box3.entFax '' 0 form.layout.Alapadatok.Box3.entEmail1 u'3s@tiszanet.hu' 0 form.layout.Alapadatok.Box3.entEmail2 '' 0 form.layout.Alapadatok.entMegj '' 0 form.layout.Alapadatok.Box4.entKNev u'L\xe1szl\xf3 Ferencn\xe9' 0 form.layout.Alapadatok.Box4.entKEmail '' 0 form.layout.Alapadatok.Box4.entKTel1 '' 0 form.layout.Alapadatok.Box4.entKTel2 '' 0 form.layout.Alapadatok.Box4.entKMegj u'Gizike' 0 form.layout.Program.entEgyezteto True 0 form.layout.Program.entEllenorzes True 0 form.layout.Program.entFokfel1 True 0 form.layout.Program.entFokfel2 True 0 form.layout.Program.entGepkocsi True 0 form.layout.Program.entHalozat False 0 form.layout.Program.entMunkaber True 0 form.layout.Program.entMunkaugy False 0 form.layout.Program.entMunkavis True 0 form.layout.Program.entNyenyi True 0 form.layout.Program.entSzabadsag True 0 form.layout.Program.entTobbceges True 0 form.layout.Program.entLetszam u'0-\xf6tvenig' 0 form.layout.Program.entGeneralt u'xhrekekvui' 0 form.layout.Program.entValaszkod u'zlxmuqylmc' 0 form.layout.Program.entMaxstr u'charlie' 0 form.layout.Program.entSzam u'2148236671867' 0 form.layout.Program.entVerzio u'3.41' 0 form.layout.Program.entKuldes True 0 ok, found it the page name attrib on page 3 contains non-ascii chars? yep ok I don't think this is allowed at all it was no pb before you could fix it for this traceback by adding a repr() around the "entry" also or even better replace %s by %r (which results in the same thing) bbl aha, i have to use caption too ok, solved with caption hm, maybe i've introduce that bug wrt page-captions ... let me have a look ah, no should work well btami, have you already solved that encoding-problem ?= bbl *** kilo has left #gnuenterprise johannesV: yes, using caption attrib there was name only before ah, ok *** jamest has joined #gnuenterprise bbl *** btami has quit IRC *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** klasstek has joined #gnuenterprise *** derek has joined #gnuenterprise l8r *** reinhard has quit IRC *** llp has joined #gnuenterprise *** johannesV has quit IRC *** llp has quit IRC *** llp has joined #gnuenterprise *** llp has quit IRC *** jamest has left #gnuenterprise *** jamest has joined #gnuenterprise *** klasstek has quit IRC *** dimas_ has quit IRC *** chillywilly has quit IRC *** nickr has quit IRC *** klasstek has joined #gnuenterprise *** dimas_ has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** nickr has joined #gnuenterprise *** llp has joined #gnuenterprise *** klasstek has quit IRC *** jcater has quit IRC *** jamest has quit IRC *** derek has quit IRC *** jcater has joined #gnuenterprise *** derek has joined #gnuenterprise *** jcater has left #gnuenterprise *** derek has quit IRC *** llp has quit IRC *** derek has joined #gnuenterprise