*** Spanktar has joined #zope | 00:09 | |
*** Spanktar has quit IRC | 00:13 | |
*** aodag has quit IRC | 01:17 | |
*** m8 has quit IRC | 01:25 | |
*** _mup_ has quit IRC | 02:00 | |
*** _mup_ has joined #zope | 02:00 | |
*** aodag has joined #zope | 02:15 | |
*** kosh_ has joined #zope | 02:22 | |
*** kosh has quit IRC | 02:25 | |
*** mr_jolly has joined #zope | 02:26 | |
*** kosh_ is now known as kosh | 02:27 | |
*** daMaestro has joined #zope | 02:35 | |
*** sp0cksbeard has joined #zope | 02:46 | |
*** julesa has quit IRC | 02:48 | |
*** KageSenshi has joined #zope | 03:27 | |
*** sp0cksbeard has quit IRC | 03:38 | |
*** mr_jolly has quit IRC | 03:51 | |
*** mr_jolly has joined #zope | 04:15 | |
*** mr_jolly_ has joined #zope | 04:21 | |
*** mr_jolly has quit IRC | 04:24 | |
*** mr_jolly_ is now known as mr_jolly | 04:24 | |
*** mr_jolly has quit IRC | 05:05 | |
*** mr_jolly has joined #zope | 05:08 | |
*** mr_jolly has quit IRC | 05:19 | |
*** mr_jolly has joined #zope | 05:29 | |
*** sp0cksbeard has joined #zope | 05:40 | |
*** sp0cksbeard has quit IRC | 05:46 | |
*** mr_jolly has quit IRC | 06:00 | |
*** KageSenshi has quit IRC | 06:10 | |
*** mr_jolly has joined #zope | 06:16 | |
*** daMaestro has quit IRC | 06:45 | |
Scramblejams | I see zope.interface.declarations.noLongerProvides(). Is there any equivalent of this at the implements level? | 06:53 |
---|---|---|
*** KageSenshi has joined #zope | 07:27 | |
*** mr_jolly has quit IRC | 07:41 | |
*** yvl has joined #zope | 08:26 | |
*** kosh has quit IRC | 09:04 | |
*** agroszer has joined #zope | 09:14 | |
*** tisto has joined #zope | 09:38 | |
*** aodag has quit IRC | 09:51 | |
*** giacomos has joined #zope | 09:54 | |
mcdonc | Scramblejams: i'm not 100% sure about it but I suspect you can replace or mutate the "Declaration" for a given class... http://mirrors.creativecommons.org/developer/doc/p6/current/private/zope.interface.declarations.Declaration.html#__sub__ | 09:57 |
mcdonc | but you'll probably have to read the z.i source to see how to get at it | 09:57 |
*** evilbungle has quit IRC | 09:58 | |
*** giacomos has quit IRC | 10:21 | |
*** mr_jolly has joined #zope | 10:27 | |
*** menesis has joined #zope | 10:36 | |
*** giacomos has joined #zope | 10:37 | |
*** goschtl has joined #zope | 10:40 | |
*** mr_jolly has quit IRC | 10:48 | |
*** evilbungle has joined #zope | 11:27 | |
*** avoinea has joined #zope | 11:37 | |
*** __mac__ has joined #zope | 11:39 | |
*** thetet has joined #zope | 11:43 | |
*** mr_jolly has joined #zope | 11:50 | |
*** Bahman_ has quit IRC | 11:57 | |
*** Bahman has joined #zope | 11:58 | |
*** mr_jolly has quit IRC | 12:01 | |
*** mr_jolly has joined #zope | 12:03 | |
*** mr_jolly has quit IRC | 12:08 | |
*** mr_jolly has joined #zope | 12:13 | |
*** maurits has joined #zope | 12:22 | |
*** RichyB has joined #zope | 12:31 | |
*** purserj has quit IRC | 12:42 | |
*** purserj has joined #zope | 12:43 | |
*** mr_jolly has quit IRC | 12:56 | |
*** tisto is now known as tisto|away | 13:06 | |
*** menesis has quit IRC | 13:08 | |
*** RichyB has quit IRC | 13:36 | |
*** fdrake has quit IRC | 13:42 | |
*** LeoRochael has joined #zope | 13:53 | |
Bahman | Playing with Zope 2 (I'm a noob), I created a sample product... | 13:55 |
*** menesis has joined #zope | 13:55 | |
Bahman | The product is added through the ZMI easily w/o errors. | 13:55 |
Bahman | But when trying to add it in code using `manage_addProduct' (considering that the constructor is named `manage_addDevistan') I always get “AttributeError: manage_addDevistan”. | 13:56 |
Bahman | Tried that from the debug mode too. | 13:56 |
Bahman | I'm trying this: | 13:56 |
*** tisto_ has joined #zope | 13:56 | |
Bahman | app.manage_addProduct['Devistan'].manage_addDevistan(100) | 13:56 |
Bahman | I'd appreciate any clues/hints. | 13:57 |
Bahman | I've been pulling off my hair over this for the past 6 hours :-S | 13:57 |
betabug | paste the relevant code and the traceback somewhere in a pastebin | 13:58 |
Bahman | betabug: Just a sec... | 13:59 |
Bahman | betabug: You're on StackOverflow? | 13:59 |
betabug | no | 14:00 |
Bahman | Alright. | 14:00 |
*** tisto|away has quit IRC | 14:00 | |
Bahman | betabug: http://pastebin.com/qsnq9qhA | 14:03 |
Bahman | You need anything else? | 14:03 |
betabug | yeah, some green tea would be fine, thank you | 14:03 |
Bahman | Granted once you solve this :-D | 14:04 |
Bahman | `initialize' is called in `__init__.py' | 14:04 |
betabug | I usually have the initialize() in __init__.py | 14:04 |
betabug | ok | 14:05 |
betabug | did you put the traceback somewhere too? | 14:06 |
Bahman | betabug: That's all I get from Zope's Python shell. | 14:07 |
Bahman | Let me put up a page and get the stack trace from there...just a minute. | 14:08 |
betabug | hmm, products not loaded from the shell? | 14:08 |
Bahman | I can add OFS.Folder for example. | 14:08 |
Bahman | Just my bloody product is the problem. | 14:08 |
betabug | OFS.Folder is a standard thing | 14:09 |
Bahman | Yes...and I've been reading OFS.Folder source over and over again to find a difference between mine and its. | 14:10 |
betabug | Bahman: http://papakiteliatziar.gr/BetaBoring that should be your template | 14:11 |
betabug | but I guess that maybe you need to tell the zope shell to load the products from the filesystem somehow | 14:11 |
Bahman | betabug: The stack trace: http://pastebin.com/CD8D8f99 | 14:14 |
Bahman | This is obviously from a running Zope instance. | 14:15 |
*** MrTango has joined #zope | 14:15 | |
*** menesis has quit IRC | 14:15 | |
betabug | what zope version is that? | 14:16 |
Bahman | 2.13.19 | 14:16 |
Bahman | The latest I believe. | 14:16 |
betabug | maybe you need to do something to load old-style products? | 14:16 |
betabug | I'm not much familiar with > 2.11 or 2.12 or so | 14:17 |
Bahman | Is my sample product considered an "old-style" one | 14:17 |
Bahman | ? | 14:17 |
betabug | hmm, what I don't have is the "InitializeClass(Devistan)" in my products | 14:18 |
betabug | Bahman: if it looks like BetaBoring, I guess it is | 14:18 |
betabug | if it's a folder inside "Products", then it's "old-style" | 14:18 |
betabug | new style would be an egg, loaded with buildout, I guess | 14:18 |
Bahman | betabug: It *is* loaded as an egg I think. http://pastebin.com/eURX9CRN | 14:20 |
Bahman | That's the `buildout.cfg' | 14:20 |
Bahman | betabug: Trying without the `InitalizeClass'... | 14:20 |
betabug | can't really help you then, I don't know that stuff much | 14:20 |
Bahman | betabug: Thanks anyway for your time :-) | 14:21 |
betabug | np :-) | 14:21 |
*** m8 has joined #zope | 14:31 | |
*** maurits has quit IRC | 14:33 | |
Bahman | In case someone here is on StackOverflow: http://stackoverflow.com/questions/14196149/zope-2-using-manage-addproduct-with-own-products-attributeerror | 14:39 |
Bahman | Man, I need some rest...this bloody problem has drained my energy. | 14:39 |
*** maurits has joined #zope | 14:42 | |
*** benji has joined #zope | 14:59 | |
*** mr_jolly has joined #zope | 15:00 | |
*** m8 has quit IRC | 15:19 | |
*** fdrake has joined #zope | 15:23 | |
*** menesis has joined #zope | 15:24 | |
*** goschtl has quit IRC | 16:10 | |
*** menesis has quit IRC | 16:13 | |
*** menesis has joined #zope | 16:24 | |
Scramblejams | Thanks mcdonc. | 16:28 |
*** sp0cksbeard has joined #zope | 16:38 | |
*** J1m has joined #zope | 16:46 | |
*** fredvd has joined #zope | 16:48 | |
*** evilbungle has quit IRC | 17:05 | |
*** evilbungle has joined #zope | 17:06 | |
*** mr_jolly has quit IRC | 18:01 | |
*** mr_jolly has joined #zope | 18:03 | |
*** daMaestro has joined #zope | 18:15 | |
*** thetet has quit IRC | 18:20 | |
*** mr_jolly has quit IRC | 18:34 | |
*** mr_jolly has joined #zope | 18:37 | |
*** mr_jolly has quit IRC | 18:41 | |
*** mr_jolly has joined #zope | 18:43 | |
*** mr_jolly has quit IRC | 18:45 | |
*** agroszer has quit IRC | 18:46 | |
*** evilbungle has quit IRC | 18:50 | |
*** supton has joined #zope | 18:50 | |
*** maurits has quit IRC | 18:51 | |
*** evilbungle has joined #zope | 18:52 | |
*** evilbungle has quit IRC | 18:56 | |
*** evilbungle has joined #zope | 18:56 | |
*** kosh has joined #zope | 18:57 | |
*** Spanktar has joined #zope | 18:59 | |
*** giacomos has quit IRC | 19:06 | |
*** tiwula has joined #zope | 19:08 | |
*** Bahman has quit IRC | 19:10 | |
*** Bahman has joined #zope | 19:10 | |
*** DanC has joined #zope | 19:14 | |
*** menesis has quit IRC | 19:21 | |
supton | hey folks, for zope2 WebDAV, what would cause a discrepancy in what webdav.Collection.listDAVObjects() returns and what I see in cadaver (only small subset)? I have a folder/collection that has eight items uploaded via DAV, they all show up TTW, but I do not see them in collection listing in DAV clients... | 19:31 |
supton | problem seems cadaver-specific | 19:31 |
supton | do not see this problem in MS web folders (Win 7) or in OS X Finder's brain-dead DAV implementation, just in Cadaver | 19:31 |
* supton figures I won't get any more clues without pulling out wireshark | 19:32 | |
LeoRochael | supton: perhaps some of this content is not visible by anonymous, and Cadaver is not transmitting authentication information unless requested by the server? | 19:33 |
LeoRochael | supton: and you probably don't need wireshark, some extra logging calls in Zope code should be enough | 19:34 |
supton | LeoRochael: anonymous user does not have View permission on folder… not sure about Access Contents Information… so I would think that the client is challenged… wireshark is less work than sprinkling more logging | 19:37 |
supton | because I'm not sure what code exists between the request dispatching and webdav.Collection.listDAVObjects() without putting pdb.set_trace() in that | 19:38 |
supton | though I might have to tackle this from both ends | 19:39 |
*** supersheep has quit IRC | 19:44 | |
LeoRochael | supton: you can also use "traceback.print_stack()". You get a traceback without needing to stop your program. | 19:46 |
*** agroszer has joined #zope | 20:06 | |
*** tisto_ has quit IRC | 20:06 | |
*** agroszer has quit IRC | 20:21 | |
*** nueces has joined #zope | 20:27 | |
supton | LeoRochael: thanks for the tip… did not know that, always just typed w from interactive pdb prompt | 20:29 |
LeoRochael | supton: glad to help. Frequently it's a lot faster to sprinkle "traceback.print_stack()" around than to pdb.set_trace() in many places. | 20:30 |
*** MrTango has quit IRC | 20:32 | |
*** evilbungle has quit IRC | 20:34 | |
*** m8 has joined #zope | 20:44 | |
*** Guest79561 is now known as Moo-_- | 21:11 | |
*** menesis has joined #zope | 21:22 | |
*** chaoflow_ has joined #zope | 21:36 | |
*** chaoflow_ has quit IRC | 21:36 | |
DanC | I'm trying to migrate some photos etc. out of a very old Zope DB. It ran on Zope 2.7.7. Building Zope2.7.7 says "install python 2.3.5". Building python2.3.5 leads to a core dump https://gist.github.com/4477717 | 21:39 |
DanC | clues? | 21:39 |
*** kosh_ has joined #zope | 21:39 | |
*** kosh has quit IRC | 21:43 | |
*** kosh_ is now known as kosh | 21:47 | |
*** jwhisnant has joined #zope | 21:52 | |
*** TresEquis has joined #zope | 21:57 | |
*** avoinea has quit IRC | 21:58 | |
*** jwhisnant has left #zope | 22:10 | |
*** LeoRochael has quit IRC | 22:53 | |
*** TresEquis has quit IRC | 23:13 | |
*** Arfrever has quit IRC | 23:30 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!