*** dcmwai has quit IRC *** reinhard has joined #gnuenterprise *** johannesV has joined #gnuenterprise *** btami has joined #gnuenterprise *** kilo has joined #gnuenterprise good morning good morning hi btami johannesV: can i call a procedure from a calculated property, both in the same module? why not ? the module does not matter, does it ? just do something like session.call (...) [but i haven't tried] i have something like this return self.totalVAT('Gross', 5) blabla and when trying to access totalGross5, it tells me 3 params are given, though it expects only 1... hey, you want to make me crazy ? :) as i've explained this a few weeks ago ... did i ? j/k ok, try to do a call like this: params should always be given as keyword args like: type = 'Gross', rate = 5 but i've to check if we need a dictionary here or keyword args ... DDDDDDDDDDAAAAAAAAAAAAAAAAAAAMMMMMMMMMMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNN just a sec DAMN DAMN DAMN DAMN DAMN DAMN DAMN DAMN DAMN DAMN DAMN DAMN DAMN DAMN DAMN DAMN i remember now yes you need keyword-arguments so this should be valid: return self.totalVAT (type = 'Gross', rate = 5) please try it * johannesV needs some more coffee ... :) if you need coffee, what d oI need... * johannesV back testing... johannesV: great, it works. thank you great maybe it can go into reinhards dev-guide :) btw it would be very nice if we could call appserver procedures from a report... i'll continue on the dev-guide anyway ... (cause reinhard hasn't very much time left for it) right now we can only access properties, but not procedures how would you call procedures in a report ? reports need formula support implementation there is a GRFormula.py in base/layout ,but it's unfinished so you would treat an appserver-procedure as a formula ... hmm not a bad idea yep hi this is the missing part for gnue-repoorts 0.2 ajmitch_: hi i haven't looked into reports very deeply now hi ajmitch_ *** darioush has joined #gnuenterprise hi ajmitch_ in which state are our deb's ? hello people hi darioush hi darioush is anyone in the mood of explaining this thing to me? johannesV: same state as last week, still trying to get them uploaded which thing hello? ajmitch_, ok thanks all the debs that I've done are up to date I've just been trying to get the uploads sponsored darioush: what should be explained? johannesV: do you have 15 mins available? kilo, for doing what ? :) set up gnue-pim for yourself, so that i could explain a bug in gtk interface s/interface/driver what do i need to do so ? setup is easy, just like gnue-invoice ring back if ready ok ERROR POSTING RECORD # 1 ERROR: value too long for type character varying(70) INSERT INTO gnue_class (gnue_name, gnue_module, gnue_id, gnue_comment) VALUES ('RelType', '80692804774038157241424696145182', '97445745295931443811722574221329', 'Party-Person relation types (Employee, Contact, etc.), used in m:n links') you're still using too long comments, do you ? because interbase does not give error... well, kilo, but you do now gnue_comment does only have 70 characters for this defined, don't you ?? *lol* well, ok, my fault, havnet checked it so far np have everything loaded now i don't know, it is likely that i would like to contribiute to this project (or something like that) *** darioush has quit IRC * johannesV phone * johannesV back .. hmm, that was a quick call ... :) lol kilo, so what shall i check ? up and ready, appserver running? yes start form SelectAddr.gfd ok if you start only, then click Close, it closes OK right if you click on one of the listboxes, it will not close when hitting Close no way out, 'kill' is your friend... ok, i'm out (without a kill) but it was hard to do so ... clicking close twice does the job the listbox seems to dirten the block you were lucky then yes, seems like the block is always in 'dirty' state interesting fact is that if you start the same form in wx, it doesn't behave this way, you can always get out with Close button so it's a bug in wx *lol* :)( i try to understand your class-hierarchy first ... ask if something is not clear. look at doc dir but your explanation of the bug is rotfl i do not understand your gfd at all why are you using so much fk_... like the block "blkBoundAddr" it is 'self-referring', is it ? yes why ? what do you want to do with this form ? list all available addresses on the left, and addresses bound to a person on the right ok, "all available" addresses first then where should they come from from ADDR_Address a listbox needs fk_ things iirc so this is a 'select * from ADDR_Address' displayed in a listbox ? yes ok and we do want to see 'formatted' only aye hmm, still trying ok, which class should be edited in there ? ok edited? PIM_AdPe ok, so new records get into PIM_AdPe with Add button, that calls PIM_AdPe.add *** lekma has joined #gnuenterprise hi everyone hi lekma hi kilo news? we're at customer offices testing and things are not going very well oh we're so damn late bad news kilo, do you want to see 'all' available addresses every time, or if one get's selected only the remaining addresses all kilo, so why don't you use just a block with rows then ? (instead of a listbox ) a listbox is cooler this is what customers are used to and i want to be a pioneer so that my name be engraved on the top of GNUe Mountain 8-)) :) but a listbox is used to display a fk-relation and in this case you don't have one ... it works with Ugly WX as i've said before ... :) it's a bug in wx ... *lol* j/k i'm still trying ... ah, i see, you want me to forget the problem, instead of solving it 8-)))) right *lol* good tactics 8-)))) ok, got the left listbox working ... now i try to catch the bug ... as far as i looked into this, i see the problem is that the listbox causes equestREPLACEVALUE even if it should not, ie it has no items... ah, now wx does not work too ... ! so it might not be a bug in uidrivers then you can reproduce the bug in 'gauntlet.gfd' too ... ! will check with an earlier svn-checkout now ... just start gauntlet.gfd and select an item in the listbox ah. is it good news then? at least it shows up as 'non-uidriver-specific' bug since wx has the same problem then and this is nice, so i don't search for the bug at the wrong place i think it must be something in GF* t @eightball where is the bug kilo: NO! wow, now this is really interessting if you move away with the focus (from the listbox) everything's fine i am happy that you enjoy it 8-))) kilo, have you noticed that you cannot select a value from a listbox without the mouse? yes affirmed this is odd, isn't it ? @eightball is this odd? kilo: One would be wise to think so. @zen kilo: Flat is better than nested. @pydoc eval kilo: eval(source[, globals[, locals]]) -> value. Evaluate the source in the context of globals and locals. The source may be a string representing a Python expression or a code object as returned by compile(). The globals and locals are dictionaries, defaulting to the current globals and locals. If only globals is given, locals defaults to it. * kilo loves SupyBot johannesV or reinhard : 1 small question :is there a way to close at once all lists attached to a session (while keeping the session open)? or at least to know all list ids that are still open? another one: what are the parameters needed by abort() in a bound proc another: is there a way to make a Session .request condition case insensitive? lotsa questions :) lekma, there's no way to access the lists of a session :( abort () takes only one parameter, which is the message (as string) common.logic.adapters.Base.requestAbort () session.request (): case-insensitve is not available atm :( although i would have needed it too but i don't think all backends would have something similiar johannesV: did you ever try to session.rollback in a middle of an OnValidate?? i get some strange error about None being an invalid value for gnue_id no i haven't tried that do you really want to do a rollback ? or just abort the commit (so the user can fix and try again) ? well, after all, gnue_id is defined as NOT NULL so if you call 'rollback' in an onvalidate you set gnue_id of the current instance to "None" (meaning NULL) which then violates the NOT NULL constraint (which is checked after the *last* OnValidate trigger now) and that check is very good in place there... yes i agree but then is there a way to silently abort a comit? abort() not working? lekma, no, i think there's no way to silently abort a commit do you really want to hide this from the user ? so he does not know wether his works has been saved or not ? well the initial problem is: we would like to call a procedure, without an object only parameters so i thougth about creating a fake class that would provide an object to the proc but never commit it which is kinda stupid i know you want to simulate global procedures but i lack time to find a better solution global? hmm, global in a sense of not bound to a given class well not bound to objects of a given class rigth, i see i haven't found a nice way to do this too kilo: as to your problem from today regarding the listbox this is not a listbox-specific problem try to do this: start gauntlet.gfd, and enter "foo" into the first field then try to quit the form ... which won't work now tab into the next field and try again ! hmmm, strange so you can see the problem is that an unbound field/block does interfere the exitApplication and since a listbox is nothing else than a dropdown which is always open chaning the selection in the listbox means 'change the master-records key according to the element shown in the listbox' doing this the unbound "field" get's dirty ! which shouldn't be a problem anyway; this is a bug ah, so then another one but it wasn't an easy one to track down... was it? not really, cause i was a bit confused with the listbox but it's *not* a new one, although it's missing in BUGs of forms anyway i think the SelectAddress.gfd should *not* use listboxes to accomplish you can think of a listbox to be an open dropdown i'm sure you have seen hundreds of forms like this to select something. if nowhere else, then in designer's form wizard i just want to stick to that and i will be kinda sad if i can't accomplish that with gnue *** btami has quit IRC but you cannot compare the concept used in designer with gnue-forms the listbox-widget is not thought to act as *grid* hmm, maybe, we get back to our old 'we should have a grid control' issue... bbl *** kilo has quit IRC *** MoR4euZ has joined #gnuenterprise guten tag hi MoR4euZ *** Vee has quit IRC *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** lekma has quit IRC *** chillywilly has quit IRC *** jamest_ has joined #gnuenterprise *** lekma has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** lekma has quit IRC *** wendall911 has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** sjc has joined #gnuenterprise *** johannesV_ has quit IRC *** suitable has joined #gnuenterprise *** Vee has joined #gnuenterprise *** reinhard has quit IRC *** dcmwai has quit IRC *** Vee has quit IRC *** jcater has joined #gnuenterprise *** Vee has joined #gnuenterprise * suitable wonders if he has the patience to lurk here until he figures out what to say I'm sure whatever you say is perfectly suitable I try to keep it that way, and will wait until I have something to contribute. hehe *** btami has joined #gnuenterprise *** MoR4euZ has quit IRC *** SachaS has joined #gnuenterprise *** sss has joined #gnuenterprise *** yacc has joined #gnuenterprise Is Gnue Integrator available for download? there was no gnue-integrator release yet, it's in planning stage... you can find some code in gnue-integrator dir in svn *** suitable has quit IRC *** suitable has joined #gnuenterprise *** kilo_ has joined #gnuenterprise *** suitable has left #gnuenterprise *** btami has quit IRC *** sss has quit IRC *** cilkay has joined #gnuenterprise *** cilkay has quit IRC *** cilkay has joined #gnuenterprise *** jamest_ has quit IRC *** sjc has quit IRC *** kilo_ has quit IRC *** jcater has quit IRC *** dcmwai has joined #gnuenterprise *** wendall911 has quit IRC *** dimas has quit IRC *** jamest has quit IRC *** SachaS_ has joined #gnuenterprise *** SachaS has quit IRC