IRC log of #zope3-dev for Friday, 2008-11-14

*** reco has joined #zope3-dev00:09
*** redir has quit IRC00:09
*** reco_ has joined #zope3-dev00:10
*** brandon_rhodes has quit IRC00:13
*** brandon_rhodes has joined #zope3-dev00:13
*** fairwinds has joined #zope3-dev00:18
*** benji has quit IRC00:20
*** reco has quit IRC00:26
*** timte has quit IRC00:28
*** redir has joined #zope3-dev00:32
*** brandon_rhodes has quit IRC00:39
*** reco_ has quit IRC00:41
*** vimes656 has quit IRC00:41
*** sp0cksbeard has quit IRC00:51
*** pelle_ has quit IRC00:51
*** danfairs has quit IRC00:55
*** brandon_rhodes has joined #zope3-dev00:58
*** philiKON has joined #zope3-dev01:02
*** regebro has quit IRC01:09
*** alecm has quit IRC01:14
*** jamur2 has quit IRC01:24
*** brandon_rhodes has quit IRC01:24
*** lurkymclurkleton has quit IRC01:25
*** flox has left #zope3-dev01:26
*** MrSipan has quit IRC01:28
*** whit is now known as whit|out01:40
*** greenman has joined #zope3-dev01:41
*** J1m has quit IRC01:48
*** MiUlEr has joined #zope3-dev01:48
*** alecm has joined #zope3-dev01:52
*** malthe|away is now known as malthe01:53
*** malthe is now known as malthe|Zzz01:53
*** aaronv has quit IRC01:53
*** rmarianski has quit IRC02:18
*** philiKON has quit IRC02:18
*** nyo has quit IRC02:20
*** tarek has joined #zope3-dev02:28
*** whit has joined #zope3-dev02:29
*** reco has joined #zope3-dev02:34
*** norro has quit IRC02:49
*** hexsprite_ has quit IRC02:49
*** hexsprite has joined #zope3-dev02:50
*** Jell-O-Fishi has joined #zope3-dev02:54
*** kaeru has quit IRC03:07
*** malthe|Zzz has quit IRC03:07
*** alecm has quit IRC03:08
*** srichter has quit IRC03:28
*** srichter has joined #zope3-dev03:29
*** natea|rome has quit IRC03:34
*** whit has quit IRC04:01
*** davisagli has left #zope3-dev04:06
*** alecm has joined #zope3-dev04:06
*** kaeru has joined #zope3-dev04:12
*** jpcw has joined #zope3-dev04:15
*** greenman has quit IRC04:45
*** alecm has quit IRC04:46
*** aaronv has joined #zope3-dev04:47
*** binbrain has joined #zope3-dev04:54
* MiUlEr is away: ausente 04:55
binbrainI'm using fromlib.forms form_libs = Fields(IType) to auto pack fields for my content type. problem is, whenever I include a List in my content type, I get a message can't iterate over non-sequence04:56
binbrainI'm assuming it might be because the list isn't initialized, but required=False. So why should I have to init it anywhere?04:56
*** aaronv has quit IRC04:57
* MiUlEr is back (gone 00:03:13)04:58
* MiUlEr is away: ya regreso05:11
MiUlErhi05:20
*** binbrain has quit IRC05:24
*** reco has joined #zope3-dev05:30
*** srichter has quit IRC05:32
*** MiUlEr has quit IRC05:34
*** reco has quit IRC05:38
*** greenman has joined #zope3-dev05:57
*** binseer has joined #zope3-dev06:08
*** andycat has joined #zope3-dev06:11
*** alecm has joined #zope3-dev06:19
*** kaeru has quit IRC06:34
*** greenman has quit IRC06:37
*** kaeru has joined #zope3-dev06:42
*** alecm has joined #zope3-dev07:01
*** stub has joined #zope3-dev07:03
*** jayaraj has joined #zope3-dev07:09
*** whit has joined #zope3-dev07:12
*** alecm has quit IRC07:15
*** MiUlEr has joined #zope3-dev07:16
*** afd__ has joined #zope3-dev07:23
*** ignas has quit IRC07:25
*** fairwinds has quit IRC07:30
*** basti has joined #zope3-dev07:35
*** whit has quit IRC07:38
*** kursor has joined #zope3-dev07:42
*** basti has quit IRC07:44
*** basti has joined #zope3-dev07:48
*** davisagli has joined #zope3-dev07:54
*** Theuni has joined #zope3-dev07:59
*** philiKON has joined #zope3-dev08:12
*** philiKON_ has joined #zope3-dev08:17
*** projekt01 has joined #zope3-dev08:28
*** philiKON has quit IRC08:33
*** flox has joined #zope3-dev08:36
*** philiKON_ has quit IRC08:37
*** agroszer_ has joined #zope3-dev08:38
*** Theuni has quit IRC08:39
*** pyqwer has joined #zope3-dev08:43
*** pannekoekwaus has quit IRC08:46
*** basti has quit IRC08:46
*** basti has joined #zope3-dev08:49
*** tarek has quit IRC08:54
*** flox has quit IRC08:59
*** afd__ has quit IRC09:02
*** pelle_ has joined #zope3-dev09:03
*** Theuni has joined #zope3-dev09:04
*** pelle_ has quit IRC09:08
*** jukart has joined #zope3-dev09:08
*** __mac__ has joined #zope3-dev09:11
*** zagy has joined #zope3-dev09:11
*** iham has joined #zope3-dev09:12
*** iham has joined #zope3-dev09:13
*** jukart has quit IRC09:19
*** davisagli has left #zope3-dev09:26
*** basti has quit IRC09:27
*** pelle_ has joined #zope3-dev09:31
*** Theuni1 has joined #zope3-dev09:33
*** Theuni has quit IRC09:35
*** basti has joined #zope3-dev09:36
*** MiUlEr has quit IRC09:37
*** tarek has joined #zope3-dev09:38
*** regebro has joined #zope3-dev09:42
*** sawdog_ has quit IRC09:43
*** agroszer_ is now known as agroszer09:47
*** nyo has joined #zope3-dev09:51
*** JaRoel|4D has joined #zope3-dev09:52
*** dunny has quit IRC09:52
*** andycat has quit IRC09:56
*** vimes656 has joined #zope3-dev09:56
*** srichter has joined #zope3-dev10:02
*** jukart has joined #zope3-dev10:04
*** ccomb_ has joined #zope3-dev10:04
*** tarek has quit IRC10:07
*** __mac__ has quit IRC10:08
*** __mac__ has joined #zope3-dev10:11
*** srichter has quit IRC10:15
*** srichter has joined #zope3-dev10:15
*** toutpt has joined #zope3-dev10:18
*** davisagli_ has joined #zope3-dev10:21
*** Theuni has joined #zope3-dev10:22
*** pelle_ has quit IRC10:30
*** davisagli_ has left #zope3-dev10:31
*** greenman has joined #zope3-dev10:31
*** mkerrin has joined #zope3-dev10:32
*** Theuni1 has quit IRC10:40
*** basti has quit IRC10:50
*** sawdog has joined #zope3-dev10:52
*** srichter has quit IRC10:54
*** afd__ has joined #zope3-dev10:54
*** fRiSi has joined #zope3-dev10:55
*** davisagli has joined #zope3-dev11:03
*** vimes656 has quit IRC11:08
*** malthe has joined #zope3-dev11:09
*** tarek has joined #zope3-dev11:12
*** toutpt has quit IRC11:20
*** toutpt has joined #zope3-dev11:21
*** kaeru has quit IRC11:25
*** sawdog_ has joined #zope3-dev11:32
*** ccomb_1 has joined #zope3-dev11:40
*** ccomb_ has quit IRC11:42
*** davisagli has quit IRC11:43
*** toutpt has quit IRC11:45
*** kursor has quit IRC11:55
*** Jell-O-Fishi has quit IRC11:55
*** redir has quit IRC11:55
*** CSWookie has quit IRC11:55
*** kursor has joined #zope3-dev11:56
*** Jell-O-Fishi has joined #zope3-dev11:56
*** redir has joined #zope3-dev11:56
*** CSWookie has joined #zope3-dev11:56
*** romanofski has joined #zope3-dev12:15
*** yotaff has joined #zope3-dev12:21
*** flox has joined #zope3-dev12:34
*** mintsauce has joined #zope3-dev12:42
mintsauceWhats the difference between InternalPrincipal & Principal?12:43
*** greenman has quit IRC12:44
mintsauceOr ..... to put it differently I can get principal_id from InternalPrincipal - but how do I get the Principal object from this?12:51
*** markusleist has joined #zope3-dev12:57
nyomintsauce: the IAuthentication utility has getPrincipal method that returns principal object by its id12:57
mintsaucenyo: heh - just this second found it - but thanks :)12:58
*** stub has quit IRC13:11
*** aaronv has joined #zope3-dev13:16
mintsaucenyo - my principals are in a folder - how do i use the method on them?13:29
lisppaste6mintsauce pasted "principals in folder" at http://paste.lisp.org/display/7036213:29
*** flox has left #zope3-dev13:32
*** pelle_ has joined #zope3-dev13:49
*** __mac__ has quit IRC13:53
*** __mac__ has joined #zope3-dev13:55
*** philiKON has joined #zope3-dev13:57
afd__mintsauce: InternalPrincipal is different from a Principal13:59
mintsaucesuspected as much14:00
afd__an InternalPrincipal is a persistent object that collects information about the users (username, password)14:00
afd__the Principal object is a transient object created on every request14:00
nyomintsauce: IIRC, you can get internalprincipal login, then get id by login from the folder, then get Principal from Iauthentication using getPrincipal14:03
nyomintsauce: write a helper function for that14:03
*** jhauser has joined #zope3-dev14:11
*** vimes656 has joined #zope3-dev14:14
*** tarek has quit IRC14:18
*** tarek has joined #zope3-dev14:19
*** tarek has quit IRC14:20
*** fRiSi has quit IRC14:20
*** J1m has joined #zope3-dev14:22
*** fairwinds has joined #zope3-dev14:23
*** tarek has joined #zope3-dev14:23
*** harobed has joined #zope3-dev14:25
*** alga has joined #zope3-dev14:36
*** kursor has quit IRC14:37
*** tarek_ has joined #zope3-dev14:38
*** vaab has left #zope3-dev14:39
*** tarek has quit IRC14:40
*** malthe is now known as malthe|away14:42
mintsaucegetPrincipal returns a class? (Pdb) type(pau.getPrincipal(principal_id)) ---> <class 'zope.app.authentication.principalfolder.Principal'>14:43
*** sunew has joined #zope3-dev14:46
*** benji has joined #zope3-dev14:57
*** mintsauce has quit IRC15:06
*** mgedmin has joined #zope3-dev15:11
*** Theuni has left #zope3-dev15:12
*** ignas has joined #zope3-dev15:15
*** afd__ has quit IRC15:41
*** basti__ has joined #zope3-dev15:42
*** benji has quit IRC15:48
*** benji has joined #zope3-dev15:50
*** empitec has joined #zope3-dev15:55
empitecHi, I have a simple question about zope3 development... anyone can help me?15:55
*** romanofs1i has joined #zope3-dev16:00
*** Theuni has joined #zope3-dev16:01
*** jamur2 has joined #zope3-dev16:02
*** lurkymclurkleton has joined #zope3-dev16:02
*** JaRoel|4_ has joined #zope3-dev16:03
mgedminempitec: just ask the question16:14
*** mgedmin has quit IRC16:14
*** faassen has joined #zope3-dev16:14
empitecokey, thanks a lot mgedmin16:15
empitecthe thing is I'm newbie and I bought the book "Web Component Development with Zope.3"16:15
empitecin order to learn a little bit about zope16:16
*** romanofski has quit IRC16:16
empitecso, after create an interface (really a schema), and a content component16:16
empitecI try to create a view using the examples in the book16:16
empitecand I get an error16:16
empitecLet me explain you how I organized the code16:17
empitecI have created a package called "pompyme" inside lib/python (in a zope instance I created)16:17
empitecInside pompyme I created the configure.zcml and several files containing interfaces and content componentes16:17
empitecthen I have created a "subpackage" called pompyme.browser16:18
empitecwhere I have created a view deriving the BrowserPage class16:18
empitecinside pompyme.browser I have created another configure.zcml16:18
empitecdoing the mapping to the index.html view for an interface, and I have included it from pompyme/configure.zcml16:19
empitecso, here is the question:16:19
empitec"Should I create a file called pompyme-configure.zcml in /etc/package-includes to include the configure.zcml from my local package?"16:20
*** JaRoel|4D has quit IRC16:20
empitecor Zope 3 is clever enough to process the configure.zcml inside my own package?16:21
ccomb_1empitec: you need the pompyme-configure.zcml16:22
*** ccomb_1 is now known as ccomb16:22
empitecok... In the book I have is not very clear whether this step is necessary or not16:23
empitecso after create this file I get the following error (this is the reason because I was thinking about the file in package-include was necessary o not):16:24
empitecConfigurationError: ('Invalid value for', 'package', 'ImportError: Module pompyme has no global browser')16:24
andresempitec: remeber that there must be an __init__.py inside browser.16:25
empitecIt seems like zope is treating browser subpackage as a global package, but really browser is inside pompyme (local package916:25
empitec)16:25
empitecummm16:25
empitecI can't believe!!! what a newbie fault!!!16:26
*** MrSipan has joined #zope3-dev16:27
empitecthank you very much... that was the problem!!!16:27
andres("Multiple exlamation marks are a sign of pure evil." a very wise man once said...)16:27
empitecsorry... i won't abuse in the future ;)16:29
andresgood ;-)16:30
*** stub has joined #zope3-dev16:37
*** aaronv has quit IRC16:38
*** jukart has quit IRC16:39
*** Theuni has quit IRC16:44
*** MrSipan has quit IRC16:44
*** pelle_ has quit IRC16:44
*** Theuni has joined #zope3-dev16:44
*** MrSipan has joined #zope3-dev16:46
*** faassen has quit IRC16:48
*** basti__ has quit IRC16:51
*** alga_ has joined #zope3-dev16:54
*** Theuni1 has joined #zope3-dev16:54
*** Theuni has quit IRC16:58
*** sp0cksbeard has joined #zope3-dev17:00
*** alga has quit IRC17:06
*** mintsauce has joined #zope3-dev17:06
*** whit has joined #zope3-dev17:08
*** JaRoel|4D has joined #zope3-dev17:09
*** __mac__ has quit IRC17:14
*** malthe|away is now known as malth3e17:14
*** malth3e is now known as malthe17:14
*** agroszer_ has joined #zope3-dev17:21
*** whit has quit IRC17:24
*** jayaraj has quit IRC17:24
*** Theuni has joined #zope3-dev17:25
*** binseer has quit IRC17:25
*** JaRoel|4_ has quit IRC17:26
*** basti__ has joined #zope3-dev17:26
*** zagy has quit IRC17:29
*** Theuni1 has quit IRC17:32
mintsaucehow can i i18n vocabs??17:35
*** mgedmin has joined #zope3-dev17:36
*** agroszer has quit IRC17:38
*** whit has joined #zope3-dev17:41
*** markusleist has quit IRC17:45
*** reco has joined #zope3-dev17:45
*** basti__ has quit IRC17:47
*** whit has quit IRC17:53
*** nyo has quit IRC17:54
*** Theuni has quit IRC18:00
*** alecm has joined #zope3-dev18:04
*** afd__ has joined #zope3-dev18:05
*** Theuni has joined #zope3-dev18:06
*** rmarianski has joined #zope3-dev18:14
*** Theuni has quit IRC18:18
*** projekt01 has quit IRC18:20
*** zagy has joined #zope3-dev18:20
*** malthe is now known as malthe|out18:21
*** JaRoel|4_ has joined #zope3-dev18:22
*** stub has quit IRC18:23
*** ignas has quit IRC18:25
*** davisagli has joined #zope3-dev18:27
*** whit has joined #zope3-dev18:29
*** philiKON has quit IRC18:30
*** aaronv has joined #zope3-dev18:31
*** MiUlEr has joined #zope3-dev18:35
*** zagy_ has joined #zope3-dev18:37
*** zagy has quit IRC18:37
*** JaRoel|4_ has quit IRC18:39
*** aaronv has quit IRC18:39
*** JaRoel|4D has quit IRC18:41
*** sunew has quit IRC18:44
*** davisagli has left #zope3-dev18:48
*** sm has joined #zope3-dev18:48
*** alecm has quit IRC18:56
*** alecm has joined #zope3-dev18:56
*** alga_ has quit IRC18:57
*** philiKON has joined #zope3-dev18:59
*** alecm has quit IRC19:00
*** nyo has joined #zope3-dev19:01
*** empitec has quit IRC19:02
*** ccomb has quit IRC19:05
*** sawdog_ has quit IRC19:08
*** aaronv has joined #zope3-dev19:08
*** lucielejard has joined #zope3-dev19:09
*** davisagli has joined #zope3-dev19:16
*** srichter has joined #zope3-dev19:17
*** afd___ has joined #zope3-dev19:18
*** tarek_ has quit IRC19:20
*** regebro_ has joined #zope3-dev19:28
*** regebro has quit IRC19:28
*** JaRoel|4D has joined #zope3-dev19:29
*** JaRoel|4_ has joined #zope3-dev19:30
*** JaRoel|4D has quit IRC19:31
*** timte has joined #zope3-dev19:32
*** pyqwer has quit IRC19:32
*** afd__ has quit IRC19:33
*** mintsauce has quit IRC19:37
*** baijum has joined #zope3-dev19:40
*** jpcw has quit IRC19:40
*** runyaga has joined #zope3-dev19:45
*** redir has quit IRC19:55
*** agroszer_ has quit IRC20:11
*** nathany has joined #zope3-dev20:13
*** tarek_ has joined #zope3-dev20:14
*** ktwilight has quit IRC20:19
*** tarek_ has quit IRC20:21
*** ktwilight has joined #zope3-dev20:22
*** harobed has quit IRC20:32
*** goschtl has joined #zope3-dev20:39
*** iham is now known as iham|away20:41
*** JaRoel|4_ has quit IRC20:43
*** baijum has quit IRC20:52
*** pelle_ has joined #zope3-dev20:54
*** romanofs1i has quit IRC20:58
*** mkerrin has quit IRC21:00
*** alecm has joined #zope3-dev21:04
*** goschtl has quit IRC21:10
*** vimes656 has quit IRC21:17
*** nathany has quit IRC21:30
*** yotaff has quit IRC21:33
*** yotaff has joined #zope3-dev21:33
*** yotaff has quit IRC21:46
*** reco has quit IRC21:58
*** mgedmin has quit IRC21:59
*** afd___ has quit IRC22:05
*** goschtl has joined #zope3-dev22:12
*** goschtl has quit IRC22:16
*** nyo1 has joined #zope3-dev22:19
*** nyo1 has left #zope3-dev22:19
*** zagy_ has quit IRC22:40
*** benji has quit IRC22:58
*** benji has joined #zope3-dev23:00
*** goschtl has joined #zope3-dev23:04
*** flox has joined #zope3-dev23:08
*** redir has joined #zope3-dev23:19
*** redir has quit IRC23:23
*** mgedmin has joined #zope3-dev23:37

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