*** pbugni has quit IRC | 00:01 | |
*** regebro has joined #zope3-dev | 00:02 | |
*** RaFromBRC has quit IRC | 00:04 | |
*** RaFromBRC_ is now known as RaFromBRC | 00:04 | |
*** jsadjohnson has joined #zope3-dev | 00:05 | |
*** gstratton has quit IRC | 00:06 | |
*** b52laptop has quit IRC | 00:07 | |
*** pbugni_ has quit IRC | 00:07 | |
*** b52laptop has joined #zope3-dev | 00:08 | |
*** alga has quit IRC | 00:10 | |
*** RaFromBRC has quit IRC | 00:22 | |
*** RaFromBRC has joined #zope3-dev | 00:23 | |
*** dobee has quit IRC | 00:45 | |
*** mkerrin has joined #zope3-dev | 00:49 | |
*** pelle_ has quit IRC | 00:54 | |
*** mkerrin has quit IRC | 01:02 | |
*** gstratton has joined #zope3-dev | 01:03 | |
*** gstratton has quit IRC | 01:07 | |
*** philiKON has quit IRC | 01:15 | |
*** gstratton has joined #zope3-dev | 01:15 | |
*** Ariel_Calzada has quit IRC | 01:29 | |
*** regebro has left #zope3-dev | 01:34 | |
*** dunny has joined #zope3-dev | 01:36 | |
*** aclark|nearby is now known as aclark | 01:47 | |
*** J1m has quit IRC | 01:48 | |
*** jsadjohnson has quit IRC | 01:52 | |
*** gstratton has quit IRC | 02:05 | |
*** bao has joined #zope3-dev | 02:27 | |
*** nathany has quit IRC | 02:40 | |
*** jsadjohnson has joined #zope3-dev | 02:43 | |
*** faassen has quit IRC | 02:57 | |
*** greenman has joined #zope3-dev | 03:04 | |
*** pbugni has joined #zope3-dev | 03:05 | |
*** roym has joined #zope3-dev | 03:11 | |
*** pbugni has quit IRC | 03:57 | |
*** alecm has quit IRC | 03:59 | |
*** RaFromBRC has quit IRC | 04:18 | |
*** jsadjohnson_ has joined #zope3-dev | 04:29 | |
*** bao has left #zope3-dev | 04:31 | |
*** roym has quit IRC | 04:36 | |
*** Ariel_Calzada has joined #zope3-dev | 05:15 | |
*** stub has quit IRC | 05:16 | |
*** stub has joined #zope3-dev | 05:19 | |
*** b52laptop has quit IRC | 05:21 | |
*** jsadjohnson has quit IRC | 05:25 | |
*** greenman_ has joined #zope3-dev | 05:34 | |
*** greenman has quit IRC | 05:34 | |
*** ousado_ has quit IRC | 05:40 | |
*** ousado_ has joined #zope3-dev | 05:40 | |
*** niemeyer has quit IRC | 06:02 | |
*** philiKON has joined #zope3-dev | 06:24 | |
*** philiKON has quit IRC | 06:42 | |
*** pbugni has joined #zope3-dev | 06:44 | |
markusleist | srichter: ayt | 06:47 |
---|---|---|
markusleist | srichter: will send you a small z3c.form patch by mail | 06:50 |
*** greenman has joined #zope3-dev | 07:14 | |
*** greenman_ has quit IRC | 07:14 | |
*** huajie has joined #zope3-dev | 07:18 | |
*** jsadjohnson_ has quit IRC | 07:21 | |
*** jsadjohnson has joined #zope3-dev | 07:21 | |
*** junkafarian has quit IRC | 07:33 | |
*** junkafarian has joined #zope3-dev | 07:34 | |
*** edgordon_ has joined #zope3-dev | 07:44 | |
*** dobee has joined #zope3-dev | 07:55 | |
*** edgordon has quit IRC | 08:04 | |
*** baijum has joined #zope3-dev | 08:08 | |
*** jodok has joined #zope3-dev | 08:11 | |
*** jsadjohnson has quit IRC | 08:17 | |
*** jukart has joined #zope3-dev | 08:25 | |
*** jan_cbv has joined #zope3-dev | 08:30 | |
*** greenman_ has joined #zope3-dev | 08:32 | |
*** greenman has quit IRC | 08:32 | |
*** jamesh has joined #zope3-dev | 08:33 | |
*** zagy has joined #zope3-dev | 09:00 | |
*** dunny has quit IRC | 09:02 | |
*** aclark is now known as aclark|away | 09:06 | |
*** cursor has joined #zope3-dev | 09:08 | |
*** philiKON has joined #zope3-dev | 09:13 | |
*** huajie has quit IRC | 09:14 | |
*** hdima has joined #zope3-dev | 09:16 | |
*** agroszer has joined #zope3-dev | 09:24 | |
*** pyqwer has joined #zope3-dev | 09:25 | |
pyqwer | Does someone know what's the best way to install Zope3 as a Python library? Is it possible to do an easy_install? | 09:26 |
pyqwer | I can currently run Zope3 but if I try to do an "import zope" from the Python command line, it fails. | 09:27 |
*** greenman_ has quit IRC | 09:30 | |
*** philiKON has quit IRC | 09:43 | |
*** chacha_chaudhry has joined #zope3-dev | 09:45 | |
*** Ariel_Calzada has quit IRC | 09:48 | |
romanofski | moin | 09:50 |
*** regebro has joined #zope3-dev | 09:55 | |
*** timte has joined #zope3-dev | 09:55 | |
*** philiKON has joined #zope3-dev | 09:57 | |
*** ignas has joined #zope3-dev | 10:06 | |
*** sureshvv has joined #zope3-dev | 10:17 | |
*** rcrafton has quit IRC | 10:18 | |
sureshvv | AttributeError: 'BrowserRequest' object has no attribute 'set' | 10:19 |
sureshvv | How do I set something in the request? | 10:19 |
philiKON | you don't | 10:20 |
philiKON | request is read only | 10:20 |
philiKON | the fact that the zope 2 request has a 'set' method is evi evil evil | 10:20 |
sureshvv | ok... | 10:22 |
sureshvv | how do I set a flag in a form that the .pt file can examine? | 10:22 |
sureshvv | in the action method? | 10:23 |
sureshvv | view attribute? | 10:24 |
sureshvv | philiKON... say something :) | 10:26 |
philiKON | yes, set someting on the view object | 10:26 |
sureshvv | ok... | 10:27 |
*** pelle_ has joined #zope3-dev | 10:34 | |
*** gstratton has joined #zope3-dev | 10:35 | |
*** harobed has joined #zope3-dev | 10:36 | |
*** jodok has quit IRC | 10:39 | |
*** jan_cbv has quit IRC | 10:47 | |
sureshvv | Zope thinks SimpleViewClass is the view class rather than my form | 10:51 |
*** pelle_ has quit IRC | 10:52 | |
*** pelle_ has joined #zope3-dev | 10:55 | |
*** cursor has quit IRC | 11:10 | |
*** cursor has joined #zope3-dev | 11:16 | |
sureshvv | Need some help with formlib | 11:18 |
sureshvv | I have a .pt file with a form in it | 11:19 |
sureshvv | at the top of the .pt file I test a view attribute | 11:19 |
sureshvv | on submit I set the value of the attribute | 11:19 |
*** MJ has joined #zope3-dev | 11:19 | |
sureshvv | The attribute value seems to change mid way in the .pt file | 11:20 |
sureshvv | does this make sense? | 11:20 |
*** greenman has joined #zope3-dev | 11:41 | |
*** baijum has quit IRC | 11:48 | |
*** baijum has joined #zope3-dev | 11:50 | |
*** jfroche has joined #zope3-dev | 11:51 | |
*** mgedmin has joined #zope3-dev | 12:16 | |
*** dunny has joined #zope3-dev | 12:23 | |
*** malthe has joined #zope3-dev | 12:25 | |
*** ThomasKarlRichte has joined #zope3-dev | 12:40 | |
ThomasKarlRichte | where can i find an introduction about how bootstrapping is working inside zope.app? | 12:41 |
wiggy | in the source | 12:43 |
*** yvl has joined #zope3-dev | 12:49 | |
*** chacha_chaudhry has quit IRC | 12:54 | |
*** MrTopf has joined #zope3-dev | 12:58 | |
*** MJ is now known as MJ|out | 12:59 | |
*** faassen has joined #zope3-dev | 13:08 | |
*** mkerrin has joined #zope3-dev | 13:13 | |
*** yvl has quit IRC | 13:14 | |
*** junkafarian is now known as Monty|farian | 13:16 | |
*** salfield has joined #zope3-dev | 13:16 | |
*** Monty|farian is now known as junkafarian | 13:30 | |
sureshvv | Is it ok to do self.request.response.redirect() inside a form action? | 13:32 |
*** jinty has joined #zope3-dev | 13:34 | |
philiKON | yup | 13:37 |
philiKON | ThomasKarlRichte: look at the code zopeproject generates, for instance | 13:37 |
philiKON | ThomasKarlRichte: in src/<package>/startup.py | 13:37 |
*** junkafarian has left #zope3-dev | 13:38 | |
ThomasKarlRichte | phileKON: thanx | 13:38 |
*** MJ|out is now known as MJ | 13:41 | |
*** BjornT has quit IRC | 13:46 | |
*** sureshvv has left #zope3-dev | 13:49 | |
*** malthe has quit IRC | 13:55 | |
*** b52laptop has joined #zope3-dev | 13:57 | |
*** malthe has joined #zope3-dev | 14:00 | |
*** alga has joined #zope3-dev | 14:04 | |
*** rocky has quit IRC | 14:07 | |
*** BjornT has joined #zope3-dev | 14:09 | |
*** faassen has left #zope3-dev | 14:15 | |
*** rocky has joined #zope3-dev | 14:21 | |
*** rcrafton has joined #zope3-dev | 14:31 | |
*** aclark|away is now known as aclark | 14:32 | |
*** malthe has quit IRC | 14:35 | |
*** deo has quit IRC | 14:35 | |
*** malthe has joined #zope3-dev | 14:35 | |
*** deo has joined #zope3-dev | 14:35 | |
*** MrTopf_ has joined #zope3-dev | 14:37 | |
*** ignas has quit IRC | 14:39 | |
*** MrTopf has quit IRC | 14:45 | |
*** romanofski has quit IRC | 14:47 | |
*** ignas has joined #zope3-dev | 14:49 | |
*** MJ is now known as MJ|lunch | 15:09 | |
*** niemeyer has joined #zope3-dev | 15:10 | |
*** benji has joined #zope3-dev | 15:16 | |
*** jodok has joined #zope3-dev | 15:24 | |
*** malthe has quit IRC | 15:25 | |
*** MacYET has joined #zope3-dev | 15:25 | |
*** jodok has quit IRC | 15:25 | |
*** ghendi has joined #zope3-dev | 15:28 | |
*** greenman has quit IRC | 15:39 | |
*** markusleist has quit IRC | 15:46 | |
*** salfield has quit IRC | 15:47 | |
*** greenman has joined #zope3-dev | 15:48 | |
*** ruda_porto has joined #zope3-dev | 15:49 | |
*** MJ|lunch is now known as MJ | 15:53 | |
*** MrTopf_ is now known as MrTopf | 16:06 | |
*** ThomasKarlRichte has quit IRC | 16:11 | |
* Cripps yawns | 16:14 | |
*** malthe has joined #zope3-dev | 16:14 | |
Cripps | good morning folk | 16:14 |
*** jsadjohnson has joined #zope3-dev | 16:14 | |
*** greenman has quit IRC | 16:15 | |
*** pbugni has quit IRC | 16:23 | |
*** pelle__ has joined #zope3-dev | 16:24 | |
*** hdima has quit IRC | 16:33 | |
*** malthe is now known as malthe|away | 16:35 | |
*** cursor has quit IRC | 16:40 | |
*** pelle_ has quit IRC | 16:41 | |
*** baijum has quit IRC | 16:50 | |
*** rocky has quit IRC | 17:01 | |
*** Ariel_Calzada has joined #zope3-dev | 17:05 | |
*** redir has joined #zope3-dev | 17:15 | |
*** gstratton has quit IRC | 17:17 | |
redir | I have to create an object to register it with an IntIds utility, correct? THis means that I cannot use the IntIds utility to create unique names for items does it not? | 17:17 |
*** ghendi has quit IRC | 17:23 | |
*** gstratton has joined #zope3-dev | 17:25 | |
*** nathany has joined #zope3-dev | 17:30 | |
*** BjornT has quit IRC | 17:30 | |
*** BjornT has joined #zope3-dev | 17:40 | |
*** salfield has joined #zope3-dev | 17:43 | |
*** MacYET has left #zope3-dev | 17:45 | |
*** BjornT has quit IRC | 17:47 | |
*** BjornT has joined #zope3-dev | 17:47 | |
*** dobee has quit IRC | 17:48 | |
philiKON | redir: you have to *add* an object to a container to register it with intids | 18:01 |
philiKON | not only create | 18:01 |
philiKON | there's a difference | 18:01 |
philiKON | create: obj = MyKlass() | 18:01 |
philiKON | add: container['obj'] = obj | 18:01 |
philiKON | to answer your question, yes. | 18:01 |
*** jfroche has quit IRC | 18:03 | |
*** edgordon_ has quit IRC | 18:11 | |
*** zagy has quit IRC | 18:14 | |
*** timte has quit IRC | 18:27 | |
*** dobee has joined #zope3-dev | 18:30 | |
*** stub has quit IRC | 18:39 | |
*** pbugni has joined #zope3-dev | 18:39 | |
*** MrTopf has quit IRC | 18:44 | |
*** MrTopf has joined #zope3-dev | 18:46 | |
*** edgordon has joined #zope3-dev | 18:46 | |
*** MrTopf has quit IRC | 19:04 | |
*** febb has joined #zope3-dev | 19:06 | |
*** harobed has quit IRC | 19:07 | |
redir | THanks philiKON | 19:19 |
*** aclark is now known as aclark|nearby | 19:20 | |
*** MJ has quit IRC | 19:23 | |
*** jukart has quit IRC | 19:28 | |
*** jinty has quit IRC | 19:29 | |
*** ruda_porto has quit IRC | 19:38 | |
*** philiKON has quit IRC | 19:39 | |
*** edgordon has quit IRC | 19:42 | |
*** mgedmin has quit IRC | 19:52 | |
*** jsadjohnson_ has joined #zope3-dev | 19:53 | |
*** jsadjohnson has quit IRC | 19:55 | |
*** edgordon has joined #zope3-dev | 20:00 | |
*** RaFromBRC has joined #zope3-dev | 20:00 | |
*** Ariel_Calzada has quit IRC | 20:02 | |
*** jsadjohnson_ has quit IRC | 20:08 | |
*** rocky has joined #zope3-dev | 20:11 | |
*** agroszer_ has joined #zope3-dev | 20:12 | |
*** mkerrin has quit IRC | 20:13 | |
hazmat | what recipe are folks using for a zope 3 instance.. zope3recipes or zope3instance | 20:23 |
hazmat | i was trying out zope3recipes, but it seems to have a bug in it, it references an undefined variable logger on error | 20:23 |
*** rocky has quit IRC | 20:24 | |
*** agroszer has quit IRC | 20:25 | |
*** ignas has quit IRC | 20:36 | |
*** bigkevmcd has quit IRC | 20:46 | |
*** Ariel_Calzada has joined #zope3-dev | 20:47 | |
*** timte has joined #zope3-dev | 20:54 | |
*** alecm has joined #zope3-dev | 20:55 | |
*** jsadjohnson has joined #zope3-dev | 21:00 | |
*** gstratton has quit IRC | 21:07 | |
_tarek_ | I have a question about encodings in Zope 3 | 21:18 |
_tarek_ | i can see unicode() in Zope 3 code, and sometimes, unicode(xx, utf8), and sometimes unicode(xxx, getPreferredEncoding()) | 21:19 |
_tarek_ | the thing is, for the unicode(xxx) it can brake, depending on the python encoding | 21:20 |
_tarek_ | what is the best practice ? | 21:20 |
_tarek_ | changing python default encoding or | 21:20 |
_tarek_ | always specify the encoding to use ? | 21:20 |
*** salfield has quit IRC | 21:22 | |
*** alga has quit IRC | 21:26 | |
*** philiKON has joined #zope3-dev | 21:33 | |
_tarek_ | hi philiKON | 21:35 |
philiKON | hi | 21:35 |
_tarek_ | i have a question about encoding in zope 3, | 21:35 |
_tarek_ | i had a bug on a unicode(xxx) call | 21:35 |
_tarek_ | and i've seen people around using sys.setdefaultaencoding to force to utf8 | 21:36 |
_tarek_ | when the ascii codec is the default and it brakes | 21:36 |
_tarek_ | but what would be the best practice in Zope 3 ? | 21:36 |
philiKON | never ever ever ever use sys.setdefaultencoding | 21:37 |
_tarek_ | use explicit unicode(xxx, 'utf8') | 21:37 |
_tarek_ | welel, or sitecustomize.py | 21:37 |
philiKON | and just doing unicode(foo) is just plain ignorant | 21:37 |
philiKON | no idea what sitecusotmize.py is | 21:37 |
philiKON | but anything that changes the global python setup is just evil | 21:37 |
_tarek_ | ok that's what i guess | 21:37 |
philiKON | you'll end up in deployment hell | 21:37 |
_tarek_ | i agree | 21:37 |
philiKON | unicode(foo) is plain naive and ignorant | 21:37 |
philiKON | always do an explicit decoding | 21:37 |
philiKON | either with unicode(foo, 'utf-8) | 21:37 |
_tarek_ | another question, | 21:38 |
philiKON | i prefer: foo.decode('utf-8') | 21:38 |
_tarek_ | do i need to use getPrefereredEncoding ? | 21:38 |
_tarek_ | or 'uytf8' is fine | 21:38 |
philiKON | what's getPreferredEncoding? | 21:38 |
_tarek_ | i grepped in z3 code and i found it in zope.app.applicationcontrol | 21:39 |
_tarek_ | (runtimeinfo) | 21:39 |
philiKON | no idea what that is | 21:40 |
philiKON | it all depends on where you're getting your data from | 21:41 |
philiKON | what is this foo? | 21:41 |
_tarek_ | (zope 3's zope 2.11 dist) | 21:41 |
*** redir has quit IRC | 21:42 | |
_tarek_ | actually it's a regular utf8 string so i know how to explicitely decode it. but i was wondering what was the right thing to do | 21:42 |
_tarek_ | thanks ! | 21:42 |
philiKON | sure, np | 21:43 |
_tarek_ | philiKON, to make sure I understand in this code: http://svn.zope.org/zope.formlib/trunk/src/zope/formlib/form.py?rev=75131&view=markup | 21:46 |
_tarek_ | if you grep for unicode( | 21:46 |
philiKON | that's fine | 21:46 |
_tarek_ | is that something that should be explicit | 21:46 |
philiKON | no | 21:47 |
philiKON | label must never ever be an 8bit string | 21:47 |
philiKON | just a 7bit ascii | 21:47 |
_tarek_ | ok | 21:47 |
_tarek_ | thx | 21:47 |
philiKON | so it just be a str() | 21:47 |
philiKON | but it can't be label = 'Föö' | 21:47 |
_tarek_ | k | 21:47 |
philiKON | but it can be label = 'Foo' | 21:47 |
_tarek_ | like an id | 21:47 |
*** jukart has joined #zope3-dev | 21:48 | |
*** philiKON has quit IRC | 21:50 | |
*** pbugni has quit IRC | 21:59 | |
*** fcorrea has joined #zope3-dev | 22:17 | |
timte | If I want to put some info in a cookie I shouldn't use ISession, should I? | 22:18 |
*** ruda_porto has joined #zope3-dev | 22:18 | |
srichter | timte: no you should :-) | 22:18 |
srichter | timte: it will not be a cookie itself, but the session is bound to a cookie | 22:18 |
timte | if I set timeout in SessionDataContainer, will that actually set the cookie timeout in the client browser? | 22:23 |
*** jsadjohnson has left #zope3-dev | 22:27 | |
fcorrea | Hello buildouters. I have a question about a recipe in special. There is this plone.recipie.command that is supposed to run a command through os.system. The point is: Do I need to insert something like [runsomething] in my [buildout] parts section or by just creating the [runsomething] it will run? | 22:32 |
*** febb has quit IRC | 22:32 | |
benji | I'm not familiar with that recipe, but one way or another all actions start with a part. | 22:33 |
fcorrea | benji: got it. So by putting it in the parts section will enforce it to run rigth? | 22:33 |
benji | yep | 22:34 |
fcorrea | cool. tks | 22:34 |
fcorrea | I didn't try it yet :D | 22:35 |
*** _tarek_ has left #zope3-dev | 22:37 | |
*** tarek has joined #zope3-dev | 22:37 | |
*** pelle_ has joined #zope3-dev | 22:38 | |
*** J1m has joined #zope3-dev | 22:40 | |
*** greenman has joined #zope3-dev | 22:51 | |
*** greenman has quit IRC | 22:54 | |
*** jsadjohnson has joined #zope3-dev | 23:02 | |
*** b52laptop has quit IRC | 23:07 | |
*** greenman has joined #zope3-dev | 23:08 | |
*** b52laptop has joined #zope3-dev | 23:08 | |
*** pelle_ has quit IRC | 23:16 | |
*** jpfarias has quit IRC | 23:41 | |
*** niemeyer_ has joined #zope3-dev | 23:42 | |
*** niemeyer has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!