*** dobee has joined #zope3-dev | 00:09 | |
*** hazmat has quit IRC | 00:16 | |
*** alga has joined #zope3-dev | 00:28 | |
*** ktwilight has joined #zope3-dev | 00:29 | |
*** derek_richardson has quit IRC | 00:34 | |
*** derek_richardson has joined #zope3-dev | 00:34 | |
*** greenman has joined #zope3-dev | 00:36 | |
*** universewisdom has joined #zope3-dev | 00:45 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 00:55 | |
*** edgordon_ has joined #zope3-dev | 01:06 | |
*** deo has quit IRC | 01:14 | |
*** edgordon has quit IRC | 01:26 | |
*** spython has quit IRC | 01:35 | |
*** pelle_ has quit IRC | 01:45 | |
*** RaFromBRC|lunch has quit IRC | 01:56 | |
*** MJ has quit IRC | 01:57 | |
*** tarek_ has quit IRC | 01:58 | |
*** dobee has quit IRC | 01:59 | |
*** norro has quit IRC | 02:18 | |
*** J1m_ has quit IRC | 02:19 | |
*** RaFromBRC has joined #zope3-dev | 02:20 | |
*** pbugni has quit IRC | 02:25 | |
*** nathany has quit IRC | 02:33 | |
*** dunny has joined #zope3-dev | 02:37 | |
*** tarek has joined #zope3-dev | 02:38 | |
*** wchipmanJSA has left #zope3-dev | 02:40 | |
*** benji has joined #zope3-dev | 02:41 | |
*** tarek has quit IRC | 02:43 | |
*** hazmat has joined #zope3-dev | 02:45 | |
*** ChanServ sets mode: +o hazmat | 02:45 | |
*** greenman has quit IRC | 02:46 | |
*** jfroche has quit IRC | 02:48 | |
*** jfroche has joined #zope3-dev | 02:49 | |
benji | drive by: sounds like an episode of "the sitemap monitoring is twitchy and should be better" <wink> | 02:54 |
---|---|---|
benji | doh! Ignore that everyone. | 02:55 |
*** benji has quit IRC | 02:55 | |
*** Ariel_Calzada has quit IRC | 02:57 | |
*** edgordon_ has quit IRC | 03:07 | |
*** edgordon has joined #zope3-dev | 03:09 | |
*** edgordon_ has joined #zope3-dev | 03:12 | |
*** edgordon__ has joined #zope3-dev | 03:15 | |
*** edgordon___ has joined #zope3-dev | 03:24 | |
*** edgordon____ has joined #zope3-dev | 03:26 | |
*** ousado_ has quit IRC | 03:27 | |
*** ousado_ has joined #zope3-dev | 03:27 | |
*** edgordon has quit IRC | 03:27 | |
*** edgordon has joined #zope3-dev | 03:29 | |
*** jodok has quit IRC | 03:31 | |
*** edgordon_ has quit IRC | 03:31 | |
*** edgordon__ has quit IRC | 03:31 | |
*** edgordon has quit IRC | 03:33 | |
*** instantfoo has quit IRC | 03:33 | |
*** Ariel_Calzada has joined #zope3-dev | 03:34 | |
*** Ariel_Calzada has quit IRC | 03:38 | |
*** instantfoo has joined #zope3-dev | 03:38 | |
*** edgordon___ has quit IRC | 03:40 | |
*** edgordon____ has quit IRC | 03:43 | |
*** hazmat has quit IRC | 03:45 | |
*** hazmat has joined #zope3-dev | 03:46 | |
*** ChanServ sets mode: +o hazmat | 03:46 | |
*** instantfoo has quit IRC | 03:58 | |
*** alga has quit IRC | 04:00 | |
*** instantfoo has joined #zope3-dev | 04:04 | |
*** benji has joined #zope3-dev | 04:04 | |
*** gabrielmonnerat has joined #zope3-dev | 04:41 | |
*** RaFromBRC has quit IRC | 04:50 | |
*** b52laptop has quit IRC | 04:53 | |
*** ousado_ has quit IRC | 05:03 | |
*** ousado_ has joined #zope3-dev | 05:03 | |
*** ousado_ has quit IRC | 05:06 | |
*** ousado_ has joined #zope3-dev | 05:06 | |
*** hazmat has quit IRC | 05:08 | |
*** hazmat has joined #zope3-dev | 05:20 | |
*** ChanServ sets mode: +o hazmat | 05:20 | |
*** ousado_ has quit IRC | 05:30 | |
*** niemeyer has quit IRC | 05:31 | |
*** alecm has quit IRC | 05:34 | |
*** benji has quit IRC | 05:52 | |
*** gabrielmonnerat has quit IRC | 05:56 | |
*** hazmat has quit IRC | 05:59 | |
*** edgordon has joined #zope3-dev | 06:16 | |
*** chacha_chaudhry has joined #zope3-dev | 06:45 | |
*** naro has joined #zope3-dev | 06:55 | |
*** reco has quit IRC | 07:03 | |
*** philiKON_ has joined #zope3-dev | 07:12 | |
*** philiKON has quit IRC | 07:28 | |
*** huajie has joined #zope3-dev | 07:40 | |
*** rcrafton has quit IRC | 07:41 | |
*** jukart has joined #zope3-dev | 07:55 | |
*** baijum has joined #zope3-dev | 08:00 | |
*** greenman has joined #zope3-dev | 08:05 | |
*** cursor has joined #zope3-dev | 08:16 | |
*** cursor has quit IRC | 08:18 | |
*** cursor has joined #zope3-dev | 08:19 | |
*** jodok has joined #zope3-dev | 08:19 | |
*** jukart has quit IRC | 08:27 | |
*** sorin has joined #zope3-dev | 08:36 | |
*** sorin is now known as sorindregan | 08:37 | |
*** jukart has joined #zope3-dev | 09:05 | |
*** huajie has quit IRC | 09:11 | |
*** dobee has joined #zope3-dev | 09:18 | |
*** hdima has joined #zope3-dev | 09:31 | |
*** dunny has quit IRC | 09:32 | |
*** timte has joined #zope3-dev | 09:39 | |
*** greenman has quit IRC | 09:52 | |
*** pelle_ has joined #zope3-dev | 09:57 | |
*** norro has joined #zope3-dev | 10:15 | |
*** goschtl has joined #zope3-dev | 10:18 | |
*** projekt01 has joined #zope3-dev | 10:19 | |
*** tarek has joined #zope3-dev | 10:54 | |
*** jinty has joined #zope3-dev | 10:56 | |
*** jinty has quit IRC | 10:59 | |
*** jinty has joined #zope3-dev | 10:59 | |
*** MJ has joined #zope3-dev | 11:31 | |
*** ktwilight_ has joined #zope3-dev | 11:33 | |
*** MJ has quit IRC | 11:35 | |
*** MJ has joined #zope3-dev | 11:35 | |
*** mgedmin has joined #zope3-dev | 11:38 | |
*** ktwilight has quit IRC | 11:47 | |
*** jfroche has quit IRC | 11:52 | |
*** jfroche has joined #zope3-dev | 11:54 | |
*** philiKON_ is now known as philiKON | 11:58 | |
*** dunny has joined #zope3-dev | 12:03 | |
*** b52laptop has joined #zope3-dev | 12:07 | |
*** markusleist has joined #zope3-dev | 12:20 | |
*** greenman has joined #zope3-dev | 12:35 | |
*** jodok has quit IRC | 12:38 | |
*** mkerrin has joined #zope3-dev | 12:38 | |
*** jukart has quit IRC | 12:38 | |
*** jodok has joined #zope3-dev | 12:43 | |
*** jukart has joined #zope3-dev | 12:44 | |
*** yvl has joined #zope3-dev | 13:01 | |
*** ateoh211 has joined #zope3-dev | 13:11 | |
ateoh211 | trying to install grok with easy_install I ultimately recieve the error "zope.app.catalog 3.4.0a1 conflicts with requirement zope.app.catalog>=3.4.0a2" where should I report this? | 13:12 |
wiggy | search the grok-dev list for it | 13:17 |
wiggy | there are known workarounds for it | 13:17 |
ateoh211 | cool..thanks | 13:19 |
*** MJ is now known as MJ|lunch | 13:23 | |
*** dobee has quit IRC | 13:28 | |
*** jukart has quit IRC | 13:39 | |
*** rocky has joined #zope3-dev | 13:46 | |
rocky | good morning | 13:47 |
*** Ariel_Calzada has joined #zope3-dev | 14:07 | |
*** pyqwer has joined #zope3-dev | 14:08 | |
*** MJ|lunch is now known as MJ | 14:10 | |
*** ignas has joined #zope3-dev | 14:10 | |
ignas | anyone who wants to be a guinea pig? | 14:25 |
*** regebro has joined #zope3-dev | 14:25 | |
projekt01 | ignas, what's up? | 14:31 |
ignas | i have a script i want someone to test on some other machine than mine | 14:32 |
projekt01 | What does it need? | 14:32 |
ignas | python and maybe gcc | 14:33 |
projekt01 | does it work on win? | 14:33 |
ignas | no | 14:33 |
projekt01 | So I'm out of scope then ;-) | 14:34 |
*** goschtl has quit IRC | 14:36 | |
*** chacha_chaudhry has quit IRC | 14:45 | |
*** dunny has quit IRC | 14:57 | |
*** rcrafton has joined #zope3-dev | 15:00 | |
*** alga has joined #zope3-dev | 15:11 | |
*** niemeyer has joined #zope3-dev | 15:14 | |
*** benji_ has joined #zope3-dev | 15:14 | |
*** dobee has joined #zope3-dev | 15:20 | |
*** J1m has joined #zope3-dev | 15:23 | |
*** dobee has quit IRC | 15:23 | |
*** dobee has joined #zope3-dev | 15:25 | |
*** Ariel_Calzada has quit IRC | 15:28 | |
*** greenman has quit IRC | 15:29 | |
CrippsFX | ignas: I might be able to give it a shot for you | 15:38 |
ignas | CrippsFX: http://ignas.pov.lt/easy_buildout.py | 15:40 |
ignas | try something like "python2.4 easy_buildout.py zopeproject" | 15:40 |
ignas | or some other egg that is small enough | 15:40 |
ignas | and then bin/buildout | 15:40 |
CrippsFX | kk | 15:41 |
ignas | thanks | 15:42 |
CrippsFX | running bin/buildout right now ;) | 15:42 |
CrippsFX | *poof* | 15:43 |
CrippsFX | it seemed to go fine, without a hitch. | 15:43 |
ignas | can you try running bin/zopeproject to see if it runs? | 15:43 |
CrippsFX | I don't have a project to run with it, but it appears to run. | 15:44 |
ignas | hmm, i forgot to tell you to do "easy_buildout" in a separate directory | 15:44 |
CrippsFX | I made a dir called "test" in my homedir to try it out ;) | 15:44 |
ignas | oh | 15:44 |
ignas | cool then | 15:45 |
ignas | you can just remove it | 15:45 |
ignas | thanks a lot | 15:45 |
CrippsFX | cool. | 15:45 |
CrippsFX | not a problem :) | 15:45 |
CrippsFX | do you know whos' familiar with the Pluggable Authentication system (i.e. its internal workings)? | 15:49 |
CrippsFX | *who's | 15:49 |
ignas | nope | 15:51 |
ignas | ok, maybe my coworkers, but they haven't touched it for a long while | 15:51 |
CrippsFX | damn. | 15:53 |
*** jpfarias has joined #zope3-dev | 15:54 | |
jpfarias | hey guys | 15:54 |
jpfarias | good morning | 15:54 |
CrippsFX | has any of them ever complained about a "stupid f(*)&ing type error" for days on end having to do with the principalInfo() method? ;) | 15:54 |
CrippsFX | morning jpfarias | 15:54 |
jpfarias | what is right way to start a zope3 project? | 15:54 |
jpfarias | I heard a lot those days about eggs | 15:54 |
CrippsFX | jpfarias: same way you start any project ... planning! :) | 15:54 |
jpfarias | lol | 15:55 |
jpfarias | I mean | 15:55 |
jpfarias | should I use the tar.gz package | 15:55 |
jpfarias | easy_install | 15:55 |
jpfarias | or something else? | 15:55 |
CrippsFX | to install zope? | 15:55 |
jpfarias | yep | 15:55 |
CrippsFX | I just used the svn trunk sources ... | 15:56 |
CrippsFX | .. but then again, I'm running zope under a bottled version of python. | 15:56 |
jpfarias | what is this eggs stuff people been talking about? | 15:56 |
timte | jpfarias: try zopeproject | 15:57 |
CrippsFX | timte: what's the difference between "zopeproject" and a full-fledged zope install? | 15:57 |
timte | zopeproject uses buildout and eggs | 15:58 |
CrippsFX | ah. | 15:58 |
timte | the new cool way to do zope :) | 15:58 |
CrippsFX | :P | 15:58 |
jpfarias | lol | 15:58 |
jpfarias | ok, will start off with it | 15:58 |
CrippsFX | I take it that makes deploying new webapps a bit different? | 15:58 |
timte | yeah, much easier | 15:58 |
jpfarias | btw | 15:58 |
jpfarias | I'm wondering | 15:58 |
jpfarias | with this all new buildout / eggs | 15:59 |
jpfarias | what should I put on my own svn repos? | 15:59 |
jpfarias | and how do I deploy my app? | 15:59 |
timte | you put your own code in your own svn repo I guess? | 16:01 |
jpfarias | yep | 16:02 |
ignas | jpfarias: look at svn checkouts of "zc.*" eggs | 16:02 |
ignas | most of them have bootstrap.py | 16:02 |
ignas | and buildout.cfg | 16:02 |
ignas | and setup.py | 16:03 |
ignas | in the root directory of the checkout | 16:03 |
timte | jpfarias: http://cheeseshop.python.org/pypi/zopeproject | 16:03 |
ignas | zopeproject is nice for "creating" a new zope3 product | 16:03 |
ignas | but it won't help you converting your old one that much | 16:04 |
ignas | though - i guess you can look at the sandbox created by zopeproject | 16:04 |
ignas | for clues | 16:04 |
jpfarias | :-) | 16:05 |
jpfarias | hmm | 16:08 |
jpfarias | looks great :-) | 16:08 |
* CrippsFX is totally stuck. | 16:08 | |
CrippsFX | brb ... Imma go grab a coke. | 16:08 |
ignas | CrippsFX: tried pdb? | 16:08 |
CrippsFX | ignas: I'll ask you about that when I get back ;) | 16:09 |
*** jinty has quit IRC | 16:10 | |
CrippsFX | ignas: k, I'm back. Is there a document about using pdb with Zope3, or is it pretty much the same as specified here? : http://wiki.zope.org/zope2/DebuggingWithPdb | 16:17 |
* CrippsFX has never used pdb before | 16:17 | |
ignas | i guess it's the same | 16:18 |
CrippsFX | kk. I'll read that over a few times until it makes sense ;) | 16:18 |
ignas | so just find the place that throws type error | 16:18 |
ignas | and put import pdb; pdb.set_trace() somewhere around there | 16:18 |
ignas | or some steps up the stack | 16:19 |
CrippsFX | the type error is thrown in : zope.app.authentication.authentication.getPrincipalInfo() | 16:19 |
ignas | can you lisppaste6 the error? | 16:19 |
CrippsFX | yep ... just a sec. | 16:19 |
ignas | full error | 16:19 |
CrippsFX | k. | 16:20 |
lisppaste6 | CrippsFX pasted "getPrincipalInfo() error" at http://paste.lisp.org/display/47718 | 16:22 |
*** edgordon_ has joined #zope3-dev | 16:22 | |
CrippsFX | ignas: there you go :) | 16:22 |
ignas | hmm, and how is your IAuthenticatorPlugin registered in zcml? | 16:24 |
CrippsFX | yep. | 16:24 |
ignas | i mean - could you give me the line that registers it | 16:24 |
ignas | zcml tag | 16:25 |
CrippsFX | http://www.pastebin.ca/697501 | 16:25 |
CrippsFX | oh ... sorry, I missed that "how" the first time I read that. | 16:25 |
ignas | hmm, and how does LDAPAuth look? the full code please | 16:26 |
CrippsFX | Just a moment on that, I'll have to edit out the *sensitive* info. | 16:27 |
CrippsFX | http://www.pastebin.ca/Rt-ONJgn | 16:29 |
CrippsFX | ill /msg you the password for that paste | 16:29 |
ignas | ok | 16:29 |
CrippsFX | I'm just weird like that ;) | 16:29 |
ignas | it's messed up, it seems | 16:30 |
ignas | you are passing a "class" | 16:30 |
ignas | as a component | 16:30 |
ignas | while classes are factories iirc | 16:30 |
ignas | and it's persistent | 16:30 |
ignas | global utilities are not persistent | 16:31 |
CrippsFX | ach so. | 16:31 |
CrippsFX | so I should build a factory for this. | 16:31 |
ignas | i'd guess | 16:31 |
ignas | though the persistent bit seems strange to me | 16:31 |
ignas | not sure how it should be | 16:31 |
ignas | though | 16:31 |
CrippsFX | yeah ... well, the passwd authenticator that phil did as a demo was persistent, I do believe ... | 16:32 |
ignas | can't remember how local utilities are registered these days | 16:32 |
ignas | so it might have to be persistent i guess | 16:32 |
CrippsFX | yep ... it was. | 16:32 |
ignas | try factory | 16:33 |
ignas | it might help | 16:33 |
CrippsFX | okay ... well, I'll go over the usual suspects for that, and I'll let you know how my endeavor turns out. | 16:33 |
*** netshade has joined #zope3-dev | 16:33 | |
ignas | 6 component=".plugin.LDAPAuth" -> 6 factory=".plugin.LDAPAuth" | 16:33 |
CrippsFX | kk. | 16:34 |
*** pyqwer has quit IRC | 16:35 | |
CrippsFX | sweet. | 16:35 |
CrippsFX | It's over with that god forsaken type error, now I've upgraded to a traversal error ;) | 16:35 |
zagy | I'd like to register an transaction ISynchronizer. The registration is thread-local so how am I supposed to register the synchronizer with all threads? | 16:36 |
*** edgordon has quit IRC | 16:37 | |
*** netshade has left #zope3-dev | 16:37 | |
*** dobee has quit IRC | 16:43 | |
*** tarek_ has joined #zope3-dev | 16:43 | |
*** _tarek_ has joined #zope3-dev | 16:47 | |
*** cursor has quit IRC | 16:51 | |
*** baijum has quit IRC | 16:53 | |
*** Basti_ has joined #zope3-dev | 16:53 | |
*** tarek_ has quit IRC | 16:54 | |
*** tarek has quit IRC | 16:57 | |
*** sorindregan has quit IRC | 17:07 | |
*** norro has quit IRC | 17:10 | |
*** Aiste has quit IRC | 17:13 | |
*** hdima has quit IRC | 17:45 | |
*** pelle_ has quit IRC | 17:51 | |
jpfarias | hey guys | 18:06 |
jpfarias | with zopeproject | 18:07 |
jpfarias | how do I get to debug shell? | 18:07 |
timte | bin/zopectl debug I would guess | 18:07 |
jpfarias | there's no zopectl | 18:07 |
philiKON | jpfarias: i haven't added this yet | 18:07 |
jpfarias | only buildout | 18:07 |
jpfarias | paster | 18:08 |
jpfarias | and test | 18:08 |
philiKON | jpfarias: here's what you can do | 18:08 |
philiKON | add a new section to buildout.cfg | 18:08 |
philiKON | e.g. 'debug' | 18:08 |
* philiKON heads over to a pastebin | 18:08 | |
jpfarias | :-) | 18:09 |
philiKON | jpfarias: hang on, i'd rather test it before i let you do it :) | 18:10 |
jpfarias | thanks | 18:11 |
*** jsadjohnson has quit IRC | 18:11 | |
philiKON | jpfarias: um, wait for me to refactor? :) | 18:19 |
philiKON | i thought it was going to be easier | 18:19 |
philiKON | it's not | 18:19 |
philiKON | the good news is i'll do this pretty soon | 18:19 |
philiKON | as in, the next days | 18:20 |
jpfarias | ok | 18:20 |
jpfarias | can wait :-) | 18:20 |
philiKON | for the moment you can add this to your buildout.cfg: http://paste.plone.org/16845 | 18:20 |
philiKON | and add 'debug' to your parts line | 18:20 |
philiKON | in the [buildout] section | 18:20 |
philiKON | that will at least give you a bin/debug interpreter | 18:20 |
jpfarias | ok | 18:20 |
jpfarias | good | 18:20 |
jpfarias | :-) | 18:20 |
philiKON | it won't load the zcml | 18:20 |
philiKON | or the database | 18:21 |
jpfarias | hahaha | 18:21 |
philiKON | but you can do that manually | 18:21 |
philiKON | with | 18:21 |
philiKON | from zope.app.debug.debug import Debugger | 18:21 |
philiKON | debugger = Debugger('Data.fs', 'site.zcml') | 18:21 |
philiKON | (you enter this at the interpreter prompt) | 18:22 |
philiKON | this will open the db and load the zcml | 18:22 |
jpfarias | ok | 18:22 |
jpfarias | Data.fs or var/Data.fs? | 18:22 |
philiKON | um, wherever your data.fs ;) | 18:22 |
jpfarias | :-) | 18:22 |
philiKON | um, wherever your data.fs is ;) | 18:22 |
*** Ariel_Calzada has joined #zope3-dev | 18:23 | |
jpfarias | I'm getting this problem now | 18:24 |
jpfarias | I have a container and it contains another container | 18:24 |
jpfarias | in a view | 18:25 |
jpfarias | I wanna cycle thru the subcontainer items | 18:25 |
jpfarias | so I've used tal:repeat="item context/subcontainer/values" | 18:25 |
jpfarias | but it is giving me this error: | 18:25 |
jpfarias | ForbiddenAttribute: ('get', <accounting.website.WebSiteFolder object at 0x01FB4830>) | 18:25 |
jpfarias | WebSiteFolder is my subcontainer class | 18:26 |
philiKON | jpfarias: do you have my book? | 18:26 |
jpfarias | yes | 18:26 |
jpfarias | :-) | 18:26 |
jpfarias | 1st edition only though... | 18:26 |
philiKON | ah | 18:26 |
philiKON | hmm | 18:26 |
philiKON | p 313 | 18:27 |
jpfarias | I've added the class in configure.zcml | 18:27 |
jpfarias | ok | 18:27 |
philiKON | explains the difference between ForbiddenAttribute and Unauthorized | 18:27 |
jpfarias | there | 18:27 |
jpfarias | I see | 18:28 |
jpfarias | hmm | 18:28 |
jpfarias | so how can I cycle thru the container items? | 18:28 |
philiKON | forbidden may have two sources | 18:28 |
philiKON | either you're accessing something you shouldn't be | 18:28 |
jpfarias | values() was my obvious way | 18:28 |
jpfarias | lol | 18:28 |
philiKON | or you forgot to make security declarations | 18:28 |
jpfarias | I'm using container.values() | 18:28 |
philiKON | does it work? | 18:29 |
jpfarias | tal:repeat="item context/subcontainer/values" | 18:29 |
jpfarias | should call subcontainer.values() right? | 18:29 |
philiKON | yup | 18:29 |
jpfarias | that is giving the ForbiddenAttribute error | 18:29 |
jpfarias | so I guess values is forbidden | 18:30 |
jpfarias | by default :-) | 18:30 |
jpfarias | right? | 18:30 |
*** markusleist has quit IRC | 18:30 | |
* jpfarias wondering why | 18:30 | |
philiKON | no | 18:30 |
philiKON | you need security declarations | 18:30 |
philiKON | everything is forbidden by default | 18:30 |
jpfarias | hmm | 18:30 |
jpfarias | http://paste.plone.org/16846 | 18:31 |
jpfarias | oh my bad | 18:32 |
jpfarias | I've subclass from wrong interface | 18:32 |
jpfarias | IContained instead of IContainer | 18:32 |
jpfarias | lol | 18:33 |
jpfarias | now it works fine | 18:33 |
jpfarias | :-) | 18:33 |
jpfarias | philiKON: btw, I'm converting a grok app back to pure zope3 | 18:33 |
philiKON | interesting | 18:34 |
philiKON | why? | 18:34 |
jpfarias | wanna learn zope3 | 18:34 |
jpfarias | :-) | 18:34 |
philiKON | heh, ok | 18:34 |
jpfarias | also | 18:34 |
jpfarias | having problems with grok and catalogs | 18:34 |
philiKON | oh? | 18:34 |
philiKON | what problems? | 18:34 |
jpfarias | dunno if I did it the right way | 18:34 |
jpfarias | but sometimes searching for same thing returns different results | 18:35 |
jpfarias | even though nothing is changed | 18:35 |
jpfarias | I even tried starting with a fresh db and adding objects back again | 18:36 |
jpfarias | but got same weird behaviour | 18:36 |
jpfarias | so I guess I did something wrong :-) | 18:37 |
philiKON | that's weird | 18:37 |
jpfarias | I know!!! | 18:37 |
jpfarias | gonna have lunch, brb | 18:39 |
*** nathany has joined #zope3-dev | 18:39 | |
*** nathany_ has joined #zope3-dev | 18:40 | |
*** lisppaste6 has quit IRC | 18:41 | |
*** lisppaste6 has joined #zope3-dev | 18:49 | |
*** Ariel_Calzada has quit IRC | 18:52 | |
*** jodok has quit IRC | 18:55 | |
*** jsadjohnson has joined #zope3-dev | 18:56 | |
*** timte has quit IRC | 18:57 | |
*** zagy has quit IRC | 18:57 | |
*** pelle_ has joined #zope3-dev | 18:59 | |
*** b52laptop has quit IRC | 19:03 | |
*** alecm has joined #zope3-dev | 19:07 | |
*** pbugni has joined #zope3-dev | 19:08 | |
*** elro has joined #zope3-dev | 19:10 | |
*** pbugni has quit IRC | 19:12 | |
*** alecm has quit IRC | 19:12 | |
elro | I need a field for a time, but I can't seem to find one. Timedeltas don't appear to have widget support. DateTimes mean I get a zc.datetimewidget in my setup, which won't allow me to enter a time on its own. Any ideas how to approach this? | 19:12 |
*** alecm has joined #zope3-dev | 19:17 | |
philiKON | elro: howzabout zope.schema.Time ? | 19:21 |
elro | philiKON: ImportError: cannot import name Time | 19:21 |
philiKON | you using zope 3.3? | 19:22 |
elro | 2.10.4 so yes | 19:22 |
philiKON | ah | 19:22 |
philiKON | zope.schema has Time in 2.11/3.4 | 19:22 |
elro | good to here it now exists though | 19:22 |
elro | hopefully I'll be able to back port it | 19:22 |
philiKON | you could look at the source and put it in a private package for now | 19:22 |
philiKON | right | 19:22 |
philiKON | backport it to a private package and make a conditional import, i suggest | 19:23 |
philiKON | try: from zope.schema import Time; except ImportError: from mylegacypackage import Time | 19:23 |
elro | yup | 19:23 |
* elro is never going back to archetypes | 19:24 | |
philiKON | heh | 19:24 |
*** yvl has quit IRC | 19:30 | |
philiKON | J1m: could you give me (philikon) pypi access to zope.app.wsgi pls? thx | 19:31 |
J1m | philiKON, done | 19:32 |
philiKON | thx | 19:32 |
jpfarias | hey philiKON | 19:32 |
jpfarias | got another forbiddenattribute error | 19:33 |
jpfarias | but now I don't know why | 19:33 |
jpfarias | lol | 19:33 |
J1m | I wonder who to "thank" for making me the ownder of everything. | 19:33 |
jpfarias | checked the interfaces and configure.zcml | 19:33 |
jpfarias | seems allright | 19:33 |
jpfarias | it was in an AddForm | 19:33 |
jpfarias | ForbiddenAttribute: ('add', <accounting.website.WebSiteFolder object at 0x01B7BAF0>) | 19:34 |
philiKON | J1m: i usually bug Theuni first, but when he doesn't react, i bug baijum (who isn't here yet) and then finally you... :/ | 19:34 |
philiKON | jpfarias: hard to debug w/o seeing the code | 19:35 |
jpfarias | :-) | 19:35 |
jpfarias | gonna paste | 19:35 |
jpfarias | http://paste.plone.org/16848 | 19:35 |
jpfarias | that the configure.zcml directive | 19:36 |
*** pelle_ has quit IRC | 19:36 | |
philiKON | well, no idea what the IWebSiteCOntainer thing is | 19:36 |
jpfarias | http://paste.plone.org/16849 | 19:36 |
jpfarias | that the add form | 19:36 |
jpfarias | the form class I mean | 19:37 |
philiKON | if IWebSiuteContainer has no add method or attribute, then it's pretty obvious that you're getting this error | 19:37 |
*** dunny has joined #zope3-dev | 19:37 | |
philiKON | oh, wait | 19:37 |
philiKON | how did you register this add form? | 19:37 |
philiKON | you need to register it for IAdding | 19:37 |
jpfarias | http://paste.plone.org/16850 | 19:37 |
philiKON | sigh. you really want my 2nd ed :) | 19:37 |
jpfarias | that the website + websitecontainer definitions | 19:38 |
jpfarias | lol | 19:38 |
jpfarias | indeed | 19:38 |
philiKON | basically: register the add form for IAdding, not for the container | 19:38 |
philiKON | i won't explain why b/c that's already in the book ;) | 19:39 |
philiKON | probably even 1st ed. | 19:39 |
jpfarias | I registered like this: http://paste.plone.org/16851 | 19:39 |
philiKON | yup. wrong :) | 19:39 |
jpfarias | ahahha | 19:39 |
jpfarias | in my 1st ed here | 19:40 |
jpfarias | I see it registers for IWriteContainer and IReadContainer | 19:40 |
philiKON | the security, yes | 19:40 |
jpfarias | can't see anything for IAdding | 19:41 |
philiKON | yeah, 1st ed. doesn't spell it out | 19:42 |
jpfarias | -( | 19:42 |
jpfarias | :-( | 19:42 |
jpfarias | anywhere I can take a look? | 19:42 |
philiKON | basically, register your add form for zope.app.container.interfaces.IAdding | 19:42 |
philiKON | it'll work | 19:42 |
philiKON | yes, in the example tarball for the 2nd ed. | 19:42 |
*** pbugni_ has joined #zope3-dev | 19:42 | |
*** pbugni_ has quit IRC | 19:43 | |
*** projekt01 has left #zope3-dev | 19:44 | |
jpfarias | ok | 19:48 |
jpfarias | got it | 19:48 |
jpfarias | now I just don't like the url for adding | 19:48 |
philiKON | you shouldn't use formlib's AddForm | 19:49 |
philiKON | but a regular form | 19:49 |
jpfarias | /sites/+/accounting.website.WebSite= | 19:49 |
philiKON | and register it for the container | 19:49 |
philiKON | note that you'll then have to write the action yourself | 19:49 |
philiKON | like in grok | 19:49 |
jpfarias | I see | 19:49 |
jpfarias | ok | 19:50 |
jpfarias | will do that later | 19:50 |
jpfarias | thanks | 19:50 |
jpfarias | gotta run out now | 19:50 |
*** bigkevmcd has quit IRC | 19:50 | |
*** elro has quit IRC | 19:52 | |
*** MJ has quit IRC | 19:54 | |
*** dobee has joined #zope3-dev | 19:55 | |
*** MJ has joined #zope3-dev | 19:55 | |
*** jodok has joined #zope3-dev | 19:55 | |
*** ignas has quit IRC | 19:56 | |
*** jsadjohnson has left #zope3-dev | 19:56 | |
*** jsadjohnson_ has joined #zope3-dev | 19:56 | |
*** ignas has joined #zope3-dev | 19:58 | |
*** elro has joined #zope3-dev | 20:05 | |
*** mkerrin has quit IRC | 20:08 | |
*** deo has joined #zope3-dev | 20:09 | |
*** zagy has joined #zope3-dev | 20:10 | |
*** b52laptop has joined #zope3-dev | 20:11 | |
*** naro has quit IRC | 20:16 | |
*** dobee has quit IRC | 20:19 | |
*** nathany_ has quit IRC | 20:19 | |
*** elro_ has joined #zope3-dev | 20:22 | |
*** ignas has quit IRC | 20:24 | |
*** pelle_ has joined #zope3-dev | 20:25 | |
*** cursor has joined #zope3-dev | 20:26 | |
*** MJ has quit IRC | 20:26 | |
philiKON | jpfarias: i just implemented the debugging thing in zopeproject in svn | 20:31 |
*** elro has quit IRC | 20:45 | |
*** RaFromBRC has joined #zope3-dev | 20:47 | |
*** ksmith99 has joined #zope3-dev | 20:54 | |
*** ksmith99 has left #zope3-dev | 20:54 | |
*** alga has quit IRC | 20:58 | |
*** pandres has joined #zope3-dev | 21:00 | |
*** elro_ has quit IRC | 21:05 | |
*** zagy has quit IRC | 21:18 | |
*** whit is now known as whit|lunch | 21:23 | |
*** Ariel_Calzada has joined #zope3-dev | 21:23 | |
*** zagy has joined #zope3-dev | 21:29 | |
*** tarek_ has joined #zope3-dev | 21:33 | |
*** cursor has quit IRC | 21:41 | |
*** whit|lunch is now known as whit | 21:45 | |
*** _tarek_ has quit IRC | 21:52 | |
xbeanx | When you register a catalog, does an event get dispatched that can be subscribed to? | 21:59 |
*** tarek_ has quit IRC | 22:00 | |
*** zagy has quit IRC | 22:06 | |
*** jsadjohnson_ has quit IRC | 22:06 | |
*** jsadjohnson has joined #zope3-dev | 22:08 | |
*** tarek has joined #zope3-dev | 22:10 | |
*** edgordon_ has quit IRC | 22:12 | |
*** tarek has quit IRC | 22:13 | |
*** mgedmin has quit IRC | 22:19 | |
*** jsadjohnson has quit IRC | 22:19 | |
*** jsadjohnson has joined #zope3-dev | 22:19 | |
*** jsadjohnson_ has joined #zope3-dev | 22:25 | |
*** jsadjohnson has quit IRC | 22:25 | |
pandres | hi, im trying to install alchemist in plone2.5 and im getting problems with zc.table, i followed this thread (http://www.nabble.com/Alchemist,-zc.table-on-Zope-2-t2472559s6745.html ) but havent solved it yet, does someon has an idea? | 22:42 |
*** zagy has joined #zope3-dev | 22:46 | |
*** Ariel_Calzada has quit IRC | 22:48 | |
*** jsadjohnson has joined #zope3-dev | 22:51 | |
*** Ariel_Calzada has joined #zope3-dev | 22:55 | |
*** jodok has quit IRC | 22:55 | |
*** jodok has joined #zope3-dev | 22:57 | |
*** jsadjohnson__ has joined #zope3-dev | 23:02 | |
*** derek|about has joined #zope3-dev | 23:06 | |
*** jsadjohnson_ has quit IRC | 23:18 | |
*** jsadjohnson_ has joined #zope3-dev | 23:19 | |
*** jsadjohnson has quit IRC | 23:19 | |
*** zagy has quit IRC | 23:21 | |
*** Ariel_Calzada has quit IRC | 23:26 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:39 | |
jpfarias | philiKON: hey | 23:49 |
jpfarias | did u updated zopeproject package in cheeseshop? | 23:49 |
*** benji_ has quit IRC | 23:50 | |
*** romanofs1i has joined #zope3-dev | 23:53 | |
*** timte has joined #zope3-dev | 23:55 | |
*** MrTopf has joined #zope3-dev | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!