*** reinhard has joined #gnuenterprise *** dcmwai has quit IRC *** btami has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** ajmitch__ has quit IRC *** ajmitch__ has joined #gnuenterprise *** dcmwai has quit IRC *** dcmwai has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** cilkay has left #gnuenterprise *** kilo has joined #gnuenterprise hi kilo kilo: do you have gnue-pim working? *** dcmwai has quit IRC good morning hi dimas errrm, gnue-pim is HIGHLY in test labs ie it does not work... but i would be glad to work on that soon why do you ask? sorry, was on the phone i hit some problem when trying to use procedure similar or equal :) to AdPe.add hehehe it is problematic, yes remembered that lekma asked for some quick fix couple of days ago and seems like it was not committed yet - if tables.has_key (constraint): + if constraint != table and tables.has_key (constraint): deps.append (constraint) # Now create an ordered sequence taking care of dependencies thx that's all ... but with this patch you have to make sure to keep a proper order in the added instances so you have to do parent = new (), child = new (); child.parent = parent then everything's fine *** elwis has joined #gnuenterprise I might have [insert dirty word] up! my .gfd only let me login, and then wrote "killed" to the screen so I updated gnue-forms with nightly snapshot- then it killed X for me :) never saw that so I updated gnue-common with nighttly snapshot now it tells me >>> from gnue.forms import GFClient Traceback (most recent call last): File "", line 1, in ? ImportError: No module named forms *sigh* anymore updates needed or screwy snapshot? you sure you installed the new snapshot to the same location like the old one was? I did the same procedure as with the 0309 packages unpacke ./setup.py install *yeey* I find my common package inside /usr/local/gnue/lib/python/gnue> and it all alone in there, the only folder? so you previously installed common and forms to some other location you mixed up snapshot with deb installs? Nopes, I only installed tar.gz on this one (office-suse) looka like the other ones are in /usr/local/gnue/lib/python2.3/site-packages/gnue> So I'll just try to copy the common over then didn't help :( rm -Rf /usr/local/gnue perhaps... just wanted to suggest that also search for a file named gnue.pth and remove that, too then reinstall common and forms That's what I'll do, I take all the 0326 packages and run my ./setup.py after some cleaning then hopoefully Iä'll get a nice screenie form the pstgres_article.gfd with the nice SuSe GTk theme they actually look kind of early 90's on my Ubuntu Gnome ;) *sorry for my spelling - this keyboard should go down the trashcan* there are no gnue.pth on my system according to "find" which of course wasn't true.. since I found one in /usr/lib - sorry for that and now I'll close my daily nagging... :) *** btami has quit IRC *** btami has joined #gnuenterprise Tally-Ho, it doesn't kill X, now it's just tells me "killed" after 5 minutes of screeching in the harddisk :) isnt it something with splashcreen? I remember this proplem.. think Iäll had it before.. disable splash in gnue.conf or -s IIRC some problem with PIL * kilo searched in his memory which is a BIG task... Grr lousy bootsplash appears anyway .. now I'm puzzled I'll better try the -s then :) didn't help, no bootsplash but still it simply kills the client after a couple of minutes. better stick to my ubuntu to do some work, try to fix a better theme instead (to get smooth fonts on my gnue-forms) *** dcmwai has joined #gnuenterprise *** dimas has quit IRC *** dcmwai has quit IRC I've tracked the evil "killed" message that simply quits my form. If I don't put tabbed = "top" in my form at work it's nice. Those things only works on Ubuntu :) *** elwis has left #gnuenterprise *** btami has quit IRC *** elwis has joined #gnuenterprise Have to ask, since I haven't finally decide to go for MySQL or Postgres yet are there actually pygresql drivers to run on windows XP? I found one (for postgres8) that didn't work at all with my version dimas knows that better ok, I'll ask him. not much use if win-clients won't be able to run forms against my suse machine loves GNUe *** johannesV has joined #gnuenterprise in which other tool could I build such a nice form in notime http://www.myjavaserver.com/~elwis/pyCash.png :) just need a navigator to impress -something for the weekend *** sjc has joined #gnuenterprise elwis: what was the problem with the debs? *** havoc_ has joined #gnuenterprise sorry, problems? the debian packages haven't given me any problems :) No python win32 people around :( finally got my win client to access the Postgresql on suse but get unicode error when I've logged in, suppose its win32 ui *** lekma has joined #gnuenterprise hi *** tiredbones has joined #gnuenterprise hi lekma *** elwis has left #gnuenterprise *** kilo has quit IRC *** Amorphous has quit IRC *** Amorphous has joined #gnuenterprise *** jamest_ has joined #gnuenterprise phu, that were a lot of commits now ... *** dimas has joined #gnuenterprise *** jcater has joined #gnuenterprise l8r *** reinhard has quit IRC *** SachaS has joined #gnuenterprise hi everyone *** cilkay has joined #gnuenterprise *** cilkay has left #gnuenterprise *** mnemoc_ has joined #gnuenterprise *** mnemoc has quit IRC *** elwis has joined #gnuenterprise yes, I'm sorry for my intenisve nagging but I just got a message from gnue-forms that tells me I just discovered a bug that should be reported.. a very polite message that is I'll have to say :) TypeError: could not convert parameter 'type' of type 'GtkWindowType' *** btami has joined #gnuenterprise elwis: if you want help, you have to paste the last few lines of traceback here btw have you any success with XP client? hey btame - and yes my XP client works like a charm now. It was sloppy as usual... *shame*. It never read the gnue.conf so Iit used wx if I didn't pass -u parameter this error happens if I try to pass -u gtk2 to my Ubuntu client. I'm very annoyed at the look of ubuntu gnue-forms you can use DefaultUI = win32 in gnue.conf too just wanted to make sure it really doesn't use wx anyway.. I do, but it doesnt read gnue.conf on my winbox, it still uses wx and wx gives me unicode error :( (at least, it doesn't use the gnue.conf that i found in c:\python24\etc here goes the error I get if I try to pass -u gtk2 to my ubuntu gnue-forms: Traceback (most recent call last): File "/usr/bin/gnue-forms", line 34, in ? client.run () File "/usr/lib/gnue/python/gnue/forms/GFClient.py", line 185, in run instance.activate () File "/usr/lib/gnue/python/gnue/forms/GFInstance.py", line 323, in activate self._uiinstance.initialize () File "/usr/lib/gnue/python/gnue/forms/uidrivers/_base/UIdriver.py", line 217, in initialize self._initialize () File "/usr/lib/gnue/python/gnue/forms/uidrivers/gtk2/UIdriver.py", line 115, in _initialize self.splash = UISplashScreen () File "/usr/lib/gnue/python/gnue/forms/uidrivers/gtk2/SplashScreen.py", line 45, in __init__ gtk.Window.__init__(self,gtk.TRUE) TypeError: could not convert parameter 'type' of type 'GtkWindowType' splashscren I suppose? are you using source install (python setup.py install) on XP ? yep yep :) i can't help with Ubuntu/gtk2 pb, sorry :) NOW I'm upset. I did pass -u gtk2 and -s to suppress the splashscreen (I learned something from this channes :) and finally I get a good looking gnome on Ubuntu also, not lousy wx It's been running wx all the time.. or gtk2 perhaps? sorry gtk1 I meant wonder why :( maybe your wx package was compiled for gtk1 wx needs a compile time flag to use gtk2 maybe, but I have gtk2 in my gnue.conf??? stop :) there is 2 different ui driver for gnue native gtk2 and wx wx can be gtk1 or gtk2 it depends on distos distros in debian it was compiled to use gtk1 poor poor debian :( in other distros it uses gtk2 widgets you can compile it for yourself with --enable-gtk2 or I'll have to remember to always pass -gtk2 to my gnue-forms? yes or better use DefaultUI = gtk2 in gnue.conf anyhow i wonder why it was not find on XP I do, but it doesn't care about my DeafultUi flags anywhere :( you can find what place is used for gnue.conf if start forms with --debug-level=? i can't remember :) maybe 2/3/4 '/etc/gnue/gnue.conf' and that one says ";DefaultUI = gtk2 this is the place where packages put it have you installed it from .deb before? hah remove ; this one's the only installation, done form apt-get on my ubuntu hoary, so it shouldn't be polluted.. hey what? ; means it's a comment line but there's ";" everywhere - I thought it SHOULD be there :) :P That means I might get it to work on XP too.. all these polluted wx ones ;) yep Yippie-jkayyeyy.. don't know if you can acess , but I'm blogging my GNUe exeperiences - now I can do new entry telling the world WHY some of the screenies on this page looks so ugly : http://www.linuxsverige.se/index.php?module=v4bJournal&func=journal_view&mode=detail&uid=55 cool, i can learn some sweden :) IOU all a lot for sure - I'll be your honored host one day when I'm terrible rich and can take you along the swedish coast :) i'v read your first pdf before, it was wery good! don't, swedish is kind of useless :) But admit that theres a huge different from the suse form and the old wx one :( Yes, I never manage to get the permission tio upload it unfortunately :( i was in sweden before, when i was a young folkdancer it was coooool we learned floorball there :9 you were dancing in Sweden .. you got my full attention :) :) where were you :) we were deancing all ower europe and a little asia too Stockholm It sounds fun, travelling around like that! And Stockholm is nice, beautiful islands in the summer yes it was well, as long as I stay in my basement in front of GNUe I won't see much of it :) elwis: have you read the logs? jcater and jamest talked something about wrong rights on gnue server maybe they fixed it, i don't know can you try it again? to upload your pdf I just tried again but I'm "persona non grata" on that one still ;) ok, kick jamest/jcater then :) Nice idea :P bbl *** lekma has quit IRC *** titopbs has joined #gnuenterprise btami: i need to set gnue on a few windows machines, so could you suggest to use binary package for win if i'll run cvs version on the server side? would they work together? or may be binary build old to work with cvs on the server *** tiredbones has quit IRC dimas: i can't answer this maybe reinhard/johannesV can they did lots of commits later i can imagine it will work thanks, will try both cases *** titopbs has quit IRC elwis: i'm sorry, i'll try something in just a bit to fix it it's okey, I'm stucked here trying to get some logic into my forms.. or an angry brother-in-law will shout ugly words at me.. ;) *** wendall911 has joined #gnuenterprise silly question: If I want to populate my dropdown with available values of article-categories, I'll have to do a 'Select * from' query tied to a "On-click event.. right? you can tie dropdowns directly to datasources I can? yes let me find sample gnue-forms/samples/zipcode/zipcode.gfd you'll find a datasource named validator that prequeries the info iirc you can also tell this to requerty after things like commits thanks.. better check that up cause I got the polite message telling me I found abug again .. ;) then in the logic section fk_key="state" fk_source="validator"> the fk_description is what is displayed the fk_key is what is actually stored in the record does it have to be a datasource of it's own? meaning? I tried to put a simple field into it but always get a explanation I'm finding bugs.. 'll try again ;) bugs? i use these alog a lot *** tiredbones has joined #gnuenterprise what exactly are the bugs you're seeing It might be my database layout since the articelcategory are a detaillink of a master I suppose (gee I've learned how incompetent I actually are in a lot of ways :) I'm lost .. I get the error that my entryname fldArtikelkat references a non existens field.. which it of course are since it's referncing itself.. I guess.. Maybe I should take a nap :) hey -got it again (and yes - I need a nap) but I get errors: AttributeError: 'NoneType' object has no attribute 'isEmpty' does the zipcode sample work? don't know, it wants a postgresql backend - I don't have it on Ubuntu :( do I need a prequery or something? what's your backend? on this one, lousy MySQL (but not for long I'm afraid) you definately need a prequery on the datasource let me cut n paste a known working dropdown from one of my forms there is a ipcode.gsd file there too you can use thet with mysql too to set it up I'll go for it - bet it's my tired head and sloppiness.. only recieves File "/usr/lib/gnue/python/gnue/forms/GFObjects/GFBlock.py", line 335, in isEmpty return self._resultSet.current.isEmpty() AttributeError: 'NoneType' object has no attribute 'isEmpty' gsscvs --connection=gnue zipcode.gsd requery="1" table="lk_manufacturer"/> fk_description="manufacturer" fk_key="manufacturer" fk_source="dts_manufacturer" maxLength="34"/> Char:y="2" block="blkItem" field="inpMake" focusorder="3" label="" rowSpacer="0" rows="9" style="dropdown"/> from the datasource, field def in the block, and layout sections that is working right now with svn code from mid week btami: what about that ipcode?? :/ zipcode that's EXACTLY how tired I am.. sorry.. my keyboard is, hmm, dead :) where is that gsscvs :( gnue-gsdgen all scripts have an svn version on linux you can install from svn in gnue-commos's setup-cvs.py it creats symlinks ad you can run from your local svn repo directly don't dare doing that - it might work for me but my brother-in-law runs XP :) it's for developers or testers using up to date svn on XP i'm using "python setup.py install" method too well .. wouldn't dare calling myself a developer in GNUe terms ... quite yet I'm using that on XP too, works great! on XP you can use win32 and gtk2 ui too for forms designer is wx only maybe it will change as far as I understood form yesterday s chit-chat.. it might be changed (and I would like hat :) designer snapshot version won't work at all on my suse it opens all the forms and then squeesez the content up into the left corner :) designer is under heavy restructure/unstable well well .. now my dropdown seem to work and it was all me being stupid I guess.. doing prequeries on the detail table and not on the master ... designer is actually a great tool speaking about functionality I think, it just needs to be polished jcater started to split the ui from logic in designer to support qt qt 4 will be free for win too btami: actually this will go a bit beyond that i think we're going to try to redo common and provide a base GUI applicatoin framework so that forms, designer, navigator all integrate you could still have the seperate apps but you could also run these inside a single app something like anygui ? i looked a bit at it more like i could have an app here at work that contained several gnue forms, a custom input app, and navigator all as one app that way my phone reps could move from input form, to in house app without needing to exit anything something like you have this nice IDE that are also a runtime bench? you already have the navigator so it sound logical me would be happy if I could get otut of this eternity error loop (lousy dropdown box ;) btami: in the java world this is somewhat like netbeans or eclipse i went over a lot of this with reinhard and jcater as a future direction and neither hunted me down or had me commited and jcater seems to have started the seperation sounds good eclipse is a great framework, rich client platform and IDE. Not a bad idea jamest: how is your free time? are you started gnueing again? it's better and yes, i'm trying cool we lost a retaining wall in the backyard so i've been dealing w/ that but last weekend i was waiting on contractors so spent the entire weekend reading gnue code and adding comments preping to get input masks working (i hope :) me too :) input mask in gnue land is a newer ending promise :) yeah thing is my accounting dept is GNUe but we all know, it's all derek's fault :) and they seem to think proper numeric formatting is important :) as for anygui it looks like a neat idea but i don't care to have another wx yep ideas of anygui are simpler and practical are they? i've only looked it over a bit but i know reinhard and jcater both expressed the same concerns hopefully they pop up as I don't want to put words in their mouths :) :) have you messed with anygui ? just studied it when started the win32 ui one of my concerns is that we're having issues with wx *because* we can't get lower level than we have now (dropdowns, etc) anygui is only going in the opposite direction i.e., anygui presents one way and one way only doesn't fit, then too bad which is great for doing simple graphics apps that should work anywhere but for trying to do a "gnue" interface with our own input mask drivers, etc I'm not overly optomistic btami: we also talked a tiny bit about looking into using opengl for some things and allowing an app to get a valid widget for the prefered widget set so that if I'm using QT in house, i could write a plugin for the new gnue gui framework that says "give me a workspace" and it'd return a qt window primative (i don't know the exact name) that my custom app would use to display it's UI so it really comes down to 1. something like anygui 2. move as much as possible into a gui free system then write completely custom front end logic per widget set #2 I believe is how java works but they only distribute the front end that matches the platform you download jamest_: option #2 works well. Then if integrating with another project, the developer could just use whatever their widget set of choice is. right initally i don't see gnue forms widgets being used for this however i'd see the framework built for the menus and such with forms grafted in then we could add the stuff we need to port the forms widgets to the new setup but again, i'm not speaking for others here i see btami: i did speak w/ the author some about anygui *** johannesV has quit IRC as he said the project is dead wxwidgets sounds similar if only it actually worked well :) anygui does not currently allow interception of keystrokes (but could be added) drag and drop intercept cut n paste it would allow us to pass the underlying widget info out to the app so you could do the custom qt plugin *** elwis has left #gnuenterprise are you consider "adopting" it to enhance? i don't know as i wouldn't want to create another wx at this point i think the goal is simply cleanup tools and seperate any ui from logic where it's found then maybe look at moving that logic into common, or breaking common up into sub libraries pretty funny stuff on slashdot today jamest: agreed bye *** btami has quit IRC *** kilo has joined #gnuenterprise hi kilo *** titopbs_ has joined #gnuenterprise *** wendall911 has quit IRC *** titopbs_ has quit IRC *** titopbs has joined #gnuenterprise *** titopbs has quit IRC *** titopbs has joined #gnuenterprise *** titopbs has quit IRC *** kilo has left #gnuenterprise *** jcater has quit IRC *** jamest_ has left #gnuenterprise *** wendall911 has joined #gnuenterprise *** wendall911 has quit IRC *** titopbs has joined #gnuenterprise *** jcater has joined #gnuenterprise *** sjc has quit IRC *** dimas has quit IRC *** titopbs has quit IRC *** tiredbones has quit IRC *** dneighbo has quit IRC *** derek has quit IRC *** titopbs has joined #gnuenterprise