IRC log of #zope3-dev for Tuesday, 2008-07-01

*** ktwilight_ has quit IRC00:13
*** aclark|away is now known as aclark00:19
*** greenman has joined #zope3-dev00:26
*** theuni has joined #zope3-dev00:26
*** tdoggette has quit IRC00:26
*** malthe|out is now known as malthe00:26
*** flox has left #zope3-dev00:28
*** timte_ has quit IRC00:32
*** aclark is now known as aclark|dinner00:37
*** whit has joined #zope3-dev00:40
*** reco has quit IRC00:41
*** reco has joined #zope3-dev00:49
*** sp0cksbeard has quit IRC00:59
*** gstratton has joined #zope3-dev01:01
*** aclark|dinner is now known as aclark01:07
*** RaFromBRC|lunch is now known as RaFromBRC01:07
*** malthe is now known as malthe|Zzz01:08
*** lucielejard has quit IRC01:18
*** jodok has quit IRC01:21
*** lurkymclurkleton has quit IRC01:26
*** philiKON has joined #zope3-dev01:29
*** tdoggette has joined #zope3-dev01:30
*** whit has quit IRC01:34
*** alga has quit IRC01:34
*** jamur2 has quit IRC01:37
*** MJ has quit IRC01:38
*** vimes656 has left #zope3-dev01:45
*** gstratton has quit IRC01:52
*** aaronv has quit IRC01:57
*** projekt01 has joined #zope3-dev02:01
*** gstratton has joined #zope3-dev02:23
*** georgyberdyshev has joined #zope3-dev02:28
*** gberdyshev_ has quit IRC02:29
*** georgyberdyshev is now known as gberdyshev_02:29
*** srichter has quit IRC02:40
*** b52lap has quit IRC02:46
*** jsadjohnson has quit IRC03:06
*** charith_para has joined #zope3-dev03:20
*** charith_para has quit IRC03:31
*** tdoggette has quit IRC03:42
*** quodt has quit IRC04:16
*** markusleist has quit IRC04:19
*** fairwinds has joined #zope3-dev04:21
*** rmarianski has quit IRC04:26
*** georgyberdyshev has joined #zope3-dev04:28
*** gberdyshev_ has quit IRC04:28
*** georgyberdyshev is now known as gberdyshev_04:29
*** aaronv has joined #zope3-dev04:36
*** aaronv has quit IRC04:45
*** redir has joined #zope3-dev04:57
*** fairwinds has quit IRC05:07
*** greenman_ has joined #zope3-dev05:11
*** projekt01 has quit IRC05:13
*** greenman has quit IRC05:17
*** tdoggette has joined #zope3-dev05:35
*** Aiste has quit IRC05:41
*** natea_ has joined #zope3-dev05:51
*** RaFromBRC has quit IRC05:52
*** natea_ has quit IRC05:54
*** natea_ has joined #zope3-dev05:55
*** theuni has quit IRC05:57
*** natea__ has joined #zope3-dev05:57
*** natea__ has quit IRC05:59
*** natea_ has quit IRC06:01
*** markusleist has joined #zope3-dev06:05
*** natea_ has joined #zope3-dev06:06
*** natea__ has joined #zope3-dev06:11
*** srichter has joined #zope3-dev06:13
*** ChanServ sets mode: +o srichter06:18
*** rcrafton has quit IRC06:23
*** rcrafton has joined #zope3-dev06:29
*** kursor has joined #zope3-dev06:45
*** redir has quit IRC06:47
*** binseer has joined #zope3-dev06:58
rcraftonIs there an easy way to tell which page element is causing an unauthorized error?07:13
*** jukart has joined #zope3-dev07:27
*** natea__ has quit IRC07:46
*** greenman has joined #zope3-dev08:02
*** rcrafton has quit IRC08:05
*** greenman_ has quit IRC08:08
*** kursor has quit IRC08:17
*** jukart has quit IRC08:23
*** stub has joined #zope3-dev08:25
*** georgyberdyshev has joined #zope3-dev08:29
*** gberdyshev_ has quit IRC08:29
*** georgyberdyshev is now known as gberdyshev_08:29
*** charith_para has joined #zope3-dev08:43
*** yvl has joined #zope3-dev08:49
*** jukart has joined #zope3-dev08:49
*** srichter has quit IRC08:52
*** srichter has joined #zope3-dev08:56
*** jayaraj has joined #zope3-dev09:02
*** __mac__ has quit IRC09:06
*** __mac__ has joined #zope3-dev09:12
*** reco has quit IRC09:15
*** jodok has joined #zope3-dev09:22
*** mustap has joined #zope3-dev09:28
*** strichter has joined #zope3-dev09:35
*** strichter has quit IRC09:36
*** flox has joined #zope3-dev09:37
*** greenman has quit IRC09:40
*** jodok has quit IRC09:41
*** srichter has quit IRC09:43
*** theuni has joined #zope3-dev09:44
*** flox has quit IRC09:44
*** flox has joined #zope3-dev09:45
*** charith_para has quit IRC09:52
*** agroszer has joined #zope3-dev09:53
*** malthe|Zzz is now known as malthe10:03
*** yvl has left #zope3-dev10:05
*** seletz has joined #zope3-dev10:05
*** tarek has joined #zope3-dev10:06
*** malthe has quit IRC10:21
*** maurits_ has joined #zope3-dev10:21
*** Aiste has joined #zope3-dev10:25
*** charith_para has joined #zope3-dev10:31
*** malthe has joined #zope3-dev10:32
*** jodok has joined #zope3-dev10:33
*** maurits_ has quit IRC10:33
*** malthe has quit IRC10:33
*** charith_para has joined #zope3-dev10:37
*** quodt has joined #zope3-dev10:37
*** maurits_ has joined #zope3-dev10:38
*** charith_para has quit IRC10:38
*** natea_ has quit IRC10:38
*** hazmat has quit IRC10:38
*** maurits_ is now known as maurits10:38
*** hazmat has joined #zope3-dev10:38
*** charith_para has joined #zope3-dev10:38
*** natea_ has joined #zope3-dev10:38
*** irc.freenode.net sets mode: +o hazmat10:38
*** stub has quit IRC10:39
*** pyqwer has joined #zope3-dev10:52
*** kursor has joined #zope3-dev10:53
*** goschtl has joined #zope3-dev10:57
*** malthe has joined #zope3-dev11:01
*** gstratton has quit IRC11:02
*** vimes656 has joined #zope3-dev11:05
*** dunny_ has joined #zope3-dev11:13
*** aclark is now known as aclark|away11:21
*** timte has joined #zope3-dev11:22
*** dunny has quit IRC11:22
*** gstratton has joined #zope3-dev11:23
*** vimes656_ has joined #zope3-dev11:30
*** philiKON has quit IRC11:40
*** vimes656_ has quit IRC11:45
*** b52laptop has joined #zope3-dev11:46
*** vimes656_ has joined #zope3-dev11:46
*** vimes656 has quit IRC11:47
*** MJ has joined #zope3-dev11:51
*** mkerrin has joined #zope3-dev11:59
*** philiKON has joined #zope3-dev12:03
*** hexsprite_ has quit IRC12:10
*** hexsprite has joined #zope3-dev12:12
*** seletz is now known as seletz|code12:13
*** salfield has joined #zope3-dev12:15
*** junkafarian has quit IRC12:15
*** georgyberdyshev has joined #zope3-dev12:30
*** gberdyshev_ has quit IRC12:30
*** georgyberdyshev is now known as gberdyshev_12:30
*** greenman has joined #zope3-dev12:34
*** fairwinds has joined #zope3-dev12:37
*** afd__ has joined #zope3-dev12:42
*** mustap has left #zope3-dev12:45
goschtlHi i try to get a SimpleVocabulary form this list: [('1Cinfe', 25), ('1Labrenz', 26), ('1Staude', 28), ('1.1Langenbuch', 21), ('1.3Mascher', 29), ('10Hose-J\xe4ger', 24), ('6G\xfcnther', 27)]. Unfortunatly i got an UnicodeDecode Error.12:50
afd__goschtl: I think the keys need to be ascii12:51
agroszeryep12:51
goschtlhow can i get the keys to ascii from this list? encode(ascii)?12:52
agroszerzope itself does some conversion to utf8 and base6412:52
agroszer''.join(item.encode('utf-8').encode('base64').split())12:53
*** BjornT has quit IRC12:54
agroszergoschtl ^^12:54
goschtlagroszer: ok this is the code http://paste.lisp.org/display/63075 but now i see base64 strings as title in my vocab?12:57
afd__goschtl: you can decode that title with javascript12:58
agroszercome on12:58
agroszerthis base64 string goes as token12:58
afd__:) of course12:58
agroszervocabs can have title too12:58
agroszerterms, sorry: SimpleTerm(objekt, token=b64encoded, title=title)13:00
*** stub has joined #zope3-dev13:00
goschtlagroszer: thanks for your help now it works juhuuuuuu :)13:02
goschtlafd__: thanks too13:02
agroszerwelcome13:02
afd__np13:02
*** BjornT has joined #zope3-dev13:02
*** jodok has quit IRC13:12
*** ignas has joined #zope3-dev13:21
*** aaronv has joined #zope3-dev13:22
*** mustap has joined #zope3-dev13:54
*** andres has quit IRC13:56
*** dirceu has joined #zope3-dev13:57
*** __mac___ has joined #zope3-dev14:02
dirceuhi theuni14:02
*** mgedmin has joined #zope3-dev14:05
*** jsadjohnson has joined #zope3-dev14:08
*** afd__ has quit IRC14:13
*** __mac__ has quit IRC14:19
*** aclark|away is now known as aclark14:21
*** aaronv has quit IRC14:28
*** georgyberdyshev has joined #zope3-dev14:30
*** gberdyshev_ has quit IRC14:30
*** georgyberdyshev is now known as gberdyshev_14:30
*** __mac___ has quit IRC14:31
*** __mac__ has joined #zope3-dev14:34
*** greenman has quit IRC14:34
*** benji has quit IRC14:34
*** ccomb has joined #zope3-dev14:37
*** dirceu has quit IRC14:44
*** Jell-O-Fishi has quit IRC14:45
*** andres has joined #zope3-dev14:45
*** acsr has quit IRC14:47
*** seletz|code is now known as seletz|lunch14:51
*** gstratton_ has joined #zope3-dev14:58
*** alga has joined #zope3-dev14:59
*** rocky has joined #zope3-dev15:07
*** charith_para has quit IRC15:08
*** jodok has joined #zope3-dev15:13
*** gstratton__ has joined #zope3-dev15:14
*** philiKON has quit IRC15:18
*** jodok has quit IRC15:22
*** gstratton_ has quit IRC15:22
*** gstratton has quit IRC15:26
*** benji has joined #zope3-dev15:28
*** gstratton__ has quit IRC15:28
*** gstratton has joined #zope3-dev15:28
*** philiKON has joined #zope3-dev15:35
*** stub has quit IRC15:41
*** seletz|lunch is now known as seletz|code15:45
*** MJ is now known as MJ|lunch15:47
*** theuni has quit IRC15:47
*** gstratton has quit IRC15:48
*** theuni has joined #zope3-dev15:49
*** jhauser has joined #zope3-dev15:49
*** harobed has joined #zope3-dev15:49
*** lurkymclurkleton has joined #zope3-dev15:56
*** andres has quit IRC15:59
*** jamur2 has joined #zope3-dev15:59
*** aaronv has joined #zope3-dev16:01
*** dunny_ has quit IRC16:02
*** acsr has joined #zope3-dev16:03
*** jodok has joined #zope3-dev16:03
*** __mac__ has quit IRC16:07
*** aaronv has quit IRC16:09
*** rcrafton has joined #zope3-dev16:10
*** mustap has quit IRC16:11
*** MJ|lunch is now known as MJ16:12
*** Jell-O-Fishi has joined #zope3-dev16:18
*** aaronv has joined #zope3-dev16:19
*** J1m has joined #zope3-dev16:25
*** kursor has quit IRC16:29
*** rmarianski has joined #zope3-dev16:32
*** binseer has quit IRC16:35
*** binseer has joined #zope3-dev16:37
*** lucielejard has joined #zope3-dev16:40
*** tarek has quit IRC16:41
*** tarek has joined #zope3-dev16:42
*** redir has joined #zope3-dev16:47
*** reco has joined #zope3-dev16:53
*** __mac__ has joined #zope3-dev16:53
*** srichter has joined #zope3-dev16:59
*** bigkevmcd has quit IRC17:08
*** projekt01 has joined #zope3-dev17:10
*** bigkevmcd has joined #zope3-dev17:12
*** __mac__ has quit IRC17:15
*** fcorrea has left #zope3-dev17:17
*** charith_para has joined #zope3-dev17:21
*** rmarianski has quit IRC17:22
*** philiKON has quit IRC17:27
*** alga has quit IRC17:28
*** nathany has joined #zope3-dev17:28
*** nathany has joined #zope3-dev17:29
*** srichter has quit IRC17:34
*** srichter has joined #zope3-dev17:34
*** Rolando has joined #zope3-dev17:47
*** aclark is now known as aclark|away17:47
*** theuni has quit IRC17:51
*** srichter has quit IRC17:58
*** J1m has quit IRC17:59
*** whit has joined #zope3-dev18:03
*** gberdyshev_ has quit IRC18:07
*** gberdyshev has joined #zope3-dev18:08
*** jukart has quit IRC18:11
*** J1m has joined #zope3-dev18:14
*** mustap has joined #zope3-dev18:15
*** pyqwer has quit IRC18:18
*** rmarianski has joined #zope3-dev18:25
*** mustap has left #zope3-dev18:25
Pan_how can i add vocabulary to custom field? if im just using : form_fields['reason'].custom_widget = zope.app.form.browser.itemswidgets.RadioWidget its showing me error:18:27
Pan_TypeError: __init__() takes exactly 4 arguments (3 given)18:27
Pan_how to avoid that?18:27
*** gberdyshev_ has joined #zope3-dev18:29
agroszerPan_, maybe CustomWidetFactory is required? Is just a guess18:31
Pan_but its strange18:31
ignasPan_: well18:32
Pan_when im using it without custom_widget18:32
Pan_and priniting it18:32
ignasPan_: it seems that you are setting custom_widget18:32
ignasnot custom_widget_factory18:32
Pan_hm.18:32
ignasso why are you passing it a "class" not an instance of it?18:32
Pan_yes. you are right ignas.18:32
ignasoh18:32
ignasok, i am wrong18:32
Pan_;)18:33
ignas    custom_widget = interface.Attribute("""Factory to use for widget construction.18:33
Pan_oh. so we both were wrong.18:33
ignasbut yeah, CustomWidgetFactory is the thing to use it seems18:34
Pan_but its strange. when im doing it without custom_field, and im printing widget in template like this: <tal:var tal:content="python:widget"></tal:var>, im getting:18:35
Pan_<zope.app.form.browser.itemswidgets.DropdownWidget object at 0x9c23d6c>18:35
Pan_but when im doing it like that:18:35
Pan_    form_fields['reason'].custom_widget = zope.app.form.browser.itemswidgets.DropdownWidget18:35
ignasyou can pass it CustomWidgetFactory(RadioWidget, vocabulary=some_vocabulary)18:35
Pan_im getting TypeError: __init__() takes exactly 4 arguments (3 given)18:35
ignasor something like that probably18:35
Pan_CustomWidgetFactory?18:36
ignaswell - yes RadioWidget takes (self, field, vocabulary, request) as parameters to its constructor18:36
ignaswhile custom_widget gets passed (field, request)18:36
ignaswhen it is being constructed18:36
ignasso you want to use CustomWidgetFactory (probably)18:36
ignasto pass additional arguments to the RadioWidget18:37
*** fcorrea has joined #zope3-dev18:37
Pan_any example how to do it?18:37
ignastry just plain CustomWidgetFactory(RadioWidget)18:37
Pan_    form_fields['reason'].custom_widget = CustomWidgetFactory(zope.app.form.browser.itemswidgets.DropdownWidget)18:38
ignasyeah, something like that should work18:39
Pan_lemme try.18:39
agroszeryah, http://www.mail-archive.com/openplans-svn-commits@lists.openplans.org/msg11712.html18:39
*** goschtl has quit IRC18:39
Pan_its working!18:40
Pan_ignas, you are genius.18:40
Pan_agroszer: how did u google that, i tried and i havnt make it ;)18:40
agroszerhttp://www.google.com/search?hl=en&q=CustomWidgetFactory++RadioWidget&btnG=Google+Search18:41
Pan_ah. 15 mintes ago i didnt know about CustomWidgetFactory ;)18:41
*** srichter has joined #zope3-dev18:44
*** gberdyshev has quit IRC18:44
Pan_agroszer: thanks :)18:45
*** reco has quit IRC18:50
*** reco has joined #zope3-dev18:50
*** Rolando has quit IRC18:51
*** binseer has quit IRC18:52
*** projekt01 has quit IRC18:52
*** __mac__ has joined #zope3-dev18:53
*** charith_para has quit IRC18:53
*** jayaraj has quit IRC18:57
*** sp0cksbeard has joined #zope3-dev18:58
*** stub has joined #zope3-dev19:02
*** seletz|code has quit IRC19:06
*** whit has quit IRC19:12
*** __mac__ has quit IRC19:14
*** philiKON has joined #zope3-dev19:16
*** maurits has quit IRC19:17
*** afd_ has joined #zope3-dev19:20
*** tarek has quit IRC19:21
*** whit has joined #zope3-dev19:28
*** harobed has quit IRC19:28
*** mkerrin has quit IRC19:36
mgedminsrichter: are you the KGS caretaker?19:38
mgedmincould you take a look at https://bugs.launchpad.net/zope3/+bug/243785/comments/819:38
*** thruflo has joined #zope3-dev19:44
*** quodt has quit IRC19:44
*** J1m has quit IRC19:48
*** ccomb has quit IRC19:50
*** ChanServ sets mode: +o srichter19:51
srichtermgedmin: I try to19:51
*** reco has quit IRC19:51
mgedminit's short :-)19:51
srichtermgedmin: you got it19:52
srichterI keep it in mind19:52
srichtermgedmin: I should really give other people upload rights, so we can scale better19:53
mgedminrights aren't sufficient, there's also knowledge19:54
*** timte has quit IRC19:55
srichtermgedmin: I think I documented the process in detail on the Wiki19:58
*** junkafarian has joined #zope3-dev19:59
*** junkafarian has left #zope3-dev20:00
*** charith_para has joined #zope3-dev20:02
mgedminthat's also knowledge20:03
mgedmin:)20:03
*** jodok has quit IRC20:03
mgedminhehe, http://download.zope.org/ has an apache test page20:07
*** flox has left #zope3-dev20:10
*** philiKON has quit IRC20:10
*** philiKON has joined #zope3-dev20:11
*** RaFromBRC has joined #zope3-dev20:11
*** jpcw2002 has quit IRC20:16
*** flox has joined #zope3-dev20:17
*** whit has quit IRC20:19
*** whit has joined #zope3-dev20:19
*** theuni has joined #zope3-dev20:22
*** thruflo has left #zope3-dev20:24
*** whit has quit IRC20:24
*** jpcw2002 has joined #zope3-dev20:26
*** georgyberdyshev has joined #zope3-dev20:30
*** gberdyshev_ has quit IRC20:30
*** georgyberdyshev is now known as gberdyshev_20:31
*** malthe_ has joined #zope3-dev20:39
*** jodok has joined #zope3-dev20:40
*** afd__ has joined #zope3-dev20:40
*** theuni has quit IRC20:41
*** afd_ has quit IRC20:41
*** malthe has quit IRC20:41
*** SteveA has quit IRC20:41
*** MJ is now known as MJ|dinner20:42
*** theuni has joined #zope3-dev20:44
*** afd_ has joined #zope3-dev20:44
*** malthe has joined #zope3-dev20:44
*** SteveA has joined #zope3-dev20:44
*** SteveA_ has joined #zope3-dev20:44
*** malthe has quit IRC20:44
*** jodok has quit IRC20:45
*** zagy has quit IRC20:45
*** whit has joined #zope3-dev20:47
*** regebro has joined #zope3-dev20:51
*** malthe_ has quit IRC20:51
*** SteveA has quit IRC20:55
*** zagy has joined #zope3-dev20:57
*** afd_ has quit IRC20:58
*** tarek has joined #zope3-dev21:03
*** alecm has joined #zope3-dev21:03
*** jodok has joined #zope3-dev21:06
*** flox has left #zope3-dev21:14
*** ignas has quit IRC21:14
*** flox has joined #zope3-dev21:14
*** jhauser has quit IRC21:23
*** jhauser has joined #zope3-dev21:26
*** mgedmin has quit IRC21:46
*** MJ|dinner is now known as MJ21:46
*** J1m has joined #zope3-dev21:49
*** jpcw2002 has left #zope3-dev21:52
*** J1m has quit IRC21:52
*** tarek has quit IRC21:53
*** reedobrien has joined #zope3-dev22:05
*** rocky has quit IRC22:07
*** redir has quit IRC22:14
*** timte has joined #zope3-dev22:15
*** tarek has joined #zope3-dev22:29
*** charith_para has quit IRC22:29
*** dunny has joined #zope3-dev22:41
*** tarek has quit IRC22:42
*** tarek has joined #zope3-dev22:47
*** tarek has quit IRC22:48
*** agroszer has quit IRC22:53
*** jodok has quit IRC23:14
*** rmarianski has quit IRC23:14
*** jodok has joined #zope3-dev23:15
*** rmarianski has joined #zope3-dev23:15
*** salfield has quit IRC23:22
*** afd__ has quit IRC23:26
*** MJ has quit IRC23:45
*** tarek has joined #zope3-dev23:45
*** MJ has joined #zope3-dev23:45
*** stub has left #zope3-dev23:46
*** stub has joined #zope3-dev23:46
*** jsadjohnson_ has joined #zope3-dev23:48
*** aaronv has quit IRC23:49
*** MJ has quit IRC23:51
*** jsadjohnson has quit IRC23:54
*** RaFromBRC is now known as RaFromBRC|lunch23:57
*** timte has quit IRC23:58
*** jsadjohnson has joined #zope3-dev23:59
*** greenman has joined #zope3-dev23:59

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