*** krizz has quit IRC *** johannesV has joined #gnuenterprise *** yure has joined #gnuenterprise for the logs: jamest, looks like i've finally managed to create a postgresdb without using createdb/createuser but with our common-based driver; this means using two different sets of credentials for owner and connecting user is no longer a problem ... i'll finish this work on Behavior.py today in the evening or at least tomorrow ... sorry for any inconveniences this might has caused ... bbl *** jamest has joined #gnuenterprise *** jamest has quit IRC *** johannesV has quit IRC *** jamest has joined #gnuenterprise *** johannesV has joined #gnuenterprise hmmm jamest@calvin:~/svn/gnue/gnue-common$ gfdes DB000: File "/home/jamest/svn/gnue/.cvsdevelbase/gnue/common/external/plex/Machines.py", line 14, in ? DB000: from Transitions import TransitionMap DB000: SyntaxError: Invalid syntax. Assignment to None. (Transitions.py, line 85) is anyone running gnue under ubuntu dapper? i guess no one is running GNUe under python 2.4? *** btami has joined #gnuenterprise hi btami *** gerold has quit IRC hi jamest have you seen the gnue-invoice sample app in the gnue-contrib repo ? no sigh that would have been nice :) seems it's an appserver like part of your new sample app in gnue-samples but it depends on gnue-packages a bit, as i know developed by kilo but it's stalled.... all i'm after is a testkit for gnue not really something fleshed out completely but something we can all use in unit tests, samples, etc i see reinhard and I talked a bit about cleaning up the samples and making something standardized i see your name in authors how far along is this? as i wanted to create an appserver class def to match the two-tier stuff i just tried to apply my char based report filter and wrote a .grd do you use gnue-reports? just want to... but i'ts a bit behind other gnue tools no designer support is the most wanted feature for me s/no/ but i'm not good enough to code that in wx and had 0 time in the last 2-3 moths for gnueing :( i think I know the feeling :) but seeing jcater, jan,lekma,psu and you again is a raising sun feeling :) :) you full timer gnue'rs aren't nervous about us messing things up after reinhard and johannesV and the rest of you just got things cleaned up? it was only johannesV and reinhard (cleaning up things) and adding lots of features yep we standardize on python 2.3 right? yes *** lupo__ has joined #gnuenterprise *** yure has quit IRC *** btami has quit IRC jamest, i'm running gnue using python2.4 really? nothing worked until I changed our plex library is was generating a warning in 2.3 and a full traceback in 2.4.2 hm, strange ... where do we use that plex library ? in the currently unused input masks at a minimum ah, i see so i had no situation where i've been using an input-mask then ... it was in gfdes which one ? i couldn't run gfcvs or gfdes at all hm, that's strange as i can do it quite perfectly :) which python? go to gnue-common/src/external/plex fire up python then import Transitions line 85 should at least give a warning if you haven't svn up SyntaxError: Invalid syntax. Assignment to None. Python 2.4.2 (#2, Sep 30 2005, 21:19:01) that was the error I got when running gfdes or gfcvs even w/o a file name it's fixed in head haven't updated svn till now but i'm able to start both, designer and forms that is wack :) i migrated from debian to kubuntu at home last night as I was sick of fighting debian dual head setup and kubuntu (almost) just works and hit that bug with a fresh checkout of gnue hm, that's strange i can't see where that masks-stuff is used in forms ... ? because it's only in the unit tests in common i never commited the forms stuff as it is wack so how does this affect gnue-forms then ? it doesn't ooooo my forms still has uncommited input mask stuff which would make plex import even in designer as it uses forms ui dirvers so no one would have seen this :) do you know where the table create/alter statements are sorted for depedencies you mean in gnue-schema ? i've found data in readgsd and i'm in DBSIG2.Behaviour now looking yes the two-tier sample I commited breaks gnue-schema it creates the PK FK alter table statements in incorrect order so I'm trying to find where those are ordered properly it should be sorted in readgsd.py (line 760) um my readgsd.py only goes to 759 it's quite complicated and it took me several hours to do that line 759 is oh, sorry gsdClient ().run () 370 that's for inportDate importData this is an importSchema error I'm fairly certain if you go into samples/two-tier/schema and do a gsscvs -c gnue *.gsd ah, hm, man .... one could think i'm a bit dumb ... it'll try to create the FK reference from invoice_items.sku to items.sku but it hasn't created the items.sku unique constraint yet so postgresql pukes i *think* all I'd need to do it make sure unique constrains are done prior to other alter tables but I can't find where that's sorted .... one could think I'M a bit dumb ... :) hm, that key being referenced is (city, state, zip) right ? a key having that order does not exist in zipcode table, does it ? that's fine if that order doesn't matter that reference should match the pk then gsscvs -c gnue -u dbadmin -p -o out.sql *.gsd readgsd: ERROR: there is no unique constraint matching given keys for referenced table "items" ALTER TABLE invoice_item ADD CONSTRAINT fk_invoice_item_sku FOREIGN KEY (sku) REFERENCES items (sku) if I --file-only -o out.sql ah, maybe i've got an old zipcode table installed ... ok, got it reproduce s/reproduce/reproduced line 20 is ALTER TABLE invoice_item ADD CONSTRAINT fk_invoice_item_sku FOREIGN KEY (sku) REFERENCES items (sku) yes line 21 is ALTER TABLE items ADD CONSTRAINT unique_sku UNIQUE (sku) no no no ... don't use unique but do something like this: just a sec ... but, but, but! * johannesV searching dtd i read the docs! well, the files ending in .py and unique seemed right! :) that does remind me that technote 00012.txt mentions a type="key" which doesn't work at all we need indexes damn, where's that dtd yep that works i've been using the xmlElements in GSchema.py as my docs instead of that brb if you changed that .gsd file can you commit it please run gnue-dtd and build it for schema (or gsd ... ) (not sure right now) ok perfect, thanks no problem btw. i've changed postgres.Behavior to no longer use createdb and createuser scripts but to do things directly using template1 as there was no chance to specify a password while using createdb or createuser ok, have to run now have a nice day/evening *** johannesV has quit IRC dimas: Thanks much! Bye! *** ibr has quit IRC *** chillywilly has quit IRC *** SachaS has quit IRC *** SachaS has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** yure has joined #gnuenterprise *** yure has quit IRC *** yure has joined #gnuenterprise *** kilo has joined #gnuenterprise *** yure has quit IRC *** lupo__ has quit IRC *** kilo has left #gnuenterprise i've added a thing called objectWrapper to gnue-contrib it's a port of something I wrote for work that is in the spirit of SQL*Objects but uses GNUe datasources for persistance *** jamest has left #gnuenterprise *** chillywilly has quit IRC *** jcater has left #gnuenterprise