IRC log of #zope3-dev for Tuesday, 2005-07-19

*** d2m has quit IRC00:11
*** d2m__ has joined #zope3-dev00:11
*** d2m__ is now known as d2m00:11
*** GvaderTH has joined #zope3-dev00:35
*** timte has quit IRC00:40
*** palmTree has quit IRC00:49
bob2hm01:05
bob2so01:05
bob2one of my doctests tries to access an object's metadata using IAnnotations01:05
bob2in the zcml file, the object's class is delcared as implementing it01:05
bob2will that magically be parsed by the doctest, or do I need to do magic?01:05
bob2I assume there's something I'm missing, since the test failts ;p01:06
*** AJC has joined #zope3-dev01:07
AJCin the current SVN, zope fails to startup zwiki because the lines for getSiteManager & setsiteManager in the zcml are redundant (there twice)01:07
*** bradb is now known as bradb-afk01:09
srichterAJC: feed free to fix it01:18
srichterbob2: no, you have to register the adapters yourself01:18
srichterhowever, there are some nifty helper functions in zope.app.testing.[ztapi|setup]01:18
bob2ah, thank you01:18
bob2page = Page() ; zope.interface.directlyProvides(page, zope.app.annotation.IAnnotations) ; IAnnotations.implementedBy(Page) -> False01:21
srichterIAnnotations.providedBy(page) -> True01:22
srichterbecause you made a statement about the instance not the class01:22
*** yota has quit IRC01:22
bob2ah, right01:22
bob2that distinction just doesn't stick for me, for some reason01:23
*** bcsaller has quit IRC01:27
srichterwell, if you have:01:28
srichterclass Foo:01:28
srichter  f = 001:28
srichterfoo = Foo()01:28
srichterfoo.f = 101:28
srichteryou would not expect Foo.f to be 101:28
srichtersame is true for interfaces01:28
bob2yeah, when I think about it I understand it, I just forget to think ;)01:31
philiKONbob2, also, IAnnotations is probably the wrong interface. you probably want IAttributeAnnotatable01:33
philiKONor some other flavour or Annotatable01:33
bob2yeah, I just realised that01:34
bob2I have 'directlyProvides(page, IAttributeAnnotatable)', then 'self._annotations = IAnnotations(context)', which fails with a "can't adapt" error01:35
bob2where context = page01:35
*** Guzzi has joined #zope3-dev01:38
*** Guzzi has left #zope3-dev01:52
bob2hm, if an object directlyPRovides IAttributeAnnotatable, should IAnnotations.providedBy return true?01:59
bob2I'm guessing not, and it's just that there's an adapter from IAttributeAnnotatable to IAnnotations02:00
*** MiUlEr has joined #zope3-dev02:02
*** SteveA has quit IRC02:04
*** WebMaven has joined #zope3-dev02:23
*** apoirier has joined #zope3-dev02:33
*** stub has quit IRC02:35
*** apoirier has quit IRC02:49
*** WebMaven has quit IRC02:54
*** mexiKON has joined #zope3-dev02:56
*** REdOG has joined #zope3-dev03:01
*** SureshZ has quit IRC03:02
*** MiUlEr has quit IRC03:08
*** philiKON has quit IRC03:13
*** Theuni has quit IRC04:25
*** Theuni has joined #zope3-dev04:26
*** __mac__ has quit IRC04:27
*** SureshZ has joined #zope3-dev04:53
*** SureshZ has left #zope3-dev06:53
*** bob2 has quit IRC07:18
*** bob2 has joined #zope3-dev07:19
*** zagy has joined #zope3-dev08:55
*** hdima has joined #zope3-dev09:06
*** j-w has joined #zope3-dev09:23
*** d2m has quit IRC09:29
*** __mac__2 has joined #zope3-dev09:47
*** __mac__2 is now known as __mac__09:47
*** MrTopf has joined #zope3-dev10:02
*** sashav_ has joined #zope3-dev10:38
*** yota has joined #zope3-dev10:48
AJCsrichter, i can't fix it as i don't have developer SVN access.  it's faster for someone here with SVN access to edit the file, there are about 5 lines to remove.10:50
mexiKONAJC, you can become a contributor quite easily11:13
mexiKONwe can't check in somebody else's code11:13
AJCi don't have enough knowledge to become a contributor, i just spotted an error in the zwiki configure.zcml that doesn't run with the latest code11:14
*** tarek has joined #zope3-dev11:25
*** jinty has quit IRC11:35
*** MrTopf has quit IRC11:40
VladDracfile a bugreport + patch in the collector?11:46
*** d2m has joined #zope3-dev12:15
AJCVladDrac, it's really not worth it.  any developer here could do it in a minute.12:19
AJCless even12:19
*** MrTopf has joined #zope3-dev12:27
*** oferw has joined #zope3-dev12:28
*** anguenot has joined #zope3-dev12:31
*** J1m has quit IRC12:32
*** mkerrin has joined #zope3-dev12:44
*** oferw has quit IRC13:02
*** Mudry has left #zope3-dev13:08
*** gintas has joined #zope3-dev13:58
srichterAJC: please file a bug; this way we will not forget13:58
*** mgedmin has joined #zope3-dev14:01
*** faassen has joined #zope3-dev14:13
*** MacYET has joined #zope3-dev14:59
MacYETmorning14:59
*** oferw has joined #zope3-dev15:06
srichterhi15:07
srichterMacYET: you said you were at a concert the other day; which group was playing; REM?15:07
MacYETconcert? when?15:07
MacYET:)15:07
* MacYET thinks15:07
srichterabout 2 weeks back15:08
srichtermaybe 315:08
MacYETah...RSO STG :)15:08
srichterah, I see :-)15:08
MacYETradio symphonie orchestra stuttgart15:08
srichternice15:08
MacYETloud15:09
*** timte has joined #zope3-dev15:12
srichterAre you coming to the Neckar sprint?15:13
srichterhttp://www.zope.org/Members/oestermeier/NeckarSprint15:13
* MacYET reads15:13
* MacYET lives in tübingen :)15:13
MacYETso it's just down the street:)15:13
srichtercool :-)15:14
srichterso it's mandatory for you :-)15:14
srichter(Didn't you tell me one time you live in Saarbruecken?)15:14
MacYETi moved two yrs ago15:15
srichterI see15:15
MacYETjust added myself to the participants list15:19
srichtercool! :-)15:19
* MacYET reads "catalog"15:22
* MacYET should better cancel15:22
MacYET:)15:22
mexiKONhaha15:27
MacYETdie stimme auf dem off15:28
mexiKONsrichter, wow, you're coaching? you're in .de at the time?15:28
mexiKON(i won't be unfortunately)15:28
MacYEThow bad :(15:29
srichtermexiKON: Uwe's Institute is so kind to pay the travel costs15:31
MacYETmy taxes :)15:31
srichterMacYET: don't worry, mine too :-)15:32
MacYETyou#re paying taxes in DE?:)15:32
mexiKONsrichter, ah, right, i remember there was something like that15:32
mexiKONsrichter, he asked me too whether i could coach, but, as you now know, i can't15:33
srichterMacYET: I did till this year; I had a German company and the gov got plenty of it from me ;-|15:33
srichterright, he told me15:34
mexiKONah, you were still doing business w/ your german company?15:34
srichterMacYET: but this year we unregistered in Germany and we are now officially non-domestic citizens15:34
srichtermexiKON: shifting it to the US right now; less taxes :-)15:35
mexiKONhehe15:35
MacYETGermany.unregister(srichter)15:37
srichterLOL15:38
* bob2 wonders why germany just doesn't implement the INotTaxTooMuch interface15:38
Theuniit does15:39
MacYETGermany implements a lot of interfaces derived from ISucks15:39
Theuniyou have to provide an adapter from ISuckyPolititicansAndIndustry15:39
srichterbob2: because: if tax[2005] < tax[2004]: raise CollpaseOfStateError15:39
bob2but also ISocialServices, I hear15:39
bob2srichter: haha15:39
* MacYET works on ranking for txng15:40
srichteroh, time to watch tour de france :-) (I know, I know; the coverage starts late in the US)15:40
srichterMacYET: I am looking forward to a good intro to txng in general ;-)15:42
MacYETread the sources :)15:43
j-wsrichter: its already clear who will win anyway...15:43
bob2I made a disturbing realisation the other day15:44
bob2er, had15:44
bob2even tho zope3 is pretty complicated, the source itself is really quite readable15:44
*** projekt01 has joined #zope3-dev15:46
*** jinty has joined #zope3-dev15:50
* MacYET goes spanking some co-workers indenting ZPTs with tabs15:51
MacYETdisgusting...15:51
srichterugh, ...15:57
*** genconc has joined #zope3-dev15:59
*** bradb-afk is now known as bradb16:01
*** oferw has quit IRC16:05
*** SteveA has joined #zope3-dev16:16
*** alga has joined #zope3-dev16:23
*** sashav_ has quit IRC16:56
*** hdima has quit IRC17:19
*** stub has joined #zope3-dev17:25
*** niemeyer has joined #zope3-dev17:28
*** zagy_ has joined #zope3-dev18:14
*** FastCreep has joined #zope3-dev18:20
*** zagy has quit IRC18:22
faassenis it possible ZOPE_WATCH_CHECKERS is not being responded to correctly?18:34
faassenI'm trying to debug security but setting ZOPE_WATCH_CHECKERS is not very helpful; it tells me when some stuff is allowed if I put the value high enough, but not the denieds I'm interested..18:35
faassenin..18:35
*** FarcePest has quit IRC18:36
*** MacYET has quit IRC18:50
*** FastCreep is now known as FarcePest18:51
*** projekt01 has quit IRC19:01
*** MrTopf has quit IRC19:06
*** bradb is now known as bradb-lunch19:09
AJChow many instances of a zope daemon can I run on one machine?  i'm trying to have a development server on 8081 and production on 8080... doesn't seem to work19:18
Theuniwhat's the error message?19:23
AJCnone, z3.log is empty19:23
Theuniyou can run as many as your hardware holds on to (cpu, memory etc)19:23
Theunitry starting it with zopectl fg19:24
AJCzopectl seems ok, just can't connect19:24
Theuni?!?19:24
Theuniso the process is still running?19:24
AJCi can run in the foreground just fine with 'python bin/runzope'19:24
Theunihmm.19:25
AJCseems ok with fg19:25
AJCbleh, seems fine now.  thanks19:27
*** j-w has quit IRC19:33
*** projekt01 has joined #zope3-dev19:39
*** jinty has quit IRC19:39
*** dman13_ has joined #zope3-dev19:43
*** dman13 has quit IRC19:49
SteveAfaassen: ZOPE_WATCH_CHECKERS is most likely broken19:49
SteveAbecause it seems that whenever someone introduces C code into zope3 to optimise something19:50
SteveAthe tests run only with the C libraries, and not the equivalent python libraries19:50
SteveAso the python libraries rot19:50
*** gintas has quit IRC19:58
AJCwhen does it make sense to use Zope3 FTP?20:02
faassenSteveA: well, but the problem with that theory is..20:05
faassenSteveA: is taht it subclasses the C version and wraps it.20:05
faassenSteveA: but that seems to be failing. of course, there appear to be no tests for this behavior.20:06
faassenSteveA: for Python or C. :)20:06
faassenSteveA: but yeah, the python libraries also rotted away20:06
*** bradb-lunch is now known as bradb20:08
*** projekt01 has quit IRC20:12
*** mkerrin has quit IRC20:25
*** anguenot has quit IRC20:48
*** faassen has quit IRC21:15
*** MrTopf has joined #zope3-dev21:17
*** regebro has quit IRC21:40
*** dman13_ is now known as dman1322:05
*** mgedmin has quit IRC22:08
*** tav_ has joined #zope3-dev22:36
*** tav has quit IRC22:42
*** alga has quit IRC22:46
*** MrTopf has quit IRC23:25
*** bskahan has joined #zope3-dev23:30
*** bskahan has quit IRC23:42
*** bskahan has joined #zope3-dev23:47
*** timte has quit IRC23:53

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