*** kilo has joined #gnuenterprise *** btami has joined #gnuenterprise good morning good morning *** johannesV has joined #gnuenterprise *** johannesV has quit IRC *** johannesV has joined #gnuenterprise good morning *** kilo_ has joined #gnuenterprise *** kilo has quit IRC *** kilo_ is now known as kilo *** reinhard has joined #gnuenterprise hi all (not saying good moring on purpose as that would sound like I just got up from bed ;-)) johannesV: did you see jamest removed your test exception? would've been a good example how a comment would help others understanding what one means ;-) ? yeah, i've seen it beeing removed ... he probably didn't understand it was a feature of forms to test exception handling on different ui's ah, ok ... yeah that's right *** erkki__ has joined #gnuenterprise *** erkki has quit IRC *** btami_ has joined #gnuenterprise *** kilo_ has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** yure has joined #gnuenterprise *** erkki has joined #gnuenterprise *** kilo has quit IRC *** btami has quit IRC *** kilo_ is now known as kilo *** erkki__ has quit IRC *** erkki__ has joined #gnuenterprise *** erkki has quit IRC *** erkki__ is now known as erkkie *** erkkie has quit IRC *** erkkie has joined #gnuenterprise I think I got irssi configured for now:p *** erkkie_ has joined #gnuenterprise *** erkkie has quit IRC *** erkkie_ is now known as erkkie *** reinhard has quit IRC *** reinhard has joined #gnuenterprise does the cfield tag in reports datasource conditions support something like name="TEST_classAId.classBId.field" where TEST is the module, classA and class B are the classes of appserver, class a has a reference of classB and field is a property of classB right now I'm getting a error saying, that TEST_classB has no property field, but the class has that property:p previously I just used custom calculated properties, like TEST_getFieldOfB, but I was trying to clean up some reports and class definitions erkkie: wow, you are a power user of appserver ;-) it would probably be something like TEST_classAId.TEST_fieldnameofclassA.TEST_fieldnameofclassB where fieldnameofclassA is the field name that references class b reinhard: not quite power user yet:p.. just trying to understand & clean something I did in gnue a few months ago:p oh, so just add the module reference to every class.. will try:p note in the middle there's not the class name but the field name ok hmmm actually you wouldn't need the classA at all because that would already be in the datasource definition yeah, the datasource was, let's say, classX :p anw, it worked now, thanks:) ah ok two hooks gotcha *** Jave27 has joined #gnuenterprise seriously, I think your project might be one of the biggest ones done with appserver so far.... all we know of so far is what is in gnue-contrig contrib hah would be nice to hear some feedback well, it's not so big actually.. might send it to you when I clean it up a bit not to say how happy we would be to see it in gnue-contrib as an example :-) *** jamest has joined #gnuenterprise [not wanting to pressure in this direction of course, but would appreicate it a lot!] haha erkkie: was it you asking for the key strokes to trigger jamest: yeah i got it sorta working last night but wanted to bounce stuff on reinhard before I commit it reinhard: did you see what erkkie was requesting? jamest: I noticed you removed a feature from forms ;-) lol, yeah, i loved that feature 2 as it appealed to me for 2 reasons reinhard: it's a small inventory management system so far... has been working for like 3 months without any major problems.. so now I'm being brave and thinking about adding ltsp thin clients using forms/appserver as POS terminals 1. it was a deliberately coded exception upon certain into 2. the debug message looked like the meaningless stuff I use for debug messages :) that check has been in our event loop since the ~6200 rev I can't believe it was there that long on erkkie's feature I made it so forms first tries to see if there is a command defined for the keystroke if not and if alt and ctrl is depressed it then builds an event named IIRC requestUSERCOMMAND with a trigger name of [CTRL-][ALT-] the GFInstance then tries to run a trigger named "KEY-%s" % triggerName so alt-g would fire a trigger named KEY-ALT-G in the form jamest: sounds sane fwiw, the exception *really* was a feature because it made it possible to test exception handling code for different ui's :) lol, really? yes, johannes introduced it to test the new error message windows sorry it seemed to be an unneeded check in the keypress event loop for a keycode that I couldn't generate ctrl-e (e as in exception) :-) but I guess we can leave it out didn't work was meant temporary anyway as ord('e') here is 101 *** kilo has quit IRC but ctrl-e generated a keycode of 5 when the ctrl key is pressed nevermind, better to leave it out anyway :) users would look strange if this error would be generated... :) in my tinkering I put the trigger code outside of GFKeyMapper but I really think that's the best place for it to build a command string out of any unknown command if the alt or ctrl are depressed otherwise return none but I'm so rusty I wanted to verify with you guys that would be ok or that I wasn't overlooking the feature added somewhere else jamest: sound cool.. will surely try it out once you commit it reinhard: I suppose I could make a "fork" of my app and add it to gnue-contrib jamest: we haven't done that much in forms lately, it's not like we had completely gone through the code (like we did in common) so just do as you think it would be best, if it breaks something we'll look into fixing together I suppose erkkie: why a fork? reinhard: ok, cool I might change some specific things that might not make sense in a example app reinhard: did you guys ever decide about the wx 2.6(?) ui driver? erkkie: if you want, you can do that, but you wouldn't have to erkkie: we have very specific things in gnue-contrib, it's not that it were official samples just more like "look what i've done with gnue" jamest: yes, we did. there will be a -u wx26 and we will see if we can build it in a way that can replace -u win32 and -u gtk2 wx26-driver is about to be finished this week erm s/we/johannes/ :-) ah, it's just not in svn ok johannes likes big commits :) reinhard: oh, ok, will think about it.. I'm sure I'll add something into contrib does the checkbox in 2.6 not suck? * jamest hopes hehe IIRC the checkbox in 2.4 was more an issue of being gtk1 instead of gtk2 jamest, can you be more precise about the "sucking" thing with 2.4-checkboxes ? you had to be outstandingly smart to recognize whether it is checked or not in 2.4 a checkbox is a raised or lowered box it looked like a button pressed in or out yes i never had an issue with it (must be what reinhard said :) but my users HATE it ah, ok ... so the answer is: yes it won't suck anymore jamest: roflmao one of the biggest complaints I get in fact jamest: we are planning to do bad bad things to forms RSN like vbox/hbox-oriented positioning as an alternative to character based implementing a real grid that looks like a grid and behaves like a grid forms looking still good if they are resized (up to having more lines in a grid depending on available space) how? you adding a layout mgr that translates to positions? and all of that most probably resulting in more or less compatible changes in gfd or something else? we plan to use the layout manager where it already exists like in wx26 and do something as-smart-as-possible in non-layout-mgr ui's like curses but wx would give us layout management even for win32 (which is per se pixel based) cool but that will mean changes in designer :( and that's our main headache yeah ... that's really odd ... and of course it's always s/we/johannes/ especially when it comes to the actual work ;-) sorry guys uh, that last remark was targeted at *me*, not at anybody else I always show of what "we" are doing, and in fact johannes does the work not meaning to push you or anything :) the only reason I worked on forms last night was because I refused to put in another 12 hour day for my job * jamest was being defiant :) ooooo, maybe I shouldn't have said that in here it's ok johannesV_ 12 hour days rock! :) lol *** btami_ has quit IRC *** jcater has left #gnuenterprise *** ajmitch_ has joined #gnuenterprise *** ajmitch has quit IRC oooh, there's activity here ;) :) reinhard: do you know of any way to force the postgres drivers to not hold the transactions open ? my users keep forms open all the time on their desktops I am not sure if it is possible and I can't even create new tables using REFERENCES table(column) as those transactions block the table creation I think you have to close the connection so forms would have to log out from the connection and log in again all the time how difficult would it be to have gnue connections time out as this sucks here which doesn't sound like a good idea in general hmmm as I have about 25 people with various forms open I don't know how this timeout would be done and it's easier to wait until after hours than to track down who has what open and then just know "oh form A" needs closed we store the username/passwd right? yes and we keep the connection open so we're not building and tearing down every query right currently let me think out loud what about a timer thread set to wake up every user specified seconds and if the connection says I haven't been used since the last time you checked then the connection to the db is closed but the gnue connection stays open yes the next time it's called it says I need to reopen the db connection before I do anything maybe just reset the timer at each activity *** SachaS has quit IRC i still don't grok why an open form is blocking on the tables it references though as connections are pooled aren't they? erm or is that only the connection mgr and each form gets it's own connection yes, per instance of gnue-forms running different independent processes can't pool connections :) [except you would use appserver] - scnr :) what about when ran thru navigator? i seem to recall navigator providing the connection at that point one pool per navigator instance I would say but if 2 users have forms open, you certainly have 2 connections all my users launch from navigator and keep a handful of forms open they use throughout the day but easily idle them for 10 to 15 minutes at a time then do 2 to 20 minutes of work in them so if I set a 2 or 3 minute timeout on holding the db connection open i think i'd be golden actually this might help me with another issue i've started seeing *** ajmitch has joined #gnuenterprise where I deadlock *** jcater has joined #gnuenterprise i've not found the app that is causing it yet as typically when it happens the sales force needs to db up *NOW* *** klasstek has joined #gnuenterprise reinhard: would something like this work in the new datasources? brb phone *** btami has joined #gnuenterprise *** CirrusImage has joined #gnuenterprise *** derek has quit IRC *** ajmitch_ has quit IRC *** derek has joined #gnuenterprise *** derek has quit IRC *** derek has joined #gnuenterprise *** docelic has joined #gnuenterprise Howdy folks sup jamest: yeah, I think that would be ok based on a parameter like "autologout=(minutes)" hi docelic,long time no see would be deep in Connection.py and thus pretty generic (usable for all backends) must run cu all *** reinhard has quit IRC btami, hey yes :) I was evaluating Bond (www.treshna.com) to use instead of GNUe, but I think I gave up on it. There are no usable mailing lists, code repository or documentation and at least the main author can't spell a sentence without at least two mistakes.. Even though it has some nice ideas. For example designing GUI directly in glade... Any of you seen Bond and have comments about it ? not me arn't thresne the firm where kiwis was here befor ? i mean treshna not me http://www.gnuenterprise.org/community/sponsors.php Hm.. interesting.. You also credit Andru Hill , who is treshna lead guy.. he was one of original developers of appserver before it was rewritten in python *** johannesV_ has quit IRC *** johannesV_ has joined #gnuenterprise *** sjc has joined #gnuenterprise *** btami has quit IRC *** johannesV_ has quit IRC *** dimas has quit IRC *** sjc has quit IRC *** kilo has joined #gnuenterprise *** yure has quit IRC *** klasstek has quit IRC *** Jave27 has quit IRC *** jamest has quit IRC *** yure has joined #gnuenterprise *** derek has quit IRC *** derek has joined #gnuenterprise *** yure has quit IRC *** jamest has joined #gnuenterprise *** derek has quit IRC *** kilo has quit IRC *** jcater has quit IRC *** derek has joined #gnuenterprise *** dimas has joined #gnuenterprise *** jamest has left #gnuenterprise *** jcater has joined #gnuenterprise *** jcater has left #gnuenterprise *** derek has quit IRC *** derek has joined #gnuenterprise