*** someon has joined #gnuenterprise *** holycow has joined #gnuenterprise Heya Holycow. or is Moo more appropriate? *** jcater has quit IRC hey dude :) either or i've been called worse :) howya doin? DNS change? Not bad. Wish I could figure out Python... but alas, I'm as dense as a bag of hammers i dun think so, mebbe shaw is playing funny again I guess. You're just showing an IP. and i'm a newb so hey two of a kind :) at least i can read python, all other languages give me a headache A pair beats a ton of nothing a pair of newbies beats an ace of python? hmm.. logic flaw there somehow. lol How're things in Ample? bored, reading comics, waiting for gnome to be release u toying with python huh? Erm.. Python -> GNUe... hehe :) i havent had a lot of time to play with gnue :/ or is it GNUe -> Python *** |dcmwai| has joined #gnuenterprise sigh I noticed in the logs though that security is going to get a look or two... That would be cool i sent this to the list but SuSE and I have agreed that I don't really need to send email Though I'm not sure that security can be achieved much on 2-tier http://www.gnuenterprise.org/cgi-bin/twiki/view/Main/SuSEQuickStart i think it was a matter of security hasn't been addressed in appserver but wouldn't take much to add it is there a similar doc for Debian? Nods, that's kinda what the logs were showing. the source build is the same on sid http://www.gnuenterprise.org/cgi-bin/twiki/view/Main/DebianUnstableQuickStart lists the package dependencies i guess i didn't confirm so between the 2 one should be ok When I asked before about security, I was told that I could push the XML-RPC over https:// so, that would give "over-the-wire" security, so all that would really be needed would be ACLs and Password security. The latter appears to be possible through good programming erm.. that is for AppServer stuff... not 2-tier *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise *** |dcmwai| has quit IRC *** |dcmwai| has joined #gnuenterprise someon, i really don't know much about appserver i do know I need sleep badly :) nite jamest: who doesn't? 'night my wife she told me to come to bed soon about 3 hours ago :) <|dcmwai|> who is your wife.. jamest <|dcmwai|> haha : that lady that lives with me :) <|dcmwai|> I know I meant what is her name and did she here before? lindsay and never in here she's not a geek like me <|dcmwai|> haha <|dcmwai|> Faster goto bed... |dcmwai| i may need to pick your brain about aria soon as I really want to see about using it <|dcmwai|> else you will e lock out of the bed room :) :) nite *** jamest has quit IRC *** |dcmwai| has quit IRC Question for log readers (or developers if they are awake)... if multiple entries in connections.conf, then how does forms/designer/etc. know where to do user authenication? Looks like the loggers will have to get that one holycow: You work evenings or something? You tend to come on pretty late... no regular hours, but long hours Eww. Been there done that. after work i try to pick up as much linux related knowledge as i can so ... growth hurts i guess :) Nods. I'm working on developing converts. *nod* but its for a good cause, gotta exterminate the ms plague, i refuse to bow to the monopoly I was first introduced to the cause about 10 years ago. Got hooked about 5 years ago my self about 2 years ago, 1 year ago i took the plunge its not so much getting rid of a plague even, but restoring balance to the marketplace I'll still have to read the docs when I think about recompiling kernel at least in the few bits i can affect Not even that for me. It's about HAVING choice *** |dcmwai| has joined #gnuenterprise heh :) i'm getting there slowly, although debian makes it dead easy right exactly I'm liking Knoppix on a HD install, though I'm told that KDE 3.2 is a HUGE improvement. i like kde3.2 a lot try kanotix it installs a pure debian to hd, although live cd still uses lots of knoppix bits Knoppix seems to too, but I took about 3 hours cleaning up packages I didn't want thats not what i heard, but not sure have you tried d-i? so far i thought it excellent for autodecting various oddball pcs configs *** dimas has joined #gnuenterprise No.. Knoppix worked wonderfully... even registers 4 CPUs on a 2xXeon(HT) server :) lol really? sweet I took time taking games packages etc off the Knoppix Debian install Pulled about 100 MB out. i want d-i to get ldap support d-i? that way i can use ldap based config files to setup machines as per my spec :) debian installer the new one thats going to be in sarge Ahh. This is for a machine that cannot be connected to the net, so I'd have to download the CDs... Knoppix was great for that too. Though kanotix looks interesting. The author... Jorg Schirottke ... Looks familiar... http://debian.tu-bs.de/kanotix/KANOTIX-BUG-HUNTER-04/ erm.. name looks familiar. *nod* he seems quite talented great with hardware stuff *** johannesV has joined #gnuenterprise look... an AppServer person :) oi. 128 MB minimum? We coerced Knoppix to do KDE on 96. *** |dcmwai| has quit IRC nite *** holycow has quit IRC *** reinhard has joined #gnuenterprise *** someon has quit IRC *** kilo has joined #gnuenterprise *** |dcmwai| has joined #gnuenterprise good morning. reinhard a print in an application server can be very helpful for debugging. SachaS: sure, but you would not use _() for that ok. does _() encode a string into unicode/utf-8? it encodes into the currently selected local encoding unfortunately, the appserver (on the server side) doesn't know about *your* (client side) local encoding so it can't work *** |dcmwai| has quit IRC ok. 'ning reinhard: gacvs --selftest with locale en_US passes OK but with encoding hu_HU it fails 1. lépés: Session Manager indítása... 2. lépés: Session megnyitása (felhasználó: 'hacker', jelszó: 'secret')... 3. lépés: Objektum lista létrehozása... 4. lépés: Első példány beolvasása... DB000: Traceback (most recent call last): DB000: File "/home/gabor/gnue-svn/gnue-appserver/scripts/gnue-appserver", line 31, in ? DB000: server.run (); DB000: File "/home/gabor/gnue-svn/gnue-common/.cvsdevelbase/gnue/appserver/geasRpcServer.py", line 169, in run DB000: self.selftest () DB000: File "/home/gabor/gnue-svn/gnue-common/.cvsdevelbase/gnue/appserver/geasRpcServer.py", line 238, in selftest DB000: print _(""" DB000: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 35: ordinal not in range(128) *** btami has joined #gnuenterprise *** M7U90nt has quit IRC hi kilo hi SachaS *** M7U90nt has joined #gnuenterprise kilo: thanks for reporting this kilo: can you svn up and try again please? of course beautiful!!! thx reinhard for fastest_committer_in_gnue_universe! :) *** dimas has quit IRC *** thierry__ has joined #gnuenterprise *** thierry_ has quit IRC *** nickr_ has joined #gnuenterprise *** nickr has quit IRC reinhard: i do have an encode traceback. reinhard: maybe my fault... will check again. SachaS: can i have a look at the doc you produced? kilo I am updating it and then i am uploading it to the wiki ok then, cause i looked at the twiki but couldnt read it, onlyu "test" kilo can you get files via irc? if so, i send it to you now lets give it a try 500K! must be the screenshots ;) actually the screenshots are what I have to update. hmm.. now i wonder where xchat put it... check in the xchat properties ;) fund it found off for lunch johannesV: are you around? kilo/btami: i have removed all mx.DateTime.strptime can you please test now if it works again under windows? yes, but not now :) maybe later afternoon at home btami: no problem just lost in appserver sample... kilo: can i help you? *** btami has quit IRC classrepository.gfd, procedures page i select module "gnue", then run query, and then focus out the dropdown and it looses its value *** btami has joined #gnuenterprise not sure what you are trying to do procedures is acutally a detail to class kilo: in order to modify a procedure you have to select a class first procedures are detail to gnue_class, so without a masterrecord you can't modify or select a detail yeah so first, on the class tab, select the class you want i haven't found a way to "disable" procedures as long as no record is selected in classes and then change to the procedure tab and you can browse through the procedures of the current class btw. should we remove the old gnue_module.gfd and gnue_classes.gfd from svn ? yes (IMHO) ok very unclear it is ok, found it removal: yes btw when starting the form it says there is an error in one of the document's triggers kilo: i agree that it is not really intuitive if you have a better idea how to manage that please tell if one comments out line 45 then there is no error message kilo: the problem is that we have a 3-part master-detail procedure is a detail of class parameter is a detail of procedure reinhard: ok, will think about it, havent done so yet problem is clear thanks funny i don't get any error message when starting the form Runtime Error occured: There is an error in one of this document's triggers. Traceback: Trigger "unknown_executioncontext" (unknown), line 3 'NoneType' object has no attribute 'current' exceptions.AttributeError: ("'NoneType' object has no attribute 'current'",) i think we will need forms experts to get some light on this error message but thanks anyway kilo: does this error occur everytime you start the form ? have you updated your db with the new base.gsd ? (gnue_parameter) yes and yes hmm, strange ... updated from svn this morning *** M7U90nt has quit IRC hi johannesV we havent met ;) SachaS: hi do you have a new form to create modules and classes ? or why do you want to removed the gnue_classes.gfd and gnue_modules.gfd SachaS: yes, classrepository.gfd ok. good. reinhard i have a TypeError: encode() argument 1 must be string, not None\n'> ---) traceback created a simple form with designer and when I run it, after i log on, i get the traceback. * SachaS understands how quickly documetnation can get outdated ;) SachaS: can you paste the last few lines? ok return ([classdef.properties[p].column for p in propertylist])\n\n File "/home/sacha/gnuenterprise/gnue/gnue-common/.cvsdevelbase/gnue/appserver/classrep/Base.py", line 253, in __getitem__\n raise self._itemNotFoundError (key)\n\n File "/home/sacha/gnuenterprise/gnue/gnue-common/.cvsdevelbase/gnue/appserver/classrep/Property.py", line 100, in _itemNotFoundError\n return PropertyNotFoundError (self.__class.fullName, key)\n\n File "/home/sach a/gnuenterprise/gnue/gnue-common/.cvsdevelbase/gnue/appserver/classrep/Property.py", line 36, in __init__\n ClassRepositoryError.__init__ (self, msg)\n\n File "/home/sacha/gnuenterprise/gnue/gnue-common/.cvsdevelbase/gnue/appserver/classrep/Base.py", line 36, in __init__\n gException.__init__ (self, text)\n\n File "/home/sacha/gnuenterprise/gnue/gnue-common/.cvsdevelbase/gnue/common/apps/i18n.py", line 161, in __init__\n exceptions.Excepti on.__init__ (self, o(message))\n\n File "/home/sacha/gnuenterprise/gnue/gnue-common/.cvsdevelbase/gnue/common/apps/i18n.py", line 144, in outconv\n return message.encode (encoding, enc_policy)\n\nTypeError: encode() argument 1 must be string, not None\n'> ---)------------------------------------------------------------ thats on the client side just a sec DB005: [ResultSet:65] ResultSet created DB001: [Base:295] RPC detected Exception of type "exceptions.TypeError", value: "encode() argument 1 must be string, not None". DB000: debian-amd - - [23/Mar/2004 13:17:50] "POST / HTTP/1.0" 200 - this is on the server side can confirm kilos problem, when starting classrepository.gfd I get a traceback too nice form johannesV *** havoc has quit IRC *** derek has quit IRC *** Vee has quit IRC *** btami has quit IRC *** thierry__ has quit IRC *** dcmwai|AWAY has quit IRC *** chillywilly has quit IRC *** btami has joined #gnuenterprise *** thierry__ has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** dcmwai|AWAY has joined #gnuenterprise *** derek has joined #gnuenterprise *** Vee has joined #gnuenterprise SachaS: we are having issues with translations that occur in trigger and procedure code SachaS: please try running in the C locale *** havoc has joined #gnuenterprise reinhard: traced down the problem to GFField.py line 238 self._block._resultSet.current[self.field] = value seems like the resultSet is None on startup and if the trigger runs (and it does run) and tries to set the value of the field it fails kilo: have you found out which trigger has the problem ? yes, line 45 in the form, name=newClass it fires on startup and causes trouble as the resultset it tries to act on is still None SachaS: can you please dcc me the gsd and gfd's i need to reproduce this behaviour? i can't reproduce it (or mail if your mail works) *** lxf has joined #gnuenterprise reinhard: which one? the encode one? kilo: would you svn up the classrepository.gfd and try it again ? SachaS: yes johannesV is looking at the other one (kilo's) testers chasing developers, developers chasing testers ;) hunger chasing kilo SachaS: must run bbl in 1 hour johannesV: svn upped but still get the error the block itself is not None hmm, ok, so there's no recordSet in the block yes, exactly this is strange, cause this is the on-newrecord trigger :) question is why it is fired at startup hmmm, it's an unbound block which means no datasource in the background *** psu has joined #gnuenterprise kilo: please remove the trigger name="newClass" the whols trigger or just nthe name? s/whole/the it's useless anyway because the "setClassName" will be fired when the procedure-tab is selected you can remove the complete trigger (newClass) ok i'm curious if the same exception is raised by the setClassName-trigger it works now like magic ok, but now the classname-label on the procedure-tab renders wrong if you first query some classes and then insert a new one could you add this else-part to the "setClassName"-trigger: if len (classname) and len (moduleId): module = blkClass.fldModule.allowedValues () [0] [moduleId] blkUnbound.fullClassName.set ("%s_%s" % (module, classname)) else: blkUnbound.fullClassName.set ("not set") ups, this is the complete trigger-code ... *** lxf has quit IRC added the else part, trying now johannesV: the error reoccurs this way ok so it's ok ... everything else would have been mysterious ... kilo: you can remove the else-part ok, did so btw i played with it a little and didn't see that it rendered wrong when inserting a new record kilo: oh, so it's my forms/wx/whatever going wrong ?? :) kilo: so i'll remove the newClass-trigger-code from classrepository.gfd if i inserted a new record, it correctly displayed the name even before commiting the insert have you inserted the record after there was another classname displayed (like address_person) ? yes johannesV question: do you write your forms by hand? ok, good, so i'll change the gfd SachaS: yes ok. i love vim ! dont you love designer ? ;) i've tried the designer a few times, but it segfaults way too much :) btw with vim writing xml is quite handy kilo: new version of classrepository.gfd is comitted johannesV: ok, thx i am just not into all the forms tags etc johannesV: maybe a wx version difference between our systems is the clue? kilo: might be, as reinhard has thought of something similar btami thought of that too *** dsmith has joined #gnuenterprise *** jamest has joined #gnuenterprise rm-away: wouldn't you know just when I tell you freeswan is dead they revive it :) rm-away: appserver might not like camelCase for properties :| SachaS: what do you mean: anotherPropert != AnotherProperty ? yeah i think its the camelcase i had a class called "inventory" and for that class I had a property "item_id" so reinhard thought, thats not a good idea so i changed the property to "itemId" now i get tracebacks, when I run the form :| so must be the camelCase of properites hmm, let me try ... ok. ok, so where's your problem ? *** btami has quit IRC ok. i have a class called "inventory" and i have a property called "nameId" with that inventory. *** kilo has quit IRC ok when i create a form with designer to access the appserver and to get the nameId field. thats ok. i can work with designer and save the form. then when i run the form i get to the login and then i get a traceback and bybye the form has 1 field only the nameId field so i create another form where i get a property which has not camelCase, such as the "name" property of the "inventory" class. then, that form works nicely. so i guess its somewhere a problem with the camelcase. ok, would you check the gfd file ... ok. look for a this tag should has at least one -tag is the field-attribute of the field-tag in camelcase or not ? it does yes not camelcase so this might be the problem change it to match the propper case ok. yep that was it. but ... when i select the datasource of the appserver in designer, the list has the non camelcase listed. question: does appserver wrongly return non camelcase or does designer change to lowercase? yeah i saw that; i've to check appservers' introspection module. maybe the properties are string.lowered () there SachaS: don't know now, but i'll check it cool. SachaS: fixed please svn up back johannesV what was it? appserver's schema.discovery.introspection did a string.lower () on the property names think that was me who made that mistake :) ;) - 1 bug oh i have to update the forms manually, then ;) no problem, thanks for fixing it johannesV! no problem *** lxf has joined #gnuenterprise *** dneighbo has joined #gnuenterprise johannesV yep now they are upper case. i mean camelcase ok johannesV I think there is another .lower or .upper somewhere. when i commit the form. i get another traceback along the line it complains, that Property was not found. sigh anyone know if our windows installs are fried? gnue-common install nope nope, dont know *** derek has quit IRC johannesV did you see my comment here? SachaS: yes, i saw it :) which property isn't found ? i assume the camelcase one... i cant tell from the traceback... *** dcmwai|AWAY has quit IRC *** thierry__ has quit IRC post you in priv window SachaS: this seems to be the same encoding problem as before yes. *** thierry__ has joined #gnuenterprise *** dcmwai|AWAY has joined #gnuenterprise i am not sure, i think thats another problem ... that i cannot display any errors... not sure at all. SachaS: you still have that encoding problem? i'm desperatly trying to reproduce it and can't reinhard: we found the cause it was the idea with camelCase :) first the appserver did str.lower() when presenting the items to the designer then the forms i created had a problem, that the appserver could not find the fields all lowercase. so must be the reverse now. but i still want to know why the error message isn't issued correctly brb phone i think thats the second part of the problem. well dont look at me ;) *** GNUe587 has joined #gnuenterprise jamest sucks!!! cool, i never tried our web irc before *** GNUe587 has quit IRC * johannesV is away: airport heh a friend of mine in US was once told by his boss "I want you to miss at least 3 flights a year" (for work) - "as otherwise you're getting to the airport too early & wasting valuable company time" * psu wonders if reinhard applies the same rule to johannesV nope especially because he's not going to fly but he's picking up his wife there ;-) jamest: we are in the process of realizing that it could be a problem that appserver's field names are case sensitive do you think that could become a big problem? it seems that designer does some string.lower(fieldname) stuff before it saves a form what?!?! sigh, sql isn't case sensitive is it it isn' it isn't but do we require all dbdrivers to not be case sensitive or don't we reinhard: actually the designer does write the database field names correctly with camelCase. oh so there are some string.lower() in forms?? will look maybe in forms, or in rpc or in server-receving side i thought we were case sensitive reinhard: johannesV did fix the appservers introspection before, allowing the appserver to provide field names in camelcase. basically he removed the str.lower() yeah saw that ok. jamest: ok, so if we aren't somewhere then i may change it so that we are, ok? i don't have a problem with that ok thanks SachaS: now i can finally reproduce your encoding error let me please fix that one first it occurs when you don't have selected any specific locale which is bad because it will occur for all our friends in the usa reinhard. great you found it. ok. fixed that one it's highly interesting how big the differences are between test cases and real cases :) *** GNUe949 has joined #gnuenterprise :) i am happy to be a tester so i dont have to fix the bugs ;) SachaS: you're a great tester *** GNUe949 has left #gnuenterprise thanks. the camelCaseBug *** Scape32 has joined #gnuenterprise hello Scape32 anything we help you with? * dcmwai is back (gone 27:19:06) jamest, catching me :) jamest: datasources/drivers/Base/RecordSet.py from setField: fn = string.lower(field) self._fields[fn] = value *** wendall911 has joined #gnuenterprise reinhard: :( i imagine changing that one little line could/would have major impact on the system where would i find earlier versions of that file? svn log RecordSet.py then to view a rev svn cat -r rev# RecordSet.py this is a new file that started to exist with jcater's datasource cleanup sigh i'd like to find out where this code was before the cleanup then just blame derek i think that was in datasource/GDataObject.py previously but I could be full of crap wait, no no, that's right datasource/GDataObjects.py ok our poor datasources they've been picked on several times over the years *** jbailey has joined #gnuenterprise sigh that lower is in there at least since 2001, may 2 i have an idea! change it and see who screams! i'll do that anyway ;-) :) *lol* from ResultSet.py #TODO: the string.lower() line should never be called but is left #TODO: here untill the code is cleaned up *** jcater has joined #gnuenterprise :) SachaS: camelcase bug fixed and rest of system broken ? ;) let me check. working. thanks reinhard! *** psu has quit IRC jcater: i added the howto to the wiki this afternoon. jcater: i added the howto of the gnue application server to the wiki this afternoon. ah howtowriteanewgnueapplicationwiththegnueapplicationserver.pdf what a name tell all about the document ;) forgive me lol, that reminds me lol, that's a funny file name a friend of mine was nice enough to spellcheck my SuSE install guide he doesn't know a thing about suse but loves to give me crap about my spelling skilz holy crap, i thought jcater was joking SachaS: lay off the sugar :) what does that mean? lay off the sugar ? hey! someone removed the spaces in the file name! ;) SachaS: an American joke that title reminds me of a hyperactive kid talking oh ok. dont worry. as does the doc version number :) 0.0.0.0.0.1 babyerp i first read that as babyberp cool doc btw what's it created in? openoffice. its a really quick and dirty one yo ;P thats cool is ir possible to join tables using a datasource? it* chillywilly: no :( well, maybe I thought you could but it is a pain arg iirc you can give more than 1 table name in the table="" I think tldp.org has a doc on how to bind data sources I am talking about GDataSource ah I dunno wtf you aretalking baout wendall911 ;) bleh anyway' chillywilly: it's planned well, talked about :) chillywilly: heh, thought you were talking about OO.org tables we do simple ones ;) not outer joins but regular all-inclusive joins how? jcater: that's still via the table="a,b" hack isn't it yes all sql conditions are done via GConditions? tree-like thing-a-ma-jigger chillywilly: at this time yes, however if you pass a dict of fieldName:values and assumes {'foo': bar, 'biz': baz} == foo = 'bar AND biz = 'baz' ? 'bar' i believe so ok let me verify how slow is this? ;P queryValues = {'user_id' : username, 'password': md5.new(password).hexdigest()} account = datasource.createResultSet( conditions=queryValues, readOnly=1) it's "fast enough" heh well I have a prodect index that will certainly test the speed ;) also remember gdatasources have a simple cache so if you're pulling and displaying 50 records at a time from 65000 you don't have to wait for all to pull alrighty where do you create the GConnection in web-po? jamest, good night ... going to sleep :) * dcmwai|AWAY is away: Sleeping, Good Night chillywilly: i dont it's part of our base app class so i get it for free :) i think let me dbl check ok yes how do I make my app find /usr/local/gnue? to import gnue libs? *** dcmwai|AWAY has quit IRC well I know how but what is the best way yes import gnue.whatever.whatever you have it installed in a non-standard pythohn place but a gnue.pth file is created in the std python lib dir the interpeter doesn't look in /usr/local/gnue does it? oh ok jamest@newton:~$ more /usr/lib/python2.1/site-packages/gnue.pth /usr/local/gnue/lib/python/ so.... you have to add it to the path then? import gnue.pth GBaseApp.py in jamest@hobbes:~/svn/gnue/gnue-common/src/apps no let me start over GBaseApp.py in jamest@hobbes:~/svn/gnue/gnue-common/src/apps has the GConnections logic gnue.pth is basically a python way of linking a dir into the std python search path any time you do import gnue.anything it sees the .pth file and jumps to dir listed in it to find gnue.anything well, technically the first time you do an import gnue. as after than, the base "gnue" is already loaded * jcater is being nit-picky *** kingpin2k has joined #gnuenterprise * jamest thwaps jcater ok so I don't have to sweat it then *** dcmwai has joined #gnuenterprise * dcmwai|AWAY is away: Sleeping, Good Night *** kingpin2k has quit IRC *** GNUe886 has joined #gnuenterprise appserver and form wound up sharing the same trigger system core right? IIRC jan(?) just enhanced it to provide what appserver required for proceedures ? jamest: that's correct jamest: that's the reason why we are messing around with it now :) SachaS: fixed the transfer of exceptions from the server to the client that is from now on you will be able to nicely read the tracebacks client side reinhard. thanks. whats next on your todo list? * SachaS just added a customer class, will now add a sales module, which will use the customer and inventory class of the masterdata module * SachaS is not sure if thats all so clever but that does not really matter. SachaS: next on my todo list is putting kids to bed :) haha *** lxf has quit IRC i assume the trigger/procedure namespace is similar in designe design ooo, lunch! *** kingpin2k has joined #gnuenterprise ok...I swear I've almost got it setup are there known issues with setup-cvs-win.py? *** GNUe051 has joined #gnuenterprise *** GNUe051 has quit IRC *** GNUe051 has joined #gnuenterprise *** sjc has joined #gnuenterprise *** sjc has left #gnuenterprise kingpin2k: i dont know. what is it doing? james...thanks...got it fixed...last stumbling block is setup-interbase.sh getting -p not found \n gsscvs not found \n -p not found gnue-schema not found I think somethings in the wrong place bahg setup-interbase? is that one of our files? it's a shell script...the errors is actually coming from the makefile in app-server/samples yes...I think somebody else here is using Firebird I was advised that it may be better on windoze than mysql for our purposes btami is our windows expert that was him I think he's running Firebird as well i believe so ok did you get the schema generated manually? if it becomes necessary, I can just manually create the tables in gnue-schema...but a script for the sql would be sweet kingpin2k: you run on windows? well, unless you have cygwin installed i don't think the .sh file will work yeah, that's what i was going to say, to yeah, that's what i was going to say, too i've got cygwin maybe this should be redone as a py file? I don't know what gsscvs is, though? as the make seeems pretty simple that is the cvs install of gnue-schema i c all tools get a short name for cvs install i don't think setup-cvs-win is maintained for a long time :( gfcvs, gfdes, gsscvs, etc reinhard: i don't either *** Scape32 has quit IRC I ran the setup.py without incident on common and app-server for install I've got a Firebird instance running...db file is already created kingpin2k: then you should have a shell script named gnue-schema somewhere you could just run looking gnue-schema --vendor interbase --output interbase.sql sample.gsd bingo! thanks! kingpin2k: what windows are you running? i have someone contacting me about build issues on win98 from what they have emailed me site-packages\gnue\common is practically empty xp Firebird doesn't like \' escapes and setup.py didn't give you any with installing a c:\python22\Lib\site-packages\gnue\common\utils directory? (adjusted for your python of course) any == any issues? kingpin2k: how is the correct way to escape a ' in firebird? not sure...just saw it choke on \' in the sql script I've got stuff in there, james...looks fine to me if you can find out how to escape a ' and tell me i can fix it would be great if you could will do kingpin2k: can you try replacing \' w/ '' iirc that's a common other way reinhard: doesn't schema use the qoute logic from common? no unfortunately not bummer though with the shuffling in common datasource I'm not finding the quotation logic anyway :) got it seems to be the '' cool I'll empty the country table and give it a go reinhard: does schema do anything w/ gnue-common datasources? as the individual vendor drivers DataObject's have class DataObject(BaseDataObject): _escapeSingleQuote = "'" i saw that well so a person could grab that to output the right quotation we talked about merging those two but then again we (johannes and me) were thinking that someday datasources would uses parameters instead of building the complete sql string which would then mean that the whole quoting is not needed any more in datasources anyhow i'd like to see the "processors" from schema and the drivers from datasources share more code I need to look at the character set I'm using also a couple of the country names didn't go kingpin2k: you have to use --encoding=... to tell the encoding to use in the sql file this must be the encoding you use in your firebird database ok...ic ..thanks kingpin2k: fixed the ' issue if you can cvs up you could try again thanks cote d'ivoire and all those people's republics should work now svn up might work better * jamest runs jamest: you're probably right :) no oops wrong window does cygwin have svn? ouch ouch ouch Von: Owen Taylor Antwort an: gnome-hackers@gnome.org An: gnome-announce-list@gnome.org Betreff: Intrusion on www.gnome.org Datum: 23 Mar 2004 13:52:28 -0500 We've discovered evidence of an intrusion on the server hosting www.gnome.org and other gnome.org websites. At the present time, we think that the released gnome sources and the gnome source code repository are unaffected. We are investigating further and will provide updates as we know more. We hope to have the essential services hosted on the affected machine up and running again as soon as possible. The GNOME sysadmin team 23 March 2003 does that never stop?? *** Amorphous has joined #gnuenterprise reinhard: are you still coding? SachaS: yes what are you up to? exception handling over rpc how did the date/time work out? is it working? 2003? rapid state changes! *** dsmith has quit IRC *** dsmith has joined #gnuenterprise *** johannesV has quit IRC *** grigora has joined #gnuenterprise reinhard: got a dialog box with an execption. Dialog is working. SachaS: good :) *** dantony has joined #gnuenterprise *** dantony has left #gnuenterprise reinhard: do you remember my question in the email that, in a form, where i create a new record (or business object), I cannot call a procedure in the appserver, which will perform anything on this (not yet created) object. *** reinhard has quit IRC dah *** reinhard has joined #gnuenterprise wb reinhard. did you see my last post? reinhard: got a dialog box with an execption. Dialog is working. is the last thing i saw reinhard: do you remember my question in the email that, in a form, where i create a new record (or business object), I cannot call a procedure in the appserver, which will perform anything on this (not yet created) object. <-- reinhard has quit (Read error: 60 (Operation timed out)) i have not thought about that before, but seems obvious. what do you think? i also think it's an obvious prlbem problem or rather a fact that we can not really do something about (yet) so a solution has to be build around the problem? i think the "correct" soltuion would lie in bound procedures thats after a commit of the new record a bound procedure takes over and does the checking etc? sort of strange as well, in case that the checking is not OK. then a rollback would have to occur no well not exactly when you press the "disk" button, two things happen on the appserver 1. a "store" action 2. a "commit" action store builds the business objects in memory commit writes them to the database the validation would happen just between these 2 ok. so a 1.5 action would be nice and if the valdiation action failes ... there will be no commit and the stored action will be reversed? eg the busines object deleted. i don#t think so no? we will have the user a chance to correct his error so the form will keep the uncommitted changes and the user can modify further and try again to commit ok. hmmm. seems to be an important feature, what do you think? we are already working on it are you? johannes is currently working on procedures that can take parameters and return values (thus the parameter thing in classrepository.gfd) has the new gnue_parameter class something to do with it? yep then we can do the trigger stuff ok. trigger stuff? how do you mean? bound procedures and calculated fields are the next 2 things we will implement in appserver trigger == bound procedures i have to get used to our own terminology :) ok. bound procedures. good to see, that these are the next 2 :) *** dantony has joined #gnuenterprise *** dantony has left #gnuenterprise *** dantony has joined #gnuenterprise reinhard: thanks for removing that str.lower() :) *** GNUe357 has joined #gnuenterprise *** GNUe357 has left #gnuenterprise hey SachaS, that pdf file in the wiki think we can get you setup with svn and have you maintain it as an official guide on the appserver page? in it's current format it seems a little out of place in the wiki as no one can edit it maybe a link in the wiki to the pdf on the tools page with an errata in the wiki? * jamest is just thinking outloud or even just an account on ash... don't even have to use svn ah, cool, that's cool too anything is fine with me. but can i keep the filename ? ;) lol um sorry no :) i'm not sure it's long enough http://www.gnuenterprise.org/tools/appserver/docs/ sure. but you can write that paragraph to whatever you need it to say *** kilo has joined #gnuenterprise SachaS: any chance we can get a copyright assignment to the FSF if we don't have one * jamest is not trying to scare away people foolish enough to documentment gnue jamest: you can have a copyright assignemnt to the FSF cool you can get the blank form at let me know what i have to do http://www.gnue.org/~dneighbo/gnue/assignment maybe we should put that on the site somewhere jamest: I think I should do a quick form on the site err yeah i can't recall if the FSF doesn't like that though is docbook still your (gnue main documents) way to document? um er well look! something shiny! * jamest runs away jcater: thanks for clearing up Windows install wiki, I had to run right after pasting it... i've been using OpenOffice as I got way too pissed off at docbook kilo: thank for you posting it kilo: no problem i remembered it was on the old site, only had to find the old site... I figured other people would use these first few HOWTOs as a guideline on how to write their new ones so I thought I'd get those like I wanted them :) hope you weren't offended no, i am happy i dont have to do that 8-)) so i can resume to chocolate and then whisky... jamest: copyright assignemtn sent to FSF jcater: best flesh out that sid one, whoever made it was sure slacking :) SachaS: thanks so any documentation is fine for you? well I personally will stick with OpenOffice until the docbook people in the group find out where I live haha. how about latex? it's not perfect but it beats programming my docs and fighting the tools i dunno anyone? good :) i'm not excited about it but I'm desperate for docs :) i am used to latex, thats my favourite, just that i wanted to do something quick and dirty. thats why i chose OpenOffice. i'd probably convert it to OO.org if I found the time ah ok plus I'm partial to the layout jcater came up with in OO.org i use it for all my internal docs now too layout? styles for openoffice everyone needs a jcater to exploit in their lives like the forms developer guide sorry, style ok. jcater is there a pdf (filter) for reports? SachaS: i know simple tabulation can do pdf ok. reinhard: are you still here? jcater: the actual day's irc log isnt readable under windows/ie. past days' logs are good format. can you do something about that? it used to be good unfortunately, not the current day's log is actual real-time output from our bot but when I copy it each night to a permanent file, I "sed" the file to make it look better but I can't "sed" the live one :( *** dsmith has quit IRC what is it doing on windows? it has wrong line breaks so it doesnt break lines SachaS: yes reinhard: i assume that johannesV is doing gnue application server development yep and when i remember right, it was said, that he tests until it works and then he commits it ;) sure :) so i think i have to watch for commits from johannesV so the one or other thing might already work on johannes checkout ... no more questions ;) the main reason for most of the problems you were facing is that johannes and me both use woody which means python 2.1, py-xmlrpc, wx someversion and you use sid which means python 2.3, pw-xmlrpc, wx otherversion and things that work for us break for you ok. so you are not using python 2.3 "stuff" that's why your testing is so valuable no ok i did not know that. we want gnue to work on woody as long as woody is official "stable" for debian ok. so i will be sid tester. death to woody! you a feminist now, jamest? it's just like btami and kilo test for windows and for interbase/firebird they find many issues that we don't see er, um, not my woody other people's jamest: you asked something during the day about windows install. what was that? reinhard: so I will test some "normal" procedures. what is this "testing" they speak of? you know, jamest? jcater: ignore them, it's crazy talk test = play kilo: a win98 user used setup.py and his gnue.common.utils etc etc didn't install i was wondering if someone had similar issues kilo: i can fwd you the mails, i sent the 1st to the gnue-dev list but he keeps replying in private er, mail just installed a complete gnue system on a win2k machine here at home, following the wiki forms and designer run well, now its appserver time but win98... hm... i can install win98 on a machine if really needed but not tonight, only tomorrow but anyhow, yes, forward the mail what email? address kg_kilo at freemail dot hu *** dantony has quit IRC sent ok *** jcater has quit IRC i'll just forward it to gnue@gnu.org too got to keep that mail flowing! *** Morphous has joined #gnuenterprise *** jcater has joined #gnuenterprise *** dsmith has joined #gnuenterprise *** dantony has joined #gnuenterprise *** dantony has left #gnuenterprise *** Amorphous has quit IRC reinhard: are you still here? do you know what will also be necessary? what? to create new business objects from within procedures. in a OO-look-like way try what do you mean with try? myobject = new (classname) is that working??? (sorry was too slow) sure :) oh ok. what! :) bbl and ... how are the properties set in the new business object? *** jamest has quit IRC for example let me guess: with a procedure, which has parameters trans = new ('masterdata_inventoryTransaction') trans.date = mx.DateTime.now () trans.addQuantity = 15 ------- that's all completely straightforward so, basically all properties are ;) public? and IMHO intuitive yes *** kilo has quit IRC at least until we have access control intiuititve, thats true. cant believe thats workign already AHA starts to make all sense. hehe *** dantony has joined #gnuenterprise what are you doing reinhard? what part are you working on=? for your information yes, please. in any procedure you write in appserver you have the following 3 global functions available: new (classname) like i said above yes. find (classname, condition, sortorder, propertylist) will return a list of objects of the given class that match the condition ordered by the field named in "sortorder" and the propertylist is a hint for appserver which properties you will probably need later *** grigora has quit IRC if you add properties to that list, they are fetched with the original select you can use any property later but those in propertylist will be much faster because they are already cached ok example yep gotcha. mylist = find ('masterdata_inventoryTransaction', {'masterdata_item', current_item}, ['masterdata_date'], []) then you could do for trans in mylist: trans.do_something... to iterate through all found objects third global function is ok. setcontext (modulename) changes the current module context i.e. the prefix that is added if a name doesn't contain a _ ok. probably not used very often ok. and which ones of these 3 global procedures are working yet? *lol* i know :) all of them :) of course. OK. off doing some procedures ;) :) *** dsmith has quit IRC *** jcater has quit IRC night all *** reinhard has quit IRC *** jcater has joined #gnuenterprise anyone: what is the F/K standing for? F/K Description Field, F/K Refresh Method ... foreign key? must be... *** dantony has quit IRC Fuh Koff? :) Fried Krispie (kremes) The famous customer service manager. =) jcater: Tell me you don't fry them... That would be so wrong. foreign key? how can something that tastes so right be so wrong it it's not nickr: It never wouldn't occured to me to take a doughnut home and fry it. =) would've, rather. Tired. jbailey: you sound so intelligent when you speak lamerican I done did not do it lolz the .ca speaks .us hi nickr theres a doins a' transpirin' whaddup dawg? jcater: when I add edit the code in a trigger in designer ... it does not get stored/saved. nada zip? zero? nuthin' qjust shopping the expensive synth gear :-o jcater: actually it does. that's a bit more than nothing nickr: you lie! jbailey: what id the donut is fried in califlower extract? ;) if* peanut oil veggie juice no no say it like it is veggie BLOOD hahahaha I hear the screams of the vegetables let my brocoli gooooo carrot juice is murder chillywilly: Depends on the doughnut. Califlower seems among the least likely things, though. hemp extract? ;) sorry, hemp BLOOD freakin' canadians califlower tempura *is* realyl tastey the donuts come fried doh damn skippy hahahahahah * havoc is dyin over here just saw the video for "Stacy's Mom" chillywilly: you ever see that? nope want to? does it require me leaving the computer? ;P absolutely not geez you think I'd leave mine? hmmm, nope chillywilly: in 13min it will be in /tmp on jupiter ok all I can say is, "Damn!" is it pr0n? ;P no but almost as good :) very funny *** wendall911 has quit IRC *** |dcmwai| has joined #gnuenterprise *** jamest has joined #gnuenterprise hello hiya word we were just discussing fried donuts and pr0n (in that order) ah, business as usual eh the winning combination ;) breakfast of champions hmmm fried pr0n donuts sounds like a good business opportunity jcater: you have to do me a major favor as soon as masterh moves into that new pad you have to find some teenagers to toilet paper it :) some python programmer, please help: Trigger "sales_customerOrder.sales_checkInventoryQuantity" (unknown), line 6 inventoryList = find ( 'masterdata_inventory', {'masterdata_itemId', itemId}, ['masterdata_itemId'], [] ) some syntax error in {'masterdata_itemId', itemId}, ... anyone an idea. s/,/: {'key':'value'} in dicts ok. cool. {} is a dict? ok. let me try. yes yep. working. thanks. np jamest: it should be {'key':'value'} but I have: {'key':value} that's fine and my value is a variable that's no problem hmmm. both sides can be anything so problem must be somewhere else ... what is error again this dict should be the condition of the find procedure SELECT masterdata_itemId,gnue_id FROM masterdata_inventory ORDER BY masterdata_itemId with debug-level=10 i see there is no WHERE no WHERE clause actually there is no error but the select returns all records SachaS: are you really from leichenstein appserver? you'll have to give me a few to svn up jamest: yes appserver derek: yeah, Liechtenstein you can learn all about him from his wiki entry has a url :) derek: just about 30 minutes away from reinhard might have to remove that url! :) it's taking forever to update on that find command you can probably specify the arg names function(foo=bar, conditions={a:b}, etc=0} yeah, the condition was i was thinking my condition is wrong and hence it does not put the condition into the SQL statement... ah that's possible if that is value is really a class in which case you can do {'key':'%s' % value} ok. will try that. which would force it to convert to string *** jcater has quit IRC got an invalid syntax error Traceback: Trigger "sales_customerOrder.sales_checkInventoryQuantity" (unknown), line 6 inventoryList = find ( 'masterdata_inventory', {'masterdata_itemId':'%s' itemId}, ['masterdata_itemId'], [] ) ^ SyntaxError: invalid syntax '%s' % itemId dah *** jcater has joined #gnuenterprise derek: but I'd end up having to clean it up he's not too handy w/stuff I've already committed to replacing his water heater for him and he hasn't even closed on it yet doh jamest: still not working. will ask reinhard tomorrow. night all night *** SachaS has quit IRC *** holycow has joined #gnuenterprise @stockquote scox Vee2d2: The current price of SCOX is 7.77, as of 3:58pm EST. A change of -0.56 from the last business day. that's too bad aw darn SCO stock went down *** |dcmwai| has quit IRC s/jcater/fixitboy s/derek/breakitsob :) that is s/derek/reallybreakitgoodsob *** chillywilly has quit IRC hey gnuers :) mooo err, hay err, howdy * derek bows to the mooo :D is that a smiley or an udder? * jcater ducks }D looks kind of like a steer *** chillywilly has joined #gnuenterprise *** GNUe886 has quit IRC oops (sorry, whoever that was) lol http://www.gnuenterprise.org/cgi-bin/viewcvs.cgi/gnue/trunk/ oh, nice try to actually view a file, and get an exception life is good *** jcater has quit IRC *** jcater has joined #gnuenterprise http://webcast-east.sun.com/archives/GSN-1312/GSN-1312_forjds.mov that's kinda nifty sigh i don't have mplayer need an apt line? ;) mplayer rocks my socks :) sure ok deb http://marillat.free.fr/ unstable main thanks I usually use that one sometimes it goes down it was currently commented out ;P "When Zero Cool and his 'leet group of hackers infiltrated the Gibson. That's what this reminds me of, infinite ammounts of stupid. Except better. Sort of." hehehe *** someon has joined #gnuenterprise holycow: How's things in the country? hey dude nice and balmy and over there? :) Not bad. Was wet earlier. Some bonehead tripped the sprinklers in the blue room. ehehe touche :) What gets really confusing is when they turn the light on in the blue room. Not used to seeing that here! You getting any closer to understanding this GNUe thing? i haven' t even touched it in a while :/ no time Time? what's that? heh good point :)\ What's going on in Ample that you're out of time? i'm workin on putting together a debian workstation to replace o ur winboxxen the easy part was putting something together the hard part is putting together the admin pieces that really make the move wortwhile on an exponential level *** jamest has left #gnuenterprise Ooh. Keep me in the loop on that... I'm working on the same thing... though I'd like to set up a local unstable repository, hitch: no internet connection for the repository *nod* i'm doing same for company The apt repository seems not bad... geez, 210MB of packages it's just keeping it synch'd that's a problem :| to me its a hugely attractive feature :) for me once the desktop is set there arent any updates except for security stuff chillywilly: 210MB of pkgs for what? is ti me or does a 3D desktop seems like an extremely stupid idea? debian packages to download for current updates? or KDE upgrade? or? apt-get dist-upgrade upgrade of sid Hmm.. simulating 3D desktop on a 2D screen... seems interesting, but unless you can really seek through your piles.... right...you need 3d interface 3d screen or something...even then seems our 2d world just gets rid of a redundant dimension holycow: you could update the desktop for features often too though. eg. KDE3.2 is supposed to be much faster and cleaner than KDE3.1 what's easier rotating a pile of cds looking for the one you want or typing search criteria into a text box and clicking 'search'? For text information yeah. heh that depends on the users skills or lack thereof. yesterday i spent half hour explaining to a user how to open up one window to search for files and a second file to cut and paste files to organize them i'm not sure our users would find any benefit in extra features if anything i haveto cut features away :) I don't think I've seen a word on a street sign in years. (Well, except the semi-universal STOP) Annoying thing is getting stuff to work JUST RIGHT. chillywilly, i would say typing in search http://www.fordvehicles.com/fordgt/media_gallery.asp?gallery=CURRENT_VIDEO&bhcp=1 offtopic sorry, but ya gotta see at least the first video :) eh listen to the sound of that engine you know thats not a japanese car :) Ugg. I don't have QuickTime installed on this old RH-Box. sorry, yeah :/ i can't wait until the free ogg video codes are out and people start streaming in that