derek yep dld it and tested it on their test server do gnue apps like gnue-forms or reports can be fed from stdin ?? *** reinhard has joined #gnuenterprise morning reinhard good morning hi reinhard *** dimas has joined #gnuenterprise *** SachaS has quit IRC *** sjc has joined #gnuenterprise *** sjc has quit IRC lekma: where did you download it? i couldnt appear to find a place to download it nevermind i found it *** kilo has joined #gnuenterprise good morning good morning *** dimas has quit IRC *** sjc has joined #gnuenterprise *** derek has quit IRC *** dimas has joined #gnuenterprise *** holycow has joined #gnuenterprise *** johannesV has joined #gnuenterprise hi hi johannesV *** dcmwai has quit IRC *** holycow has quit IRC reinhard: is there a setup.py program? Only thing I found was GSetup.py. tiredbones: where are you looking for it? every .tar.gz should contain a setup.py reinhard: I just built a Unbuntu Hoary and they had the latest .deb packages. I did a "find" command system wide. Nothing showed up. I'll try again. *** kilo has quit IRC reinhard: I just ran the find command again and nothing shows up. you installed the ubuntu packages? there is no setup.py in packages actually that's the whole *point* in debian packages (or any other pre-packaged versions for that matter) that you *don't* have to install it yourself, but the packaging system does everything for you you only have to create the db reinhard: thanks for the reply. I thought for sure that I ran a setup program the last time I installed. reinhard: My notes must be bad. reinhard: Did you get my email from last week? tiredbones: not sure, can you give me a short hint so I can try to remember? reinhard: I was putting together some diagrams,simple as they where. class hierarchy? reinhard: No, just modules for now. yes, now I remember; I think I already answered that that it's good to have such a diagram, but you should be aware you're facing a heavily moving target reinhard: I know, eventually I'll automate the process. It sure is help me get a better picture of gnue. reinhard: Our your familiar with IBM's CICS software? no reinhard: I see some similarities between gnue and CICS. *** jamest has joined #gnuenterprise good morning jamest afternnoon(?) reinhard jamest: yes :) *** titopbs has joined #gnuenterprise *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** StarDeep has joined #gnuenterprise *** Morphous has joined #gnuenterprise *** Amorphous has quit IRC *** titopbs has quit IRC *** jcater has joined #gnuenterprise *** StarDeep has quit IRC *** dcmwai has joined #gnuenterprise *** dcmwai_ has joined #gnuenterprise jamest: how to define a mask to input/display time data ? data like hh:mm mmmmm let me see if I can find something that does it i don't think a have any samples where to look then? *** dcmwai_ has quit IRC well, iirc it's defined in gnue.conf and reports has a hardcoded format="" option for fields format="%m/%d/%Y %I:%M %p" also gnue-forms --help-config shows masks with defaults but I can't recall if they all work dimas, you can look at appserver's sample.gfd for a time you might use inputmask="%X" for date-, time-values you can use all of that format-strings defined by strftime (look at "man date") *** dcmwai has quit IRC thanks jamest , johannesV would typecast="time" be a proper setting? i only see typecast="date" in appserver's sample.gfd *** SachaS has joined #gnuenterprise branden robinson is the new dpl just as info for all who know or can imagine what that means I wonder when the construction of his throne of skulls begins ajmitch: you here? i think bug #299311 is fixed what does that mean? hi reinhard branden is one of the most "religious" people in the debian project pushing through rules like everything is software and is inacceptable if it's not under a completely free license thus removing all "non-free" stuff from debian like device drivers containing binary firmware or all gfdl documentation or the debian logo but maybe the DD's in here can give more info (if there is more useful info) a majority of voting DDs approved that point of view in a general resolution ok. also to be fair branden himself never proposed nor 'pushed through' any such rules well "push through" maybe a bad term but he was quite strong for it, wasn't he? * reinhard doesn't want to spread false information actually we will see where it really leads to He certainly holds those oppinions, I've never noticed him expressing them in a particularly forceful way though the DPL has little actual power true dat *** btami has joined #gnuenterprise *** btami has quit IRC *** btami has joined #gnuenterprise *** ajmitch has quit IRC *** ajmitch has joined #gnuenterprise I'm doing the program in "GNUe Common: A Developer's Introduction" and I've come up against the following error: File "/usr/lib/gnue/python/gnue/common/apps/GConfig.py", line 145, in _integrateDefaultDict DB000: self._loadedConfigs[filename].get(section,key) DB000: File "/usr/lib/gnue/python/gnue/common/apps/GConfig.py", line 207, in get DB000: return self.__typecasts[field.lower()](val) DB000: TypeError: 'str' object is not callable Can anyone point me in the right direction for solving it? I execute the code with this comman: python helloworld -w bob The conf file looks like this: [DEFAULT] greetingText = Howdy Is there any other info I can give. This example is on page 9 in said documet. can you paste the snippet that you are trying to run? jcater: the part I think is the problem --- def __init__(self): ConfigOptions = ( { 'Name' : 'greetingText', 'Type' : 'Setting', 'Comment' : 'Use the basic editor for triggers', 'Description' : 'Use the basic editor for triggers', 'Typecast' : 'GTypecast', 'Default' : 'Hello'}, ) GClientApp.__init__(self, application = "helloworld", defaults = ConfigOptions) Then I have this print statement-- print "%s %s!" % (gConfig('greetingText'), self.ARGUMENTS[0]) hmm ah 'Typecast': 'GTypecast' that's the problem should be 'Typecast': GTypecast.text or something similar *** jamest has left #gnuenterprise jcater: sorry for bothering you. I looked at this code for hours and couldn't find this. Thanks no problem I corrected the typo and looked over the code again. Still getting the same error. Hold it I theonk I found something. s/theonk/think/ ciao *** lekma has quit IRC Got it. *** jamest has joined #gnuenterprise *** johannesV has quit IRC *** rynik has joined #gnuenterprise Hi, I'm checking out GNUe for the first time today. I've been looking for this kind of framework for years and now it seems something has realy taken off. I'm realy excited to see whats under the hood. hi *** mnemoc_ has quit IRC *** mnemoc has joined #gnuenterprise *** kilo has joined #gnuenterprise *** btami has quit IRC Hi again. When I run gnue-setupdb I get CREATE USER CREATE DATABASE gnue-schema: The PostgreSQL driver returned the following error: FATALT: IDENT authentication failed for user "gnue". But I can do a $psql gnue gnue without problem. Why does gnue-schema have problem to authenticate? (Please tell me if the IRC is a bad place for my question!) rynik: irc is a right place rynik: check if postgresql is running with -i option OK. I'm not sure how to tell. Had a quick look in /etc/init.d/postgresql but found nothing. and also some setting in pg_hba.conf rynik: /usr/share/doc/gnue-common/hints.postgresql.txt should contain some hints (provided you installed debian packages, if you install from source location of that file might differ) I have "local gnue gnue trust" in pg_hba.conf ok that allows connections over non-tcp but gnue usually uses tcp connections so you have something like 127.0.0.1 gnue gnue trust I understand. I will try again. i have host all all 127.0.0.1 255.255.255.255 trust OK. Thanks, that did the trick. good *** wendall911 has joined #gnuenterprise Now I try to run "sudo gnue-appserver --selftest" but I get DB000: pidfile = open (self.OPTIONS ['pidfile'], 'w') DB000: IOError: [Errno 2] Filen eller katalogen finns inte: '/var/run/gnue/appserver.pid' What is happening? Is appserver not creating the /var/run/gnue directory? try -Z option appserver does not create that directory erm you installed, or you downloaded debs? Currently I'm running .debs oh ajmitch: bug in the debs /var/run/gnue should be created on appserver install :) I'll File a bug then. excellent the first bug against the gnue-appserver package ever :) (IIRC) brb *** dimas has quit IRC *** sjc has quit IRC *** dimas has joined #gnuenterprise *** jamest has left #gnuenterprise I run "sudo gnue-appserver --selftest" Now I get: DB000: ModuleNotFoundError: Module 'address' not found in class repository. What is the address module? you can find that in the samples directory /usr/share/doc/gnue-appserver/examples including a short doc on how to use the example How do I install it? I know, I should read it somewere :) You just answered, thanks. the directory I gave you above should contain yes :) That will have to be tomorrows excercise. God night, and thanks for the help so far! *** rynik has quit IRC reinhard: may be --selftest could be able to give some hint if classes are not available? yeah I already forgot that --selftest is there at all *** ajmitch_ has joined #gnuenterprise hi reinhard now what you say about sarge release? :) sarge? release? hah :) * ajmitch_ sees the bug filed earlier.. due to the change in common hi ajmitch and ajmitch_ ajmitch_ is ajmitch @ work ;) *** kilo has quit IRC *** tiredbones has quit IRC reinhard: almost fixed it up... just got to get the ownership of /var/run/gnue set properly *** jamest has joined #gnuenterprise *** jamest_ has joined #gnuenterprise *** jamest_ has quit IRC good night all *** reinhard has quit IRC *** titopbs has joined #gnuenterprise * chillywilly tugs on ajmitch_ 's tail *yoink* *** jamest has quit IRC *** wendall911 has quit IRC *** faqroo has joined #gnuenterprise *** StarDeep has joined #gnuenterprise *** StarDeep has quit IRC