*** dyfet has quit IRC *** johannesV has joined #gnuenterprise good morning guys svn seems to be broken again ? *** sjc has joined #gnuenterprise *** sjc has quit IRC *** sjc has joined #gnuenterprise *** dimas has quit IRC *** dimas has joined #gnuenterprise *** btami has joined #gnuenterprise *** sjc has quit IRC *** sjc has joined #gnuenterprise *** dcmwai has quit IRC *** truewulf has joined #gnuenterprise *** truewulf has left #gnuenterprise *** kilo has joined #gnuenterprise *** kilo has quit IRC *** kilo has joined #gnuenterprise *** sjc has quit IRC *** SachaS has joined #gnuenterprise *** SachaS_ has joined #gnuenterprise hi everyone *** SachaS has quit IRC hi SachaS_ hi btami hallo johannesV hi SachaS i did send an email to gnue-dev last night. it did not get through yet hi johannesV. yesterday i started to redo babyerp. basically i have to update all procedures and all forms, where i call a procedure. well, at least update the procedure definitions yeah i have to think how i update, as i used a {} as return value. i am not sure how I will do it. maybe just return a string? hmm, what about using exceptions instead of returning error-state information ? i dont know yet. or just return a boolean or yes, using exceptions. means i have to catch them as well ;) of course, but it's a much cleaner way of solving things ok and you're still able to return a function result question: if i define the return type a number and i also set nullable then i can return "nil" or "null" (or whatever it is in python)? this would be 'None' ok. None. so i basically can chose between the return data type and None ok johannesV another question: * johannesV at phone ok. i will wait. ok, back ok SachaS, yes you can return None (if procedure is 'nullable') or a value ok thanks other question: i saw two places where procedures are called: to check wether a value is none do something like 'if foo is None' 1) gnue-forms 2) from within a procedure for 2) it would be nice to have all data type available which the language provides. what do you think of this? this would be tricky if there are more than one languages in use yeah. appserver is designed to support not just python as 'trigger' or 'procedure'-language do you see the need to call a procedure from within a procedure? so what datatypes are 'the basic ones' ? well, i think this would be replaced by 'calculated fields' in most of the cases ok gotcha. so appserver defines the supported datatypes. and the selected programming language has to support that datatype. right or kind of that ... ok. its a bit of a limitation... or we can only uses a small subset of data types at the moment we're using a specified set of data types yes. maybe this set will be increased in the future yes. calling procedures from within procedures: shouldn't be a problem calling procedures from within procedures: does this require gnue-common underneath, right? the calling procedure connects to the appserver and makes a request to the second procedure. just as it would be a gnue-forms client both procedures are executed at/in the appserver usually the language-interface would do the dirty work ok ok. i have to think if i want to use the exceptions. where's the difference between writing a handler for error-case or trapping an exception ? looks basically the same (res, msg) = fooBar () if not res: print "Error:", msg or try: fooBar () except Exception, msg: print "Error:", msg of course this is just a primitve sample, but Exception-handling is much more powerfull than any other construct hmmm (please refer to pythons doc for more details) yeah i should use it. yep ok you can use more detailed exceptions like try: fooBar () except ASpecialOne, msg: print "This isn't sane ...", msg except Exception, msg: print "Error:", msg this way you can trapp multiple situations without using a dict as restult type ! ok.msg is a string? thats what i am looking for, i think. actually msg is an instance, but it's __repr__ or __str__ method get's called if used in a string-like context ok you can use sys.exc_info () as well in an exception-block if you leave msg out like: exception Exception: print sys.exc_info () where sys.exc_info () returns a tuple describing the exception ok. and how is ASpecialOne a class, inheriting from Exception class? could be yes could be? i mean does the client sort out what sort of exception is coming back from the server? or must the client (gnue-forms) include an exception definition file? The trapping code must know the exception class if it should be caught by type ok. in the sample above a class definition for 'ASpecialOne' must be available to the catching code so in the gnue-forms trigger i have to import the file, where I defined the exception? if you won't have this definition available you can still catch the superclasses (i.e. Exception) that's right yep. ok. so there is a file which must be imported in the procedure and in the trigger. might cause a problem, probably rather a question how you distribute the client...so that you make sure, that the client finds the file ... hmm, yes ... that's something we should think about i'll write this issue down and bring it up in our meeting tomorrow *** btami has quit IRC ok. great. is reinhard back tomorrow? maybe something like gnue_exceptions hmmm yeah yes, he'll arrive today in the evening but than there's still the import-thing left ... and the appserver makes sure, that the client has all the exception definitions could be a possible solution, but than there would be a pretty polluted namespace in the trigger itself if you define a java method, you have to mention, which exceptions the method throws... yeah. is that meeting a bytewise or gnue meeting? ok, but this would mean another detail to the procedures actually these are the same meetings :) :) what time is it? ;) first part is bytewise, second part is gnue, since a part of my job at bytewise is gnue 9 o'clock in the morning' ? yea oh cant make that. bugger i could have come for the second part ;) well, you would have to ask reinhard for that -- he's the boss :)) he is the man well ask him tomorrow, i would like to know a little bit more what you have in mind with appserver and i am sure reinhard has a lot to tell from sweden ... i could make it for the afternoon ... :) ok *** dsmith has joined #gnuenterprise *** kilo has quit IRC *** Vee has quit IRC *** V has joined #gnuenterprise *** jamest has joined #gnuenterprise *** sjc has joined #gnuenterprise *** jamest has left #gnuenterprise *** jamest has joined #gnuenterprise *** dsmith has quit IRC *** dsmith has joined #gnuenterprise *** SachaS_ has joined #gnuenterprise *** SachaS_ has quit IRC *** SachaS_ has joined #gnuenterprise *** SachaS_ has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** SachaS_ has joined #gnuenterprise *** SachaS_ has quit IRC *** SachaS has quit IRC *** johannesV has quit IRC *** SachaS has joined #gnuenterprise *** dcmwai has joined #gnuenterprise how do I hyphenate "characteristics" ? any native english speaking person here? I'm here, but I can't answer you. :) ter-ist i would go for: char-ac-ter-is-tics but i have now idea :) http://www.m-w.com/cgi-bin/dictionary?va=characteristics * SachaS searching for a hyphenation website :) Main Entry: 1char?ac?ter?is?tic :) 100 points :) thanks np *** jcater has joined #gnuenterprise *** dcmwai has quit IRC *** johannesV_ has quit IRC *** jcater has quit IRC *** johannesV has joined #gnuenterprise *** SachaS_ has joined #gnuenterprise *** SachaS has quit IRC *** SachaS_ has quit IRC *** SachaS has joined #gnuenterprise *** mixi has joined #gnuenterprise *** _mixi_ has quit IRC *** jcater has joined #gnuenterprise *** Amorphous has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** dcmwai has quit IRC *** Morphous has quit IRC hello can i acces the most current docs via web oder via cvs? oder=or um i think the docs are the web are up to date okay, fine :-) but all tools have doc dirs in svn the swx files are the latest open office docs *** kilo_ has joined #gnuenterprise *** kilo_ has quit IRC *** kilo_ has joined #gnuenterprise *** johannesV has quit IRC jamest: did you see adobe pdf forms? where they connect to a backend server? i have not i have not ok does anyone know of some good EDI software that will integrate with M$ access? ;P * dsmith puts on a sour face chillywilly cant help you with either. have you tried google ;) the acces system is being phased out but this is not happening at record speed or anything like that ;P it's a ways away chillywilly: Probably unreleated, but something intresting to think about: We had a ms app that used DAO (ADO?) and there were many problems. We used sqlite instead. WOrked great. There are even some dlls for vb. The code that talked to the db wasn't changed at all. I already have a migration path/plan to my mod_python appserver and postgres but thanks anyway ;) it's just easier to use some EDI software for now so I can concentrate on some other things chillywilly on sourceforge.net i saw some edi stuff eventually I will translate EDI documents to XMLRPC calls really? I was looking for some open/free EDI stuff but couldn't find much * chillywilly looks at SF geez, this is not very helpful ;) too many results returned *** wendall911 has joined #gnuenterprise when are people going to start using XML? ;) and dump EDI ;) EDI is not pretty like most XML uses are pretty. EDI is like the creature from the black lagoon, but XML is like godzilla *** wendall911 has left #gnuenterprise xml rocks when used appropriately chillywilly I think electronic data exchange between businesses would be a perfectly good use of XML SachaS: look ebXML ;) and look yea, but there are too many customers that use EDI...blech UBL (Universal Business Language) sure, xml can be good if you have those fairies around to control him, but usually he just wrecks up the place what am I supposed to do ;) transform the company jk right.... not * SachaS thinks he should port his ebXML staff to the latest ruby version I need food staff? stuff? sorry stuff I thought staff was like a group of people that work for someone ;) why do i keep mixing them up? or a long stick ;P ;) *thwap*( hey chillywilly hey SachaS what was that REST site? I dunno...you can find the wiki with google bah thanks ;) heheh chillywilly SachaS you liked MDA? model driven architecture. no idea ok sometimes getting too generic with middleware can cost you more than you'd like to admit ;) anyway, I think lunch is on the horizon ok *** reinhard has joined #gnuenterprise bah.... mmmhhh 610 new mails hallo reinhard you seem to be back in austria :) welcome back johannesV told me about your 9am meeting tomorrow i wish i could come but i have to see the doctor tomorrow morning :( *** btami has joined #gnuenterprise reinhard: how did your curses adventures go? I think reinhard is reading emails :) he actually reads them? wow *** btami has quit IRC Mmm. curses adventures. Zork was great. lol, i have zork on my pda slackers * reinhard has been "celebrating" wedding day till now and will now start actually reading the mails... *** dhill1 has joined #gnuenterprise jcater: you're just jeallous *** sjc has left #gnuenterprise maybe or I could just be jealous new nah you're jellous * dsmith imagines jcater in a commercial featuring Bill Cosby *** jamest has left #gnuenterprise jcater, I think I found a bug in Designer. I asked Derek how to report it. He said, "Tell jcater 'this crap is broken on win32'" *** dsmith has quit IRC dhill1: hmm the best way to report bugs is to not mention derek in the process =) Good point. * dhill1 makes a note Drag and drop from the schema navigator doesn't seem to work on win32. *** kilo_ has quit IRC ah hmm Derek's solution to the problem is to get me a linux workstation. But that might take a while. unfortunately I don't have a windows machine to test on I can see how that might be a problem. *** dsmith has joined #gnuenterprise tell derek to hook you up w/transparent X on your Windows machine *** reinhard_ has joined #gnuenterprise *** reinhard has quit IRC "Transparent X" ... sounds like some sort of hallucinigen... *** SachaS has quit IRC *** jcater has quit IRC *** dhill1 has quit IRC *** dsmith has quit IRC *** jcater has joined #gnuenterprise *** jamest has joined #gnuenterprise jcater, i've tried to play around with cursing but i've got the feeling that a file is missing or if there is no file missing, i've got the feeling that the current code is completely broken :) my question basically is how close is the current code to a working code? at one time quite a bit was working iirc the issues were dropdowns tabs were not displayed but pages worked the main issue was lack of panel support in curses which is was being rewritten to support without it, it made multi-page/multi-form/popup forms a nightmare there is a tests/demo.py in cursing of which basically not a single item does work everywhere all across the code, there are references to the ScreenContainer which seems to not exist any more it was in the middle of a gutting error: gutting not found in dictionary :-) he was mad goat raping it and got tired ah ok so it'll be ok if i again mad goat rape it? * jamest falls from chair yes you're asking permission to mad goat rape part of GNUe? reinhard: imho the biggest shortcoming of it, that it was missing, was support for curses.panel i'm not sure if i can adhere to the unwritten concepts standing behind the begun-but-not-finished "gutting" /msg jcater what's up with this guy? /msg jamest he's just back from holiday, give him a few days to recover holiday?? i was attending a 3-day meeting vacation? oh reinhard: you make it work and I personally don't care if every variable follows the convention reindhardRules1, reinhardRules2, reinhardRules3 jamest, lol bah why does xchat 2 make name, instead of name:?? of course if you were one of my student assistants you'd abbrivate that rr1, rr2,rr3 * reinhard changed it again jamest: lol aaaahh better :) curses.panel is basically the stuff where you have multiple pages with those tabs on the top? it's were you have a piece of screen that remembers what is under it yes to jamest without that forms would be forced to remember what's under every popup dialog ah gotcha well, it'll get particularly messy what about redrawing the lower form after deleting the popup? when we do the integrator bit :) reinhard: that is the way it used to work panel handled that automagically iirc ok and that got really troublesome for anything more complex than a simple form hence the gutting ok so it is really a fact actually that curses is currently in a completely non-working state? jcater messed with curses last but IIRC the curses library we used didn't support panel at all well for current svn, not even label works :) fwiw, the current broken curses was accidentally committed while committing some other stuff :-/ oh sounds familiar :) you could roll that part out if you wanted well, it was broken before my commit but just more broken now :) fwiw, I don't see me gnue'n much in the near future aside for small improvements in forms, et al you always say that then you come crawling back for your fix bwahahahahahaha hehe well, true but we sold the business and I'm doing more marketing at work than programming which means more time for GNUe! roflmao you think you're funny ... but you're not you know you want to of course I do once I'm done bastardizing pdf writer I'm jones'ing to tear into forms you'll just have to merge it into reports it's that itch you have to scratch anyone know of a way to scale text output to the width of a page via command line ? i've got a sql statement output just a tad to wide for portait on paper but overkill for landscape i'd like to do cat output | txt2ps | scale2onePageWide | lpr something like that ah enscript -P file it line wraps -f Courier10 which butchers the report ah cool as i was using enscript it's just easier to type lpr in irc :) :) *** dcmwai has joined #gnuenterprise *** dcmwai has quit IRC vcs err wrong window *** reinhard has quit IRC *** _mixi__ has joined #gnuenterprise *** mixi has quit IRC *** holycow has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** wendall911 has quit IRC *** jcater has quit IRC *** jcater has joined #gnuenterprise *** jamest has quit IRC *** jcater has quit IRC *** jcater has joined #gnuenterprise *** dcmwai has quit IRC *** dcmwai has joined #gnuenterprise *** dcmwai has quit IRC *** dcmwai has joined #gnuenterprise