*** Morphous has joined #gnuenterprise *** Amorphous has quit IRC *** sjc has joined #gnuenterprise *** Amorphous has joined #gnuenterprise *** Morphous has quit IRC * dcmwai is back (gone 04:30:27) *** bigbrother has joined #gnuenterprise *** bigbrother has joined #gnuenterprise wb bigbrother good to see you back hello dudes yo chillywilly anybody willing to shed some light on how to use simpleQuery() (maybe a working example) ? if len("%s%s" %(blckdtsrcschool.ntrycity,blckdtsrcschool.ntrystate)) == 0: results = zipcodelookup.simpleQuery({"zip":self}) if len(results): blckdtsrcschool.ntrycity = results[0]['city'] blckdtsrcschool.ntrystate = results[0]['state'] else: blckdtsrcschool.ntrycity = "" blckdtsrcschool.ntrystate = "" ]]> where zipcodelookup is results = zipcodelookup.simpleQuery({"zip":self}) <-- i don't get it (soy un poco stupido) how would you translate it in SQl select * from zipcode where??? do you guys use getopt or optparse? optparse looks a bit nicer *** dsmith has quit IRC {"zip":self} is a list of database field name:value pairs think of it like {"zip":"66506"} would return manhattan, ks er, well, the records from my zipcode lookup which is manhattan, ks :) if you need greater than one field {"zip":"66506", "city":"MANHATTAN"} would generate select * from zipcode where zip = "66506" and city = "MANHATTAN" if you need to do conditionals other than and well you can't :) that's why simpleQury *** sjc has joined #gnuenterprise *** reinhard has quit IRC *** dyfet has joined #gnuenterprise *** johannesV_ has quit IRC *** dsmith has joined #gnuenterprise *** dyfet has quit IRC *** dneighbo_ has joined #gnuenterprise *** Morphous has quit IRC *** dneighbo has quit IRC *** konijn has quit IRC *** Amorphous has joined #gnuenterprise *** kilo has joined #gnuenterprise *** kreiszner has joined #gnuenterprise *** kreiszner has joined #gnuenterprise *** reinhard has joined #gnuenterprise *** kreiszner has quit IRC *** kreiszner has joined #gnuenterprise *** kreiszner2 has joined #gnuenterprise *** kreiszner2 has left #gnuenterprise *** kreiszner2 has joined #gnuenterprise I noticed that the .deb packages had .exe extensions. Are they the right ones and if not where? *** wayneg1 has joined #gnuenterprise *** btami has joined #gnuenterprise *** kreiszner2 has quit IRC *** kreiszner2 has joined #gnuenterprise I noticed that the latest .deb packages had .exe extensions. Are they the right ones and if not where? kreiszner2: http://ajmitch.dhis.org/debuild/gnue/ thanks. Somebody needs to change the gnue site. yes btami: you've got a second? i was looking at the changes you made in setup.py (as you requested) and i'm not sure i understand what is the reason for this change i tryed to build .rpm packages with "python setup.py bdist_rpm" it had some issues with .mo files with paths.py with gnue.pth i saw you included a "locales" directory in the source distribution i'm not sure if this is the right way to do it i'm not sure too :) :) btami: i am going to start work on dropdowns tonight as the current stuff simply doesn't work at all for most people I've talked to which too be fair is myself, reinhard, jcater :) 8-))) but it's causing issues at a customers site and their upgrade to the latest stuff has broke several of their forms jamest: have you received my email the other day? kilo: i'm burried in work and haven't checked email for gnue in > 1 week let me look jamest: i think we (kile and me) are using wx compiled with gtk2+unicode *** wayneg1 has quit IRC *** wayneg has quit IRC maybe this is the reason of difference... kilo: ah, you sent in the written paperwork and got that back? aye reinhard: please feel free to change my initial patches for bdist_rpm! btami: i think i will have a look at it thx i can't confirm receipt anymore as my fsf account doesn't seem to work i msg'd derek a while ago about someone elses and didn't hear back so I don't know if his account works either if I can't get the confirm from someone then we'll just wing it ok, what does that mean then? 8-)) that means that i'm frustrated and I'll take you at your word what part of gnue you planning to work on i seem to recall btami applying patches from you several times definitely NOT appserver :) shhhhh you might make reinhard feel bad forms i think, i18n :) kilo: :) btami: any hint how i can easily test rpm's on debian? rpms? :) *** kreiszner2 has quit IRC . .. reinhard: install rpm or install alien and use it to convert the rpm to .deb then install via dpkg just checking to see which name I was really checked in as btw jamest, why does gnue need a connection.conf even when an app does not use connections at all? like intro,gfd a long running bug I imagine jamest: thanks GBaseApp init does all kind of connection.conf related things reinhard: i'v just used mc to look into them :) but imho it should be onlye done somewhere in datasources btami: :) then asked jamest to test :) svn: Can't connect to host 'svn.gnuenterprise.org': Connection refused is there a problem with svn server? lekma: try again jamest: it works... you're a wizzard :-) jamest: i'v just changed handleFileType("deb", "Debian GNU/Linux Packages", $dir, $sortby); to handleFileType(".deb", "Debian GNU/Linux Packages", $dir, $sortby); in www/web/share/_listdir.php to avoid -debug.exe files under .deb section but it's not working :( try \. * btami never programmed in php as I imagine the . is being taken as part of a regex or maybe *** kreiszner has quit IRC handleFileType("deb$", "Debian GNU/Linux Packages", $dir, $sortby); * ajmitch takes a look to see where the debs are.. *** dsmith has quit IRC aha there are none on that page hi ajmitch * chillywilly got the new flat panel at work and is in love * chillywilly drools hello night all *** reinhard has quit IRC *** wayneg has joined #gnuenterprise night *** btami has quit IRC *** lekma has quit IRC *** jamest has quit IRC *** kilo has quit IRC *** jcater has quit IRC *** jamest has joined #gnuenterprise *** lekma has joined #gnuenterprise Form contains a and image support not loaded <-- what does this mean? error message when trying tag what "image support" should i load? jamest: you make screwy tarballs :) -rw-r--r-- jamest/jamest 0 1983-04-13 22:40:45 GNUe-Common-0.5.4/src/logic/__init__.py lekma: python image library also GNUe-Common-0.5.4/src/logic/adaptors/__init__.py ajmitch: my multiboot setup was screwy wrt to time settings ok it's just odd that it only affected 2 files i think they are ironed out now don't ask me as i'd reset the system and hwclock and after a few reboots I was time traveling again does anyone here have working dropdowns? with the current cvs head? heh *** jcater has joined #gnuenterprise hi jcater howdy [06:08:17 pm] does anyone here have working dropdowns? [06:08:22 pm] with the current cvs head? I have not used cvs head in production i need someone to try something for me hmm woohoo. Just orphaned dcl in Debian. yay I thought you had someone to pick it up though He's not a DD yet, and dealing with a PHP package is sufficiently painful that I don't feel like sponsoring him. Having never succesfully installed it, I also have trouble working up the enthusiasm for it. jamest: any chance of getting a new tarball with the dates fixed? the debian upload is rejected just because of screwy dates :) heh I've got a working DCL install :) ajmitch: Poor you. but it's not something I'd want to maintain ajmitch: maybe in a bit ajmitch: I occasionally think that I should write a forms/appserver version of it, using the same schema and offer it as gnue-crm. =) i desperately need to get dropdowns working about ok s/about/again mind if I do a 0.5.4.1 tarball for myself then? with only the dates fixed? I want to avoid you releasing a 0.5.4.1 with other fixes & haveing two numbers the same :) i think it's safe to say we will never have a 0.5.4.1 alright more likely to have 0.5.5 so i'd say go for it thanks jamest: with latest svn dropdowns doesn't seem to work for me i somehow have to select the empty record on top of the dropdown list to make it see a change in selection ok that's what I'm seeing to *** sjc has left #gnuenterprise lekma: care to svn up and try again? jamest: on the matter of selection it's better, but it seems to trigger pre- and post-change only once when the first selection is made. *** bailey has left #gnuenterprise :( it's registering the pre-/post- change on field exit jamest: yes, but only for the first change i'm seeing it for every change let me see if I missed a commit 2 triggers pre-change and post-change on a dropdown all they do is print a line i change the 1st dropdown on zipcode.gfd from the forms samples changed it 3 times and see re-change Post-change Pre-change Post-change Pre-change Post-change i added these triggers to the state field print "Pre-change" ]]> print "Post-change" ]]> can you see how that form behaves for you? i first have to create the db and the connection... but i have the same test case with a pre- and post- printing only the content of the dropdown and it does print only once something weird: when i type in the dropdown (autocompletion way) then the post and pre-change are triggered they are handled differently via the text events it's the combo box mouse events that are iffy *** jamest has quit IRC *** lekma has quit IRC *** jcater has quit IRC *** holycow has joined #gnuenterprise *** lekma has joined #gnuenterprise how to force a block to requery records after a commit and not display what's in the cache? *** chillywi1ly has joined #gnuenterprise *** chillywilly has quit IRC *** lekma has quit IRC