*** reinhard has joined #gnuenterprise *** holycow has joined #gnuenterprise *** sjc has joined #gnuenterprise good morning good morning *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise *** btami has joined #gnuenterprise good morning *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise *** kilo_ has joined #gnuenterprise rynik: please do not send patches to me privately gnue-dev@gnu.org is the correct address OK, sorry I will commit this one anyway :) but for future you can never be sure I read my mails - I might be offline for some days or so so a mailing list is always better than a private address and, of course, above all, thanks for the patch :-) np :) Ops, what happened? ~/gnue$ svn update svn: Berkeley DB error while opening environment for filesystem /var/svn/gnue/db : DB_RUNRECOVERY: Fatal error, run database recovery svn: bdb: PANIC: fatal region error detected; run recovery rynik: same problem here will try to fix it hrm..... seems like we need jcater or jamest :( Did the server run out of diskspace or was my patch just lethal and mean? we used to get this error seomtimes something is confused in svn's brain and you need to talk it down with him... lol but yes that pretty much sums it up :) *** holycow has quit IRC Can I use the session funclions from inside a .gcd procedure? Like: session.New() and session.commit() you can use them like new() and commit() Like: nameOfClass.New(...)? I mean if it's another class in the same module. lke jov = new('PAYROLL_Jovedelem') *** jcater_ has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** jcater has quit IRC *** docelic has joined #gnuenterprise if a appserver procedure runs into an abort, can I catch that, like raise is cought with try? abort is just an exception So, except AbortRequest will catch it, right? yes (I think that was the name of the exception, yes) but you have to import that first I found it in Base.py the AbortRequest exception name *** btami has quit IRC There is no way to determin what caused the abort, is there? rynik: it looks to me as if you'd actually want to rise a different exception than abort Yes, your rigtht, it seems I'm a bit narrowminded. I'm not allways sure what execution environment I'm in when coding inside a appserver procedure. *** dcmwai has quit IRC rynik: you can basically do whatever python allows you can raise any exception you like however you have to be aware that when an uncaught exception occurs, appserver aborts the current transaction and throws the exception up to the user I'm beginning to understand that. Is there any (other) predefined exceptions? In my case it would be like a primaryKeyException not that I'm aware of actually I would recommend to be cautious about randomly accessing code you find somewhere in gnue unless they are clearly defined as public interface or you might risk your application breaking if we do some reorganisation of the code (and for example move some definitions of classes we consider internal from one point to another) however I see that it's hard to tell what we consider internal and what we don't currently :-) and we are of course working on that :) bbl cu *** sjc has quit IRC What is the CDATA thing? I found it encapsulate the body of one of the examples in appserver dev.guide.examples s/dev.guide.examples/dev.guide *** yure has joined #gnuenterprise if you use < or > int he trigger code or procedure code, you need to wrap the code in CDATA wrapper otherwise the parser cannot read it correclty as it will think it is part of an xml tag: I see, Thank you kilo. yw *** jamest has joined #gnuenterprise *** kilo_ has quit IRC *** titopbs has joined #gnuenterprise *** titopbs has quit IRC Can someone pleas explain where the adressed procedures would be in respect to the calling procedure in these examples? self.foo () self.bar (baz = 17) self.customer.doit (really = True) self.invoice.customer.doSomething (text = "foo", other = "bar") s/pleas/please I'll try myself: 1. A procedure in the same class. 2. Well, same as 1 3. A procedure in a different class but in the same module. 4. A procedure in a different module. *** jamest has quit IRC jamest, jcater_: Did you notice the error when one tries to 'svn update'? rynik: 4 is same as 3 but with a further indirection step self.invoice would be an object, customer a property of that pointing to a third object, and that third object has a method called doSomething if it was different module you would have a _ *** docelic has quit IRC *** jamest has joined #gnuenterprise jamest, jcater_: Did you notice the error when one tries to 'svn update'? nope i need a few minutes then I can look *** docelic has joined #gnuenterprise should be ok now *** yure has quit IRC *** aries_mindworks has joined #gnuenterprise hi I've a problem with reports and gcdcvs gnue-reports labels.grd DB000: File "/home/aries/GNUe/gnue/.cvsdevelbase/gnue/reports/base/GRSources.py", line 62, in __initConnections DB000: object.connect() DB000: AttributeError: GRDataSource instance has no attribute 'connect' a sample from the reports any hint? afaihs it's not safe to mix svn and releases :) aries_mindworks: looks like you mix svn common with release reports and mnemoc is right :) *** kilo has joined #gnuenterprise hi reinhard :) hi mnemoc :) reinhard, did you get the patch I sent to gnue-dev? kilo, did you get the patch I sent an hour ago? I'm just checking because you didn't last time, remember? aye, got it Good. but i think i leave this to reinhard now Right, at least I know the address works. hi kilo szia! grcvs --filter=html labels.grd DB000: File "/home/aries/GNUe/gnue/.cvsdevelbase/gnue/reports/base/GRFilters.py", line 62, in loadFilter DB000: raise FilterError, \ DB000: FilterError: Unable to find a filter definition for GNUe:Reports:Labels:html without --filter, it's ok rynik: you rock! thanks for the doc patch *** SachaS has quit IRC *** SachaS has joined #gnuenterprise bye w *** aries_mindworks has left #gnuenterprise *** jcater_ has quit IRC *** dere1 has joined #gnuenterprise *** jamest has left #gnuenterprise *** dere1 has quit IRC *** kilo has quit IRC *** yure has joined #gnuenterprise *** sjc has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** dcmwai has quit IRC mnemoc, what was this about a global gDebug, did you use it? jcater but you can just use the global gDebug now, i think mnemoc thanks mnemoc DevelopersGuide references it from gnue.common rynik: isnide gnue-apps it is global Should the dev-guide be revised? s/revised/updated absolutly :) I'm on it. Just have to find out how gDebug is supposed to be used first. :-) someone, if I use this option: --debug-level 5 and have this in the code gDebug(5,'The value to be printed is %s' % self.ARGUMENTS[0]) Shouldn't I get the debug output? *** btami has joined #gnuenterprise I just solved the gDebug problem I had so never mindf. btw I just solved the gDebug problem I had so never mind. btw Hi btami hi rynik *** btami has quit IRC *** kilo has joined #gnuenterprise *** Margo has joined #gnuenterprise Hi. I am trying to find some old threads from KC#4. They are in [gnue-geas] but the archive link http://lists.gnue.org/mailman/listinfo is not available. Are they anywhere else? Thanks...Thanks also for anyone who sent me back those GNUe surveys... Margo: it might well be that those archives are not available any more OK. Thanks... *** Margo has left #gnuenterprise *** yure_ has joined #gnuenterprise *** sjc has quit IRC *** SachaS has quit IRC *** reinhard has quit IRC *** kilo has quit IRC *** dsmith has joined #gnuenterprise Hey howdy chillywilly: In Owatonna Minesota ok why? Training the vikings still suck, btw :) training for what? What are vikings? the NFL team in MN Ahh. A sports team. PEG yea, I do watch american football PEG? A graphics packages. oh Embedded. weird ALso X and w32 Non Free why are you getting training about that? you doign luser interfaces now? THey have put me on a product that uses it. doing no more embedded linux eh? why don't people just start up their own embedded linux companies ;) Some kind of automatic refigerant replacement system. weird Robinair is the brand name. Getthis, I lost my drivers license in the airport. bah (after I got through the chekpoint. Whew) I'm going on vacation anf leaving Friday for FL They finally found it. It's been fed-exed here. FL ! yeppers disney world, sea world, and universal studios going to hit up those places with my family Cool. (If you like that sort of thing) Very cool. it's fun we're staying ina really nice resort my mom has a time share we're going with her so it will be us 4 I didn't like FL when I went there. I missed my fall colors. mom, caroline, scotty, and I going to drive down there in my Saturn L300 How old is Scotty now? 7 He'll enjoy it. yea, I also want to go see the star wars movie when we are down there ;) the resort is supposed to have a movie theater in it Is it out yet? it will be on the 19th ok next week thursday what about getting a job for lineo? ;) s/for/with/ don't they do embedded linux :)? I need to send in a resume to a local company that does VXI stuff don't know what that is either vme based bus stuff what's the diff between that and pci? are they doing embedded linux? http://www.vxibus.org/ found it ;) so it's a better bus than pci? very fast switching and all that fun stuff FOr measuremnet? Oh yes. The spec covers a lot of envirenmnetal aspcets too. Like temps and noise emissions. I've been thinking of getting back into the embedded development scene screw business software ;) Embedded is cool. it's boring me to pieces lately Yes indeed. and I need to be around more technically savvy people too many dipshits in the business world ;P Where are you again? Wisconson? yep I'd love to have a company that does embedded Linux stuff. problem is you need EE's too ;) There are several people I know who would be very good at it. how are your circuit design skills? None. Well, I've dabbled at it a few times. The other Linux dude at work is an ee. He's love to Linux stuff again. I do know a great ee. Bill Mohat. Works for Telos systems. It's getting the contracts that's the problem. I've no buisness sense at all. Just a geek. yea... and most business people have no technical sense they are freakin dumbasses :) oops, did I type that.. chillywilly: vme bus is an old motorola standard bus, used a lot in industrial control an military. It's what was in the old Sun 3's The 68k based suns Lots of motion controllers, that sorta thing. http://www.vxitech.com/PRESS/Employment.html That's it. Oh man. yea? heh, they have google maps integrated going to move to CA? No. Valley View OH. 20min or so from where I live. Maybe 30 It's just perfect. heh, already looking for a new job eh? Oh yeah. For months now. Ever since we got bought. blah It's the little things. yea Like we can't wear jeans anymore. I heard that my bosses are thinking of hiring an "IT Manager" And we need to be in at certain hours. so I am not happy yuck I spend most of my time messing with m$ Project geez that tool is frickin usless if you ask me And doing paperwork. I'd like to cram it up someone's ass... I told the one guy I'd like to transfer to be a Software Enginner. Maybe I'd get to write some code. (THat's what I am, btw) heheh did they enjoy your sarcasm? ;) * chillywilly watches as the mail piles up in his INBOX Oh yeah. So how *is* gnue doing these days? ANyone actually using it yet? I dunno I think GNUe needs some serious commercial backing to crack into the market as the ERP market is too secretive...but that's my opinion ;) and kick SAP out of the market! How stable is it? You can't run a company on something that's changing. *thwap* I don't think you can run any kind of a comapny on it right now but I am kinda out of the loop so what do I know heh it's still a project with very lofty goals...kinda hard to slay the large dragons when you have no one there to fund those initiatives as it seems the developers are only scratching their own itches as far as needs/features go (which is not necessarily a bad thing) * chillywilly talks out of his ass ;) uhm I dunno, writign business software is not very secksy writing Ahh, but it's supposed to "pay the bills" and all that. how so? It's the dirty work that needs to get done. Buisness need to do buisness. you have to have a lot of experts in a lot of industries, imho What about ibm? What did I just read on /. ? that would work...just don't know if they are into the ERP game what did you read? You gotta be kidding IBM is all over that stuff. Or they were. if you say so ;) what is their ERP platform called? gluecode IMB Buys Gluecode I don't know about erp platforms. wth is application management though? Dunno. But it sounds buisnessy it's all Java though ;) blech :) Someone needs to set them straight. maybe I should just become a Java head ;) I'm gonna learn c# you're sick ;) My boss said so. great... * mnemoc prefer c# over java So, I apt-get install mono And mess about with libglade Works. *** dcmwai has joined #gnuenterprise Actually, I prefer it over java too. it's just a J2EE application server * dsmith rewrites all of gnue in scheme while cw goes on vacation. lisp is only good for AI or "expert" systems :) And yahoo store. what do they use it for? I bet it is used for some rules based system with thousands of variables The whole of yahoo store was written in lisp. that's sick ack is it RESTful? REad some stuff by Paul Graham cause I think I am about sick and tired of everything perverting the resource framework that is the web :) *everyone hmmm, apache software foundation has too many java heads http://www.paulgraham.com/ I think you are right. Seems like everything at apache.org is java Why? dunno geronimo has never been officially released there's a lo fo broken links on the project page lot of http://www.cs.wustl.edu/~schmidt/CACM-frameworks.html http://www.laputan.org/drc/drc.html I really like twisted python as a framework the reactor pattern is pretty cool chillywilly: http://www.paulgraham.com/iflisp.html chillywilly: Actually: http://www.paulgraham.com/icad.html If the pointy-haired boss had to think about the problem in its full complexity, it would make his brain explode. hehe "It's 2002, and programming languages have almost caught up with 1958." "reading at runtime enables programs to communicate using s-expressions, an idea recently reinvented as XML." maybe I should read that MIT LISP book on their open courseware site Lisp looks strange not so much because it has a strange syntax as because it has no syntax; you express programs directly in the parse trees that get built behind the scenes when other languages are parsed, and these trees are made of lists, which are Lisp data structures. I can't really follow that lisp really makes me think way too hard ;) maybe that's why I don't like it ;) ah, I had to read that several times oooh, writign programs that write programs chillywilly: Anyway, that guy writes pretty clearly from the scheme/lisp viewpoint. chillywilly: Python is cool. Don't get me wrong. i hated python, but i'm getting used to it Yeah, I hated it at first too. Then I read that article in Linux Journal by esr and I gave it another try. esr wrote about python?? http://www2.linuxjournal.com/article/3882 :D dsmith: this guy argues that s-expressions are equivalent to xml, how true is that in reality? Both are tree structures. You can convert from one to the other 1<->1 But s-exprs are more compact ok Becuse you don't have the redundant end-tag stuff -> (foo "stuff") ok (defun foo (n) (lambda (i) (incf n i))) IN scheme: (define (foo n) (lambda (i) (set! n i))) why the difference? Scheme is cleaner and more regular and simpler. Lisp has defvar and defun and dev Scheme has define Anything that mutates in scheme should end with ! Like set! Just a naming convention. Or IN scheme: (define foo (lambda (n) (lambda (i) (set! n i)))) Same thing. Any sufficiently complicated C or Fortran program contains an ad hoc informally-specified bug-ridden slow implementation of half of Common Lisp Greensomebodys Tenth Law lexical scoping confuses me brb ok = Dynamic scope is what's on the stack, lexical scope is what's in the source. well, the whole closures thing is brain melting ;) Perl has closures. I know I thought python does too. Maybe not. wtf is a closure again? It's like a local variable that hangs around. can you do embeddd development is lisp ;P? would you want to? lisp is considered pretty lean, the interpreter could be simple Yeah, someone put scheme in the Linux kernel. Good for debugging drivers. heheh The IBM 704 CPU was about the size of a refrigerator, but a lot heavier. The CPU weighed 3150 pounds, and the 4K of RAM was in a separate box weighing another 4000 pounds. The Sub-Zero 690, one of the largest household refrigerators, weighs 656 pounds. neat http://www.norvig.com/design-patterns/ "closures are behaviors with attached state data and without the overhead of classees" * dsmith nods whatever the hell that means :) head movement to say "agree" Code with data. I know what a nod is mr. smart ass :) lol more lol Thanks. I needed that! heh :D chillywilly: Not trying to convert you, just giving some perspective. it's something I have been meaning to learn anyway *** derek has joined #gnuenterprise