IRC log of #zope for Tuesday, 2011-07-12

*** alexpilz1 has quit IRC00:10
*** alexpilz has joined #zope00:11
*** alexpilz has quit IRC00:11
*** do3cc has quit IRC00:36
*** redir has quit IRC00:45
*** m8 has quit IRC00:58
*** sp0cksbeard has quit IRC01:01
*** hever has joined #zope01:05
*** TresEquis has quit IRC01:17
*** rogererens has quit IRC01:21
*** rogererens has joined #zope01:22
*** sashav has quit IRC01:26
*** hever has quit IRC01:40
*** d2m has left #zope01:58
*** spanktar|full is now known as Spanktar02:09
*** rogererens has quit IRC02:15
*** J1m has quit IRC02:26
*** runyaga has quit IRC02:32
*** MrTango has quit IRC02:49
*** tiwula has quit IRC03:01
*** SpankyFromBRC has joined #zope03:41
*** Spanktar has quit IRC03:44
*** SpankyFromBRC has quit IRC03:46
*** dayne has joined #zope04:40
*** Spanktar has joined #zope04:42
*** J1m has joined #zope05:12
*** J1m has joined #zope05:15
*** J1m has quit IRC05:27
*** alecm has quit IRC05:47
*** alecm has joined #zope05:48
*** tiwula has joined #zope06:21
*** supton has quit IRC06:27
*** supton has joined #zope07:32
*** supton has quit IRC07:51
*** davisagli has quit IRC08:07
*** davisagli has joined #zope08:07
*** tiwula has quit IRC08:21
*** zagy has joined #zope08:31
*** hever has joined #zope08:31
*** tisto has joined #zope08:49
*** hever has quit IRC09:00
*** __mac__ has joined #zope09:10
*** benji has quit IRC09:18
*** zagy has quit IRC09:18
*** benji has joined #zope09:27
*** kleist has joined #zope09:32
*** zagy has joined #zope09:43
*** agroszer has joined #zope09:51
*** alexpilz has joined #zope09:53
*** alexpilz has quit IRC09:53
*** wosc has joined #zope09:55
*** MrTango has joined #zope09:56
*** hever has joined #zope10:00
*** planetzopebot has quit IRC10:08
*** planetzopebot has joined #zope10:08
*** tisto_ has joined #zope10:15
*** alecm has quit IRC10:17
*** alecm has joined #zope10:18
*** alecm has joined #zope10:18
*** tisto has quit IRC10:18
*** tisto_ is now known as tisto10:18
*** Wu has joined #zope10:23
*** jakke has joined #zope10:27
jakkeHi guys, I'm searching for insiration how to find a SiteError (AttributeError: has_key)10:28
jakkethe error is for now not reproducable, it just show up from time to time10:28
jakkeand it gets rendered in the result page; and for one specific view it's logged10:29
jakkepdb is not really an option since for now I can only see the error on a production site10:30
*** alexpilz has joined #zope10:38
*** goschtl has joined #zope10:40
*** avoinea has joined #zope10:43
*** sunew has joined #zope10:48
*** sylvain has joined #zope10:56
*** hever has quit IRC10:57
*** Spanktar has quit IRC10:58
*** povbot` has joined #zope11:23
*** mitchell`off is now known as mitchell`11:25
*** sylvain has quit IRC11:29
*** povbot has quit IRC11:29
betabugjakke: what zope version is it? do you have a traceback somewhere?11:51
*** hever has joined #zope11:52
*** do3cc has joined #zope11:54
*** TomBlockley has joined #zope11:57
*** sashav has joined #zope12:16
*** teix has joined #zope12:33
jakkebetabug: zope version doesn't seem to be related, I have the issue on zope 2.12.14 and others12:38
betabugjakke: well, I'm asking always, since some people still confuse zope 3 and zope 212:39
jakketraceback is really poor: Zope.siteErrorLog12:39
jakkeZPublisher.Publish in publish12:39
jakkeZPublisher.BaseRequest in traverse12:39
betabugand sometimes people come with questions for zope 2.8 or something that old12:39
betabugplease don't paste it here12:39
betabugput it on a pastebin12:39
jakkeit's zope 2.recent ;-)12:39
jakkeoh, damn, it was only 3 lines, thought he would past it as one block, sorry !12:40
betabughmmm, are you sure that's the full traceback?12:40
jakkelet me describe the issue12:40
jakkewe see our rendered page, and from time to time, we see an AttributeError rendered above it12:40
betabugrendered on the page?12:41
jakkefor a specific view, we see the above message in the logs, but that's not the only view on which we see the error12:41
jakkeyes, rendered on the page; so first error message; then the normal view without errors12:41
jakkeI have no idea how to reproduce the error, unfortunatly12:41
jakkeI tried adding try: Except AttributeErrors in the view where we see the logs, but the AttributeError is not caught there12:42
jakkes/AttributeErrors/AttritbuteError/12:42
betabugand this is software you (your company) wrote yourself?12:43
jakkeso basically I have no idea where that exception is thrown12:43
jakkeyes, we wrote it ourself12:43
jakkebut I lack experience in how to start debugging this kind of seemingly random error12:45
jakkeI would say: a big try Except all in the instance around the main, but that's probably a bit too drastic and too overloaded ;-)12:45
betabugI wonder what is butchering that traceback12:45
betabugsince a full traceback is what you really want now12:45
jakkeyes12:46
jakkeor a place to catch the exception and - worst case since I can only wait for it on a production site - pdb there to walk back up12:47
betabugis there some setting in your zope.conf about logging setup?12:48
jakkeyes, basic logging setup12:50
jakkeI could try increasing the loglevel to debug to see if I get more out of it12:50
betabugyeah, maybe12:51
jakkebut I'm running the instance in foreground with debug logging12:52
jakkethere is a LOT of debug logging there12:52
betabughmmm, what from?12:53
betabugfrom your app?12:53
jakkeyes, that app is logging a lot12:54
*** f10w has quit IRC12:56
jakkewaiting for the bug to happen; the loggins is even showing the transactions12:57
jakkeextra logging doesn't give any extra information13:00
*** f10w has joined #zope13:01
*** mcdonc_ has joined #zope13:13
*** mcdonc has quit IRC13:13
betabugP-(13:14
betabugerr, :-(13:14
*** alecm has quit IRC13:17
jakkejust patched the ZPublisher to print some info13:17
jakkemaybe that 'll tell me something13:18
*** alecm has joined #zope13:20
*** mcdonc_ has quit IRC13:22
*** mcdonc has joined #zope13:22
*** sylvain has joined #zope13:29
*** alecm has quit IRC13:47
*** alecm has joined #zope13:48
*** alecm has joined #zope13:48
*** alecm has quit IRC13:53
*** alecm has joined #zope13:53
*** alecm has quit IRC13:57
*** eperez has joined #zope14:19
jakke betabug, I think I found a pointer :D14:21
jakkethere is some in memory caching, and there seems to be a relation between the error and the in-memory caching14:22
* jakke diving in...14:22
*** do3cc has quit IRC14:22
*** tisto is now known as tisto|lunch14:24
*** m8 has joined #zope14:25
*** f10w has quit IRC14:31
*** agroszer has quit IRC14:34
*** agroszer has joined #zope14:35
*** alecm has joined #zope14:39
*** alecm has joined #zope14:39
*** kiorky has quit IRC14:46
*** victor_ has joined #zope15:00
*** alecm has quit IRC15:04
*** f10w has joined #zope15:05
*** alecm has joined #zope15:08
*** Wu has quit IRC15:08
*** victor_ has joined #zope15:11
*** ccomb has joined #zope15:12
*** hever has quit IRC15:14
*** __mac__1 has joined #zope15:27
*** __mac__ has quit IRC15:30
*** shastry_ has joined #zope15:40
*** m8 has quit IRC15:40
*** shastry has quit IRC15:43
*** __mac__ has joined #zope15:51
*** __mac__1 has quit IRC15:51
*** thevishy has joined #zope15:59
thevishyWe are using Zope 2 , and we added a directory as "resource"15:59
thevishyIf I put a new file called sample.js , can I access that using hostname/++reosource++dirname/sample.js16:00
*** TresEquis has joined #zope16:03
*** eperez has quit IRC16:06
*** __mac__ has quit IRC16:07
*** __mac__ has joined #zope16:07
*** J1m has joined #zope16:14
*** sp0cksbeard has joined #zope16:15
*** wosc has quit IRC16:25
*** do3cc has joined #zope16:28
*** wosc has joined #zope16:39
*** supton has joined #zope16:40
*** alecm has quit IRC16:42
*** alecm has joined #zope16:43
*** alecm has joined #zope16:43
*** wosc has quit IRC16:45
*** dayne has quit IRC16:55
*** alecm has quit IRC17:04
*** tisto|lunch is now known as tisto17:06
*** Wu has joined #zope17:15
*** supton has quit IRC17:19
*** thevishy has left #zope17:20
*** do3cc has quit IRC17:21
*** alexpilz has quit IRC17:21
*** alexpilz has joined #zope17:27
*** agroszer has quit IRC17:28
*** goschtl has quit IRC17:30
*** zagy has quit IRC17:31
*** hever has joined #zope17:34
*** hever has quit IRC17:39
*** do3cc has joined #zope17:45
*** redir has joined #zope17:51
*** sunew has quit IRC17:55
*** alexpilz1 has joined #zope17:55
*** alexpilz has quit IRC17:56
*** d2m has joined #zope18:09
*** zagy has joined #zope18:12
*** zagy has quit IRC18:13
*** TresEquis has quit IRC18:22
*** supton has joined #zope18:34
*** MrWu has joined #zope18:35
*** Wu has quit IRC18:38
*** MrWu is now known as Wu18:43
*** Wu is now known as Guest7335218:43
*** __mac__ has quit IRC18:43
*** Guest73352 is now known as MrWu18:43
*** MrWu has quit IRC18:50
*** wosc has joined #zope18:52
*** wosc has quit IRC18:52
*** MrWu has joined #zope18:53
*** MrWu has quit IRC18:59
*** m8 has joined #zope19:00
*** hever has joined #zope19:01
*** MrWu has joined #zope19:06
*** alexpilz1 has quit IRC19:08
*** sylvain has quit IRC19:25
*** hever has quit IRC19:33
*** Spanktar has joined #zope19:34
*** kiorky has joined #zope19:39
*** redir has quit IRC19:42
*** tiwula has joined #zope19:42
*** redir has joined #zope19:43
*** ccomb has quit IRC19:48
*** ccomb has joined #zope19:48
*** MrWu has quit IRC19:57
*** alexpilz has joined #zope19:58
*** TresEquis has joined #zope19:59
*** ccomb has quit IRC20:01
*** __mac__ has joined #zope20:02
*** agroszer has joined #zope20:06
*** ccomb has joined #zope20:09
*** do3cc has quit IRC20:09
*** avoinea has quit IRC20:13
*** hever has joined #zope20:16
*** hever has quit IRC20:16
*** agroszer has quit IRC20:19
*** mitchell` is now known as mitchell`off20:26
*** m8 has quit IRC20:34
*** TomBlockley has quit IRC20:36
*** m8 has joined #zope20:37
*** tisto has quit IRC20:37
*** motto has joined #zope20:51
*** m8 has quit IRC20:52
*** mcdonc has quit IRC20:56
*** mcdonc has joined #zope21:04
*** d2m has quit IRC21:07
*** kiorky has quit IRC21:11
*** motto has quit IRC21:22
*** m8 has joined #zope21:23
*** d2m has joined #zope21:24
*** kiorky has joined #zope21:25
*** kiorky has quit IRC21:33
*** avoinea has joined #zope21:36
*** kiorky has joined #zope21:40
*** kleist has quit IRC21:49
*** eperez has joined #zope22:05
*** rogererens has joined #zope22:06
*** eperez has quit IRC22:07
*** eperez has joined #zope22:07
*** ccomb has quit IRC22:17
*** digitalmortician has joined #zope22:24
*** avoinea has quit IRC22:38
*** m8 has quit IRC22:42
*** m8 has joined #zope22:47
*** do3cc has joined #zope22:48
*** wosc has joined #zope22:55
*** __mac__ has quit IRC22:55
*** wosc has quit IRC22:56
*** supton has quit IRC23:22
*** avoinea has joined #zope23:27
*** jakke has quit IRC23:29
*** avoinea has quit IRC23:30
*** victor_ has quit IRC23:36
*** alexpilz has quit IRC23:57

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!