*** sjc has joined #gnuenterprise *** johannesV has joined #gnuenterprise *** btami has joined #gnuenterprise good morning mornin btami hi holycow johannesV: do you know that the parameters form works only with gtk2 ui if it has non ascii .po strings ? tamas@beus:~$ grcvs -u wx monthly.grd DB000: Traceback (most recent call last): DB000: File "/home/tamas/svn/gnue/gnue-reports/scripts/gnue-reports", line 29, in ? DB000: GRRun().run() DB000: File "/home/tamas/svn/gnue/.cvsdevelbase/gnue/reports/client/GRRun.py", line 215, in run DB000: runui.run () DB000: File "/home/tamas/svn/gnue/.cvsdevelbase/gnue/reports/client/GRRunUI.py", line 100, in run DB000: formBuffer = self.__buildForm () DB000: File "/home/tamas/svn/gnue/.cvsdevelbase/gnue/reports/client/GRRunUI.py", line 245, in __buildForm DB000: x.write ("%s\n" % item) DB000: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 151: ordinal not in range(128) oh speaking of gtk binding and wx ... which version of wx does gnue use? i presume its wx python... will we see use of lates wxpython by any chance? 2.4.2.4 is OK, 2.5.x not cool, just curious they are still having problems i guess? our designer is not compatible yet with 2.5 iirc *nod* all cool, oh one other question, has there been any discussion on how many wx widgets are going to be supported? from reading the dev docs it seems that one ought to be able to access most of them by hacking the xml file manually? *** kilo has joined #gnuenterprise hi kilo sorry to bombard you btami, i'm finally making some progress with gnue so my mind is rushing with all sorts of ideas mornin kil o holycow: no problem :) hi btami, holycow as i know the core gnue team decided to support the minimal amount of widgets, supported all gui+curses ohhh okay, makes sense gnue for wap the reason i ask is, what you say makes sense as a focus for forms based input type stuff if gnue were to support the other widgets, you would essentially become like vb or whatever but there are some exceptions :) a dev environment, just trying to get a feel for where the cutoff line is ehe :) like tree (only in implemented wx gui yet) well tree widget would be nice, but i understand from the sample it can be hacked *blink* ehe :) i guess i'm not the only one thinking thats a good idea yes cool and seems everyone needs something like "grid/table" kilo gave me a step by step tutorial yesterday, i'm gonna create a beginner quickstart tut for the site cool oh yes absolutely grid table is very important eeeerrrrrrrr i dont take no responsibility for anything at all kilo, all your fault! >_> yes grid table is very important if you add that, gnue completely replaces the dev environment in lotus domino/notes that would be stupendous, then i can completely drop it blame derek okay, i'll put it in the copyright notice * kilo is trying to catch up *** sjc has quit IRC ok, catch-up done * holycow adds some more ram and a water cooling kit to kilo's brain <_< * holycow considers adding a window mod kit to his skull and some halogen ligh fixtures but decides against it at the last minute ram? what i have now is very volatile... yes especially when you get into the juice :) *** sjc has joined #gnuenterprise who invented gtk? probably stallman *** reinhard has joined #gnuenterprise the Gimp guys what really? how prolific Origins frame at http://gtk.org/ /msg btami gimp guys monnyonle /msg kilo miabajaneki? i was fiddling with widget colors in gtk, and docs are not in sync with reality as usual :) and it resembled win95 c++ programming without docs when only beta was available... well isn't wxpy 2.4.x linked against gtk 1.x? and 2.5.x against 2.x? should look better if and when a switch happens? it depends on your distro i have 2.4.x compiled with 1.x and with 2.x too oh your kidding? neat! i didn't know that :) oh i remember my other q ... it's a configure time decision in gnue, how much scripting is possible ... say one wanted to check a form before submit client side? i realize this might be better implemented via gnue server ... just curious? you mean validate thing before commit? *** wt has joined #gnuenterprise sorry yes, forgot the term or say sort or ... etc. you can hang a pre-commit trigger to the block and have some fun inside it, using python do validations and such oh neat so full python scriptable then? i guess that doesnt mean much... obviously one would need to refer to the objects available cool or in n-tier, you can have an appserver class validate itself by means of OnValidate member function ah! k. look at forms' devguide for further info about triggers *nod* will do now i would need the geographical info about all gnue developers and community members, so that a geographical center of gnue world could be decided. the we all go to that point, holycow brings his donations, and we have a party there. is 100$ canadian enough to buy drinks for all? i'm thinkin we'll be a bit short! ehe :) oh wait, kegger! volume volume volume enough for kilo only :) *nod* lol :) okay, plan modification. only I go there... why of course i forgot hehehe and holycow only sends his donations... *snerk* that way computing the geo center point is much easier. it is on Islay, Scotland... rofl :) an island with 3000 inhabitants and 8 whisky distillers... why of course, why didn't the rest of the world ever see that! 8? wow * btami got some KinderBueno from kids, nyamiii Bruichladdich, Bowmore, Caol Ila, Bunnabhainn, Port Ellen, Laphroaig, Lagavulin, Ardbeg and you can name them all! btami, ehe :) i am always in trouble with Bruichladdich, i always think (based on gaelic spelling rules) that there is one more 'i' in there, Bruichlaiddich, but there is not.. i cant even begin to imagine how thats pronounces lol s=d holycow: http://www.gnuenterprise.org/~kilo/bruichla.wav kilo: it's not your woice, isn't it :) no 8-)) huh :) reminds me to a goat funny thing is that i can not listen to it now... you can on my box that is a BIG physical load to get to your box, switch it on etc... *** ncjp_ has joined #gnuenterprise i know, the power is with you... or force? whitch is the best word? hmmm hmm, it is not a goat. it is a frog. force fred? thx *** ncjp has quit IRC kilo, rofl! kilo, is there any polymorphism in GCD classes? that is a very hard question, and a question that causes some headache for me as i see know, best practice is not try to use any polymorphism at all though technically speaking it can be achieved, yes why do you ask that? *** holycow has quit IRC *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** btami has quit IRC brb *** kilo has quit IRC *** jamest has joined #gnuenterprise *** johannesV__ has joined #gnuenterprise *** kilo has joined #gnuenterprise *** johannesV_ has quit IRC i'm having trouble trying to run the track example in forms ... any one about that can help ? track example? do other examples work? contacts.gpd well the gfd files seem to be fine gpd are for gnue-navigator yeah is navigator not operational at the moment ? it is however contacts.gpd seems to be hosed it fails for me, too k ... as long as i'm not the one with the problem =) s/not/not just contacts.gpd has not been touched sincd jan 2002 so it might well be out of date that'll probably do it ok fixed it please svn up and try again sine guy named reinhard keeps filling up my inbox what's his problem? :) 90% working ... do i have to copy the track path into the python path .. or something like that ? getting a "no such file or dir: 'forms/contact_manager.gfd'" or whichever form i try and load you have to be in the directory where the gpd is ahh ... was just running them from nautilus ... thanks reinhard muchly appreciated no problem you're welcome *** cilkay has quit IRC *** jamest_ has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** wt has quit IRC *** cilkay has quit IRC *** wt has joined #gnuenterprise *** wt has quit IRC I'm trying to recall.. How are db changes handled within gnue? like if I have a setup in production and want to bring it uptodate with changes I've been developing that have required refactorings within the db, do the tools provide a means of performing the data migration? agile: 2 tier or appserver? either, I'm just thinking. ok with 2 tier, you have to write a gsd file defining db schema you can run gnue-schema against an existing database and it will just add new columns as needed and new tables with appserver, it's basically the same but you use gcd files and do gnue-readgcd instead of gsd and gnue-schema however in both cases there's 2 things gnue won't do: 1. delete tables or columns 2. change the type or length of existing columns ok, that's where I was going. So I would need to write a script to handle the actual migration issues. or do it by hand, etc. if you change datatypes? yes most db's can't handle datatype change on existing columns right *** jcater has joined #gnuenterprise * reinhard is releasing 0.3.2 of appserver jcater: you told me that you have problems with forms startup speed, right? could you please test how much faster it would get when you removed the three gfd files from dialogs directory? messageBox.gfd should be completely obsolete, and the other two should actaully be quite easily replaceable by other means and my personal profiling has shown that parsing these 3 files for *every* form you open sucks performance obsolete? they obsoleted the other methods, iirc fwiw, on my machine deleting those 3 files shaves no more than half a second off that's testing against samples/zipcode/zipcode.gfd interesting anyone see this: http://www.freebmw.net/wrxpkr/various%20other%20pics/2004election_by_iq.png ? ;P jcater: it saves half a second for me too of 1 1/2 seconds so it saves about 30% on my machine funny how performance issues differ anyhow, was just trying if i can help you with that issue chillywi1ly: I'm pretty sure the avg IQ of Mississippi has gone up I moved there, after all :0 lolz jcater: you're still outnumbered let me be the first to apologize to the rest of the world, we're sorry but at least we tried (here in WI) damn skippy jcater: you live in the dumbest state...just face it ;) Ben used to live in mississippi and he tells me lots of fun stories actually, I wonder how old those numbers are they are probably old I admit, Mississippi brings up the rear but in the last decade MS has put a lot of money into education jcater: I saw a simlar chart for 2000, WI's avg. IQ was 103 then we've gone down :( so I definitely think things are improving here I'm sure we're at least 49th now! w0000 going down...down...down Waukesha county is the worst repuglican stronghold in WI *** wayneg has quit IRC and this is where we live... Desoto County is worst in Mississippi as it's right next to Memphis and all the racist conservatives had to get out of Memphis so colonized Desoto County of course, as a result, Desoto has the most $$$ for education, etc wealthy county but sucky *** holycow has joined #gnuenterprise g'mornin good morning holycow *** kilo has quit IRC *** kilo_ has joined #gnuenterprise kilo: your patch with that color stuff produces exceptions in sample.gfd AttributeError: 'gtk.Combo' object has no attribute '_UIHelper__color' sample.gfd is no longer functional at all do you mind if i will do a 'rework' of your patches tomorrow ? as well as i would prefer a conf-setting like 'highlightEntry = True' or maybe 'highlightColor = aDumbColor' (and doing nothing if it's missing) ok, i'm off for today *** johannesV__ has quit IRC *** Morphous has quit IRC *** Morphous has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** cilkay has joined #gnuenterprise hmmm what trigger is it that gets fired when i select something from a dropdown? nope nope nope... bah my big sorrow, remember? dropdowns are really annoying it only fires when you tab out =sux tried to make it fire on change dynamically but it broke something else * jamest_ can't recall what heh jamest_: i know that feeling ;-) no, it did not broke something else, but it fired even when it should have not... how would i activate/deactivate a button in trigger code? call it's on-action trigger? i mean grey out and black in make it available and non-available hehehehehehehehehehehehehe devilish laugh that would be *muahahahahaha* you stand corrected >_> ^_^ jamest_: is that possible at all? to enable/disable a button dynamically I don't think so, currently seriously? can i make it invisible? holycow: it was a laugh from one of those little, evil devils... not a BIG one... reinhard: i think you cant and i guess the same goes for entries? entries have a .navigable boolean property buttons should but don't yet for some reason *** jamest_ has quit IRC i wonder why it's always me that hits things not possible in forms with virtually every single form i create maybe i'm doing things wrong approaching problems from the wrong side? probably just a different approach for james and I if we're having to write triggers that's a very rare thing it is your share. it is mine to hit things not possible in appserver... I wouldn't say oen is right or wrong though jcater: how would you solve that: there can be at maximum one open journal per month the user can select a month if a journal is open then it is displayed and can be modified if no journal is open the user should be able to create a new journal kilo_: you having serious things missing in appserver? except for the order of OnValidate and nullable checks? i don't know yet, but maybe... beware... lol Hello all. I just checked the latest out of svn and trying to install on Mandrake 10.1. setup install for common complains that it can't find pygettext. That is because it is called gettext as far as I can see. Is this a bug? cilkay: there is also a pygettext which is usually included in python I don't see that when I type modules in the help browser in the python shell. I guess it isn't included with Python in MDK. I'll try to find it. maybe you have a python-dev in mandrake? Quite likely. I'll dig around - thanks reinhard. *** jcater has quit IRC *** jamest has quit IRC reinhard: OnValidate and null-check order... it must be changed... good night *** kilo_ has quit IRC night kilo good night all *** reinhard has quit IRC *** wendall911 has quit IRC *** Morphous has quit IRC *** holy_cow has joined #gnuenterprise *** holycow has quit IRC *** Amorphous has joined #gnuenterprise *** sjc has quit IRC *** ncjp_ has quit IRC *** ncjp has joined #gnuenterprise *** ncjp has quit IRC *** ncjp has joined #gnuenterprise *** havoc has quit IRC *** dneighbo has quit IRC *** nickr has quit IRC *** dimas has quit IRC *** cilkay has quit IRC *** Amorphous has quit IRC *** chillywi1ly has quit IRC *** ncjp has quit IRC *** ncjp has joined #gnuenterprise *** Amorphous has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** havoc has joined #gnuenterprise *** chillywi1ly has joined #gnuenterprise *** dneighbo has joined #gnuenterprise *** nickr has joined #gnuenterprise *** dimas has joined #gnuenterprise