*** reinhard has joined #gnuenterprise *** johannesV has joined #gnuenterprise good morning *** dimas has joined #gnuenterprise good morning all good morning good morning *** kilo has joined #gnuenterprise *** GI has joined #gnuenterprise good morning *** sjc has joined #gnuenterprise off to customer *** reinhard has quit IRC *** yure_ has joined #gnuenterprise hy, can anyone tell me where can I find documentation to start with gnue forms (missing connections.conf) forget that question... :) yure welcome :) hy dimas dimas, could you give me a hint how to start with gnue i mean what should I try doing first some howto or something? where are you at now? what are you see gnue is useful for you? would you like to use application server or just forms in 2-tier mode? well i'd like to start learning just for start i'd like to see forms running then get gnue installed and samples working but it gives me: no forms definition file specified i found one howto but it didn't go very deep into configuring forms what distro and from what have you installed? ubuntu, i think package is directly from debian then you run something like "gnue-forms" command? yes and i've allready set connections.conf to work with postres there should be some *.gfd files and samples and you can run something like yes I have them gnue-forms samples/simple/form.gfd ok thanks... for simple form there is no need for database and connections.conf ok, thanks a lot, i'll explore some more :) your interface is described in .gfd file, you use gnue-forms to read that file and costruct an UI dimas, gnue supports html, right? i mean it can create html forms? it's primary use to construct GUI application dimas, and curses of course :) well curses is a form of gui :) yep *** jamest_ has joined #gnuenterprise no, curses is just an ui, it's not graphical :) may it is stands for Greatest User Interface in the world? *** kilo has quit IRC *** mnemoc has joined #gnuenterprise johannesV: you here? *** johannesV_ has joined #gnuenterprise johannesV: you here? *** yure has quit IRC *** johannesV has quit IRC johannesV_: you here? *** jcater has joined #gnuenterprise yes i'm here ok, can you look http://www.gnuenterprise.org/~dimas/samples/screenshots/params.png what if i want to define parameters which is referenced some objects so i give type and want some lookup form to pop up via button ok, where's the pb ? you mean parameters for an appserver-procedure ? no what kind of parameters do you mean ? just a minute to a form, like in run_form ('foo.gfd', myParams) no some params class for system wide parameters one problem that i can't get list of all modules_classes from gnue_module gnue_class why not ? access to class 'gnue_module' is restricted or something like that you mean via generated form ? i tried from script i still can't get the point ? in a language-interface application you can access the classes 'gnue_*' like every other class (but you shouldn't modify) every other class should be able to have a property of type "gnue_*" imho (haven't checked that ... but it's just another ref) or do i completely misunderstand you ? from gnue.appserver.language import App if __name__ == "__main__": app = App.App () session = app.newSession ('test', 'test') session.setcontext ('gnue') fields = ['id','name'] cond = [] order = [] data = session.find ('module', cond, order, fields) for m in data: print "%-35s|%-35s" % (m.id, m.name) session.close () i tried this one and what's the result ? does it yield an exception, or is it just empty? dimas, this works fine for me app: Access to class 'gnue_module' denied For help, type: app --help ah .... you are using authentication ? yep so you might make sure that your username has gnue_* included in gnue_auth either have it set to 'all' i'm switching it on and off but trying to use or add it separated by commas the baby's cryin ... bbl *** btami has joined #gnuenterprise *** btami has left #gnuenterprise *** btami has joined #gnuenterprise *** kilo has joined #gnuenterprise *** kilo has quit IRC johannesV_: i do not find that gnue_auth at all *** yure has joined #gnuenterprise johannesV_: is that gnue_useraccess? johannesV_: thanks, it is gnue_useraccess btw, gnue already has that strong security support :) *** titopbs has joined #gnuenterprise *** jamest_ has left #gnuenterprise *** yure has quit IRC *** btami has quit IRC *** jamest_ has joined #gnuenterprise hi, how can i convert a YYYY-MM-DD string into a date? *** SachaS has quit IRC *** jamest__ has joined #gnuenterprise >>> (year, month, day) = map (int, '2005-05-02'.split ('-')) >>> datetime.date (year, month, day) datetime.date(2005, 5, 2) o_O thanks :) np what map does? mx.datetime.iso has some additional facilities (if you'll use mx) from mx.datetime.iso import * ? map calls the method 'int' for all items of it's sequence-argument cool function >>> import mx.DateTime.ISO >>> mx.DateTime.ISO.ParseDate ('2005-05-02') using map is way faster than using an iterative aproach, but it's not usable in all situations ... :) ok, have to leave now cu tomorrow ... *** johannesV_ has quit IRC *** jamest_ has quit IRC *** havoc has quit IRC *** havoc has joined #gnuenterprise *** jamest__ has quit IRC *** docelic has joined #gnuenterprise *** havoc has quit IRC *** docelic has quit IRC *** wendall911 has joined #gnuenterprise *** kilo has joined #gnuenterprise *** jamest_ has joined #gnuenterprise *** docelic has joined #gnuenterprise If I remember correctly, you can only have one db connection at a time. Is this correct? tiredbones: in what? gnue-forms you used to be able to have > 1 connection but it pools all traffic across 1 per definition in your connections.conf so your form can reference connections like prod, devel, gnue all in 1 form but all references to the prod connection only use 1 real connection to the backend have to run *** jamest_ has quit IRC *** havoc has joined #gnuenterprise *** docelic has quit IRC *** jcater has quit IRC *** cilkay has joined #gnuenterprise *** kilo has quit IRC *** sjc has quit IRC *** jcater has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** cilkay has left #gnuenterprise *** titopbs has quit IRC *** jcater_ has joined #gnuenterprise *** jcater has quit IRC *** dcmwai has joined #gnuenterprise *** holycow has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** cilkay has left #gnuenterprise *** titopbs has joined #gnuenterprise *** jcater_ has quit IRC