*** quodt_ has joined #zope3-dev | 00:05 | |
*** quodt has quit IRC | 00:05 | |
*** salfield has quit IRC | 00:09 | |
*** salfield has joined #zope3-dev | 00:14 | |
*** greenman has joined #zope3-dev | 00:26 | |
*** jpcw2002 has quit IRC | 00:29 | |
*** lucielejard has quit IRC | 00:33 | |
*** lucielejard_ has joined #zope3-dev | 00:33 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 00:33 | |
*** ccomb has quit IRC | 00:35 | |
*** jpcw2002 has joined #zope3-dev | 00:39 | |
*** zez_zez has joined #zope3-dev | 00:57 | |
*** gstratton has joined #zope3-dev | 00:59 | |
*** gstratton_ has joined #zope3-dev | 01:13 | |
*** andres_f has joined #zope3-dev | 01:16 | |
*** Jell-O-Fishi has joined #zope3-dev | 01:19 | |
*** whit has quit IRC | 01:20 | |
*** jamur2_ has quit IRC | 01:22 | |
*** gstratton has quit IRC | 01:27 | |
*** whit has joined #zope3-dev | 01:34 | |
*** rcrafton_ has joined #zope3-dev | 01:40 | |
*** J1m has quit IRC | 01:41 | |
*** lurkymclurkleton has quit IRC | 01:42 | |
*** lucielejard_ has quit IRC | 01:47 | |
*** gstratton_ has quit IRC | 02:06 | |
*** aaronv has joined #zope3-dev | 02:10 | |
*** benji has quit IRC | 02:12 | |
*** rcrafton_ has quit IRC | 02:19 | |
*** gstratton has joined #zope3-dev | 02:22 | |
*** flox has left #zope3-dev | 02:29 | |
*** nathany has quit IRC | 02:35 | |
*** norro has quit IRC | 02:37 | |
*** Jell-O-Fishi has quit IRC | 02:43 | |
*** b52laptop has quit IRC | 02:44 | |
*** deo has quit IRC | 02:52 | |
*** lucielejard has joined #zope3-dev | 02:53 | |
*** aaronv has quit IRC | 02:53 | |
*** lucielejard has quit IRC | 02:53 | |
*** nathany has joined #zope3-dev | 03:05 | |
*** junkafarian has quit IRC | 03:23 | |
*** salfield has quit IRC | 03:28 | |
*** nathany has quit IRC | 03:31 | |
*** quodt_ has quit IRC | 03:37 | |
*** zez_zez has quit IRC | 03:47 | |
*** rmarianski has quit IRC | 03:54 | |
*** deo has joined #zope3-dev | 03:58 | |
*** deo has quit IRC | 04:18 | |
*** dtremea has joined #zope3-dev | 04:18 | |
*** dtremea is now known as deo | 04:18 | |
*** reco has quit IRC | 04:19 | |
*** nathany has joined #zope3-dev | 04:24 | |
*** nathany has quit IRC | 04:52 | |
*** srichter has quit IRC | 04:59 | |
*** RaFromBRC has quit IRC | 05:00 | |
*** deo has quit IRC | 05:31 | |
*** tdoggette has quit IRC | 05:59 | |
*** kursor has joined #zope3-dev | 06:33 | |
*** stub has joined #zope3-dev | 06:58 | |
*** kursor has quit IRC | 07:17 | |
*** srichter has joined #zope3-dev | 07:17 | |
*** jayaraj has joined #zope3-dev | 08:23 | |
*** timte has joined #zope3-dev | 08:27 | |
*** binseer has joined #zope3-dev | 08:27 | |
*** jukart has joined #zope3-dev | 08:29 | |
*** rcrafton has quit IRC | 08:37 | |
*** greenman has quit IRC | 08:50 | |
*** ccomb has joined #zope3-dev | 08:59 | |
*** __mac__ has joined #zope3-dev | 09:06 | |
*** mustap has joined #zope3-dev | 09:32 | |
*** __mac__ has quit IRC | 09:34 | |
*** flox has joined #zope3-dev | 09:43 | |
*** ktwilight_ has joined #zope3-dev | 09:45 | |
*** ktwilight_ has quit IRC | 09:47 | |
*** __mac__ has joined #zope3-dev | 09:47 | |
*** __mac__ has quit IRC | 09:56 | |
*** __mac__ has joined #zope3-dev | 09:57 | |
*** ktwilight has quit IRC | 10:01 | |
*** norro has joined #zope3-dev | 10:37 | |
*** tarek has joined #zope3-dev | 10:43 | |
*** MJ has joined #zope3-dev | 10:43 | |
*** goschtl has joined #zope3-dev | 10:44 | |
*** gstratton has quit IRC | 10:51 | |
*** thruflo has joined #zope3-dev | 10:52 | |
*** stub has quit IRC | 10:54 | |
*** kursor has joined #zope3-dev | 10:58 | |
*** bigkevmcd has quit IRC | 10:58 | |
*** kursor has quit IRC | 10:58 | |
*** kursor has joined #zope3-dev | 11:00 | |
*** bigkevmcd has joined #zope3-dev | 11:00 | |
*** jodok has joined #zope3-dev | 11:01 | |
*** andres_f has quit IRC | 11:01 | |
*** seletz has joined #zope3-dev | 11:02 | |
*** quodt has joined #zope3-dev | 11:10 | |
*** dunny_ has joined #zope3-dev | 11:20 | |
*** alecghica has quit IRC | 11:25 | |
*** dunny has quit IRC | 11:28 | |
*** tdoggette has joined #zope3-dev | 11:33 | |
*** kursor has quit IRC | 11:42 | |
*** regebro has joined #zope3-dev | 11:50 | |
*** zagy has quit IRC | 11:57 | |
*** zagy has joined #zope3-dev | 11:58 | |
*** mkerrin has joined #zope3-dev | 12:03 | |
*** stub has joined #zope3-dev | 12:04 | |
*** philiKON_ has joined #zope3-dev | 12:07 | |
*** salfield has joined #zope3-dev | 12:15 | |
*** harobed has joined #zope3-dev | 12:16 | |
*** philiKON has quit IRC | 12:21 | |
*** junkafarian_ has joined #zope3-dev | 12:26 | |
*** svenn has joined #zope3-dev | 12:27 | |
*** svenn has quit IRC | 12:31 | |
*** alecghica has joined #zope3-dev | 12:34 | |
*** andres_f has joined #zope3-dev | 12:38 | |
*** andres_f is now known as andres | 12:38 | |
*** markusleist has quit IRC | 12:39 | |
*** bigkevmcd has quit IRC | 12:41 | |
*** greenman has joined #zope3-dev | 12:45 | |
*** bigkevmcd has joined #zope3-dev | 12:45 | |
*** d2m has joined #zope3-dev | 12:46 | |
*** d2m has left #zope3-dev | 12:58 | |
*** andres has quit IRC | 12:58 | |
*** b52laptop has joined #zope3-dev | 13:05 | |
*** MJ is now known as MJ|lunch | 13:13 | |
*** andres has joined #zope3-dev | 13:20 | |
*** jhauser has joined #zope3-dev | 13:25 | |
*** flox has left #zope3-dev | 13:27 | |
*** flox has joined #zope3-dev | 13:29 | |
*** bigkevmcd has quit IRC | 13:35 | |
*** mintsauce has joined #zope3-dev | 13:39 | |
mintsauce | im 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-dev | 13:41 | |
*** dirceu has joined #zope3-dev | 13:45 | |
zagy | mintsauce: bin/zopectl debug | 13:48 |
zagy | or bin/something, depending on your setup | 13:48 |
flox | mintsauce: or you should have a bin/youproject-debug | 13:48 |
flox | i guess | 13:48 |
*** MJ|lunch is now known as MJ | 13:52 | |
*** tarek has quit IRC | 13:55 | |
*** dunny_ has quit IRC | 14:36 | |
*** tarek has joined #zope3-dev | 14:37 | |
*** jpcw2002 has quit IRC | 14:37 | |
*** tdoggette has quit IRC | 14:39 | |
*** andres has quit IRC | 14:41 | |
*** andres has joined #zope3-dev | 14:42 | |
*** mintsauce has quit IRC | 14:45 | |
*** jodok has quit IRC | 14:57 | |
*** jpcw2002 has joined #zope3-dev | 15:00 | |
*** greenman has quit IRC | 15:08 | |
*** dirceu has quit IRC | 15:19 | |
*** benji has joined #zope3-dev | 15:22 | |
*** rcrafton has joined #zope3-dev | 15:25 | |
*** SteveA_ has joined #zope3-dev | 15:27 | |
*** b52laptop has quit IRC | 15:31 | |
*** SteveA has quit IRC | 15:38 | |
*** lurkymclurkleton has joined #zope3-dev | 15:51 | |
*** srichter has quit IRC | 15:54 | |
*** andres_f has joined #zope3-dev | 15:55 | |
*** jamur2 has joined #zope3-dev | 16:00 | |
*** fairwinds has joined #zope3-dev | 16:02 | |
*** andres__ has joined #zope3-dev | 16:06 | |
*** andres has quit IRC | 16:06 | |
*** andres__ is now known as andres | 16:06 | |
*** lucielejard has joined #zope3-dev | 16:10 | |
*** J1m has joined #zope3-dev | 16:16 | |
*** andres_f has quit IRC | 16:19 | |
*** redir has joined #zope3-dev | 16:22 | |
*** kursor has joined #zope3-dev | 16:24 | |
*** kursor has quit IRC | 16:25 | |
*** gstratton has joined #zope3-dev | 16:28 | |
*** zagy has quit IRC | 16:37 | |
*** kursor has joined #zope3-dev | 16:39 | |
*** whit has joined #zope3-dev | 16:45 | |
*** kursor has quit IRC | 16:48 | |
*** zagy has joined #zope3-dev | 16:48 | |
*** jayaraj has quit IRC | 16:53 | |
*** mgedmin has joined #zope3-dev | 16:56 | |
*** fairwinds_ has joined #zope3-dev | 17:00 | |
*** reco has joined #zope3-dev | 17:00 | |
*** aaronv has joined #zope3-dev | 17:02 | |
*** gstratton has quit IRC | 17:06 | |
*** fairwinds has quit IRC | 17:16 | |
*** binseer has quit IRC | 17:18 | |
*** hazmat has quit IRC | 17:22 | |
*** MJ has quit IRC | 17:22 | |
*** mintsauce has joined #zope3-dev | 17:25 | |
mintsauce | hi all, im running through PVW's book | 17:25 |
mintsauce | im trying to create an object via the debug prompt | 17:26 |
mintsauce | using ./bin/instance debug | 17:26 |
mintsauce | however, each time i enter a line, say: "from worldcookery.recipe import Recipe" the prompt just quits out, no error, nothing ... | 17:27 |
mintsauce | oddly, 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 is | 17:27 |
mintsauce | help! | 17:27 |
mgedmin | whoa | 17:28 |
*** jhauser_ has joined #zope3-dev | 17:30 | |
*** jhauser_ has quit IRC | 17:31 | |
mintsauce | any ideas? | 17:32 |
*** rmarianski has joined #zope3-dev | 17:38 | |
*** arika has quit IRC | 17:40 | |
*** srichter has joined #zope3-dev | 17:42 | |
*** jhauser has quit IRC | 17:43 | |
kobold | where can I find a good example about how to use local utilities? | 17:43 |
*** ChanServ sets mode: +o srichter | 17:43 | |
srichter | is there somewhere a short how-to on how to get started with Zope 3 on Windows? I need to build a couple of binary releases | 17:44 |
*** hexsprite has joined #zope3-dev | 17:45 | |
*** ktwilight has joined #zope3-dev | 17:47 | |
*** andres_f has joined #zope3-dev | 17:47 | |
mgedmin | mintsauce: what if you tried try: from worldcookery.recipe import Recipe; except SystemExit: print "waah" ? | 17:48 |
*** andres has quit IRC | 17:48 | |
*** andres_f is now known as andres | 17:48 | |
*** nathany has joined #zope3-dev | 17:50 | |
mintsauce | mgedmin: quits out silently in just the same way | 17:52 |
mintsauce | interestingly if i 'import urllib' it stays in the prompt as it should | 17:53 |
mgedmin | import worldcookery? import worldcookery.recipe? | 17:54 |
*** thruflo has quit IRC | 17:54 | |
mgedmin | what OS are you on? | 17:54 |
mgedmin | this sounds like a bug in one of the extension modules, perhaps? | 17:54 |
mintsauce | OSX | 17:59 |
mintsauce | import worldcookery works | 18:00 |
mintsauce | import worldcookery.recipe doesnt | 18:01 |
mintsauce | hmmm | 18:01 |
mintsauce | so 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 IRC | 18:03 | |
mgedmin | mhm, you could try asking on the zope3-users@zope.org mailing list | 18:14 |
mgedmin | I don't have OS X handy | 18:14 |
mgedmin | or at all | 18:14 |
*** harobed has quit IRC | 18:24 | |
*** stub has quit IRC | 18:27 | |
*** stub has joined #zope3-dev | 18:28 | |
*** zagy has joined #zope3-dev | 18:28 | |
mintsauce | mgedmin: ill give 'em a try | 18:29 |
mintsauce | thanks | 18:29 |
mgedmin | it does sound like a python problem (interpreter incompatible with extension modules, or some bug) | 18:30 |
*** jpcw2002 has quit IRC | 18:32 | |
*** MJ has joined #zope3-dev | 18:38 | |
*** SteveA has joined #zope3-dev | 18:53 | |
*** mustap has quit IRC | 18:56 | |
*** salfield has quit IRC | 19:03 | |
*** tarek has quit IRC | 19:04 | |
*** SteveA_ has quit IRC | 19:05 | |
*** kursor has joined #zope3-dev | 19:11 | |
*** mintsauce has quit IRC | 19:19 | |
*** nkim has joined #zope3-dev | 19:36 | |
*** salfield has joined #zope3-dev | 19:36 | |
*** jukart has quit IRC | 19:37 | |
*** timte has quit IRC | 19:41 | |
*** stub has quit IRC | 19:42 | |
*** jpcw2002 has joined #zope3-dev | 19:42 | |
*** tdoggette has joined #zope3-dev | 19:47 | |
*** seletz has quit IRC | 19:52 | |
*** mkerrin has quit IRC | 19:58 | |
*** andres has quit IRC | 20:04 | |
*** andres_f has joined #zope3-dev | 20:04 | |
*** tarek has joined #zope3-dev | 20:17 | |
*** RaFromBRC has joined #zope3-dev | 20: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 |
mgedmin | you're supposed to use unicode strings | 20:20 |
mgedmin | if I understand your problem correctly | 20:21 |
*** bigkevmcd has quit IRC | 20:21 | |
mgedmin | @action(u"Something") | 20:21 |
Pan_ | yep. | 20:21 |
Pan_ | and im using it like that | 20:21 |
mgedmin | and if you want literal non-ASCII chars, don't forget the # -*- coding: utf-8 -*- at the top of the file | 20:21 |
Pan_ | and even i have header at the beginng of my file: | 20:21 |
Pan_ | yes | 20:21 |
Pan_ | i have it | 20:21 |
mgedmin | and you're getting the error? | 20:21 |
Pan_ | # -*- coding: utf-8 -*- | 20:22 |
mgedmin | okay, then maybe you also need to pass a name='lalala' to the action decorator | 20:22 |
Pan_ | @action(u"Zamknij aukcjê") | 20:22 |
mgedmin | it is trying to build an ASCII-only ID for the HTML element | 20:22 |
Pan_ | ok. how to do that? | 20:22 |
Pan_ | @action(u"Zamknij aukcjê", name="my utf8 string")? | 20:22 |
Pan_ | correct? | 20:22 |
mgedmin | first, file a bug in the zope 3 bug tracker at http://launchpad.net/zope3/+bugs | 20:22 |
mgedmin | then do what you said, except with name="my_nonutf8_id" | 20:24 |
Pan_ | hah! working! | 20:24 |
Pan_ | mgedmin thanks :) | 20:25 |
mgedmin | the usual convention is to use the i18n machinery with English defaults | 20:25 |
mgedmin | so you'd have @action(_("Close auction")) or something | 20:25 |
mgedmin | with the non-ASCII translation substituted later, while rendering the page | 20:25 |
mgedmin | that's why nobody noticed this bug, I think | 20: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-dev | 20:33 | |
*** nkim has quit IRC | 20:33 | |
*** nkim_ has quit IRC | 20:34 | |
*** nkim has joined #zope3-dev | 20:34 | |
*** jukart has joined #zope3-dev | 20:35 | |
*** charith_para has joined #zope3-dev | 20:37 | |
mgedmin | I used to know... | 20:40 |
mgedmin | IIRC there was a setting in zope.conf, around zope 3.2 times | 20:40 |
mgedmin | no idea how it's done now, in the brave new buildout and eggified world | 20:41 |
philiKON_ | accesslog in the wsgi setup isn't supported | 20:42 |
philiKON_ | but you can use Paste#translogger | 20:42 |
Pan_ | what is Paste#translogger? | 20:43 |
philiKON_ | a wsgi middleware | 20:43 |
philiKON_ | that provides an accesslog | 20:43 |
philiKON_ | http://pythonpaste.org/modules/translogger.html | 20:43 |
philiKON_ | you can easily plug it in in your deploy.ini file | 20:43 |
*** charith_para has quit IRC | 20: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 format | 20: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.ini | 20: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 IRC | 20:49 | |
*** whit has quit IRC | 20:50 | |
*** alecghica has quit IRC | 20:51 | |
*** andres_f has quit IRC | 20:51 | |
*** junkafarian_ has quit IRC | 20:53 | |
*** salfield has quit IRC | 20:55 | |
*** nkim has quit IRC | 21:14 | |
*** kursor has quit IRC | 21:29 | |
*** jukart has quit IRC | 21:34 | |
*** andres_f has joined #zope3-dev | 21:36 | |
*** norro has quit IRC | 21:50 | |
*** norro has joined #zope3-dev | 21:51 | |
*** timte has joined #zope3-dev | 21:55 | |
*** nathany is now known as nathany_curry | 21:57 | |
*** hazmat has joined #zope3-dev | 22:08 | |
*** ChanServ sets mode: +o hazmat | 22:08 | |
*** redir has quit IRC | 22:24 | |
*** jodok has joined #zope3-dev | 22:25 | |
*** jpcw2002 has quit IRC | 22:30 | |
*** nathany_curry is now known as nathany | 22:49 | |
*** sp0cksbeard has joined #zope3-dev | 22:52 | |
*** b52laptop has joined #zope3-dev | 23:01 | |
*** Jell-O-Fishi has joined #zope3-dev | 23:30 | |
*** J1m has quit IRC | 23:33 | |
*** tarek has joined #zope3-dev | 23:35 | |
*** J1m has joined #zope3-dev | 23:37 | |
*** MJ has quit IRC | 23:41 | |
*** J1m has quit IRC | 23:41 | |
*** quodt has quit IRC | 23:45 | |
*** tarek has quit IRC | 23:47 | |
*** tarek has joined #zope3-dev | 23:51 | |
*** whit has joined #zope3-dev | 23:53 | |
*** dunny has joined #zope3-dev | 23:54 | |
*** whit has quit IRC | 23:54 | |
*** whit has joined #zope3-dev | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!