IRC log of #zope3-dev for Tuesday, 2008-06-24

*** quodt_ has joined #zope3-dev00:05
*** quodt has quit IRC00:05
*** salfield has quit IRC00:09
*** salfield has joined #zope3-dev00:14
*** greenman has joined #zope3-dev00:26
*** jpcw2002 has quit IRC00:29
*** lucielejard has quit IRC00:33
*** lucielejard_ has joined #zope3-dev00:33
*** RaFromBRC|lunch is now known as RaFromBRC00:33
*** ccomb has quit IRC00:35
*** jpcw2002 has joined #zope3-dev00:39
*** zez_zez has joined #zope3-dev00:57
*** gstratton has joined #zope3-dev00:59
*** gstratton_ has joined #zope3-dev01:13
*** andres_f has joined #zope3-dev01:16
*** Jell-O-Fishi has joined #zope3-dev01:19
*** whit has quit IRC01:20
*** jamur2_ has quit IRC01:22
*** gstratton has quit IRC01:27
*** whit has joined #zope3-dev01:34
*** rcrafton_ has joined #zope3-dev01:40
*** J1m has quit IRC01:41
*** lurkymclurkleton has quit IRC01:42
*** lucielejard_ has quit IRC01:47
*** gstratton_ has quit IRC02:06
*** aaronv has joined #zope3-dev02:10
*** benji has quit IRC02:12
*** rcrafton_ has quit IRC02:19
*** gstratton has joined #zope3-dev02:22
*** flox has left #zope3-dev02:29
*** nathany has quit IRC02:35
*** norro has quit IRC02:37
*** Jell-O-Fishi has quit IRC02:43
*** b52laptop has quit IRC02:44
*** deo has quit IRC02:52
*** lucielejard has joined #zope3-dev02:53
*** aaronv has quit IRC02:53
*** lucielejard has quit IRC02:53
*** nathany has joined #zope3-dev03:05
*** junkafarian has quit IRC03:23
*** salfield has quit IRC03:28
*** nathany has quit IRC03:31
*** quodt_ has quit IRC03:37
*** zez_zez has quit IRC03:47
*** rmarianski has quit IRC03:54
*** deo has joined #zope3-dev03:58
*** deo has quit IRC04:18
*** dtremea has joined #zope3-dev04:18
*** dtremea is now known as deo04:18
*** reco has quit IRC04:19
*** nathany has joined #zope3-dev04:24
*** nathany has quit IRC04:52
*** srichter has quit IRC04:59
*** RaFromBRC has quit IRC05:00
*** deo has quit IRC05:31
*** tdoggette has quit IRC05:59
*** kursor has joined #zope3-dev06:33
*** stub has joined #zope3-dev06:58
*** kursor has quit IRC07:17
*** srichter has joined #zope3-dev07:17
*** jayaraj has joined #zope3-dev08:23
*** timte has joined #zope3-dev08:27
*** binseer has joined #zope3-dev08:27
*** jukart has joined #zope3-dev08:29
*** rcrafton has quit IRC08:37
*** greenman has quit IRC08:50
*** ccomb has joined #zope3-dev08:59
*** __mac__ has joined #zope3-dev09:06
*** mustap has joined #zope3-dev09:32
*** __mac__ has quit IRC09:34
*** flox has joined #zope3-dev09:43
*** ktwilight_ has joined #zope3-dev09:45
*** ktwilight_ has quit IRC09:47
*** __mac__ has joined #zope3-dev09:47
*** __mac__ has quit IRC09:56
*** __mac__ has joined #zope3-dev09:57
*** ktwilight has quit IRC10:01
*** norro has joined #zope3-dev10:37
*** tarek has joined #zope3-dev10:43
*** MJ has joined #zope3-dev10:43
*** goschtl has joined #zope3-dev10:44
*** gstratton has quit IRC10:51
*** thruflo has joined #zope3-dev10:52
*** stub has quit IRC10:54
*** kursor has joined #zope3-dev10:58
*** bigkevmcd has quit IRC10:58
*** kursor has quit IRC10:58
*** kursor has joined #zope3-dev11:00
*** bigkevmcd has joined #zope3-dev11:00
*** jodok has joined #zope3-dev11:01
*** andres_f has quit IRC11:01
*** seletz has joined #zope3-dev11:02
*** quodt has joined #zope3-dev11:10
*** dunny_ has joined #zope3-dev11:20
*** alecghica has quit IRC11:25
*** dunny has quit IRC11:28
*** tdoggette has joined #zope3-dev11:33
*** kursor has quit IRC11:42
*** regebro has joined #zope3-dev11:50
*** zagy has quit IRC11:57
*** zagy has joined #zope3-dev11:58
*** mkerrin has joined #zope3-dev12:03
*** stub has joined #zope3-dev12:04
*** philiKON_ has joined #zope3-dev12:07
*** salfield has joined #zope3-dev12:15
*** harobed has joined #zope3-dev12:16
*** philiKON has quit IRC12:21
*** junkafarian_ has joined #zope3-dev12:26
*** svenn has joined #zope3-dev12:27
*** svenn has quit IRC12:31
*** alecghica has joined #zope3-dev12:34
*** andres_f has joined #zope3-dev12:38
*** andres_f is now known as andres12:38
*** markusleist has quit IRC12:39
*** bigkevmcd has quit IRC12:41
*** greenman has joined #zope3-dev12:45
*** bigkevmcd has joined #zope3-dev12:45
*** d2m has joined #zope3-dev12:46
*** d2m has left #zope3-dev12:58
*** andres has quit IRC12:58
*** b52laptop has joined #zope3-dev13:05
*** MJ is now known as MJ|lunch13:13
*** andres has joined #zope3-dev13:20
*** jhauser has joined #zope3-dev13:25
*** flox has left #zope3-dev13:27
*** flox has joined #zope3-dev13:29
*** bigkevmcd has quit IRC13:35
*** mintsauce has joined #zope3-dev13:39
mintsauceim using a buildout based zope instance - how would i call the bin/debugzope command? (working through PVW's book)13:40
*** bigkevmcd has joined #zope3-dev13:41
*** dirceu has joined #zope3-dev13:45
zagymintsauce: bin/zopectl debug13:48
zagyor bin/something, depending on your setup13:48
floxmintsauce: or you should have a bin/youproject-debug13:48
floxi guess13:48
*** MJ|lunch is now known as MJ13:52
*** tarek has quit IRC13:55
*** dunny_ has quit IRC14:36
*** tarek has joined #zope3-dev14:37
*** jpcw2002 has quit IRC14:37
*** tdoggette has quit IRC14:39
*** andres has quit IRC14:41
*** andres has joined #zope3-dev14:42
*** mintsauce has quit IRC14:45
*** jodok has quit IRC14:57
*** jpcw2002 has joined #zope3-dev15:00
*** greenman has quit IRC15:08
*** dirceu has quit IRC15:19
*** benji has joined #zope3-dev15:22
*** rcrafton has joined #zope3-dev15:25
*** SteveA_ has joined #zope3-dev15:27
*** b52laptop has quit IRC15:31
*** SteveA has quit IRC15:38
*** lurkymclurkleton has joined #zope3-dev15:51
*** srichter has quit IRC15:54
*** andres_f has joined #zope3-dev15:55
*** jamur2 has joined #zope3-dev16:00
*** fairwinds has joined #zope3-dev16:02
*** andres__ has joined #zope3-dev16:06
*** andres has quit IRC16:06
*** andres__ is now known as andres16:06
*** lucielejard has joined #zope3-dev16:10
*** J1m has joined #zope3-dev16:16
*** andres_f has quit IRC16:19
*** redir has joined #zope3-dev16:22
*** kursor has joined #zope3-dev16:24
*** kursor has quit IRC16:25
*** gstratton has joined #zope3-dev16:28
*** zagy has quit IRC16:37
*** kursor has joined #zope3-dev16:39
*** whit has joined #zope3-dev16:45
*** kursor has quit IRC16:48
*** zagy has joined #zope3-dev16:48
*** jayaraj has quit IRC16:53
*** mgedmin has joined #zope3-dev16:56
*** fairwinds_ has joined #zope3-dev17:00
*** reco has joined #zope3-dev17:00
*** aaronv has joined #zope3-dev17:02
*** gstratton has quit IRC17:06
*** fairwinds has quit IRC17:16
*** binseer has quit IRC17:18
*** hazmat has quit IRC17:22
*** MJ has quit IRC17:22
*** mintsauce has joined #zope3-dev17:25
mintsaucehi all, im running through PVW's book17:25
mintsauceim trying to create an object via the debug prompt17:26
mintsauceusing ./bin/instance debug17:26
mintsaucehowever, each time i enter a line, say: "from worldcookery.recipe import Recipe" the prompt just quits out, no error, nothing ...17:27
mintsauceoddly, if i mistype the name on purpose, it gives a proper error, so it looks like things are working ..... but the book doesnt show the prompt quitting as it is17:27
mintsaucehelp!17:27
mgedminwhoa17:28
*** jhauser_ has joined #zope3-dev17:30
*** jhauser_ has quit IRC17:31
mintsauceany ideas?17:32
*** rmarianski has joined #zope3-dev17:38
*** arika has quit IRC17:40
*** srichter has joined #zope3-dev17:42
*** jhauser has quit IRC17:43
koboldwhere can I find a good example about how to use local utilities?17:43
*** ChanServ sets mode: +o srichter17:43
srichteris there somewhere a short how-to on how to get started with Zope 3 on Windows? I need to build a couple of binary releases17:44
*** hexsprite has joined #zope3-dev17:45
*** ktwilight has joined #zope3-dev17:47
*** andres_f has joined #zope3-dev17:47
mgedminmintsauce: what if you tried try: from worldcookery.recipe import Recipe; except SystemExit: print "waah" ?17:48
*** andres has quit IRC17:48
*** andres_f is now known as andres17:48
*** nathany has joined #zope3-dev17:50
mintsaucemgedmin: quits out silently in just the same way17:52
mintsauceinterestingly if i 'import urllib' it stays in the prompt as it should17:53
mgedminimport worldcookery? import worldcookery.recipe?17:54
*** thruflo has quit IRC17:54
mgedminwhat OS are you on?17:54
mgedminthis sounds like a bug in one of the extension modules, perhaps?17:54
mintsauceOSX17:59
mintsauceimport worldcookery works18:00
mintsauceimport worldcookery.recipe doesnt18:01
mintsaucehmmm18:01
mintsauceso my app is registered but the class isn't?18:01
mintsauce(bear in mind im only on the 4th chapter of the book!)18:01
*** zagy has quit IRC18:03
mgedminmhm, you could try asking on the zope3-users@zope.org mailing list18:14
mgedminI don't have OS X handy18:14
mgedminor at all18:14
*** harobed has quit IRC18:24
*** stub has quit IRC18:27
*** stub has joined #zope3-dev18:28
*** zagy has joined #zope3-dev18:28
mintsaucemgedmin: ill give 'em a try18:29
mintsaucethanks18:29
mgedminit does sound like a python problem (interpreter incompatible with extension modules, or some bug)18:30
*** jpcw2002 has quit IRC18:32
*** MJ has joined #zope3-dev18:38
*** SteveA has joined #zope3-dev18:53
*** mustap has quit IRC18:56
*** salfield has quit IRC19:03
*** tarek has quit IRC19:04
*** SteveA_ has quit IRC19:05
*** kursor has joined #zope3-dev19:11
*** mintsauce has quit IRC19:19
*** nkim has joined #zope3-dev19:36
*** salfield has joined #zope3-dev19:36
*** jukart has quit IRC19:37
*** timte has quit IRC19:41
*** stub has quit IRC19:42
*** jpcw2002 has joined #zope3-dev19:42
*** tdoggette has joined #zope3-dev19:47
*** seletz has quit IRC19:52
*** mkerrin has quit IRC19:58
*** andres has quit IRC20:04
*** andres_f has joined #zope3-dev20:04
*** tarek has joined #zope3-dev20:17
*** RaFromBRC has joined #zope3-dev20:19
Pan_bah. why im getting this:     UnicodeEncodeError: 'ascii' codec can't encode character u'\u0119' in position 13: ordinal not in range(128)20:20
Pan_when im using utf-8 in @action?20:20
mgedminyou're supposed to use unicode strings20:20
mgedminif I understand your problem correctly20:21
*** bigkevmcd has quit IRC20:21
mgedmin@action(u"Something")20:21
Pan_yep.20:21
Pan_and im using it like that20:21
mgedminand if you want literal non-ASCII chars, don't forget the # -*- coding: utf-8 -*- at the top of the file20:21
Pan_and even i have header at the beginng of my file:20:21
Pan_yes20:21
Pan_i have it20:21
mgedminand you're getting the error?20:21
Pan_# -*- coding: utf-8 -*-20:22
mgedminokay, then maybe you also need to pass a name='lalala' to the action decorator20:22
Pan_    @action(u"Zamknij aukcjê")20:22
mgedminit is trying to build an ASCII-only ID for the HTML element20:22
Pan_ok. how to do that?20:22
Pan_    @action(u"Zamknij aukcjê", name="my utf8 string")?20:22
Pan_correct?20:22
mgedminfirst, file a bug in the zope 3 bug tracker at http://launchpad.net/zope3/+bugs20:22
mgedminthen do what you said, except with name="my_nonutf8_id"20:24
Pan_hah! working!20:24
Pan_mgedmin thanks :)20:25
mgedminthe usual convention is to use the i18n machinery with English defaults20:25
mgedminso you'd have @action(_("Close auction")) or something20:25
mgedminwith the non-ASCII translation substituted later, while rendering the page20:25
mgedminthat's why nobody noticed this bug, I think20:25
Pan_yes, i think you are right. im doing somethings fast, so i dont always use zope machinery.20:26
Pan_like locales.20:26
Pan_i know that not good idea, but i dont have to much time to end it.20:26
Pan_thanks again ;)20:27
Pan_oh, perhaps you know, how to turn on accesslog in zope3?20:28
Pan_do i have to use zope3recipe?20:28
*** nkim_ has joined #zope3-dev20:33
*** nkim has quit IRC20:33
*** nkim_ has quit IRC20:34
*** nkim has joined #zope3-dev20:34
*** jukart has joined #zope3-dev20:35
*** charith_para has joined #zope3-dev20:37
mgedminI used to know...20:40
mgedminIIRC there was a setting in zope.conf, around zope 3.2 times20:40
mgedminno idea how it's done now, in the brave new buildout and eggified world20:41
philiKON_accesslog in the wsgi setup isn't supported20:42
philiKON_but you can use Paste#translogger20:42
Pan_what is Paste#translogger?20:43
philiKON_a wsgi middleware20:43
philiKON_that provides an accesslog20:43
philiKON_http://pythonpaste.org/modules/translogger.html20:43
philiKON_you can easily plug it in in your deploy.ini file20:43
*** charith_para has quit IRC20:44
Pan_great! its like accesslog?20:44
Pan_mgedmin: rite, i was using accesslog setting in zope.conf, but as philiKON_ said, its not longer supported.20:44
Pan_Middleware for logging requests, using Apache combined log format20:45
Pan_great! :)20:45
Pan_any quick tip how to install it ;) ?20:45
philiKON_jsu plug Paste#translogger as a middleware into your deploy.ini20:46
philiKON_you can read about it on http://pythonpaste.org/deploy/20:46
Pan_ok. great. thanks philiKON_, its big help for me.20:47
*** tarek has quit IRC20:49
*** whit has quit IRC20:50
*** alecghica has quit IRC20:51
*** andres_f has quit IRC20:51
*** junkafarian_ has quit IRC20:53
*** salfield has quit IRC20:55
*** nkim has quit IRC21:14
*** kursor has quit IRC21:29
*** jukart has quit IRC21:34
*** andres_f has joined #zope3-dev21:36
*** norro has quit IRC21:50
*** norro has joined #zope3-dev21:51
*** timte has joined #zope3-dev21:55
*** nathany is now known as nathany_curry21:57
*** hazmat has joined #zope3-dev22:08
*** ChanServ sets mode: +o hazmat22:08
*** redir has quit IRC22:24
*** jodok has joined #zope3-dev22:25
*** jpcw2002 has quit IRC22:30
*** nathany_curry is now known as nathany22:49
*** sp0cksbeard has joined #zope3-dev22:52
*** b52laptop has joined #zope3-dev23:01
*** Jell-O-Fishi has joined #zope3-dev23:30
*** J1m has quit IRC23:33
*** tarek has joined #zope3-dev23:35
*** J1m has joined #zope3-dev23:37
*** MJ has quit IRC23:41
*** J1m has quit IRC23:41
*** quodt has quit IRC23:45
*** tarek has quit IRC23:47
*** tarek has joined #zope3-dev23:51
*** whit has joined #zope3-dev23:53
*** dunny has joined #zope3-dev23:54
*** whit has quit IRC23:54
*** whit has joined #zope3-dev23:54

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