*** dayne has quit IRC | 00:00 | |
*** dayne has joined #zope | 00:07 | |
*** Snaffu has quit IRC | 00:34 | |
*** supton has joined #zope | 00:38 | |
*** m8 has quit IRC | 00:41 | |
*** Arfrever has quit IRC | 00:45 | |
*** supton has quit IRC | 01:25 | |
*** benji has quit IRC | 01:25 | |
*** MrTango has quit IRC | 01:46 | |
*** strichter has joined #zope | 01:48 | |
*** mejo1 has joined #zope | 01:51 | |
*** mejo has quit IRC | 01:52 | |
*** supton has joined #zope | 02:02 | |
*** davisagli has quit IRC | 02:19 | |
*** davisagli has joined #zope | 02:19 | |
*** davisagli has joined #zope | 02:21 | |
*** mejo has joined #zope | 02:33 | |
*** mejo has joined #zope | 02:33 | |
*** mejo1 has quit IRC | 02:33 | |
*** strichter has quit IRC | 02:46 | |
*** strichter has joined #zope | 03:16 | |
*** supton has quit IRC | 03:18 | |
mejo | < | 03:27 |
---|---|---|
*** mejo has left #zope | 03:28 | |
*** raydeo has quit IRC | 05:02 | |
*** rfw has joined #zope | 05:20 | |
*** strichter has quit IRC | 05:20 | |
*** raydeo has joined #zope | 05:29 | |
*** Spanktar has joined #zope | 05:33 | |
*** supton has joined #zope | 05:48 | |
*** supton has quit IRC | 05:58 | |
*** shastry has joined #zope | 06:28 | |
*** dayne has quit IRC | 06:46 | |
*** digitalmortician has quit IRC | 07:46 | |
*** zagy has joined #zope | 08:36 | |
*** digitalmortician has joined #zope | 08:38 | |
*** kiorky has joined #zope | 08:55 | |
*** wosc has joined #zope | 08:58 | |
*** __mac__ has joined #zope | 09:00 | |
*** sm has quit IRC | 09:13 | |
*** tisto has joined #zope | 09:18 | |
*** bigkevmcd has joined #zope | 09:30 | |
*** Spanktar has quit IRC | 09:38 | |
*** Wu has joined #zope | 09:49 | |
*** hever has joined #zope | 09:53 | |
*** hever has quit IRC | 09:55 | |
*** hever has joined #zope | 09:56 | |
*** eperez has joined #zope | 09:57 | |
*** planetzopebot has quit IRC | 10:08 | |
*** planetzopebot has joined #zope | 10:08 | |
*** menesis has joined #zope | 10:08 | |
*** avoinea has joined #zope | 10:12 | |
*** alexpilz has joined #zope | 10:34 | |
*** alexpilz has quit IRC | 10:35 | |
*** alexpilz has joined #zope | 10:35 | |
*** ccomb has joined #zope | 11:03 | |
*** mitchell`off is now known as mitchell | 11:03 | |
*** mitchell is now known as mitchell` | 11:03 | |
*** MrTango has joined #zope | 11:07 | |
*** goschtl has joined #zope | 11:27 | |
*** goschtl has joined #zope | 11:28 | |
*** sunew has joined #zope | 11:37 | |
*** fredvd has joined #zope | 12:28 | |
*** ccomb has quit IRC | 12:35 | |
*** teix has joined #zope | 12:43 | |
*** ccomb has joined #zope | 12:53 | |
*** Arfrever has joined #zope | 13:08 | |
*** fredvd is now known as fredvd|lunch | 13:11 | |
*** tisto is now known as tisto|away | 13:23 | |
*** ccomb has quit IRC | 13:37 | |
*** evilbungle has joined #zope | 13:45 | |
*** rfw has quit IRC | 13:46 | |
*** ccomb has joined #zope | 13:50 | |
*** TomBlockley has joined #zope | 14:07 | |
*** menesis has quit IRC | 14:10 | |
*** avn has joined #zope | 14:10 | |
*** dayne has joined #zope | 14:10 | |
*** TomBlockley has quit IRC | 14:11 | |
*** lukasg|4tw has joined #zope | 14:22 | |
lukasg|4tw | hey - I'd like to use zc.monitor / zc.z3monitor with my zope instance | 14:23 |
lukasg|4tw | I've added a <product-config zc.z3monitor> stanza in my zope.conf and included zc.u3cmonitor's zcml with zcml-additional in my buildout | 14:24 |
lukasg|4tw | however, I don't see how I'm supposed to actually start the monitor as a network service on the defined port | 14:25 |
*** strichter has joined #zope | 14:25 | |
*** alga has joined #zope | 14:26 | |
wosc | lukasg|4tw: the monitor should start automatically together with your server | 14:26 |
lukasg|4tw | wosc, that's what I expected - however it doesn't (tested with telnet 127.0.0.1 <port> and had a look at netstat) | 14:27 |
lukasg|4tw | wosc, but thanks for making that clear | 14:27 |
wosc | with a Zope3-based server I get a log message on startup like this | 14:28 |
wosc | 2011-06-27T10:40:15 INFO zc.ngi.async.server listening on ('', 18080) | 14:29 |
lukasg|4tw | ah, I definitely don't get that, I was watching out for sth like that | 14:29 |
lukasg|4tw | but I guess I can't use zc.z3monitor with Zope2 + Five? | 14:29 |
* wosc isn't too well-versed in Zope2-land | 14:29 | |
wosc | so my answer is a definitive "it depends" ;) | 14:30 |
lukasg|4tw | gotcha ;) | 14:30 |
wosc | but the fact that it's called z3monitor might suggest it uses zope3-internals | 14:31 |
wosc | that might or might not have been ported in the meantime | 14:31 |
wosc | sorry I can't be of more help | 14:31 |
lukasg|4tw | Yeah, it also says "Zope 3" on the pypi site - I also tried zc.monitor only though, which is supposed to be Zope2 | 14:31 |
lukasg|4tw | wosc, np, knowing how it's *supposed* to work already helps me a lot | 14:32 |
wosc | I think zc.monitor is only infrastructure | 14:32 |
lukasg|4tw | I got to review my configuration again I guess | 14:32 |
wosc | that enables to open a network port and offer a "console" thingy on it | 14:32 |
wosc | from reading the pypi page I don't think it tells you anything about your zope server | 14:32 |
wosc | (which I guess is what you want) | 14:32 |
lukasg|4tw | well, in the end I want to use it to get info about my zc.async queues / jobs | 14:33 |
wosc | could "bin/zopectl debug" help? | 14:33 |
lukasg|4tw | yeah, it actually does. I can get my queues from the ZODB that way and inspect them | 14:34 |
lukasg|4tw | however it's a bit cumbersome and not too well suited for a production site ;) | 14:34 |
wosc | can't argue with that | 14:35 |
lukasg|4tw | Well, I'll see if I can get it to work | 14:35 |
lukasg|4tw | Thanks for your help! | 14:35 |
*** hever has quit IRC | 14:42 | |
*** hever has joined #zope | 14:44 | |
*** menesis has joined #zope | 14:44 | |
*** hever has quit IRC | 14:48 | |
*** Wu has quit IRC | 14:55 | |
*** eperez has quit IRC | 15:02 | |
*** victor__ has joined #zope | 15:05 | |
*** victor__ is now known as ViicT | 15:05 | |
*** ViicT has joined #zope | 15:05 | |
*** sylvain has joined #zope | 15:10 | |
*** digitalmortician has quit IRC | 15:12 | |
*** digitalmortician has joined #zope | 15:12 | |
*** digitalmortician has quit IRC | 15:14 | |
*** fredvd|lunch is now known as fredvd | 15:16 | |
*** digitalmortician has joined #zope | 15:16 | |
*** menesis has quit IRC | 15:21 | |
*** menesis1 has joined #zope | 15:21 | |
*** menesis1 is now known as menesis | 15:21 | |
*** tisto|away is now known as tisto | 15:35 | |
*** redir has quit IRC | 15:44 | |
kosh | hail freaks! | 15:52 |
wosc | hey kosh | 15:54 |
* wosc fetches his bag of marshmallows | 15:55 | |
* kosh sets wosc on fire | 15:55 | |
*** sm has joined #zope | 16:01 | |
*** sp0cksbeard has joined #zope | 16:08 | |
*** astoon has joined #zope | 16:09 | |
*** hever has joined #zope | 16:10 | |
*** shastry_ has joined #zope | 16:12 | |
*** shastry has quit IRC | 16:15 | |
*** TomBlockley has joined #zope | 16:18 | |
*** TomBlockley has quit IRC | 16:22 | |
*** supton has joined #zope | 16:23 | |
*** ccomb has quit IRC | 16:28 | |
*** ggozad has joined #zope | 16:32 | |
*** wosc has quit IRC | 16:34 | |
*** TomBlockley has joined #zope | 16:35 | |
*** TomBlockley has quit IRC | 16:37 | |
*** dayne has quit IRC | 16:39 | |
*** __mac__ has quit IRC | 16:42 | |
*** J1m has joined #zope | 16:42 | |
*** sylvain has quit IRC | 16:46 | |
*** supton has quit IRC | 17:14 | |
*** Wu has joined #zope | 17:28 | |
*** tisto is now known as tisto|away | 17:30 | |
*** alga has quit IRC | 17:35 | |
*** TomBlockley has joined #zope | 17:42 | |
*** sunew has quit IRC | 17:43 | |
*** digitalmortician has quit IRC | 17:45 | |
*** daMaestro has joined #zope | 17:47 | |
*** TomBlockley has quit IRC | 17:54 | |
*** shastry_ has quit IRC | 17:55 | |
*** sm_ has joined #zope | 18:03 | |
*** tisto|away is now known as tisto | 18:04 | |
*** ggozad has left #zope | 18:05 | |
*** TomBlockley has joined #zope | 18:06 | |
*** sm has quit IRC | 18:08 | |
*** sm_ is now known as sm | 18:08 | |
*** alecm has quit IRC | 18:21 | |
*** alecm has joined #zope | 18:21 | |
*** alecm has quit IRC | 18:21 | |
*** alecm has joined #zope | 18:21 | |
*** alecm has joined #zope | 18:21 | |
*** supton has joined #zope | 18:31 | |
*** eperez has joined #zope | 18:32 | |
*** goschtl has quit IRC | 18:36 | |
*** lukasg|4tw has quit IRC | 18:40 | |
*** tiwula has joined #zope | 18:49 | |
*** avoinea has quit IRC | 18:59 | |
*** ViicT has quit IRC | 19:01 | |
*** __mac__ has joined #zope | 19:03 | |
*** TresEquis has joined #zope | 19:06 | |
*** __mac__ has quit IRC | 19:07 | |
*** zagy has quit IRC | 19:09 | |
*** tisto_ has joined #zope | 19:12 | |
*** tisto has quit IRC | 19:12 | |
*** fredvd has quit IRC | 19:38 | |
*** Spanktar has joined #zope | 19:40 | |
*** alecm_ has joined #zope | 19:47 | |
*** alecm_ has joined #zope | 19:47 | |
*** alecm has quit IRC | 19:50 | |
*** alecm_ is now known as alecm | 19:50 | |
*** mitchell` is now known as mitchell`off | 19:57 | |
*** menesis has quit IRC | 20:00 | |
*** eperez has quit IRC | 20:03 | |
*** victor_ has joined #zope | 20:06 | |
*** victor_ has joined #zope | 20:06 | |
*** victor_ is now known as ViicT | 20:06 | |
*** Wu has quit IRC | 20:08 | |
*** m8 has joined #zope | 20:09 | |
*** tisto_ has quit IRC | 20:32 | |
*** alecm has quit IRC | 20:35 | |
*** __mac__ has joined #zope | 20:37 | |
*** alecm has joined #zope | 20:37 | |
*** hever has quit IRC | 20:38 | |
*** alecm has quit IRC | 20:42 | |
*** alecm has joined #zope | 20:43 | |
*** m8 has quit IRC | 20:52 | |
*** rockfruit has joined #zope | 21:15 | |
rockfruit | My view (I'm doing a 'print XXX' in __init__) is being called twice for a single page view, once from line 81 and once from line 89 of ZPublisher/BaseRequest.py (zope 2.12.17) - How can I figure out why? At that level it's a bit too complex for my head. A simple test view doesn't do this, and I can't track it down... | 21:16 |
TresEquis | rockfruit, line 81 is the call to '__bobo_traverse__' on the object currently being traversed | 21:18 |
TresEquis | so your object's __bobotraverse__ tries to instantiate your view | 21:19 |
TresEquis | and raises an attribute or key error | 21:19 |
*** alexpilz has quit IRC | 21:19 | |
TresEquis | the publisher then tries the view lookup | 21:19 |
TresEquis | you could edit the code to put a 'pdb.set_trace()' in just above line 81, and step into __bobo_traverse__ to try to figure it out | 21:20 |
*** menesis has joined #zope | 21:23 | |
rockfruit | I have so many questions... ok, I pdb now. thanks | 21:24 |
*** m8 has joined #zope | 21:36 | |
*** davisagli has quit IRC | 21:58 | |
*** davisagli has joined #zope | 21:59 | |
*** alga has joined #zope | 22:07 | |
*** menesis has quit IRC | 22:08 | |
*** TomBlockley has quit IRC | 22:14 | |
*** davisagli has quit IRC | 22:18 | |
*** davisagli has joined #zope | 22:20 | |
*** hever has joined #zope | 22:22 | |
*** alexpilz has joined #zope | 22:26 | |
*** teix has quit IRC | 22:27 | |
*** TomBlockley has joined #zope | 22:28 | |
*** __mac__ has quit IRC | 22:58 | |
*** TomBlockley has quit IRC | 23:11 | |
*** ccomb has joined #zope | 23:12 | |
*** TomBlockley has joined #zope | 23:12 | |
*** ccomb has quit IRC | 23:34 | |
*** strichter has quit IRC | 23:39 | |
*** m8 has quit IRC | 23:39 | |
*** strichter has joined #zope | 23:40 | |
*** ccomb has joined #zope | 23:49 | |
*** TomBlockley has quit IRC | 23:53 | |
*** TomBlockley has joined #zope | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!