*** niemeyer has joined #zope3-dev | 00:04 | |
*** solaries has joined #zope3-dev | 00:10 | |
*** solaries has left #zope3-dev | 00:18 | |
*** srichter has quit IRC | 01:22 | |
*** stub has joined #zope3-dev | 01:36 | |
*** jhauser_ has quit IRC | 01:38 | |
*** hazmat has quit IRC | 02:22 | |
*** hazmat has joined #zope3-dev | 02:36 | |
*** d2m has quit IRC | 03:07 | |
*** niemeyer has quit IRC | 03:56 | |
*** hazmat has quit IRC | 04:00 | |
*** RaFromBRC has joined #zope3-dev | 04:04 | |
*** RaFromBRC_ has joined #zope3-dev | 04:10 | |
*** RaFromBRC has quit IRC | 04:14 | |
*** RaFromBRC has joined #zope3-dev | 04:18 | |
*** RaFromBRC__ has joined #zope3-dev | 04:23 | |
*** RaFromBRC__ has quit IRC | 04:35 | |
*** hazmat has joined #zope3-dev | 04:41 | |
*** RaFromBRC has quit IRC | 04:44 | |
*** RaFromBRC_ has quit IRC | 04:45 | |
*** stub has quit IRC | 04:46 | |
*** J1m has quit IRC | 05:23 | |
*** RaFromBRC has joined #zope3-dev | 05:30 | |
*** RaFromBRC has quit IRC | 05:32 | |
*** hazmat has quit IRC | 06:58 | |
*** bradb has quit IRC | 06:58 | |
*** weeti has quit IRC | 06:58 | |
*** hazmat has joined #zope3-dev | 06:58 | |
*** bradb has joined #zope3-dev | 06:58 | |
*** weeti has joined #zope3-dev | 06:58 | |
*** bradb has quit IRC | 07:42 | |
*** hazmat is now known as haz-tennis | 07:43 | |
*** bradb has joined #zope3-dev | 07:56 | |
*** __gotcha__ has joined #zope3-dev | 07:59 | |
*** __gotcha has quit IRC | 08:14 | |
*** haz-tennis has quit IRC | 08:55 | |
*** sashav has quit IRC | 08:55 | |
*** zagy has joined #zope3-dev | 08:59 | |
*** hazmat has joined #zope3-dev | 09:12 | |
*** bskahan has quit IRC | 09:26 | |
*** sashav has joined #zope3-dev | 10:14 | |
*** sashav has joined #zope3-dev | 10:20 | |
*** ChanServ sets mode: +o tav | 10:23 | |
*** alakdan has joined #zope3-dev | 10:31 | |
*** SteveA has quit IRC | 10:42 | |
*** SteveA has joined #zope3-dev | 11:05 | |
*** d2m has joined #zope3-dev | 11:17 | |
*** hazmat has quit IRC | 11:47 | |
*** stub has joined #zope3-dev | 11:48 | |
*** alakdan has left #zope3-dev | 11:48 | |
*** gintas has joined #zope3-dev | 11:59 | |
VladDrac | ZopeXMLConfigurationError: File "/home/ivo/Work/Zope3/instances/zope3-plog/lib/python/book/messageboard/browser/configure.zcml", line 131.2-137.40 | 12:25 |
---|---|---|
VladDrac | ConfigurationError: ('Invalid value for', 'class', "Couldn't import book.messageboard.browser.message, No module named smileyutility") | 12:25 |
VladDrac | hmmm | 12:25 |
SteveA | looks like an import error in the class | 12:25 |
SteveA | which in turn means there aren't enough unit tests | 12:26 |
VladDrac | no | 12:26 |
VladDrac | figured it out | 12:26 |
VladDrac | smileyutility is also a subpackage of book | 12:26 |
SteveA | PYTHONPATH ? | 12:26 |
VladDrac | srichter hasn't documented this I think | 12:26 |
VladDrac | hmm | 12:30 |
VladDrac | it's just not complete.. I guess srichter hasn't finished step13 yet | 12:30 |
VladDrac | (or not checked in his smileyutility | 12:31 |
*** vlado has joined #zope3-dev | 12:33 | |
SteveA | what i mean is, there's obviously no unit test that tries to import book.messageboard.browser.message | 12:33 |
SteveA | if there were, this error would have been caught before you tried to load the zcml | 12:33 |
*** Aiste has joined #zope3-dev | 13:12 | |
*** Theuni has quit IRC | 13:19 | |
*** stub has left #zope3-dev | 13:20 | |
*** Theuni has joined #zope3-dev | 13:29 | |
*** niemeyer has joined #zope3-dev | 13:58 | |
*** mgedmin has joined #zope3-dev | 14:13 | |
VladDrac | true | 14:52 |
*** alga_ has joined #zope3-dev | 14:58 | |
*** gintas has quit IRC | 14:59 | |
*** gintas has joined #zope3-dev | 15:29 | |
*** MalcolmC has joined #zope3-dev | 15:37 | |
*** srichter has joined #zope3-dev | 15:43 | |
*** ChanServ sets mode: +o srichter | 15:43 | |
* mgedmin wants to see how container constraints are implemented in zope 3 | 16:14 | |
* mgedmin sees no events in sight | 16:25 | |
*** alakdan has joined #zope3-dev | 16:28 | |
srichter | mgedmin: I think it is not done via events | 16:28 |
srichter | see zope.app.container.constraints | 16:28 |
mgedmin | yes, I've noticed | 16:29 |
srichter | the sample container, from which the BTree container is derived, uses a special setitem function, which does the check I think | 16:29 |
mgedmin | I'm porting SchoolTool's many-to-many relationships infrastructure to be more Zope3-like | 16:29 |
mgedmin | I was thinking about implementing constraints via events | 16:30 |
*** d2m has quit IRC | 16:30 | |
srichter | I would bet that you a change to an event-based check would be quickly approved | 16:30 |
*** d2m_ has joined #zope3-dev | 16:30 | |
alakdan | hello, is this the appropriate channel to ask regarding the program examples on the zope3 book? | 16:30 |
srichter | yes | 16:30 |
srichter | BTW, to all, I just received my paper copy of the book :-) | 16:31 |
* mgedmin wonders if there are any good examples in Zope 3 sources of using events for constraints | 16:31 | |
srichter | not for constraints | 16:32 |
srichter | but basically you just copty the checking code to the event handler | 16:32 |
alakdan | k thanks, im just starting out with zope, and currently reading the chapter 13 (Writing a new Content Object). Im stucked with Running Unit Tests against Implementation. | 16:33 |
srichter | all you need to do is to raise the correct exception | 16:33 |
*** bcsaller has joined #zope3-dev | 16:33 | |
bcsaller | hi | 16:33 |
*** tvon has joined #zope3-dev | 16:34 | |
srichter | alakdan: there is a bug in the online code example; you can look at the SVN version, which will work | 16:34 |
alakdan | when I run ./bin/test -vpu --dir src/book/messageboard , I get errors. | 16:34 |
srichter | bcsaller: hi | 16:34 |
srichter | yep, because of the typo | 16:34 |
srichter | alakdan: see http://svn.zope.org/book/trunk/messageboard/step01/ | 16:35 |
srichter | look at interfaces.py, which is the problem | 16:35 |
alakdan | srichter: ok | 16:36 |
*** Theuni has quit IRC | 16:41 | |
alakdan | srichter: I still get errors (did the ln -s messageboard/stepX Zope3/src/book/messageboard), I just need some clarification, should the code be located inside the zope instance directory? I have a zope instance at /home/alakdan/zope/zopehome/src | 16:42 |
*** J1m has joined #zope3-dev | 16:43 | |
srichter | ZopeInstance/lib/python/messageboard | 16:43 |
*** hazmat has joined #zope3-dev | 16:43 | |
J1m | srichter, were you able to reproduce/fix the message board problem? | 16:44 |
srichter | the online version refers to the SVN checkout not the release | 16:44 |
srichter | I still have to update the chapters | 16:44 |
srichter | J1m: you mean the bug tracker | 16:44 |
srichter | ? | 16:44 |
J1m | ah yes, sorry | 16:45 |
srichter | J1m: no time right now; I have my quals on Saturday | 16:45 |
J1m | k | 16:45 |
alakdan | srichter: http://rafb.net/paste/results/bycykP80.html | 16:47 |
srichter | alakdan: you have to put book into zopehome/lib.python | 16:49 |
srichter | alakdan: you have to put book into zopehome/lib/python | 16:49 |
srichter | ok, gotta study now | 16:49 |
alakdan | srichter: ok, thanks a lot! | 16:49 |
alakdan | :) | 16:49 |
*** sashav has quit IRC | 17:25 | |
*** SteveA_ has joined #zope3-dev | 17:42 | |
*** SteveA has quit IRC | 17:43 | |
*** SteveA_ is now known as SteveA | 17:43 | |
*** faassen has joined #zope3-dev | 18:16 | |
VladDrac | srichter: so where is book.smileyutility? :) | 18:19 |
*** bskahan has joined #zope3-dev | 18:28 | |
srichter | VladDrac: http://svn.zope.org/book/trunk/smileyutility/ | 18:29 |
*** hazmat has quit IRC | 19:25 | |
*** bskahan has quit IRC | 19:32 | |
*** SteveA has quit IRC | 19:48 | |
*** SteveA has joined #zope3-dev | 19:57 | |
*** sashav has joined #zope3-dev | 20:20 | |
*** gintas has quit IRC | 20:29 | |
*** tvon has quit IRC | 20:31 | |
*** faassen has quit IRC | 20:32 | |
*** MalcolmC has quit IRC | 20:34 | |
*** Theuni has joined #zope3-dev | 20:44 | |
*** vlado has quit IRC | 20:46 | |
* mgedmin idly tries profiling zope.app.server.main.setup with hotshot | 22:14 | |
mgedmin | the biggest chunk (almost 6%) of startup time is spent in zope/interface/interface.py, in a <lambda> defined line 250 | 22:14 |
mgedmin | in class Specification: __bases__ = property(lambda self: self.__dict__.get('__bases__', ()), __setBases) | 22:15 |
mgedmin | it is called 80000 times | 22:16 |
* mgedmin gets a slightly different result next time and is baffled | 22:20 | |
Damascene | yeah i'm not sure why my startup times vary a bit sometimes | 22:20 |
Damascene | (on the same near-zero load servers) | 22:20 |
srichter | Damascene: because loaded files seem to be in some sort of OS cache | 22:20 |
srichter | after the first startup, my time drops from 10 sec to 3 sec | 22:21 |
mgedmin | on the next run _add_named_adapter from adapter.py and resolve from config.py ate more time than that lambda | 22:21 |
*** SteveA has quit IRC | 22:27 | |
*** gintas has joined #zope3-dev | 22:33 | |
*** The|uni has joined #zope3-dev | 22:41 | |
*** srichter has quit IRC | 22:45 | |
*** SteveA has joined #zope3-dev | 22:45 | |
*** Aiste has quit IRC | 22:54 | |
*** niemeyer has quit IRC | 23:07 | |
*** Theuni has quit IRC | 23:11 | |
*** mgedmin has quit IRC | 23:17 | |
*** The|uni has quit IRC | 23:56 | |
*** alga_ has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!