*** d2m has quit IRC | 00:11 | |
*** d2m__ has joined #zope3-dev | 00:11 | |
*** d2m__ is now known as d2m | 00:11 | |
*** GvaderTH has joined #zope3-dev | 00:35 | |
*** timte has quit IRC | 00:40 | |
*** palmTree has quit IRC | 00:49 | |
bob2 | hm | 01:05 |
---|---|---|
bob2 | so | 01:05 |
bob2 | one of my doctests tries to access an object's metadata using IAnnotations | 01:05 |
bob2 | in the zcml file, the object's class is delcared as implementing it | 01:05 |
bob2 | will that magically be parsed by the doctest, or do I need to do magic? | 01:05 |
bob2 | I assume there's something I'm missing, since the test failts ;p | 01:06 |
*** AJC has joined #zope3-dev | 01:07 | |
AJC | in 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-afk | 01:09 | |
srichter | AJC: feed free to fix it | 01:18 |
srichter | bob2: no, you have to register the adapters yourself | 01:18 |
srichter | however, there are some nifty helper functions in zope.app.testing.[ztapi|setup] | 01:18 |
bob2 | ah, thank you | 01:18 |
bob2 | page = Page() ; zope.interface.directlyProvides(page, zope.app.annotation.IAnnotations) ; IAnnotations.implementedBy(Page) -> False | 01:21 |
srichter | IAnnotations.providedBy(page) -> True | 01:22 |
srichter | because you made a statement about the instance not the class | 01:22 |
*** yota has quit IRC | 01:22 | |
bob2 | ah, right | 01:22 |
bob2 | that distinction just doesn't stick for me, for some reason | 01:23 |
*** bcsaller has quit IRC | 01:27 | |
srichter | well, if you have: | 01:28 |
srichter | class Foo: | 01:28 |
srichter | f = 0 | 01:28 |
srichter | foo = Foo() | 01:28 |
srichter | foo.f = 1 | 01:28 |
srichter | you would not expect Foo.f to be 1 | 01:28 |
srichter | same is true for interfaces | 01:28 |
bob2 | yeah, when I think about it I understand it, I just forget to think ;) | 01:31 |
philiKON | bob2, also, IAnnotations is probably the wrong interface. you probably want IAttributeAnnotatable | 01:33 |
philiKON | or some other flavour or Annotatable | 01:33 |
bob2 | yeah, I just realised that | 01:34 |
bob2 | I have 'directlyProvides(page, IAttributeAnnotatable)', then 'self._annotations = IAnnotations(context)', which fails with a "can't adapt" error | 01:35 |
bob2 | where context = page | 01:35 |
*** Guzzi has joined #zope3-dev | 01:38 | |
*** Guzzi has left #zope3-dev | 01:52 | |
bob2 | hm, if an object directlyPRovides IAttributeAnnotatable, should IAnnotations.providedBy return true? | 01:59 |
bob2 | I'm guessing not, and it's just that there's an adapter from IAttributeAnnotatable to IAnnotations | 02:00 |
*** MiUlEr has joined #zope3-dev | 02:02 | |
*** SteveA has quit IRC | 02:04 | |
*** WebMaven has joined #zope3-dev | 02:23 | |
*** apoirier has joined #zope3-dev | 02:33 | |
*** stub has quit IRC | 02:35 | |
*** apoirier has quit IRC | 02:49 | |
*** WebMaven has quit IRC | 02:54 | |
*** mexiKON has joined #zope3-dev | 02:56 | |
*** REdOG has joined #zope3-dev | 03:01 | |
*** SureshZ has quit IRC | 03:02 | |
*** MiUlEr has quit IRC | 03:08 | |
*** philiKON has quit IRC | 03:13 | |
*** Theuni has quit IRC | 04:25 | |
*** Theuni has joined #zope3-dev | 04:26 | |
*** __mac__ has quit IRC | 04:27 | |
*** SureshZ has joined #zope3-dev | 04:53 | |
*** SureshZ has left #zope3-dev | 06:53 | |
*** bob2 has quit IRC | 07:18 | |
*** bob2 has joined #zope3-dev | 07:19 | |
*** zagy has joined #zope3-dev | 08:55 | |
*** hdima has joined #zope3-dev | 09:06 | |
*** j-w has joined #zope3-dev | 09:23 | |
*** d2m has quit IRC | 09:29 | |
*** __mac__2 has joined #zope3-dev | 09:47 | |
*** __mac__2 is now known as __mac__ | 09:47 | |
*** MrTopf has joined #zope3-dev | 10:02 | |
*** sashav_ has joined #zope3-dev | 10:38 | |
*** yota has joined #zope3-dev | 10:48 | |
AJC | srichter, 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 |
mexiKON | AJC, you can become a contributor quite easily | 11:13 |
mexiKON | we can't check in somebody else's code | 11:13 |
AJC | i 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 code | 11:14 |
*** tarek has joined #zope3-dev | 11:25 | |
*** jinty has quit IRC | 11:35 | |
*** MrTopf has quit IRC | 11:40 | |
VladDrac | file a bugreport + patch in the collector? | 11:46 |
*** d2m has joined #zope3-dev | 12:15 | |
AJC | VladDrac, it's really not worth it. any developer here could do it in a minute. | 12:19 |
AJC | less even | 12:19 |
*** MrTopf has joined #zope3-dev | 12:27 | |
*** oferw has joined #zope3-dev | 12:28 | |
*** anguenot has joined #zope3-dev | 12:31 | |
*** J1m has quit IRC | 12:32 | |
*** mkerrin has joined #zope3-dev | 12:44 | |
*** oferw has quit IRC | 13:02 | |
*** Mudry has left #zope3-dev | 13:08 | |
*** gintas has joined #zope3-dev | 13:58 | |
srichter | AJC: please file a bug; this way we will not forget | 13:58 |
*** mgedmin has joined #zope3-dev | 14:01 | |
*** faassen has joined #zope3-dev | 14:13 | |
*** MacYET has joined #zope3-dev | 14:59 | |
MacYET | morning | 14:59 |
*** oferw has joined #zope3-dev | 15:06 | |
srichter | hi | 15:07 |
srichter | MacYET: you said you were at a concert the other day; which group was playing; REM? | 15:07 |
MacYET | concert? when? | 15:07 |
MacYET | :) | 15:07 |
* MacYET thinks | 15:07 | |
srichter | about 2 weeks back | 15:08 |
srichter | maybe 3 | 15:08 |
MacYET | ah...RSO STG :) | 15:08 |
srichter | ah, I see :-) | 15:08 |
MacYET | radio symphonie orchestra stuttgart | 15:08 |
srichter | nice | 15:08 |
MacYET | loud | 15:09 |
*** timte has joined #zope3-dev | 15:12 | |
srichter | Are you coming to the Neckar sprint? | 15:13 |
srichter | http://www.zope.org/Members/oestermeier/NeckarSprint | 15:13 |
* MacYET reads | 15:13 | |
* MacYET lives in tübingen :) | 15:13 | |
MacYET | so it's just down the street:) | 15:13 |
srichter | cool :-) | 15:14 |
srichter | so it's mandatory for you :-) | 15:14 |
srichter | (Didn't you tell me one time you live in Saarbruecken?) | 15:14 |
MacYET | i moved two yrs ago | 15:15 |
srichter | I see | 15:15 |
MacYET | just added myself to the participants list | 15:19 |
srichter | cool! :-) | 15:19 |
* MacYET reads "catalog" | 15:22 | |
* MacYET should better cancel | 15:22 | |
MacYET | :) | 15:22 |
mexiKON | haha | 15:27 |
MacYET | die stimme auf dem off | 15:28 |
mexiKON | srichter, wow, you're coaching? you're in .de at the time? | 15:28 |
mexiKON | (i won't be unfortunately) | 15:28 |
MacYET | how bad :( | 15:29 |
srichter | mexiKON: Uwe's Institute is so kind to pay the travel costs | 15:31 |
MacYET | my taxes :) | 15:31 |
srichter | MacYET: don't worry, mine too :-) | 15:32 |
MacYET | you#re paying taxes in DE?:) | 15:32 |
mexiKON | srichter, ah, right, i remember there was something like that | 15:32 |
mexiKON | srichter, he asked me too whether i could coach, but, as you now know, i can't | 15:33 |
srichter | MacYET: I did till this year; I had a German company and the gov got plenty of it from me ;-| | 15:33 |
srichter | right, he told me | 15:34 |
mexiKON | ah, you were still doing business w/ your german company? | 15:34 |
srichter | MacYET: but this year we unregistered in Germany and we are now officially non-domestic citizens | 15:34 |
srichter | mexiKON: shifting it to the US right now; less taxes :-) | 15:35 |
mexiKON | hehe | 15:35 |
MacYET | Germany.unregister(srichter) | 15:37 |
srichter | LOL | 15:38 |
* bob2 wonders why germany just doesn't implement the INotTaxTooMuch interface | 15:38 | |
Theuni | it does | 15:39 |
MacYET | Germany implements a lot of interfaces derived from ISucks | 15:39 |
Theuni | you have to provide an adapter from ISuckyPolititicansAndIndustry | 15:39 |
srichter | bob2: because: if tax[2005] < tax[2004]: raise CollpaseOfStateError | 15:39 |
bob2 | but also ISocialServices, I hear | 15:39 |
bob2 | srichter: haha | 15:39 |
* MacYET works on ranking for txng | 15:40 | |
srichter | oh, time to watch tour de france :-) (I know, I know; the coverage starts late in the US) | 15:40 |
srichter | MacYET: I am looking forward to a good intro to txng in general ;-) | 15:42 |
MacYET | read the sources :) | 15:43 |
j-w | srichter: its already clear who will win anyway... | 15:43 |
bob2 | I made a disturbing realisation the other day | 15:44 |
bob2 | er, had | 15:44 |
bob2 | even tho zope3 is pretty complicated, the source itself is really quite readable | 15:44 |
*** projekt01 has joined #zope3-dev | 15:46 | |
*** jinty has joined #zope3-dev | 15:50 | |
* MacYET goes spanking some co-workers indenting ZPTs with tabs | 15:51 | |
MacYET | disgusting... | 15:51 |
srichter | ugh, ... | 15:57 |
*** genconc has joined #zope3-dev | 15:59 | |
*** bradb-afk is now known as bradb | 16:01 | |
*** oferw has quit IRC | 16:05 | |
*** SteveA has joined #zope3-dev | 16:16 | |
*** alga has joined #zope3-dev | 16:23 | |
*** sashav_ has quit IRC | 16:56 | |
*** hdima has quit IRC | 17:19 | |
*** stub has joined #zope3-dev | 17:25 | |
*** niemeyer has joined #zope3-dev | 17:28 | |
*** zagy_ has joined #zope3-dev | 18:14 | |
*** FastCreep has joined #zope3-dev | 18:20 | |
*** zagy has quit IRC | 18:22 | |
faassen | is it possible ZOPE_WATCH_CHECKERS is not being responded to correctly? | 18:34 |
faassen | I'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 |
faassen | in.. | 18:35 |
*** FarcePest has quit IRC | 18:36 | |
*** MacYET has quit IRC | 18:50 | |
*** FastCreep is now known as FarcePest | 18:51 | |
*** projekt01 has quit IRC | 19:01 | |
*** MrTopf has quit IRC | 19:06 | |
*** bradb is now known as bradb-lunch | 19:09 | |
AJC | how 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 work | 19:18 |
Theuni | what's the error message? | 19:23 |
AJC | none, z3.log is empty | 19:23 |
Theuni | you can run as many as your hardware holds on to (cpu, memory etc) | 19:23 |
Theuni | try starting it with zopectl fg | 19:24 |
AJC | zopectl seems ok, just can't connect | 19:24 |
Theuni | ?!? | 19:24 |
Theuni | so the process is still running? | 19:24 |
AJC | i can run in the foreground just fine with 'python bin/runzope' | 19:24 |
Theuni | hmm. | 19:25 |
AJC | seems ok with fg | 19:25 |
AJC | bleh, seems fine now. thanks | 19:27 |
*** j-w has quit IRC | 19:33 | |
*** projekt01 has joined #zope3-dev | 19:39 | |
*** jinty has quit IRC | 19:39 | |
*** dman13_ has joined #zope3-dev | 19:43 | |
*** dman13 has quit IRC | 19:49 | |
SteveA | faassen: ZOPE_WATCH_CHECKERS is most likely broken | 19:49 |
SteveA | because it seems that whenever someone introduces C code into zope3 to optimise something | 19:50 |
SteveA | the tests run only with the C libraries, and not the equivalent python libraries | 19:50 |
SteveA | so the python libraries rot | 19:50 |
*** gintas has quit IRC | 19:58 | |
AJC | when does it make sense to use Zope3 FTP? | 20:02 |
faassen | SteveA: well, but the problem with that theory is.. | 20:05 |
faassen | SteveA: is taht it subclasses the C version and wraps it. | 20:05 |
faassen | SteveA: but that seems to be failing. of course, there appear to be no tests for this behavior. | 20:06 |
faassen | SteveA: for Python or C. :) | 20:06 |
faassen | SteveA: but yeah, the python libraries also rotted away | 20:06 |
*** bradb-lunch is now known as bradb | 20:08 | |
*** projekt01 has quit IRC | 20:12 | |
*** mkerrin has quit IRC | 20:25 | |
*** anguenot has quit IRC | 20:48 | |
*** faassen has quit IRC | 21:15 | |
*** MrTopf has joined #zope3-dev | 21:17 | |
*** regebro has quit IRC | 21:40 | |
*** dman13_ is now known as dman13 | 22:05 | |
*** mgedmin has quit IRC | 22:08 | |
*** tav_ has joined #zope3-dev | 22:36 | |
*** tav has quit IRC | 22:42 | |
*** alga has quit IRC | 22:46 | |
*** MrTopf has quit IRC | 23:25 | |
*** bskahan has joined #zope3-dev | 23:30 | |
*** bskahan has quit IRC | 23:42 | |
*** bskahan has joined #zope3-dev | 23:47 | |
*** timte has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!