IRC log of #zope3-dev for Thursday, 2005-10-20

*** bliv has quit IRC00:04
*** JoaoJoao has quit IRC00:04
*** zbir_ has joined #zope3-dev00:21
*** zbir has quit IRC00:32
*** zbir_ has quit IRC00:35
*** sashav has joined #zope3-dev00:39
*** whit has quit IRC00:43
*** bradb has left #zope3-dev00:44
*** benji has quit IRC00:45
*** whit has joined #zope3-dev00:47
*** MJ has quit IRC00:47
*** brupp has quit IRC00:49
*** sashav has quit IRC00:50
*** sashav has joined #zope3-dev00:50
*** mp has quit IRC00:55
*** niemeyer is now known as nie_away01:03
*** d2m has quit IRC01:15
*** whit has quit IRC01:22
*** bska|mobile has quit IRC01:26
*** projekt01 has quit IRC01:31
*** jinty has quit IRC01:33
*** zbir has joined #zope3-dev01:39
*** fdrake has joined #zope3-dev01:47
*** dobee has quit IRC01:49
fdrakethe testbrowser ListControl object doesn't appear to have a way to check that no value is selected; does anyone here know how to check that?01:50
srichtershould you not be able to say:01:50
srichterctrl.value == []01:50
srichter?01:50
fdrakeappearantly not  :-(01:50
srichtereek01:51
srichteror did you get one of the list's subcontrol?01:51
srichteror did you get one of the list's subcontrols?01:51
fdrakeif I have HTML that has lots of options, but none selected, the value == ["first value"]01:51
fdrake(or whatever it is)01:51
srichterthat would be a bug01:51
fdrakeno, just the top-level listcontrol itself01:51
fdrakeyeah, that's what I thought01:52
srichterI am really surprised you get this01:52
fdrakebut the test seems to check for this behavior01:52
fdraketake a look at it; the sample single-select list doesn't have a default value, but the test expects a single-item list as the .value01:52
*** jinty has joined #zope3-dev01:53
fdrakesee "Selection Control (Single-Valued)" in the tests01:53
srichterbtw, I am reading01:56
fdrakek01:56
srichterabsolutely a bug01:57
srichterand documented as bug too :-)01:57
srichterseems to be a mechanize bug01:59
fdrakeby which you mean the documentation exhibits the same bug, I presume  :-)01:59
srichteryes01:59
srichterbecause the browser code seems clean and refers to mechanize to give an answer01:59
fdrakeok, i'll take a look at fixing, then01:59
srichtercool01:59
srichtermechanize has no tests, so bugs are expected02:00
srichter:-)02:00
* srichter cannot imagine a time without tests anymore02:00
fdrakeClientForm is some painful code...02:08
srichter:-)02:08
srichteryep02:08
fdrakeah, the comments try to blame it on RFC 1866 and differing browser implementations02:10
srichterso, if you specify the right user agent string, it will work?02:11
fdrakeremember HTML 2.0????  sheesh.02:11
srichterLOL02:11
fdrakenot necessarily  :-)02:11
srichterso I think our tests should at least gain an explanatory comment02:12
*** whit has joined #zope3-dev02:12
fdrakeat least02:12
fdrakeit's not clear that the current behavior is exhibited by current browsers, though02:13
fdrakei'll have to look at the specs myself, which is not what I need to be doing right now02:13
srichterhe he02:14
*** whit has quit IRC02:16
fdrakeHTML 4.01, section 17.6.1:  "If no OPTION element has the selected attribute set, user agent behavior for choosing which option is initially selected is undefined."02:16
fdrakeHTML sux.02:16
fdrakewell, it means I have to include a "no value" selection in my field02:17
fdrakeugly, but makes sense02:17
fdrakeForms suk too.02:17
srichterI agree02:17
srichterlet's use CDE or JavaAWT02:18
fdrakeohohohohh.... raw Xt!02:18
fdrakeat least its O-O....02:18
srichterYeah, I need to get my X references from the top shelve again02:18
srichter(I cannot believe my graphics prof made us use plain X in the class)02:19
fdrakeheck, I have to climb into the stinkin' attic!02:19
srichterhe he02:19
fdrakeI can; she knows a good thing when she sees it.  :-)02:19
srichteryeah, he developed the flight scheduling system FedEx used in the late 80s and early 90s02:20
srichterI think they coded the UI in X02:20
*** benji has joined #zope3-dev02:21
fdrakea good thing they did; I can't think of a better way to distribute UI  :-)02:21
fdrakebenji: bet you didn't know it was all testbrowser's fault02:22
srichterbenji: talking to fred about another thing in testbrowser reminded me that we really have to figure out how we can turn off error handling in urllib202:22
benjiah, yep srichter02:22
srichterwe need to be able to get the content of 404 and similar error pages02:22
benjifdrake, what is testbrowser's fault?02:22
fdrakethat HTML forms suk02:23
fdrakei ran into an HTML-really-doesn't-make-sense issue02:23
fdrakea select w/ no options selected incurs browser-specific behavior02:23
benjiyour right fred, I shouldn't be encouraging people to use HTML, it's all my fault02:23
fdrakeand testbrowser (well, ClientForm) picked the wrong browser to emulate02:24
fdrakewell, at least it made me dig in so I can force my form to do the right thing02:24
fdrakebut you really should stop pushing HTML; there's laws against it in most states02:24
fdrake(HTML is a drug, you know...)02:25
benjiI'm incouragable02:25
fdrakesp.02:25
srichterit's all X baby02:25
benjifred, you misspelled "ok" (just thought you'd like to know)02:26
srichteractually DOS CGI graphics were alot of fun too02:26
srichterand much easier to use than X :-)02:26
fdrakeyeah, that's what ah'm talking 'bout!02:26
fdrake:-)02:26
benjisrichter, I preferred Hercules, but to each his own02:26
benjimonochrome all the way02:26
fdrakeyou mean the ANSI mess like BBS systems used?02:27
srichteryeah, but the assembly you had to write to get it going was far to easy02:27
fdrakeyeah, those were fun to edit by hand  :-)02:27
*** sashav_ has joined #zope3-dev02:27
*** sashav has quit IRC02:27
*** sashav_ is now known as sashav02:27
srichterI remember the callenge of getting anythign above 640x480 on my graphics card02:27
benjiuh oh, I see this quickly degrading into an "I remember when" contest.  :)02:28
srichterI think I am about to lose, so I concede02:28
benji:)02:28
fdrakeyeah: I remember how glad I was I still had my Hercules card when my EGA died.  :-)02:28
srichterwe did not have access to computers till the wall came down :-(02:28
benjiwow, srichter I remember the wall coming down vividly and how it affected me, but can't imagine the impact it had on your life02:37
srichterwe were on the following Saturday in Berlin; the city was one pure party02:38
srichterit was really great02:38
benjiI bet it was  :)02:40
srichterI think it took us over 3 hours to just get to the outskirts of the city; same on the way back02:41
benjiso you lived near (East) Berlin?02:42
srichtermy parents in law were actually actively in the Monday demonstrations02:42
srichterabout 2 hours away02:42
srichter(when I am driving now about 1 h 15 mins ;-)02:42
benji:)02:42
* benji makes a mental note to not let srichter drive him anywhere02:43
srichterhe he02:44
srichteryou can imagine how annoying it is that the speed limit here is below minimum speed in Germany02:45
srichter(on the interstate/Autobahn that is)02:45
benjiyep, the Virginia speed limits are about 10 mph slower than Tennessee, so it annoys me too :)02:45
fdrakethe speed limit here is generally slower than its safe to go w/ all those other freaks on the road, too02:45
srichteryeah02:47
srichterok, time to go and make dinner02:47
fdrakemake enough to share; I've not eaten yet  :-)02:47
benjiI pitty you two, I'm enjoying some great chicken enchiltatas02:48
fdrakei won't stop you from sharing, either  :-)02:48
srichtermmh, that's an idea too02:48
srichterbut I think I am making spaghetti today with sausage and chicken legs02:48
benjifred, it'll only take you about 30 minutes to get here, stop and get me a Mello Yello on the way  :)02:49
fdrake:-)02:49
benjisausage AND chicken legs???   strange  :)02:49
fdrakesounds good to me....02:49
fdrakeBoston's not that far, and I'd be back in time for the morning meeting....02:49
benji:)02:50
gnosisanyone know how to capture an event from changes in metadata?02:50
*** niemeyer_ has joined #zope3-dev02:50
fdrakedoes an IObjectChangedEvent get generated?02:50
gnosisyea02:51
gnosishow do i distinguish that from just regular changes in the object?02:51
fdrakeit should be easy enough to register a subscriber02:51
fdrakeah; you only care about metadata changes, specifically?02:51
gnosisi got title and description syncing when i change object, now if i change the metadata, it doesn't sync02:52
fdrakei don't think that's easily checkable these days02:52
gnosisah02:52
fdrakethere's a special "partial" dublin core adapter that lets some fields live on the content object02:52
gnosisi saw a depricated event for annotation changes, but that doesn't get fired02:53
fdrakesome people have had problems w/ it, but it worked in an app we built here02:53
fdrakelook in zope.app.dublincore.annotatableadapter02:53
gnosisi'll do that, thanks fdrake02:54
fdrakenp02:54
*** nie_away has quit IRC03:01
gnosisany idea how to configure the partial annotation adapter?  I get a ValueError: only use partialAnnotationAdapterFactory() if at least one DC field is implemented directly???03:05
gnosisi got a title and description field in my content object03:06
fdrakesorry; stepped away for a minute03:18
fdraketake a look at zope.app.dublincore.tests/partial.txt03:19
fdrakethere's not a lot there, but it should be pretty clear what to do03:19
fdrakeif not, let me know03:19
gnosisthanks again fdrake, will check it out03:21
*** stu1 has joined #zope3-dev03:28
*** fdrake has quit IRC03:51
*** benji has quit IRC04:09
*** newpers has joined #zope3-dev04:24
*** niemeyer_ is now known as niemeyer04:40
*** MiUlEr has joined #zope3-dev04:59
*** stu1 has quit IRC05:12
*** srichter has quit IRC05:34
*** niemeyer has quit IRC06:09
*** tvon has joined #zope3-dev06:33
*** stub has joined #zope3-dev06:37
*** srichter has joined #zope3-dev07:06
*** ChanServ sets mode: +o srichter07:06
*** jinty has quit IRC07:09
*** newpers has quit IRC07:10
*** sashav has quit IRC07:13
*** dobee has joined #zope3-dev08:38
*** BjornT has joined #zope3-dev08:43
*** d2m has joined #zope3-dev08:47
*** hdima has joined #zope3-dev09:25
*** MJ has joined #zope3-dev09:48
dobeehi, does anybody know  if and how i can import a class defined in a doctest file e.g README.txt, i would like to use it in another doctest too09:52
hdimadobee: define your class in test_*.py and then import in README.txt10:09
dobeehdima: thx, i did so already but i found another way too which is used in zope.agxassociation10:10
dobeemport unittest10:10
dobeefrom zope.testing import doctest, module10:10
dobeemodule_name = 'zope.agxassociation.association_txt'10:10
dobeedef setUp(test):10:10
dobee    module.setUp(test, module_name)10:10
dobeedef tearDown(test):10:10
dobee    module.tearDown(test, module_name)10:10
dobeedef test_suite():10:10
*** brupp has joined #zope3-dev10:10
dobee    return unittest.TestSuite((10:10
dobee        doctest.DocFileSuite('association.txt',10:10
dobee                             setUp=setUp, tearDown=tearDown),10:10
dobee        ))10:10
dobeeif __name__ == '__main__':10:10
dobee    unittest.main(defaultTest='test_suite')10:10
*** sashav has joined #zope3-dev10:11
hdimayes, you can pass it in the test namespace through setUp10:11
hdimaDocFileSuite("RADME.txt", ..., globs={"MyClass": MyClass})10:13
*** MJ has quit IRC10:26
*** tarek has joined #zope3-dev10:29
*** projekt01 has joined #zope3-dev10:30
*** d2m has quit IRC10:33
*** brupp has quit IRC10:35
*** mgedmin has joined #zope3-dev10:58
*** sashav has quit IRC11:20
*** SteveA_ has quit IRC11:36
*** MJ has joined #zope3-dev11:37
*** sashav has joined #zope3-dev11:48
*** ignas has joined #zope3-dev11:49
*** stub has quit IRC12:26
*** alga has joined #zope3-dev12:27
*** srichter has quit IRC12:42
*** Aiste has joined #zope3-dev12:49
*** alga has quit IRC12:57
*** alga has joined #zope3-dev12:57
*** alga has quit IRC12:58
*** alga has joined #zope3-dev12:58
*** alga has quit IRC12:59
*** alga has joined #zope3-dev13:03
*** mkerrin has joined #zope3-dev13:14
*** vlado has joined #zope3-dev13:22
*** alga has quit IRC13:25
*** alga has joined #zope3-dev13:25
*** alga has quit IRC13:27
*** alga has joined #zope3-dev13:27
*** alga has quit IRC13:31
*** alga has joined #zope3-dev13:31
*** philiKON has joined #zope3-dev13:37
*** alga has quit IRC13:38
*** alga has joined #zope3-dev13:38
philiKONhello13:39
*** srichter has joined #zope3-dev13:47
*** ChanServ sets mode: +o srichter13:48
*** J1m has joined #zope3-dev13:49
philiKONgood morning J1m13:49
philiKONsrichter,13:49
J1mmorning13:49
J1mDo you have any idea if five will work with 3.1 or 3.2 before Nov 1?13:50
philiKONi just thought about the same thing today13:50
philiKONi will work on this soon13:50
philiKONi have scheduled to hunt down a weird deprecation warning in zope 3 trunk tonight13:51
J1mbtw, what is the correct five mailing list?13:51
philiKONwhen that is killed, i want to work on five13:51
philiKONz3-five@codespeak.net13:51
philiKONyou need to be subscribed to post13:51
J1mah, dang13:52
J1mk13:52
J1mI think I am subscribed13:52
philiKONok13:52
J1mbut I went to z3 base and mistakenly thought that it's mailing list was relevent.13:53
philiKONok13:54
*** niemeyer has joined #zope3-dev13:57
*** efge has joined #zope3-dev14:02
*** projekt01 has quit IRC14:09
*** srichter has quit IRC14:22
*** JoaoJoao has joined #zope3-dev14:36
JoaoJoaohello14:37
JoaoJoaoWhere do I set users permissions in Z3?14:37
*** zbir has quit IRC14:38
*** stub has joined #zope3-dev14:39
*** d2m has joined #zope3-dev14:39
*** J1m has quit IRC14:49
JoaoJoaoThis permissions stuff is kinda complicated in Z314:52
*** srichter has joined #zope3-dev14:53
*** srichter has quit IRC14:55
*** srichter has joined #zope3-dev14:56
*** ChanServ sets mode: +o srichter14:59
philiKONJoaoJoao, you mean, where you grant permissions to principals?15:00
*** MrTopf has joined #zope3-dev15:00
philiKONsrichter, should zope.* packages that rely on zope.deprecation not include it in DEPENDENDIES.cfg?15:06
JoaoJoaophiliKON: Yes, found it now15:07
*** MiUlEr has quit IRC15:09
JoaoJoaoNow I'm trying to find out how to make Zope do HTTP authentication using my PAU plugin15:10
*** regebro has joined #zope3-dev15:39
*** mgedmin has quit IRC15:40
*** zbir has joined #zope3-dev15:44
*** benji has joined #zope3-dev15:44
srichterphiliKON: yeah, I think it should be listed as a dependency, if they are not part of zope.app15:46
philiKONok15:46
philiKONwill do that then15:46
srichterthanks a lot15:48
*** bmcru has joined #zope3-dev15:52
bmcruhiall15:52
bmcrudo anyone use SQLObject with zope3.1 ?15:53
philiKONbmcru, #z3-base15:53
bmcruI nearly did start it, but can`t create content15:53
bmcruÏË15:53
bmcru;)15:54
bmcruthere is noone15:54
philiKONthere are about 10 people15:54
philiKONjinty and andres, the current sqlos developers aren't there15:54
philiKONright now15:54
bmcruok, thanks15:55
*** alga has quit IRC15:56
VladDracbmcru: I tried porting it to 3.116:03
VladDracthere's a 3.1 branch with my work16:03
VladDracbut it appears it doesn't even work with vanilla 3.016:03
bmcruheh, as far as i saw it - it didn`t work eather ;)16:04
VladDracsomeone else (keep forgetting the nick) got things working on 3.0 and managed to apply my changes16:04
VladDracdunno if it's in a branch16:04
VladDracbmcru: hold on, you're asking about sqlobject and 3.1?16:05
VladDracor sqlos?16:05
* VladDrac 's using sqlobject (0.6.1) without problems16:05
bmcrusqlos16:05
VladDracoh ok16:05
philiKONthe 3.1 compat branch has been merged to the trunk16:05
philiKONafaik16:06
VladDracah ok16:06
philiKONbut, again, jinty and andres are the most informed guys on this subject16:06
philiKONright bnow16:06
philiKONthey took over development and maintenance16:06
*** jinty has joined #zope3-dev16:09
srichterif you speak of the deveil...16:09
benji:)16:13
*** tiredbones has quit IRC16:16
*** tiredbones has joined #zope3-dev16:18
*** mgedmin has joined #zope3-dev16:21
philiKONbenji, ping16:23
benjiphiliKON, pong16:25
philiKONbenji, i assume that zope.testbrowser carrying ZVSL license headers is just an oversight?16:25
benjiyep16:25
benjifeel free to change it, if you wish16:25
philiKONok16:25
JoaoJoaoWhen I test a connection to a firebird DA, I have this error:16:28
JoaoJoaoTraceback (innermost last):16:28
JoaoJoao  Module zope.publisher.publish, line 138, in publish16:28
JoaoJoao    result = publication.callObject(request, object)16:28
JoaoJoao  Module zope.app.publication.zopepublication, line 164, in callObject16:28
JoaoJoao    return mapply(ob, request.getPositionalArguments(), request)16:28
*** JoaoJoao has quit IRC16:28
*** hdima has quit IRC16:39
*** sashav has quit IRC16:42
*** whit has joined #zope3-dev16:42
*** andrew_m has left #zope3-dev16:46
*** whit has quit IRC16:57
*** sashav has joined #zope3-dev16:57
*** mgedmin has quit IRC16:59
*** bradb has joined #zope3-dev17:07
*** J1m has joined #zope3-dev17:08
*** alga has joined #zope3-dev17:29
*** mgedmin has joined #zope3-dev17:40
*** bradb_ has joined #zope3-dev17:42
*** bradb has quit IRC17:52
*** klaus has joined #zope3-dev17:53
*** bradb_ is now known as bradb17:59
*** philiKON has quit IRC18:16
*** regebro has quit IRC18:17
*** philiKON has joined #zope3-dev18:18
*** stub has quit IRC18:21
*** philiKON has quit IRC18:38
* bmcru is away: sleep 18:57
*** whit has joined #zope3-dev19:16
*** dobee has quit IRC19:20
*** regebro has joined #zope3-dev19:26
*** kyoshi has joined #zope3-dev19:28
*** MrTopf has quit IRC19:29
kyoshihi19:29
*** klaus has quit IRC19:36
*** MJ has quit IRC19:40
*** MJ has joined #zope3-dev19:41
*** alga has quit IRC19:44
*** dobee has joined #zope3-dev19:46
*** regebro has quit IRC19:48
*** dobee has quit IRC20:03
*** vlado has quit IRC20:09
*** dobee has joined #zope3-dev20:10
efgeObjectCopiedEvent doesn't have any reference to the source, shouldn't that be added ? I don't have a concrete use case but it feels useful...20:12
efges/source/original/20:12
*** alga has joined #zope3-dev20:12
*** MJ has quit IRC20:13
*** dobee has quit IRC20:20
srichterefge: +120:22
efgeok I'll add a bug for this20:23
*** srichter has quit IRC20:24
efgehttp://www.zope.org/Collectors/Zope3-dev/47820:32
*** bradb has left #zope3-dev20:40
*** dobee has joined #zope3-dev20:41
*** MacYET has joined #zope3-dev20:48
*** kyoshi has left #zope3-dev20:58
*** tarek has quit IRC21:02
* MacYET is away: NacTroll21:09
*** dobee has quit IRC21:11
*** bradb has joined #zope3-dev21:15
*** mkerrin has quit IRC21:19
*** sashav_ has joined #zope3-dev21:31
*** sashav has quit IRC21:31
*** sashav_ is now known as sashav21:31
*** dobee has joined #zope3-dev21:48
*** efge has quit IRC22:00
*** MacYET has quit IRC22:06
*** MJ has joined #zope3-dev22:10
*** einheit_ has joined #zope3-dev22:12
*** einheit_ is now known as SteveA_22:14
*** dobee has quit IRC22:47
*** whit has quit IRC22:52
*** ignas has quit IRC23:15
*** benji has quit IRC23:23
*** mgedmin has quit IRC23:34
*** alga has quit IRC23:39
*** projekt01 has joined #zope3-dev23:49

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!