*** johannesV has joined #gnuenterprise *** reinhard has joined #gnuenterprise *** kilo has joined #gnuenterprise good morning hello good morning good morning *** lxf has quit IRC *** holycow has quit IRC *** btami has quit IRC *** btami has joined #gnuenterprise *** holycow has joined #gnuenterprise *** ajmitch has quit IRC *** ajmitch has joined #gnuenterprise *** kilo_ has joined #gnuenterprise *** kilo_ has quit IRC *** holycow has quit IRC *** SachaS has joined #gnuenterprise *** mnemoc_ has joined #gnuenterprise *** mnemoc has quit IRC *** btami has quit IRC *** kilo has quit IRC *** ajmitch has quit IRC *** ajmitch has joined #gnuenterprise *** ajmitch has quit IRC *** ajmitch_ has joined #gnuenterprise *** elwis has joined #gnuenterprise *** elwis has left #gnuenterprise *** lekma has joined #gnuenterprise hola los amigos :) hola *** ajmitch_ has quit IRC *** jamest has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** wendall911 has joined #gnuenterprise *** elwis has joined #gnuenterprise *** jcater has joined #gnuenterprise *** lekma has quit IRC *** jcater has quit IRC *** jcater has joined #gnuenterprise *** ajmitch has joined #gnuenterprise *** wt has quit IRC DB000: Traceback (most recent call last): DB000: File "/usr/lib/gnue/python/gnue/designer/Designer.py", line 196, in RunWizard DB000: style = templateInformation['ProductStyle'] DB000: KeyError: 'ProductStyle' DB000 Bad Bad Designer :( what wizard are you running? errhhmm.. I run the wizard to create a nice multiple block form I'll start up gEdit instead :) Have I missed something here cause I get a huge error message and can't read half of it table="artikelkategori"/> detaillink="artikelkat" master="dtsARTKAT" masterlink="id" requery="True" table="artikel"/> Suppose I could have been sloppy creating my tables :( no worries, it worked when the designer decided to play cool with me :) Nopes! What does "ValueError: invalid literal for int():" mean?? I haven't done anything yet :( *** elwis has left #gnuenterprise *** elwis has joined #gnuenterprise Is it only kilo that administers the wiki? I'm still unable to upload files? elwis: i don't know anything about the wiki ok, thought I should put up my manuals but another day .. :) *** btami has joined #gnuenterprise elwis: what's it doing to you? sorry.. for being late,., trying to understan dthe lousty MySQL before I finally leave it for good.. It says During save of file Main.UserMANUALs an error was found by the version control system. Please notify your TWiki administrator. /usr/bin/ci -q -l -m'Gnue intro' -t-none -w'StefanElwesthal' /var/www/twiki/pub/Main/UserMANUALs/GNUe_for_the_helpless.pdf 2>&1 ci: /var/www/twiki/pub/Main/UserMANUALs/GNUe_for_the_helpless.pdf,v: Permission denied Go back in your browser and save your changes locally. elwis: just looking around can any edits to the wiki be saved? hmm the perms look wrong at the filesystem level ( to these non twiki eyes) hmm I think we may have scripts that chown -R /var/www maybe that needs to be tweaked scripts = cron scripts jcater: something else that's odd the epydocs don't regen via cron but work from web user command line but I swore twiki files were somewhere in /var/lib hmm look to be in var/www *** kilo has joined #gnuenterprise hi kilo i revived my gnue todo application. and it is working. great news! was it great work to revive it? no it was not! i was surprised how easy it was. took me maybe 3 hours great the form is still not very good but useable. what was it like to gnue again? * kilo invents new verb: to gnue i do not know focus on simple things first ... gnue probably will do it kilo: :) *** elwis has left #gnuenterprise like 'to google' is considered valid, 'to gnue' should be also kilo: see, elwis have gnued some doc but wiki reject it :) ah, and he has just eft left i am not sure how gnue will behave for complex projects. eg will there be a boolean history attribute for a class? so appserver deals with history out of the box. so a question will be: is the .gcd expressive enough? kilo: i had a look at this: http://shark.objectweb.org/ *** sjc has joined #gnuenterprise i am intersted how to setup a workflow engine or business process engine with gnue appserver and then still the old question of gnue-appserver 2 gnue-appserver or gnue-appserver 2 other-system but it feels good to gnue again (even though it might one or two days only) latter question is no problem imho through some xml interface sure :) and in fact separate gnue apps couls interact through tehm also but now my main goal is to be able to lift one of my arms... after training you know and maybe another thought: maybe one has to dig into the code to get the best out of it reaching out for the mouse is quite a task... guess it will feel easier for your drink. in fact main problem is that noone seems to be able or committed enough to really dig into some packages why do think this is the case? give me one name who came here for this purpose and stayed for more then 2 days... kilo ??? :) * reinhard ! reinhard reinhard: you came for this purpose? never knew that 8-))) I came for the beer and hot women then jamest and derek wouldn't let me leave lol rotfl jcater something got lost in the translation though I think they were trying to say something about losing hair and lots of squeeming kilo: just searched the mailing list archives, but they don't go back that far *actually* I came here to localize GNUe packages for Austria I didn't know that there are no packages and at the time when I came there weren't even tools :) not even a screwdriver? :) *** sjc has quit IRC ecco e il grande cuppole della duomo di milano night *** btami has quit IRC *** SachaS has quit IRC reinhard: i think the move to python 2.3 is a go. what do you think? :) I agree *** johannesV_ has quit IRC jamest: done :) lol already optimized for 2.3 now eh? you're quick does that mean we can drop the 2.2 locale(?) hacks jamest: file, line number? damn man, that was last week hmmmmm end of Designer.py in gnue-designer/src huh never saw that at all and no idea what it means but I agree with # TODO: I don't think this is working! Python 2.2 had a bug in StringIO.StringIO that caused it to break with unicode so you had to use cStringIO instead which doesn't support unicode at all but wouldn't crash might've been fixed in 2.2.1 though but that whole file doesn't *use* StringIO at all? well, it did at one point :) :) I guess the hack at the bottom was missed when stringio was removed well, should be safe to remove it then anyway :) lol reinhard: about the accessors are you talking wrapping all vars in accessors? no of course not but it will make sense quite some times * jamest puts down the bat he reserves for java coders then i'm ok with it * jamest was worried about function call overhead jamest: be assured johannes will beat me if I kill his performance gains ;-) wow generator functions are *way* cool hmm so basically they are just a simplification of __getattr__ and __setattr__ ? and we'd use generators when we, in the past, would've used __getattr__ and __setattr__ ? jcater: you mean properties? (generators are a different new feature available starting with 2.2) properties let you replace direct var access w/ a function w/o breaking the code I love python generators IIRC generate sequences reinhard: is that correct? yes ok, then properties reinhard: thanks generators generate objects that behave like sequences :) iirc, we use generators in the ResultSet code only if runnin on 2.2 thouhg ok, then what I said about properties :) jamest: yeah jcater: we use *iterators* in ResultSet code ok well, regardless generators are kinda special fom of iterators s/generators/properties/g then reread my stuff properties let you more or less define a special __getattr__ and __setattr__ that only gets used for a single name right and we wouldn't use them for simple stuff, right? (that's how I would see the relation between properties and old __getattr__/__setattr__) i feel they are more for something like foo.name = 'Bar' now we suddenly want to do a .upper() every time a name is set we can use properties so that a function myFunction() is called whenever our code does a foo.name = 'Bar' to set the now hidden name 2 examples where I would use a property instead of what we have now: (provided it doesn't hit performance too bad) for XML parsed trees, every object has a _parent that causes circular references throughout GNUe causing memory leaks wherever you look best solution would be to make _parent a weak reference but that means it can't be used like it was before so I'd make a __parent be the weak reference and _parent being a property setting and getting the weak reference properly and all existing code accessing _parent will still work second example is ResultSet.current which should actually always be self._cachedRecords [self._currentRecord] ok, those make sense just as long as we don't go the java route :) now as current is a normal attribute, all code has to take care that current is kept in sync with _currentRecord and if it gets out of sync the ResultSet starts to behave *very* weird :) hmm I wonder if that's my oracle issue no I bet that might silently fix my oracle problem I don't think so I am 99% positive there is *no* way you can get curent out of sync with _currentRecord hmm maybe so but I had some cases temporarily while working on ResultSet that would just coincide with what I see but I haven't found the actual bug so can't know either way well however it shows that it could be a good approach to make the code more stable and secure against bugs yip l8r *** jcater has quit IRC actually I think it could even be great for debugging e.g. if object foo has a variable bar and bar gets set to None at some point and you don't find who sets it to None (you know that problem?) what? no. never. look! something shiny! just temporarly make bar a property and add some debugging output in the set method in any case, i'm still OK with it :) * reinhard is so excited about the new possibilities :) now I have to go and run a jackhammer till it gets too dark to work home ownership rocks brrr l8r time to go to bed for me l8r all night all *** jamest has left #gnuenterprise *** reinhard has quit IRC *** wendall_away has quit IRC *** kilo has quit IRC *** ajmitch__ has joined #gnuenterprise *** tiredbones has quit IRC *** ajmitch has quit IRC *** jcater has joined #gnuenterprise *** havoc has quit IRC *** havoc has joined #gnuenterprise *** havoc has joined #gnuenterprise *** havoc has quit IRC *** havoc has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** jamest has joined #gnuenterprise *** jcater has quit IRC *** johannesV has joined #gnuenterprise