*** johannesV has joined #gnuenterprise *** chillywilly has quit IRC *** reinhard has joined #gnuenterprise good morning all *** btami has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise good morning again ... good morning *** johannesV has quit IRC *** derek has quit IRC *** chillywilly has joined #gnuenterprise *** yure has joined #gnuenterprise *** yure has quit IRC hi hi johnnyss *** yure has joined #gnuenterprise *** dimas has quit IRC *** btami has quit IRC *** jamest has joined #gnuenterprise *** btami has joined #gnuenterprise *** yure has quit IRC *** sacha has quit IRC *** sacha has joined #gnuenterprise *** jcater has joined #gnuenterprise *** siesel has joined #gnuenterprise hello *** yure has joined #gnuenterprise hi siesek seisel jcater: how is designer improving? how am I progressing time-wise, or what is being added? Yes, both questions please. :) well, as far as changes it requires wx2.6 now so the first change was getting it stable on 2.6 then I stopped using GNUe Form's ui drivers to draw widgets in real-time on the layout canvas I now draw my own objects on my own canvas object this gave me a tremendous amount of control over the canvas so things "just work" on it now cool, I saw this change, it looks great. like rubberband boxes, etc I also reworked the property editor which as it turns out was solely responsible for the 2+ second delay between clicking on a widget, and having designer actually select that widget actually, that will be the extent of the changes before I declare designer "stable" again but there's a lot of under the hood cleaning (comments, better variable naming, etc) are there any other specific features you want to integrate? I was trying to work through those changes before thinking about anything else is there something specific you're wanting to request? (I am using roundup now, I'm sure to reinhard's delight) no, not at the moment the main thing right now was just trying to make designer a stable, consistent experience I'm just thinking how to enable designer to create appserver designs yes, be thinking about that and I think this is a hugh efford as I do want to tackle that after I get forms support stable again I haven't given it any more thought other than "I want to somehow allow appserver designs" i.e., I haven't given any thought as to how that'd actually look currently I'm discussing business process design tools with a colleague *** klasstek has joined #gnuenterprise I hope to get / find / imaging ... some ideas how to make the transform of a ideas of a non-IT guy into appserver design btw. I've found two designer errors, ... although you probably know both... here they are o.dispatchEvent('ObjectCreated') DB000: AttributeError: GFBox instance has no attribute 'dispatchEvent' hmm No. 2: DB000: newobj = _windows_.new_FileDialog(*args, **kwargs) DB000: PyAssertionError: C++ assertion "wxAssertFailure" failed in ../src/common/filefn.cpp(1673): missing '|' in the wildcard string! can you rerun setup-cvs.py and see if you still have that error? *** johannesV__ has joined #gnuenterprise No. 2 after opening a file okay, I wasn't aware of that second one but designer is in an unstable state at the moment *** johannesV_ has quit IRC *** johannesV__ has quit IRC yes, after running setup-cvs.py the GFBox error persists okay concerning this exceptions, don't care too much. I just want to show you, that there are gnue-designer pre-alpha tester out there :) okay actually, I'm not *that* far away from wanting alpha testers * siesel is wondering what *that* means in terms of donuts^H^H^H^H^Hays ;) *** johannesV has joined #gnuenterprise if I can get in a couple of solid days of programming, I think it'd be where I want it at of course, I had a slight disaster at my house that's now consuming my free time but I'm trying to make some time at work That's cool. I'm also trying to hire a 4th programmer here at work who, coincidentally, has several years of both python and wxPython experience so I hope to have him devote at least a couple of hours a week to doing some gnue work You don't want to work on gnue-designer yourself anymore ? :) * jcater was shocked to find someone locally who knew python, not to mention wxPython sure and gnue-reports and gnue-forms and gnue-navigator :) seems, like everything is accelerating. btw. do you know a good open source project management tool ? I tryed planner, but read the announcement of KPlato today. yeah strange that everyone comes back all at once me, jamest, psu, you maybe it was because reinhard and johannes want to work in gnue-forms, so we realized we better get back to work! * jcater ducks lol it's kind of like me getting my son to clean his room rofl "Well, would you rather your dad clean you room?!? " as I grab the trash can s/you/your/ *** derek has joined #gnuenterprise night *** siesel has quit IRC is there an easier way to do this:? keyfields = {} for field in self.__primarykeyFields: keyfields[field] = old_current[field] keyfields = old_current.copy() ? oh, nevermind... missed the __primarykeyfields part yes it should only copy a given list of keys not that I know of ok thanks ok, an issue to discuss: several people (IIRC btami, kilo among others) said it would be logical if after a commit the complete result set would be queried again let me search the logs yeah, I remember the issue so we would have to store the last query and simply redo it yes same would actually go after the commit as now after commit no new records are displayed now two questions 1. actually the starting point was the "undo" function (that we came up with a different name afterwards), that this function should do the query again it was me who extrapolated that to the commit is this really desired to after commit see changes done by different users? and 2. doing the complete query again after commit would mean newly inserted records being sorted to the place they belong instead of the place they were originally inserted, so it would look to the user as if the record "jumped" to a different place #2 was the first thing that crossed my mind when you brought this up yeah and 3. what about those records that were inserted or changed in a way that they don't match the query? would they disappear after the commit? will be back in 2 hours or so reinhard: the last query is already saved so you know as if you press the "Query" button twice, the previous query is brought back up my personal feeling is in several key forms, my users will get disoriented if the resultset changes on them but I can see where it would be useful/desirable too certainly it wouldn't be hard to add a requery-on-commit attribute to datasources or blocks (is there not one now?) but even then, the question becomes "what is the default?" I think at a minimum we should add the feature as a developer-settable option I'm just torn on what the default behavior should be if the setting isn't set I'll leave that open for discussion running away now, bbl re the "is there not one now?" I think I was thinking of the requerying each record after commit option we have on datasources but that is per-record, iirc, not per-resultset so scratch that comment what's the advantage to the requery of the whole result set? (other than it would make our record tracking and removal code go away :) go away, or more complicated? as even on requery, wouldn't you want it to still try to make a best-effort to go back to the same record *** btami has quit IRC back jamest: advantage would be that you see other records that other users have added meanwhile or changes from other users (current requery logic only requeries those records that had changes on commit) the more I think about it, the more I realize that will disorient my users more times than not i almost wonder if that shouldn't be a separate feature like in postgresql's case it allows you to register for notifications of table updates *** sjc has joined #gnuenterprise as btami has gone anyway meanwhile and I wanted his input on this I'd be also interested in what you think about this "revert" function: should it revert to the original state of the db, or should it fetch changes from other transactions? I think new records popping up on revert might not disorient as much as it would on commit *sigh* why does it happen so often that I start implementing something and after that, I find out that I'm not even sure what exactly I want to implement... hmm * sacha is releaved to see that happening to pros, too reinhard: some people claim some phase they call "design" helps with that * jcater is unconvinced reinhard: but I never really understood what they were getting at i think the closest we got in forms to "design" was hey jason, what do you think about ........ I'm more of an Evolutionary person than an Intelligent Design argh! users! make them stop! jcater is away ok then, away I go :) *** sacha has quit IRC *** johannesV has quit IRC *** sacha has joined #gnuenterprise *** jamest has left #gnuenterprise good night all *** reinhard has quit IRC *** yure has quit IRC *** klasstek has quit IRC *** jamest has joined #gnuenterprise *** derek has quit IRC *** sjc has quit IRC question for the non-US times/date formats the input mask system has hard coded the time and date separators as : and / respectively instead of that could we get away with >>> import locale >>> locale.nl_langinfo(locale.T_FMT) '%H:%M:%S' >>> locale.nl_langinfo(locale.D_FMT) '%m/%d/%y' and simply use the first char in the string except for [%HMSmdy] *** jcater has quit IRC *** jamest has quit IRC *** sacha has quit IRC *** sacha has joined #gnuenterprise *** sacha has quit IRC *** derek has joined #gnuenterprise