*** niemeyer is now known as nie_coffee | 00:20 | |
*** povbot has joined #zope3-dev | 00:20 | |
*** nie_coffee is now known as niemeyer | 00:27 | |
*** __gotcha is now known as __gotchaway | 00:37 | |
*** GaryPoster has joined #zope3-dev | 00:44 | |
benji_york | hi GaryPoster | 00:44 |
---|---|---|
GaryPoster | hi benji_york. i miss my mac. :-) | 00:45 |
benji_york | I'm sure you do | 00:45 |
benji_york | what color am I now? | 00:46 |
benji_york | what color am I when I say GaryPoster ? | 00:46 |
GaryPoster | You are brown, benji_york. | 00:47 |
GaryPoster | Something else (is this a fascinating zope3-dev conversation?) | 00:47 |
GaryPoster | Try saying my name now, benji_york | 00:49 |
benji_york | GaryPoster | 00:49 |
*** tvon has quit IRC | 00:53 | |
*** __gotcha__ has joined #zope3-dev | 01:04 | |
*** __gotcha__ is now known as __gotcha | 01:04 | |
*** GaryPoster has left #zope3-dev | 01:04 | |
benji_york | bye all | 01:15 |
*** benji_york has left #zope3-dev | 01:15 | |
*** __gotchaway has quit IRC | 01:18 | |
*** tvon has joined #zope3-dev | 01:32 | |
*** projekt01 has joined #zope3-dev | 01:34 | |
*** fdrake has left #zope3-dev | 01:43 | |
*** roym has quit IRC | 02:41 | |
*** SureshZ has quit IRC | 02:44 | |
*** SureshZ has joined #zope3-dev | 02:45 | |
*** yota has quit IRC | 02:53 | |
projekt01 | srichter, ayt? | 02:54 |
*** niemeyer is now known as nie_dinner | 03:24 | |
*** tav has quit IRC | 03:52 | |
*** nie_dinner is now known as niemeyer | 03:58 | |
*** tav has joined #zope3-dev | 03:58 | |
*** projekt01 has quit IRC | 05:31 | |
*** mexiKON has joined #zope3-dev | 06:19 | |
*** niemeyer has quit IRC | 06:24 | |
*** philiKON has quit IRC | 06:36 | |
*** stub has joined #zope3-dev | 06:43 | |
*** suresh has joined #zope3-dev | 07:25 | |
*** d2m has quit IRC | 07:28 | |
*** d2m has joined #zope3-dev | 07:28 | |
*** SureshZ has quit IRC | 07:41 | |
*** stub has quit IRC | 07:45 | |
*** vlado_ has quit IRC | 07:47 | |
*** vlado has joined #zope3-dev | 07:47 | |
*** SureshZ has joined #zope3-dev | 08:01 | |
*** suresh has quit IRC | 08:01 | |
*** timte has joined #zope3-dev | 08:19 | |
*** vlado has quit IRC | 08:46 | |
*** vlado has joined #zope3-dev | 08:47 | |
*** vlado_ has joined #zope3-dev | 08:58 | |
*** mexiKON has quit IRC | 09:11 | |
*** vlado has quit IRC | 09:16 | |
*** vlado_ has quit IRC | 09:54 | |
*** sashav has quit IRC | 10:00 | |
*** vlado has joined #zope3-dev | 10:04 | |
*** sashav has joined #zope3-dev | 10:11 | |
*** timte has quit IRC | 10:30 | |
*** jhauser has quit IRC | 10:45 | |
*** SureshZ has left #zope3-dev | 10:51 | |
*** d2m has quit IRC | 11:32 | |
*** vlado has quit IRC | 11:44 | |
*** projekt01 has joined #zope3-dev | 11:58 | |
*** jhauser has joined #zope3-dev | 11:59 | |
projekt01 | Which event is the right one for adding a subscriber where will change the permission for a object. | 12:15 |
projekt01 | In my usecase the user will click on a view and this should change the permission on the object so that this view isn't allowed again. | 12:17 |
projekt01 | I guess I have to use a event for this because otherwise I will lock myself out. | 12:18 |
*** vlado has joined #zope3-dev | 12:22 | |
*** vlado has quit IRC | 12:32 | |
projekt01 | srichter, ayt? | 12:37 |
*** sashav has quit IRC | 12:39 | |
projekt01 | Is the EndRequestEvent the right event for changing the permision on a object? | 12:42 |
*** __gotcha has quit IRC | 13:02 | |
*** Volpe has joined #zope3-dev | 13:08 | |
Volpe | Hi is there any equivelant of the Zope 2 Virtual Host monster for Zope 3? | 13:08 |
projekt01 | Volpe, look for the getVirtualHostRoot method. It's implemented in the request itself now and there is a namespace for set the virtual host root | 13:10 |
Volpe | Oh okay | 13:11 |
Volpe | thanks | 13:13 |
projekt01 | np | 13:14 |
*** jinty has joined #zope3-dev | 13:23 | |
*** sashav has joined #zope3-dev | 13:23 | |
Volpe | heh - where can I find the documentation on the request object? :\ | 13:24 |
*** palmTree has joined #zope3-dev | 13:31 | |
*** Volpe has quit IRC | 13:47 | |
*** palmTree has quit IRC | 14:02 | |
*** yota has joined #zope3-dev | 14:17 | |
projekt01 | Volpe, see src\zope\publisher\base.py or src\zope\publisher\publish.py where the publication process starts | 14:22 |
*** timte has joined #zope3-dev | 14:33 | |
*** jinty has quit IRC | 14:39 | |
*** jinty has joined #zope3-dev | 15:16 | |
*** d2m has joined #zope3-dev | 15:53 | |
*** wiggy has joined #zope3-dev | 16:05 | |
wiggy | can anyone give me a hint as to what this means: | 16:05 |
wiggy | ConfigurationError: ('Invalid value for', 'package', 'ImportError: Module mrissue has no global interfaces') | 16:05 |
projekt01 | wiggy, can you post a little bit more of the exception? | 16:40 |
projekt01 | exception/traceback | 16:41 |
wiggy | sure: http://paste.plone.org/3749 | 16:42 |
projekt01 | Ok try this, | 16:44 |
projekt01 | I think package | 16:44 |
projekt01 | is a attribute of a interface? right? | 16:44 |
wiggy | yes | 16:44 |
wiggy | er, no | 16:44 |
projekt01 | and the module where this interface is defined imports something like .xy.interfaces? right | 16:45 |
wiggy | http://home.wiggy.net/~wichert/mrissue/ has the source | 16:46 |
wiggy | (yes, it's crap) | 16:46 |
projekt01 | can you search for all lines where the word "interfaces" is used and post them? I'm pretty sure there is a missing import which will give you really bad errors like this one. | 16:49 |
wiggy | http://paste.plone.org/3750 | 16:50 |
wiggy | hm | 16:50 |
wiggy | ./interfaces/configure.zcml: interface=".interfaces.issue.IIssue" | 16:50 |
wiggy | that .interfaces, should that be there? | 16:50 |
projekt01 | Yup | 16:50 |
projekt01 | you are already there | 16:51 |
wiggy | ok, so it's always relative to the package, not to the current dir? | 16:51 |
projekt01 | yes, and you can also use <configure package="your.package"> here comes other configure relative to your package </configure> and use relative reference to the package between this configure tags | 16:53 |
wiggy | ok | 16:53 |
wiggy | but I still don't see where it goes wrong here :) | 16:54 |
projekt01 | it's relative to the location of the configure.zcml or to the <configure package="path.to.package"> directive used in a configure.zcml | 16:54 |
projekt01 | It's not running? | 16:54 |
wiggy | no, I got that error I pasted | 16:54 |
projekt01 | what's mrissue? | 16:58 |
wiggy | the name of this package | 16:58 |
projekt01 | ouch, there is no __init__.py in the module mrissue.types ;-) | 16:58 |
wiggy | adding that doesn't help though :) | 16:59 |
wiggy | I'm not so sure __init__.py really matters much | 16:59 |
wiggy | having it empty or not present seems to do the same thing | 16:59 |
projekt01 | each package needs it's __init__.py file, empty is Ok. | 17:00 |
wiggy | that's the theory, in practice I've never seen that matter | 17:00 |
wiggy | but I've added empty __init__.py's | 17:00 |
projekt01 | can you add a __init__.py to the package interfaces and post the traceback again | 17:03 |
projekt01 | from mrissue.interfaces.issue import IIssue | 17:03 |
projekt01 | this import fails in the package because you reference mrissue.interfaces where doesn't contains a __init__.py | 17:03 |
wiggy | http://paste.plone.org/3751 | 17:05 |
wiggy | interfaces.interfaces, hmm | 17:05 |
projekt01 | import mrissue.interfaces.interfaces.branch | 17:05 |
projekt01 | yup | 17:05 |
wiggy | but 'interfaces.inter' isn't anywhere in there | 17:06 |
projekt01 | yes, check your relative imports carfully, tha bad thing about relative imports is, you can search for them ;-) | 17:07 |
projekt01 | can/can't | 17:07 |
projekt01 | Use absolute imports if there are such errors, you can later rewrite them for nice readable code if needed. | 17:08 |
* wiggy runs into Yet Another error | 17:10 | |
wiggy | ConfigurationError: ('Invalid value for', 'interface', "('name', <type 'unicode'>)") | 17:10 |
projekt01 | can you post more tracback? | 17:11 |
wiggy | http://paste.plone.org/3752 | 17:11 |
projekt01 | what's that value_type=Release() | 17:16 |
wiggy | that's commented out, isn't it? | 17:16 |
projekt01 | ah, ok | 17:16 |
wiggy | that's more a mental note to figure out at some point how to do that | 17:17 |
projekt01 | With what editor an OS do you work? | 17:17 |
wiggy | vim, linux | 17:18 |
projekt01 | hm, can you try to comment out all fields in the interface IBranch | 17:20 |
projekt01 | Also remove the docstring | 17:20 |
projekt01 | just use two lines like | 17:20 |
projekt01 | class IBranch(Interface): | 17:20 |
projekt01 | pass | 17:20 |
wiggy | exact same error | 17:20 |
wiggy | hm, but it breaks on another type | 17:21 |
wiggy | docstring is fine, as soon as I uncomment an attribute in the interface it breaks | 17:22 |
wiggy | argh, "" should be u"" | 17:23 |
projekt01 | yup, the attribute name is not unicode in the interface IBranch | 17:25 |
wiggy | hm, I can't import DateTime from zope.schema | 17:27 |
projekt01 | wrong "T" use from zope.schema import Datetime | 17:29 |
wiggy | ah, Datetime | 17:30 |
projekt01 | yup | 17:30 |
wiggy | the final error! http://paste.plone.org/3753 | 17:35 |
projekt01 | did you change the server config? | 17:36 |
projekt01 | are you using a fresh checkout from today? | 17:36 |
wiggy | hm, this seems to be 3.1.0c1 | 17:37 |
projekt01 | are you using a custom zope.conf in the z3 root? | 17:38 |
projekt01 | Did you checkout the source today? | 17:39 |
wiggy | this is from some debian package I think | 17:40 |
projekt01 | there where some changes related to the server startup, but I'm not really sure since I use windows ;-) | 17:40 |
wiggy | heh | 17:40 |
wiggy | hm, has 3.1 branched or is it still in trunk? | 17:40 |
projekt01 | I'm working with the trunk, I'm not sure what are the states of branches right now. | 17:41 |
projekt01 | but yesterday there where some changes around the startup scripts, I think | 17:42 |
projekt01 | Please post this error to the mailinglist zope3-dev, this could be something related to changes from yesterday. | 17:42 |
wiggy | I'll have to try with a fresh svn first | 17:43 |
projekt01 | Ok | 17:43 |
*** SureshZ has joined #zope3-dev | 17:45 | |
wiggy | hm, still a failing unittest for zdaemon though | 17:56 |
wiggy | the old known one | 17:56 |
projekt01 | Please post this error to the mailinglist zope3-dev, this could be something related to changes from yesterday. | 17:57 |
wiggy | I posted that unittest a month ago already | 17:59 |
wiggy | and people decided it wasn't a problem | 17:59 |
projekt01 | can you post the content of zope.conf located in the root of your zope instance | 18:01 |
projekt01 | btw, they, should decide for you | 18:01 |
projekt01 | ;-) | 18:01 |
wiggy | ah, it starts fine with the current svn | 18:11 |
projekt01 | cool | 18:14 |
*** vlado_ has joined #zope3-dev | 19:22 | |
*** vlado_ has left #zope3-dev | 19:27 | |
*** jinty has quit IRC | 19:52 | |
*** jhauser has quit IRC | 20:10 | |
*** sashav_ has joined #zope3-dev | 20:28 | |
*** sashav_ has quit IRC | 20:32 | |
*** sashav_ has joined #zope3-dev | 20:33 | |
wiggy | can't you have two browser:addMenuItem statements with the same title? | 20:39 |
*** sashav has quit IRC | 20:44 | |
wiggy | hm, and you can't have two things use the same view name | 20:50 |
wiggy | and the standard wiki already stole AddComment.html | 20:50 |
*** Aiste has quit IRC | 20:59 | |
*** palmTree has joined #zope3-dev | 21:45 | |
*** sashav_ has quit IRC | 21:53 | |
*** timte has quit IRC | 22:01 | |
*** ChanServ sets mode: +o tav | 22:15 | |
*** tiredbones has quit IRC | 22:25 | |
*** sashav has joined #zope3-dev | 22:38 | |
*** M1 has joined #zope3-dev | 22:45 | |
*** palmTree has quit IRC | 22:48 | |
*** MJ has quit IRC | 22:57 | |
*** Aiste has joined #zope3-dev | 23:12 | |
*** Aiste has quit IRC | 23:26 | |
*** Aiste has joined #zope3-dev | 23:27 | |
*** jhauser has joined #zope3-dev | 23:28 | |
*** jhauser has quit IRC | 23:39 | |
*** jhauser has joined #zope3-dev | 23:40 | |
*** projekt01 has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!