*** jcater has quit IRC *** jcater has joined #gnuenterprise *** SachaS has joined #gnuenterprise *** Morphous has joined #gnuenterprise *** Amorphous has quit IRC *** holycow has quit IRC *** sacha_ has joined #gnuenterprise t *** sjc has joined #gnuenterprise *** SachaS has quit IRC *** konijn has joined #gnuenterprise ah, many more people than on gnue :D who can I bother with newbie questions ? debian related, I think I screwed it up and want to unscrew ( if possible ) how badly screwed up? :) well heh I get this error : btw, using tarballs or debian packages? DB000: gnue.common.definitions.GParser.MarkupError: Error processing tag [I do not know what a tag does] make: *** [postgresql] Error 1 or code from svn? well, I first did apt-get install gnue-.* this installed python & all packages right, what versions? but then I couldnt get gnue-designer running with Postgres (of gnue packages) a sec gnue common version 0?5?2 0.5.2 ok what are you trying to do that gives that error? there are 0.5.4 packages, but not uploaded to sid yet well, i tried to connect to the postgres database in the developer it said : login required for .... so I tried gnue without password and that didnt work so I'm stumped so then I tried to install gnue with the subversion stuff but that didnt work either :'( it breaks then at the install-postgres.sh you'd need to setup your postgresql db for the gnue stuff I'm not too familiar with it, unfortunately I've added the database gnue and the user gnue darned :( which db are you familiar with ? mainly mysql I dont care really at this moment which database I have to lookup stuff when doing it with postgresql uh, except mysql since I have snob friends that dont like mysql :D just kidding erm ok let's do apt-get install mysql then you need to add the db, add the user, and then grant permissions to the user for that db for postgresql can you look up how to do the third part for postgres, you'd use google or have a better link ? there are 3 different db drivers to choose from for postgres, also :) I have installed the proper driver psychog or something like that right were you trying to just play with the tools, or with a specific example? Just wanted to make a form ok * ajmitch looks up what he has I've got postgres & mysql installed here for gnue use :) do you remember how you set up the postgres user ? *** SachaLunch has quit IRC something like GRANT ALL PRIVILEGES ON DATABASE gnue TO user; there's a page on the wiki, now that I recall w00t the wiki pages didnt help a lot :( it's where I got the xml parser error, when following the wiki probably because you'd need to use a newer gnue version to use the examples there ah especialy if you followed the one for gnue-appserver examples... appserver has seen a fair bit of development lately it is indeed one of the gnue-appserver examples * ajmitch pokes jcater - wakeup! so what would happen if I apt-get remove all the gnue stuff I would have to hunt you down ;) and then get from subversion the gnue package can I still run gnue-designer then ? one moment, I'll get you updated debian packages you have automated the process of creating the deb packages ? no I build them :) heh for now, use in /etc/apt/sources.list deb http://ajmitch.dyndns.win.co.nz/debuild/gnue ./ that ought to work I'll try & get them into sid asap :) it probably won't help with the postgresql setup, but appserver examples would have a better chance of working :) anything working there? noops i do apt-get update and then it doesnt seem to get the packages from your http link weird :( hmm, I saw it in the apache logs apt-get install gnue-common see if it upgrades the packages it'll probably show a 404 on the Release file (not required for apt) gnue-common is already the most recent version and it stays 0.5.2 * ajmitch mutters :) could it be because other lines where it does check are more like deb htp://blablabla main contribe non-free ? do I have to upgrade my installation first ? nah, that's because there are subdirs for that shouldn't do I'd prefer not to but gnue is really very interesting I was writing something similar to it in Java but gnue is way further ;D and a group effort which always beats the solo solution :) hehe so if I _have_ to upgrade, I will * ajmitch got the packages list fine from a server he uses grab the packages individually if you want, there's not many :) only 5 if you want all the tools I use the apt-get install gnue-.* i love regular expression :D heh still , it doesnt work, I dont get a newer version :( also separater apt-get install gnue-designer doesnt work for example darn *** konijn has left #gnuenterprise bother *** konijn has joined #gnuenterprise back hmm I wonder why your apt-get doesn't like me paste the line you added? it works fine here for me yes I even tried deb http://ajmitch.dhis.org/debuild/gnue/ ./ but I see an http 200 response there... :) I am on it with mozaille that will explain it :D sorry to burst the bubble :D no, with a user agent of apt-get wow basterd ok I didn't do it apt-get is a basterd :D yep :) just wget gnue-{common,forms-wxgtk,designer}-0.5.4-1_all.deb and dpkg -i the same :) (add the rest of the url to that wget command) on the road :D *** lekma has joined #gnuenterprise that still doesnt work well :( DB000: Traceback (most recent call last): DB000: File "/usr/lib/gnue/python/gnue/designer/base/TemplateParser.py", line 222, in OnNextStep DB000: self.setStep(self.nextStep) DB000: File "/usr/lib/gnue/python/gnue/designer/base/TemplateParser.py", line 178, in setStep DB000: self.stepInfo = self.parser.template.GetStep(step) DB000: File "/usr/lib/gnue/python/gnue/designer/templates/forms/Simple.py", line 103, in GetStep DB000: set=self.GetAvailableSources(self.variables['connection'])), ), DB000: File "/usr/lib/gnue/python/gnue/designer/base/TemplateBase.py", line 171, in GetAvailableSources DB000: self.__cachedSources[connection_name] = \ DB000: AttributeError: Connection instance has no attribute 'introspector' and then the wizard that I wanted to try falls over :( ooh, that looks worrying how'd you get that? click file , click new, click wizard, click simple wizard * ajmitch looks choose database ( postgres ) , identify ( gnue, no password) and then this error before I had an identification error so it's better :D I think it shouldn't be :) * ajmitch waits hmm, I logged into a postgres db & it worked ok darn using provider = postgresql in connections.conf, however which, iirc, autoselects a driver are you using debian unstable? no stable right.. I'm surprised these packages installed, they've only been tested on unstable :) what version of python-psycopg ? works better sorry? have the authent error again alright so that shows more of a postgresql config problem than gnue can you login to the db via the command line? something like psql -u gnue gnue (if gnue is the db you created and gnue the user) * ajmitch notes that he has to go to sleep soon ok sorry had visit the misses told me to be polite :D heh hehe that works I get in alright and psql -u gnue -h 127.0.0.1 gnue this just happened to be on the mailing list a couple of days ago :) ah this failed I have change the all all machin nah you don't need to what do I have to do then ? you could add a section in pg_hba.conf for host 127.0.0.1 or you could change connections.conf to say "host =" instead of "host = localhost" I suggest changing /etc/gnue/connections.conf for now ok any luck yet? :) well shoot I did the pg_hba thing first and now I seem to have corrupted it ah it's easy enough to do... especially if you're using docs for >= 7.3 and you're using an old postgresql I think the wiki docs are for a modern postgres, where they changed the pg_hba.conf syntax ah the comments in the file ought to help enough you know where I can find the postgres server log ? it probably logs to /var/log/syslog or /var/log/postgres.log darn ok, i'll let you sleep :D ok :) there should be others around soon, if they decide to visit on a sunday :) * ajmitch falls onto his bed sleep well sweet dreams *** konijn has quit IRC *** sjc has quit IRC *** Vee has quit IRC *** lekma has quit IRC *** dimas has quit IRC *** Vee2d2 has quit IRC *** jcater has quit IRC *** ajmitch has quit IRC *** Stoke_ has quit IRC *** derek_home has quit IRC *** mdean has quit IRC *** Morphous has quit IRC *** nickr has quit IRC *** wayneg has quit IRC *** ubriz has quit IRC *** chillywilly has quit IRC *** havoc has quit IRC *** Morphous has joined #gnuenterprise *** nickr has joined #gnuenterprise *** wayneg has joined #gnuenterprise *** ubriz has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** havoc has joined #gnuenterprise *** jcater has joined #gnuenterprise *** derek_home has joined #gnuenterprise *** mdean has joined #gnuenterprise *** ajmitch has joined #gnuenterprise *** Stoke_ has joined #gnuenterprise *** lekma has joined #gnuenterprise *** konijn has joined #gnuenterprise *** sjc has joined #gnuenterprise *** Vee has joined #gnuenterprise *** dimas has joined #gnuenterprise *** Vee2d2 has joined #gnuenterprise *** SachaS has joined #gnuenterprise *** sjc has quit IRC *** sjc has joined #gnuenterprise *** SachaS has quit IRC *** SachaS has joined #gnuenterprise *** SachaS has quit IRC any one awake ? *** Stoke_ has quit IRC *** ajmitch has quit IRC *** Vee has quit IRC *** konijn has quit IRC *** lekma has quit IRC *** Vee2d2 has quit IRC *** dimas has quit IRC *** jcater has quit IRC *** derek_home has quit IRC *** mdean has quit IRC *** havoc has quit IRC *** ubriz has quit IRC *** wayneg has quit IRC *** Morphous has quit IRC *** chillywilly has quit IRC *** nickr has quit IRC *** mdean has joined #gnuenterprise *** derek_home has joined #gnuenterprise *** Morphous has joined #gnuenterprise *** nickr has joined #gnuenterprise *** wayneg has joined #gnuenterprise *** ubriz has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** havoc has joined #gnuenterprise *** ajmitch has joined #gnuenterprise *** Stoke_ has joined #gnuenterprise *** jcater has joined #gnuenterprise *** lekma has joined #gnuenterprise *** konijn has joined #gnuenterprise *** Vee has joined #gnuenterprise *** dimas has joined #gnuenterprise *** Vee2d2 has joined #gnuenterprise *** havoc has quit IRC *** ubriz has quit IRC *** wayneg has quit IRC *** Morphous has quit IRC *** chillywilly has quit IRC *** nickr has quit IRC *** Morphous has joined #gnuenterprise *** nickr has joined #gnuenterprise *** wayneg has joined #gnuenterprise *** ubriz has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** havoc has joined #gnuenterprise *** mdean has quit IRC *** derek_home has quit IRC *** derek_home has joined #gnuenterprise *** mdean has joined #gnuenterprise *** mdean has quit IRC *** derek_home has quit IRC *** havoc has quit IRC *** ubriz has quit IRC *** wayneg has quit IRC *** Morphous has quit IRC *** chillywilly has quit IRC *** nickr has quit IRC *** jcater has quit IRC *** Vee has quit IRC *** konijn has quit IRC *** lekma has quit IRC *** Vee2d2 has quit IRC *** dimas has quit IRC *** Stoke_ has quit IRC *** ajmitch has quit IRC *** mdean has joined #gnuenterprise *** derek_home has joined #gnuenterprise *** havoc has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** ubriz has joined #gnuenterprise *** wayneg has joined #gnuenterprise *** nickr has joined #gnuenterprise *** Morphous has joined #gnuenterprise *** Vee2d2 has joined #gnuenterprise *** dimas has joined #gnuenterprise *** Vee has joined #gnuenterprise *** konijn has joined #gnuenterprise *** lekma has joined #gnuenterprise *** jcater has joined #gnuenterprise *** Stoke_ has joined #gnuenterprise *** ajmitch has joined #gnuenterprise *** ubriz has left #gnuenterprise *** ubriz_ has joined #gnuenterprise any one that can help with an error I'm getting ? *** reinhard has joined #gnuenterprise *** konijn has quit IRC hi reinhard reinhard: did you achieve to make joins with datasources and conditions?? *** SachaS has joined #gnuenterprise hi lekma yes i did if all goes well i will commit today hi SachaS reinhard: can you get to display the field on which the join is done? lekma: bbl in 10 minutes *** reinhard has quit IRC *** reinhard has joined #gnuenterprise back lekma: i think ididn't understand your question the way it is now you can make: but you can't have neither a_test.key_id nor b_test.key_id in the block you can't? error was: key_id was ambiguous ah gotcha well, can't you have the field "a_test.key_id" in the block? btw i'm doing the joins in appserver so this is not exactly the problem i was trying to solve but just a quite similar one ah ok can you have a dot in ? nope, same error eek gnue.common.datasources.drivers.DBSIG2.DataObject kept adding 'key_id' in _fieldReferences dict you didn't order_by key_id, did you? nope no order_by weird i didn't have that problem you can have dots in the field name, and it works for the first empty resulset which is created before querying the db even though i did something very similar within appserver i think the dataObject gets field references passed from GDataSource.py yes, i did follow it up to the point the first empty resulset is created, GFField initiate GDatasource referenceField() and _fieldReferences is used by DataObject but when you query the db _fieldReferences get updated by ?? and DataObject gets a new referenced field hmmm i guess a grep on _fieldReferences doesn't help much, right? i'm lost in gnue code (that would make a movie title) would be a scary movie ;-) and as i'm a newbie in python as well as gnue... nope lekma: it might well be that i'll stumble across the same problem while finishing my change today if i do, i'll keep you updated ok thanks otherwise you might want to inform jamest or jcater lekma: fieldReferences gets updated by the dataobjects after the first query just in case we did a "select * from ..." in gnue forms, this doesn't happen but in other tools/custom scripts it might so the updating of fieldReferences by the dataobjects when using forms is redundent well, that's not 100% true either for most databases it's redundent but our good old friend mysql bastardizes its field names so when using joins, it is helpful w/mysql too * jcater runs off... I opened the pool today :) dropping the kids off at the pool... night happy swimming hallo reinhard. bin noch nicht dazu gekommen, um das gespraech zu ... niderzuschreiben SachaS: ok SachaS: np dah. that was german ... ok. will be busy next week, as I got feedback from my supervisors ... and then I will go to New Orleans HURRAY! well and now i go to bed :) good night *** SachaS has left #gnuenterprise *** dneighbo has joined #gnuenterprise *** derek_home has quit IRC night all *** reinhard has quit IRC jcater: how can i bypass the updating of fieldReferences ? *** sjc has quit IRC *** lekma has quit IRC *** ajmitch has quit IRC *** ajmitch has joined #gnuenterprise *** frayed has joined #gnuenterprise hello? *** frayed has quit IRC bypass?!? why bypass? *** jcater has quit IRC