_m7u90nt (~mdupont@p5080F90D.dip.t-dialin.net) left irc: "Leaving" holycow (~rtaylor@h24-86-227-162.vf.shawcable.net) left irc: "Leaving" sjc (~sjc@cpc2-seve3-4-0-cust112.popl.cable.ntl.com) joined #gnuenterprise. bddebian (~bddebian@ip68-4-154-50.oc.oc.cox.net) left irc: "Client exiting" sjc (~sjc@cpc2-seve3-4-0-cust112.popl.cable.ntl.com) left irc: "working" snewpy_ (~markl@m034-236.nv.iinet.net.au) joined #gnuenterprise. snewpy (~markl@2001:db0:1019:1:99e2:930e:fec5:17bd) left irc: Read error: 54 (Connection reset by peer) reinhard (~reinhard@M1250P006.adsl.highway.telekom.at) joined #gnuenterprise. ajmitch: you here? ajmitch: any problems with the .deb's? dimas (~ds@195.218.177.46) joined #gnuenterprise. bbl reinhard (~reinhard@M1250P006.adsl.highway.telekom.at) left irc: "I haven't lost my mind. I know exactly where I left it." ogger (~ogger@57.Red-213-96-148.pooles.rima-tde.net) joined #gnuenterprise. ogger (~ogger@57.Red-213-96-148.pooles.rima-tde.net) left irc: Remote closed the connection ogger (~ogger@57.Red-213-96-148.pooles.rima-tde.net) joined #gnuenterprise. Nick change: snewpy_ -> snewpy btami (~tamas@napalm.napnet.hu) joined #gnuenterprise. SachaS (sacha@217-173-231-57.dialin.powersurf.li) joined #gnuenterprise. hi everyone jbailey (~jbailey@CPE00062579efac-CM014260028338.cpe.net.cable.rogers.com) joined #gnuenterprise. see yas bye SachaS (sacha@217-173-231-57.dialin.powersurf.li) left irc: "Leaving" jcater (~jcater@cpe-066-061-071-147.midsouth.rr.com) joined #gnuenterprise. thierry_ (~thierry@AStrasbourg-251-1-1-7.w82-127.abo.wanadoo.fr) joined #gnuenterprise. thierry (~thierry@AStrasbourg-251-1-1-7.w82-127.abo.wanadoo.fr) left irc: Read error: 110 (Connection timed out) jamest (foobar@adsl-66-142-221-144.dsl.tpkaks.swbell.net) joined #gnuenterprise. jbailey (~jbailey@CPE00062579efac-CM014260028338.cpe.net.cable.rogers.com) left irc: "Client exiting" wendall911 (~wendallc@wendallc.icehouse.net) joined #gnuenterprise. holycow (~rtaylor@h24-86-227-162.vf.shawcable.net) joined #gnuenterprise. holycow (~rtaylor@h24-86-227-162.vf.shawcable.net) left irc: Remote closed the connection holycow (~rtaylor@h24-86-227-162.vf.shawcable.net) joined #gnuenterprise. holycow (~rtaylor@h24-86-227-162.vf.shawcable.net) left irc: Client Quit reinhard (~reinhard@M1250P006.adsl.highway.telekom.at) joined #gnuenterprise. stupid question but can you import a class symbol from a module or do you have to fully qualify it like: Module.Class() ? from Module import Class hmmm yea wtf does it complain that it can't import certain stuff blah reinhard (~reinhard@M1250P006.adsl.highway.telekom.at) left irc: Read error: 104 (Connection reset by peer) reinhard (~reinhard@M1250P006.adsl.highway.telekom.at) joined #gnuenterprise. bah does anybody know how to enter bios setup on a compaq ML370? reinhard: many compaq systems require a boot disk to access the bios reinhard: they make good boat anchors ;) oh my god reinhard: I had to make a boot disk to even be able to boot to a cdrom well, i already installed woody and everything works fine except 1. i don't know how to silence down the ventilator 2. i can't access the scsi card (a ncr 3c895) reinhard: i've had a problem with them before, there is a configuration disk you can run the compaq I have has it's bios stuff on a special partition on the hd yeah i have such a partition, too but lilo refuses to boot that partition /dev/hda3 1 3 12064+ 12 Compaq diagnostics hmm.. someone at Compaq should be slapped for putting bios information on the hd reinhard: is it possibly the F10 key while it's booting up to access? it says so, yes but it doesn't well http://h18007.www1.hp.com/support/files/server/us/download/13227.html reinhard: it is a windows executeable probably i've overwritten the master boot sector with lilo :( reinhard: I'm sure they must have the disks available in another format wendall911: cool, thanks * LILO should be installed to the /boot partition and not to the MBR (Master Boot Record). Installing LILO to the MBR prevents the F10 key from correctly starting the System Configuration Utility on boot up. i can use that hehe i have a windows machine standing around somewhere :) Vee2d2: oh ok figured that much :) http://h18000.www1.hp.com/products/servers/linux/compaq-howto-v8-4.html#_4.0 explains how to get around it in lilo's config reinhard: what's strange is I swear I downloaded the system configuration utility before and it wasn't a windows .exe reinhard: I couldn't have make the disks ;) Vee2d2: isn't it great that i work with un*x for 12 years now and with gnu/linux for 6 years or so :) and i can still learn new things on a daily basis? :)) ditto btw thanks all this is not only the best support channel for debian this is also the best support channel for virtually anything :) brb reinhard (~reinhard@M1250P006.adsl.highway.telekom.at) left irc: "I haven't lost my mind. I know exactly where I left it." hmmmm read back scroll some I've tries using php4 with apache2 and for a lot of php apps I can get apache2 to segfault chillywilly: depends on the versions you are running Action: Vee2d2 is happy with apache 1.3.x wendall911: I used mpm-prefork apache with a compiled php4 the latest off the website at that time I built the damn thing dcl for instance will not work chillywilly: debian ancient sources, or current sources? just segfaults apache2 sources of what? chillywilly: apache 4.3.4 or some crap I used the debian package chillywilly: heh for apache2 heh? chillywilly: it is way too old for use so why don't they make a new one? fucking A chillywilly: I don't know I don't want to build them both hell I don't want to build either one chillywilly: I had some problems on a RH box, same problem I want some damn packages running 2.0.48 and php 4.3.4 without problems 2.0.48 is the version of the package hmm strange I compiled tons of shit into php chillywilly: I used to get segfaults before 2.0.45, but not any longer basically pulled configure swicthes from the script in the php4 package chillywilly: I use a lot of things also this is on debian? chillywilly: no chillywilly: under Gentoo, but I have run both from sources as well recently hmmm well it was unusable chillywilly: yeah, we had to go back to 1.3 at the university chillywilly: Suse packages for 2.x were serving up blank pages all the time, and the segfault issue chillywilly: it must be something that the package maintainers are screwing up as far as I can tell I suppose I could build them both that just kinda sucks though agreed I like how debian lays out the config but I suppose I can steal it chillywilly: yeah, it is easy to setup whatever you like...I have my own that I use chillywilly: mine is very similar to debian...it is well thought out the debian way it can be a pain in the ass to get something compiled just right will all the options you want, etc. yep > 5) You can keep up with the discussion regardless of what time zone you > live in Well the trick here is to just not sleep. That's what Vee does. ;) heh Action: Vee2d2 looks at derek lol sleep is for users reinhard (~reinhard@M1250P006.adsl.highway.telekom.at) joined #gnuenterprise. for the record (in case anybody finds this log when googling :)) i managed to run bios setup from the downloaded disks but no luck neither with the noise nor with the 53c895 scsi controller but however i will live with the noise and buy an adaptec controller :) oh, btami fixed win32 mo files cool reinhard: make sure the adaptec controller card you get works in 2.6 in case you want to upgrade later Action: jcater always liked adaptec controllers, but 2.6 support seems sparse maybe it's just the models I have jcater: scsi has a long way to go with 2.6 gsoti_away (~gsoti@adsl-68-23-176-107.dsl.chcgil.ameritech.net) joined #gnuenterprise. dneighbo_ (~dneighbo@ip68-109-180-32.ph.ph.cox.net) joined #gnuenterprise. sjc (~sjc@cpc2-seve3-4-0-cust112.popl.cable.ntl.com) joined #gnuenterprise. dneighbo (~dneighbo@ip68-109-180-32.ph.ph.cox.net) left irc: Read error: 110 (Connection timed out) btami (~tamas@napalm.napnet.hu) left irc: Action: ajmitch wonders where jbailey has wandered off to I hope he turns up in the next few days I bet it's not to a steak house (just a guess) haha hey dudes can you get soy steak? or tofu steak? :) mmm hi chillywilly soy steak is great marinate steak in soy sauce overnight I think I had an intersting phenomenom occur in my python code heh then seer, or grill mmmmm sounds nice one module was importing the other adn then at the top fo taht one it wanted to import the other...this did not work too well I'm wanting him to upload some gnue packages, but he forgot to reply to my last email & upload them :) chillywilly: yeah, have to watch out for that hehe we've hit that in gnue many times and had to work around it Action: ajmitch had better package appserver usually means you need to considering shuffling some code around before reinhard asks me about it again ;) making new modules or something ;) yeah ajmitch: :) cool thing is python did not get stuck in any kinda infinite loop but the modules had little to no symbols in them ;P would be better if it threw an exception...I suppose it is more overhead to detect circular references in imports oh well I learned my lesson reinhard: how big were the changes from 0.0.5 to 0.0.6? quite some ok erm I might have to install some example bits then probably big enough to have it repackaged not sure if they are already ;) if that is the question :) oh dear oh you could send me the debs to reinhard@gnue.org for appserver and common the packaging is simple though and i could test if you want alright, I will (tomorrow that is) or you could download them from my computer so ajmitch did you get that freakin' package yet or do I have to fly to AU pick it up then fly to NZ and deliver it personally? chillywilly: you mean AT, not AU probably :) probably would be faster ;) no au autrailia oh ok chillywilly: no, and I didn't expect to get it yesterday - perhaps monday.. if not, then you can go & beat them ok :) Action: ajmitch is suspiscious of this appserver... it's written by commies ;P commie gnu hippies :1:> ls -la gnue-appserver_0.0.*.orig.tar.gz -rw-r--r-- 1 ajmitch ajmitch 314304 Oct 23 13:17 gnue-appserver_0.0.5.orig.tar.gz -rw-r--r-- 1 ajmitch ajmitch 314297 Mar 14 12:25 gnue-appserver_0.0.6.orig.tar.gz wendall911 (~wendallc@wendallc.icehouse.net) left irc: "Download Gaim: http://gaim.sourceforge.net/" rofl it's only a few bytes smaller! less code?!? no less code is not a bad thing we just chaged the code so that gzip can compress it better ;-) jcater: sure for a while there, each gnue-forms release was a bit smaller than it's predecessor heh refactor !!! jcater: while we are talking about code shrinking shrinkage i saw a TODO somewhere about making a general procedure to load plugins heh that could be used to load a dbdriver as well as an rpcdriver and maybe even an uidriver from name reinhard: yes I don't recall the specific TODO but such a thing makes sense one issue you'll have i think it was in the RPC code is every loader like that we've written btami has had to wrap our code with hardcoded lists to get it working with mcmillan which I hate, but I guess that's what he has to do well, hate is a strong word I dislike anyway, my point is this is the DRIVERS = [...] stuff? yes in the __init__.py files? though a more prevelant example look in gnue-designer/src/templates/__init__.py Action: ajmitch mutters defeats the whole purpose ;) now you have a stinking list to maintain ;) search for McMillan I shoul really install the new gnue common packages before trying to package appserver & forms Action: ajmitch loves sudo with designer's wizards/templates, I very much wanted it to be where anyone could drop in a .py file, and have a wizard available Password: Are you on drugs? Password: but with this wrapper approach, that will be harder to do anyway, my point is if we do a generic loader like that you have to take into account this necessary workaround for McMillan (or we have to find a better solution for that case) ok thanks for the hint building a cross compiler takes a while la la la E: gnue-appserver: binary-without-manpage gnue-gsdgen who wants to write a manpage for me? :) ooh, there is one! Action: ajmitch looks to see why it wasn't picked up ajmitch: it's new wasn't there in 0.0.5 yes and it's not recorded in setup.py jcater: you remember why that workaround was necessary? ajmitch: oh reinhard: btami is better person to ask but iirc, we work by doing a directory scan looking for python modules in mcmillan, there is no directory to scan mcmillan packs all python in its own internal structure oh Action: chillywilly borrowed some of that code and intercepts python's module loading code i understand reinhard: do you have all of gnue checked out? including gnue-pos? ok, that problem's fixed.. i think so I have it all checked out look at gnue/gnue-pos/src/POSClient.py, around line 74 I really need to learn to make a debian package I'd prefer if the module loader worked that way ajmitch: can you make me apache 2.0.48 and php packages ;) i.e., in the dbdriver part Action: ajmitch does an svn up hehe chillywilly: nope, sorry, I don't have that much time free if you have provider=foobar ajmitch: fixed the loader would first try reinhard: thanks import gnue.common.datasources.drivers.foobar then if that didn't work, would just try import foobar ajmitch: but they don't have to be perfect or even follow debian policy ;P I do that to get customizations for gnue-pos i.e., I have a python module on my machine called market (my store) so for some of the drivers specific to my setup, I can do provider=market.mydriver and not have to put market in the gnue.common.* source tree just a thought... but would allow others to extend gnue better not sure you have to remember we have a hierarchical driver structure that is for example popy driver is in gnue.common.datasources.drivers.postgresql.popy so it basically has to search through all subpackages of "drivers" to find out where popy is dircache :) I still think it could work i.e., if provider=popy: You first look for gnue.common.datasource.drivers.popy exists --> try: gnue.common.datasource.drivers.popy.popy if doesn't exist --> find first working driver under drivers.popy not exists --> search thru all drivers.*.* for a popy if that fails, try to import popy [17:47] Last message repeated 1 time(s). the only thing different from what we currently do is that last "if that fails..." jcater: ok, gotcha alright, I'll bbl :) jcater: also, i think a means of --list-drivers could be cool definitely, yes reinhard: I'll give you the URL of where my packages are built tomorrow bbl what is already working now is thanks ajmitch what is already working now is for m in list ('gnue.common.datasources.drivers', 'Connection'): print m.__name__ this issues gnue.common.datasources.drivers.special.configfile gnue.common.datasources.drivers.special.static gnue.common.datasources.drivers.special.unbound gnue.common.datasources.drivers.sybase.sybase gnue.common.datasources.drivers.ingres.ingres gnue.common.datasources.drivers.sapdb.sapdb gnue.common.datasources.drivers.csv.csv gnue.common.datasources.drivers.informix.informix gnue.common.datasources.drivers.dbf.dbf gnue.common.datasources.drivers.sqlrelay.sqlrelay gnue.common.datasources.drivers.sqlite.sqlite gnue.common.datasources.drivers.adodbapi.adodbapi gnue.common.datasources.drivers.postgresql.pypgsql gnue.common.datasources.drivers.postgresql.psycopg gnue.common.datasources.drivers.postgresql.pygresql etc. list (a, b) means list all modules under a that define symbol b is list() a function you did, or some feature of python I didn't know about? i did it :) nice and btw of course it doesn't need the DRIVERS = [] I need that in my website generation thing it works with listdir :) or (mcmillan speaking) it works with listdir :( there *has* to be some way to get at mcmillan internals to do an equivalent function there Action: jcater hasn't looked, but there's bound to be something i figured there is no other way to find out the modules and subpackages of a package than to read the directory even if it's undocumented as a last resort I wonder how epydoc does it probably the same way i'd nearly say we'd generate the __init__.py with the DRIVERS = [] dynamically on .exe generation if that works that's an idea I'd rather take that route than give up this dynamic loading is epydoc better than the pydoc module? jcater: while we're talking about drivers I was considering making my mod_python server be self documenting cause I am lazy like that, but pydoc has little to no documentation I like epydoc jamest picked it from the others ok not sure why he picked it vs, say, pydoc but I'm sure he had a good reason i think the very low code per file ratio in the dbdrivers makes the directory structure quite complex it might be much easier to overview if we had a single file for a driver (at least for the DBSIG2 ones, which are generally only a few lines of code) but that's a personal opinion I'm indifferent personally, I don't mind the individual files but yeah, some of them are rather small but for the bigger ones, I do like them split and I guess I was just being consistent take the postgresql Base driver for example the RecordSet and ResultSet files are completely useless (AFAICT) the 4 actual drivers for postgres are not more than 10 lines of code each (plus comments and documentation for website) possibly and when i tried i've made it to break them down to 2 lines each :) we've whittled them down to nearly nothing I'm sure they were bigger at one point :) sure :) I'm looking at mcmillan source code don't get me wrong not trying to offend you or anything and I bet we could patch it if nothing else just thinking out loud I'm indifferent on one hand, they are really small (almost too small) on the other, they are consistent with the other drivers which may be larger but then again, we've put so much into the DBSIG2 driver now, none of them are really big yeah except for appserver, dbf and specialfile which aren't DBSIG2 based sjc (~sjc@cpc2-seve3-4-0-cust112.popl.cable.ntl.com) left irc: "sleeping" jamest (foobar@adsl-66-142-221-144.dsl.tpkaks.swbell.net) left irc: Remote closed the connection jamest (foobar@adsl-66-142-221-144.dsl.tpkaks.swbell.net) joined #gnuenterprise. hmm there's an ArchiveViewer.py in McMillan's source tree which does exactly what its name implies gets file names, etc, from McMillan archives hmmm sonds very interesting we have another (easy to solve) problem because we can't distinguish real from base drivers we will get drivers like Base or DBISG2 also listed we can suppress this by not exporting a Connection there but for example a _Connection or a Connection_ or a BaseConnection my rule of thumb was to only catch lowercase module names you'll get a problem under windows with that :) but if need be, we can go back to the old way, of prefixing the former with _ so it would be _dbsig instead of DBSIG not necessary because i check for a specific symbol ok we can change the identifier "Connection" to be different ok Action: ajmitch returns lol We upgrade to subversoin 1.0 hmm? yesterday 1.0.1 is released heh typical :) what's the easiest way to do a feature request to a debian maintainer? or bug report is there a handy dandy client, or have to go to a web page? reportbug thanks who are you harassing? two things 1. apache2's /etc/init.d/apache2 script gives you the wrong path to /etc/default when it tells you to edit that file I hope you're not filing bugs against gnue packages.. 2. It'd be nice if subversion's svn and svnadmin were shell scripts that first sourced in something like /etc/default/svn, then ran the actual svn clients so you can set umask there 1. ah yes, I see what you mean there.. (as that is what the svn handbook tells you to do, oddly enough) w00t reportbug is nice shows me my bug is already reported already reported, already ignored ;) apparently jcater: how does that look like: find "postgresql.popy": gnue.common.datasources.drivers.postgresql.popy find "pygresql": gnue.common.datasources.drivers.postgresql.pygresql find "mysql": gnue.common.datasources.drivers.mysql.mysql find "oracle": gnue.common.datasources.drivers.oracle.cxoracle find "nonexistent": None that last line, how did it arrive at that? well, the oracle one like before it chooses the first driver it finds under "oracle" this doesn't do any initializing, does it? it tests if the import goes through i'm sure i have no oracle libs installed here :) the way it was intended to work is if you specified "oracle", it would return the first driver that had all the prerequisites so I'm wondering if find should return a tuple if more than one could work and let the init code cycle thru until it finds one that does or pass a function to find() that does the test (does that make sense?) or, yeah either way or... we define every plugin must have a function to test whether all prerequisites are fullfilled? hmmm i think the testfunction parameter to find() is the most generic way I think all find has to do is catch the AdapterNotInstalled exception (which might need to be moved into a generic .exceptions module) I'm ok with either approach (either a testfunction to find(), or a driver.loadable() test my thinking is the testfunction would get the module as parameter it can always do def testfunction (m): return m.loadable () :) true would you be ok if we defined the testfunction to raise an exception if the test fails and we can GDebug the exception message I imagine hmmm currently there's no way in our dbdrivers to find out if prerequisites are installed other than try to establish a connection well, to instantiate a connection object try: import Connection as _test; except AdapterNotInstalled: return 0 iirc or that was the idea it doesn't work that doesn't fail find "postgresql.popy": gnue.common.datasources.drivers.postgresql.popy find "pygresql": gnue.common.datasources.drivers.postgresql.pygresql find "mysql": None find "oracle": None find "nonexistent": None i had to test with module.Connection (None, None, {}) not sure if that succeeds on every module no doubt best would be a module.Test function ok i've committed gnue.common.apps.plugin i'll let you look at it the code that searches for all subpackages and modules in a package is in __modules () probably the fix for McMillan has to go there it's time for bed for me night all reinhard (~reinhard@M1250P006.adsl.highway.telekom.at) left irc: "If you think there is good in everybody, you haven't met everybody." gsoti_away (~gsoti@adsl-68-23-176-107.dsl.chcgil.ameritech.net) left irc: "Client Exiting" gsoti_away (~gsoti@adsl-68-23-176-107.dsl.chcgil.ameritech.net) joined #gnuenterprise. holycow (~rtaylor@h24-86-227-162.vf.shawcable.net) joined #gnuenterprise. gsoti_away (~gsoti@adsl-68-23-176-107.dsl.chcgil.ameritech.net) left #gnuenterprise. Nick change: dneighbo_ -> derek jamest (foobar@adsl-66-142-221-144.dsl.tpkaks.swbell.net) left #gnuenterprise ("Kopete 0.8.0 RC1 : http://kopete.kde.org"). I love coffee. ok good for you whats you been upto lately, chillywilly? still sculpting greatness out of perl? nope python cool :) hey, wasnt it you that brought up that REST stuff a while back? yea a cow-orker ran acrost it the other day and I seemed to recall it getting kicked around in here for a spill (in discussion, I mean) well it is an intersting take on the whole web architecture hi Vee2d2, chillywilly 'sup ajmitch, how's nz? it's ok hah, donald trump is gonna host SNL on 4/3 heh the king of combovers he mast have a pretty good cueball by now --- Sun Mar 14 2004