*** benji has quit IRC | 00:06 | |
*** J1m has quit IRC | 00:36 | |
*** sm has joined #zope3-dev | 00:37 | |
*** aclark|away is now known as aclark | 00:50 | |
*** _srichter has joined #zope3-dev | 00:51 | |
*** strichter has quit IRC | 00:51 | |
*** dbfrombrc has joined #zope3-dev | 01:00 | |
*** afd__ has quit IRC | 01:01 | |
*** sp0cksbeard has quit IRC | 01:07 | |
*** sm has quit IRC | 01:07 | |
*** sm has joined #zope3-dev | 01:07 | |
*** sm has joined #zope3-dev | 01:15 | |
*** oggers has joined #zope3-dev | 01:22 | |
*** whit has quit IRC | 01:27 | |
*** lurkymclurkleton has quit IRC | 01:28 | |
*** lucielejard has quit IRC | 01:30 | |
*** flox has quit IRC | 01:37 | |
*** flox has joined #zope3-dev | 01:39 | |
*** whit has joined #zope3-dev | 01:44 | |
*** J1m has joined #zope3-dev | 01:49 | |
*** b52laptop has quit IRC | 01:51 | |
*** greenman has joined #zope3-dev | 02:09 | |
*** malthe is now known as malthe|Zzz | 02:12 | |
*** fairwinds has quit IRC | 02:25 | |
*** oggers has quit IRC | 02:43 | |
*** fairwinds has joined #zope3-dev | 02:46 | |
*** J1m has quit IRC | 02:57 | |
*** J1m has joined #zope3-dev | 03:06 | |
*** J1m has quit IRC | 03:06 | |
*** J1m has joined #zope3-dev | 03:08 | |
*** rmarianski has quit IRC | 03:10 | |
*** quodt has quit IRC | 03:17 | |
*** Jell-O-Fishi has quit IRC | 03:22 | |
*** _srichter has quit IRC | 03:39 | |
*** aclark is now known as aclark|away | 03:58 | |
*** rmarianski has joined #zope3-dev | 04:08 | |
*** rmarianski has quit IRC | 04:27 | |
*** rmarianski has joined #zope3-dev | 04:54 | |
*** whit has quit IRC | 05:03 | |
*** J1m has quit IRC | 05:05 | |
*** whit has joined #zope3-dev | 05:26 | |
*** alecm has quit IRC | 05:45 | |
*** brandon_rhodes has quit IRC | 05:55 | |
*** jodok has quit IRC | 06:10 | |
*** flox has left #zope3-dev | 06:31 | |
*** greenman has quit IRC | 06:36 | |
*** rmarianski has quit IRC | 06:54 | |
*** greenman has joined #zope3-dev | 07:27 | |
*** binseer has joined #zope3-dev | 07:30 | |
*** tdoggette has joined #zope3-dev | 07:36 | |
*** fairwinds has quit IRC | 07:36 | |
*** philiKON_ has joined #zope3-dev | 07:45 | |
*** philiKON has quit IRC | 07:47 | |
*** greenman has quit IRC | 07:59 | |
*** whit has quit IRC | 08:05 | |
*** jodok has joined #zope3-dev | 08:09 | |
*** alecm has joined #zope3-dev | 08:19 | |
*** timte has quit IRC | 08:26 | |
*** timte has joined #zope3-dev | 08:38 | |
*** timte has joined #zope3-dev | 08:45 | |
*** BjornT has quit IRC | 08:45 | |
*** BjornT has joined #zope3-dev | 08:48 | |
*** srichter has joined #zope3-dev | 08:54 | |
*** BjornT has quit IRC | 08:57 | |
*** BjornT has joined #zope3-dev | 08:57 | |
*** ChanServ sets mode: +o srichter | 09:07 | |
*** srichter has quit IRC | 09:07 | |
*** srichter has joined #zope3-dev | 09:08 | |
*** jayaraj has joined #zope3-dev | 09:09 | |
*** redir has joined #zope3-dev | 09:10 | |
*** redir has quit IRC | 09:11 | |
*** afd__ has joined #zope3-dev | 09:22 | |
*** tarek has joined #zope3-dev | 09:23 | |
*** tarek_ has joined #zope3-dev | 09:32 | |
*** tarek has quit IRC | 09:33 | |
*** srichter has quit IRC | 09:34 | |
*** Aiste has joined #zope3-dev | 09:34 | |
*** tarek_ has quit IRC | 09:42 | |
*** jodok has quit IRC | 09:47 | |
*** stub has joined #zope3-dev | 09:51 | |
*** tarek has joined #zope3-dev | 09:51 | |
*** alecm has quit IRC | 09:56 | |
*** mintsauce has joined #zope3-dev | 10:13 | |
*** mintsauce has left #zope3-dev | 10:14 | |
*** jodok has joined #zope3-dev | 10:14 | |
*** projekt01 has joined #zope3-dev | 10:17 | |
*** dbfrombrc has quit IRC | 10:26 | |
*** dbfrombrc has joined #zope3-dev | 10:29 | |
*** b52laptop has joined #zope3-dev | 10:32 | |
*** charith_para has joined #zope3-dev | 10:32 | |
*** thruflo has joined #zope3-dev | 10:35 | |
*** agroszer has joined #zope3-dev | 10:37 | |
*** goschtl has joined #zope3-dev | 10:41 | |
*** stub has quit IRC | 10:43 | |
*** flox has joined #zope3-dev | 10:46 | |
*** danfairs has joined #zope3-dev | 10:47 | |
*** jayaraj_ has joined #zope3-dev | 10:52 | |
*** mustap has joined #zope3-dev | 10:54 | |
*** charith_para has quit IRC | 11:01 | |
*** stub has joined #zope3-dev | 11:01 | |
*** jayaraj has quit IRC | 11:05 | |
*** binseer has quit IRC | 11:05 | |
*** binseer has joined #zope3-dev | 11:05 | |
*** goschtl has left #zope3-dev | 11:05 | |
*** goschtl has joined #zope3-dev | 11:07 | |
*** maurits has joined #zope3-dev | 11:08 | |
*** MJ has joined #zope3-dev | 11:12 | |
*** ccomb_ has joined #zope3-dev | 11:16 | |
*** malthe|Zzz is now known as malthe|out | 11:20 | |
*** mintsauce has joined #zope3-dev | 11:21 | |
mintsauce | 'lo all. I'm having user permissions issues on an adding an object view (.pt). Short of taking my zcml apart (which im sure is correct), what is the best way of debugging this? Is there a way to interactively see what permissions the edit page is expecting and getting? | 11:23 |
---|---|---|
afd__ | mintsauce: set the error log utility to log Unauthorized errors and you'll get pointers to the exact permission you're missing | 11:24 |
afd__ | when you have a full zope stack, you go to the error utility and remove the Unauthorized from the list of errors that it ignores | 11:24 |
*** jayaraj_ has quit IRC | 11:24 | |
afd__ | in the ZMI, I mea | 11:25 |
afd__ | n | 11:25 |
mintsauce | afd__: great thanks :) | 11:25 |
*** jayaraj has joined #zope3-dev | 11:25 | |
*** mustap has quit IRC | 11:26 | |
*** mustap has joined #zope3-dev | 11:26 | |
mintsauce | Very odd. When 'logged out', if I try to view a protected page I log the following user error (as you'd expect): unauthenticated, zope.anybody, Unauthenticated User, | 11:32 |
mintsauce | However when 'logged in', if i try to view the same page I get: unauthenticated, prefix_prefix_mintsauce, Mr Mintsauce, | 11:32 |
mintsauce | So two problems I guess - why is that first value unauthenticated (how does it differ from the others?) and double prefixes, wha?? | 11:33 |
afd__ | mintsauce: the double prefix comes from your user authentication source | 11:33 |
mintsauce | afd__: k, do you think that is related to / causing the first problem? | 11:34 |
mintsauce | What is that first value - why isn't it being updated by my login? | 11:35 |
afd__ | it might be, who knows... I'd look first for the missing permission and make sure you grant it to that user | 11:36 |
mintsauce | When viewing it in the error reporting utility, there are 3 columns. Time, User and Exception. The User column contains those 3 csv's, what exactly are they? I'm guessing: error, username, title? | 11:44 |
*** mlundwall has joined #zope3-dev | 11:49 | |
*** mlundwall has quit IRC | 11:50 | |
mintsauce | (tracked down the error - permissions on the object were fine, those on the container weren't!) | 11:52 |
*** elro has joined #zope3-dev | 12:01 | |
*** regebro has joined #zope3-dev | 12:13 | |
*** greenman has joined #zope3-dev | 12:19 | |
*** alga has joined #zope3-dev | 12:27 | |
*** oggers has joined #zope3-dev | 12:27 | |
*** afd__ has quit IRC | 12:30 | |
*** afd__ has joined #zope3-dev | 12:30 | |
*** yotaff has joined #zope3-dev | 12:35 | |
*** mustap has quit IRC | 12:39 | |
*** MJ has quit IRC | 12:39 | |
*** mustap has joined #zope3-dev | 12:40 | |
*** ChrisW has joined #zope3-dev | 12:56 | |
ChrisW | mornin' all... if I have an egg that's not on pypi but for which I have a sdist or bdist, how can I get zc.buildout to find it? | 12:57 |
*** aclark|away is now known as aclark | 13:05 | |
ChrisW | hmm, I guess download-cache? | 13:06 |
*** mintsauce_ has joined #zope3-dev | 13:07 | |
philiKON_ | ChrisW: find-links = /the/directory | 13:14 |
*** philiKON_ is now known as philiKON | 13:14 | |
* ChrisW tries to find docs for the find-links options on pypi :-( | 13:15 | |
*** afd__ has quit IRC | 13:18 | |
ChrisW | philiKON: wow, there isn't a single piece of documentation for find-links on http://pypi.python.org/pypi/zc.buildout/1.1.1 :-( | 13:19 |
ChrisW | where can I find out what it does and how it works? | 13:19 |
philiKON | find-links is like easy_install's --find-links | 13:20 |
philiKON | it just points easy_install to alternate locations | 13:21 |
philiKON | alternate in the sense of alternatives to the index | 13:21 |
*** mintsauce has quit IRC | 13:21 | |
* ChrisW goes hunting docs on --find-links | 13:21 | |
*** Jell-O-Fishi has joined #zope3-dev | 13:23 | |
*** afd_ has joined #zope3-dev | 13:28 | |
ChrisW | cool, I guess you can jhust specify the egg file dirrectly in find links... | 13:29 |
mintsauce_ | I want a browser view (that's a listing of objects) to only show objects the user owns - where should this logic appear? Is it possible in zcml? Or is it a .py thing? | 13:29 |
ChrisW | I assume you're using zpt for the templating language? | 13:30 |
ChrisW | if so, your view should expose some kind of iterator method that provides a filtered list for the zpt code to iterate over | 13:30 |
ChrisW | the filtering then goesi n the code for that method | 13:30 |
danfairs | mintsauce_: so in the python, to answer your question ;) | 13:31 |
* ChrisW goes back to trying to improve zc.buildout's docs... | 13:31 | |
mintsauce_ | heh - thanks (mornin' dan) | 13:32 |
* ChrisW wodners who mintsauce_ is? | 13:32 | |
mintsauce_ | ChrisW: Zope3 noob :) | 13:32 |
ChrisW | run ,run away ;-) | 13:33 |
mintsauce_ | lol | 13:33 |
*** stub has quit IRC | 13:38 | |
ChrisW | mintsauce_: you coming to PyConUK? | 13:44 |
mintsauce_ | ChrisW: I want to but it clashes with another conference and more importantly the due date of my first born! | 13:46 |
* mintsauce_ still wondering what it is about September and conferences | 13:46 | |
ChrisW | pah, send the sprog to the other conference - both problems solved ;-) | 13:47 |
danfairs | ChrisW: And I should have my wedding there, right? :) | 13:47 |
ChrisW | nah, just don't get married.. silly idea this wedding malarky if ever I heard one... | 13:47 |
mintsauce_ | lol, told the wife earlier (who's bored and on maternity leave) to do something useful and learn python - didn't work - shes eating cookies and watching the olympics instead ;) | 13:48 |
*** yvl has left #zope3-dev | 13:48 | |
ChrisW | hah | 13:49 |
mintsauce_ | just using zcml template=nicename.pt always exposes nice technology agnostic urls (eg: site.com/nicename)- why would i want to use name=nicename.html (site.com/@@nicename.html) ? | 13:49 |
ChrisW | hmm, it's been a long time since a bunmch of brits took over a zope or python channel for directionless banter... ah, the good old days... | 13:49 |
ChrisW | mintsauce_: well, the defaults are supposed to be helpful like that ;-) | 13:50 |
ChrisW | although some custoemrs get hung up on that .html... | 13:51 |
mintsauce_ | ChrisW: So theres no need for the html name? | 13:51 |
mintsauce_ | ChrisW: Whereabouts in the UK are you? I'm in Bristol - yes Zope is catching down here ;) | 13:52 |
* ChrisW is in Reading | 13:52 | |
ChrisW | I blame Matt for any Zope contageon is Bristol | 13:52 |
ChrisW | although I bet it's mainly fucking Plohn :-( | 13:52 |
*** MJ has joined #zope3-dev | 13:54 | |
* mintsauce_ did come from P**** - but saw the light | 13:54 | |
*** ignas has joined #zope3-dev | 13:55 | |
ChrisW | hey Ignas :-) | 13:56 |
mintsauce_ | Sooooooo .... how *would* I access the owner of an object via python? | 13:56 |
ignas | hi | 13:56 |
* ChrisW doesn't know in "zope 3" | 13:56 | |
ignas | mintsauce_: what is the owner? | 13:56 |
ChrisW | I didn't even know "zope 3" had the concept of object ownership... | 13:57 |
mintsauce_ | metadata creator ... | 13:57 |
mintsauce_ | i want to list objects only the logged in member has created .. | 13:58 |
ignas | is it a part of dublin core? | 13:58 |
ChrisW | this *is* plone, isn't it? | 13:58 |
mintsauce_ | ignas: yup | 13:58 |
*** tdoggette has quit IRC | 13:58 | |
ignas | then adapt the object to IDublinCoreWhatever | 13:58 |
ignas | and look at the attributes | 13:58 |
mintsauce_ | ignas: thanks | 14:02 |
ignas | mintsauce_: did I even help? | 14:03 |
* ChrisW still wonders if it's plohn... | 14:03 | |
mintsauce_ | ignas: yup - reminded me that it was a dc function and that philiKON has a section on returning dc stuff in pts in his book :) | 14:05 |
*** tdoggette has joined #zope3-dev | 14:05 | |
* mintsauce_ wonders if its ever gonna stop raining | 14:05 | |
* ChrisW has new toys... a selection of adsl modems and a shiny new 8 port router... aren't I special :-D | 14:06 | |
*** jsadjohnson has joined #zope3-dev | 14:14 | |
*** junkafarian has joined #zope3-dev | 14:15 | |
*** Jell-O-Fishi has quit IRC | 14:15 | |
ChrisW | anyone know what order the entries in find-links are used | 14:16 |
ChrisW | ? | 14:16 |
ChrisW | ...and I assume pypi is always searched? | 14:16 |
*** fairwinds has joined #zope3-dev | 14:18 | |
*** afd_ has quit IRC | 14:22 | |
*** afd_ has joined #zope3-dev | 14:26 | |
*** thruflo has quit IRC | 14:41 | |
*** rocky has quit IRC | 14:43 | |
*** MrTopf has joined #zope3-dev | 14:46 | |
*** redir has joined #zope3-dev | 14:48 | |
*** redir has quit IRC | 15:01 | |
*** rocky has joined #zope3-dev | 15:01 | |
*** benji has joined #zope3-dev | 15:03 | |
*** sunew has joined #zope3-dev | 15:10 | |
ccomb_ | ChrisW: I think PyPI is not searched if you specify your own index | 15:14 |
ChrisW | not convinced by that ;-) | 15:20 |
ChrisW | (since the plone buildout.cfg specifies find-links, doesn't include pypi and yet can find packages only on pypi) | 15:21 |
philiKON | find-links != index | 15:22 |
ccomb_ | not specifying index= is equivalent to specifying PyPI | 15:22 |
philiKON | if you specify your own index, pypi's index isn't considered | 15:22 |
philiKON | if you specify find-links, whatever index you're using *and* find-links are used | 15:22 |
ChrisW | philiKON: what's the ordering? particularly when multiple entries are specified in find-links? | 15:23 |
philiKON | not sure there's an order | 15:23 |
philiKON | if just takes the newest version available | 15:23 |
philiKON | of a package | 15:24 |
philiKON | no matter where it finds it | 15:24 |
ChrisW | hurm, would be great to know for definite... | 15:24 |
philiKON | unless there are certain version number boundaries | 15:24 |
*** greenman has quit IRC | 15:33 | |
ChrisW | philiKON: is that for definite? | 15:36 |
*** aclark is now known as aclark|away | 15:45 | |
rocky | btw.. if you specify an index, and one of the packages installed by your buildout includes distribution_links your build will magically look at different places to pull down eggs | 15:50 |
rocky | http://plope.com/Members/chrism/distribution_links_considered_harmful | 15:51 |
rocky | i also had a situation where one of my third-party eggs was causing pypi to get added to my indexes but i don't recall the exact cause of that | 15:52 |
*** jayaraj has quit IRC | 15:53 | |
*** sm has quit IRC | 15:53 | |
*** lurkymclurkleton has joined #zope3-dev | 15:57 | |
*** ChrisW1 has joined #zope3-dev | 16:02 | |
*** J1m has joined #zope3-dev | 16:06 | |
*** ChrisW2 has joined #zope3-dev | 16:06 | |
*** sp0cksbeard has joined #zope3-dev | 16:07 | |
*** mustap has quit IRC | 16:09 | |
*** afd_ has quit IRC | 16:10 | |
*** ChrisW has quit IRC | 16:11 | |
*** mintsauce_ has quit IRC | 16:16 | |
*** hazmat has joined #zope3-dev | 16:19 | |
*** ChanServ sets mode: +o hazmat | 16:19 | |
*** lucielejard has joined #zope3-dev | 16:23 | |
*** ChrisW1 has quit IRC | 16:24 | |
elro | ChrisW: that is for definite | 16:24 |
elro | (that was to not searching pypi when index is set) | 16:25 |
*** sm has joined #zope3-dev | 16:29 | |
*** afd_ has joined #zope3-dev | 16:32 | |
ChrisW2 | elro: shame my question was about whether find-links options are all searched or searched in order until a match is found ;-) | 16:46 |
*** binseer has quit IRC | 16:49 | |
*** __mac__ has quit IRC | 16:56 | |
*** dunny has quit IRC | 17:00 | |
*** junkafarian_ has joined #zope3-dev | 17:24 | |
*** junkafarian has quit IRC | 17:25 | |
*** junkafarian_ is now known as junkafarian | 17:25 | |
*** nathany has joined #zope3-dev | 17:29 | |
*** goschtl has left #zope3-dev | 17:29 | |
chaoflow | I have an object with one attribute, which is once assigned in __init__ with a OOBtree. Does the object need to inherit from Persistent or is it enough, that the attribute, where changes are taking place, is a persistent object? | 17:31 |
*** rmarianski has joined #zope3-dev | 17:36 | |
elro | chaoflow: the object will follow the rules for non-persistent objects in zodb, i.e. it will be stored in the parent's pickle. The persistent attribute (the OOBTree) will still get pickled seperately | 17:37 |
*** mintsauce has joined #zope3-dev | 17:38 | |
mintsauce | Trying to access DublinCore metadata - ZopeTalesAPI can access created,description,modified,title - but not creator - yet this is displayed on metadata page ..... grrrrr! | 17:39 |
elro | chaoflow: interesting things happen if you store more than one reference to the non-persistent object, you end up with multiple instances of it (well, once it has been deghostedified). This still won't affect the persistent attribute though | 17:40 |
elro | so if a=MyOb(); ob1.a = a; ob2.a=a; eventually ob1.a is not ob2.a, but ob1.a.btree is ob2.a.btree | 17:42 |
*** projekt01 has quit IRC | 17:45 | |
*** MJ has quit IRC | 17:47 | |
*** afd_ has quit IRC | 17:51 | |
*** whit has joined #zope3-dev | 18:10 | |
danfairs | mintsauce: go look at the code for the metadata page then, see how it does it :) | 18:18 |
mintsauce | danfairs: funny you should say that ;) | 18:19 |
*** timte has quit IRC | 18:19 | |
mintsauce | exactly what ive done, just using it in my own code now | 18:19 |
*** fcorrea has quit IRC | 18:24 | |
*** alecm has joined #zope3-dev | 18:26 | |
mintsauce | Works - but result in pt is in the format (u'zope.manager', u'prefix_mintsauce'), which is unicode? How do return plain text? | 18:26 |
*** sunew has quit IRC | 18:28 | |
*** fcorrea has joined #zope3-dev | 18:31 | |
*** brandon_rhodes has joined #zope3-dev | 18:46 | |
*** MJ has joined #zope3-dev | 18:46 | |
chaoflow | elro: thx a lot! | 18:56 |
ignas | mintsauce: what do you mean "return plain text"? | 18:58 |
mintsauce | ignas: it's alright - worked it out (tuple when i wasn't expecting one) | 18:58 |
*** sunew has joined #zope3-dev | 19:01 | |
*** alga has quit IRC | 19:02 | |
*** whitmo has joined #zope3-dev | 19:07 | |
*** junkafarian_ has joined #zope3-dev | 19:12 | |
*** whit has quit IRC | 19:13 | |
*** srichter has joined #zope3-dev | 19:14 | |
*** whitmo has quit IRC | 19:14 | |
*** djohnson has joined #zope3-dev | 19:19 | |
*** alecm has quit IRC | 19:22 | |
*** junkafarian has quit IRC | 19:26 | |
*** alecm has joined #zope3-dev | 19:26 | |
*** djohnson has quit IRC | 19:28 | |
*** kursor has joined #zope3-dev | 19:29 | |
*** mintsauce has quit IRC | 19:32 | |
*** whitmo has joined #zope3-dev | 19:46 | |
*** srichter has quit IRC | 19:49 | |
*** srichter has joined #zope3-dev | 19:49 | |
*** danfairs has quit IRC | 19:53 | |
*** jodok has quit IRC | 19:54 | |
*** MJ has quit IRC | 19:57 | |
*** junkafarian_ has quit IRC | 20:05 | |
*** aclark|away is now known as aclark | 20:08 | |
*** srichter has quit IRC | 20:10 | |
*** srichter has joined #zope3-dev | 20:11 | |
*** whitmo is now known as whit | 20:17 | |
*** rmarianski has quit IRC | 20:22 | |
*** rmarianski has joined #zope3-dev | 20:25 | |
*** norro has joined #zope3-dev | 20:37 | |
*** jodok has joined #zope3-dev | 20:40 | |
*** nathany_ has joined #zope3-dev | 20:50 | |
*** nathany has quit IRC | 20:50 | |
*** nathany_ is now known as nathany | 20:50 | |
*** maurits has quit IRC | 20:55 | |
*** junkafarian has joined #zope3-dev | 20:59 | |
*** andres_f has joined #zope3-dev | 21:06 | |
*** junkafarian_ has joined #zope3-dev | 21:14 | |
*** kursor has left #zope3-dev | 21:21 | |
*** ccomb_ has left #zope3-dev | 21:25 | |
*** ignas has quit IRC | 21:27 | |
*** elro has quit IRC | 21:29 | |
*** junkafarian has quit IRC | 21:30 | |
*** MrTopf has quit IRC | 21:30 | |
*** RaFromBRC has joined #zope3-dev | 21:31 | |
*** dunny has joined #zope3-dev | 22:10 | |
*** hazmat has left #zope3-dev | 22:25 | |
*** sunew has quit IRC | 22:25 | |
*** mcdonc has quit IRC | 22:29 | |
*** sm is now known as sm-afk | 22:30 | |
*** RaFromBRC has left #zope3-dev | 22:34 | |
*** mcdonc has joined #zope3-dev | 22:44 | |
*** hazmat has joined #zope3-dev | 22:51 | |
*** ChanServ sets mode: +o hazmat | 22:51 | |
*** timte has joined #zope3-dev | 22:51 | |
*** hazmat has quit IRC | 22:52 | |
*** vipod has joined #zope3-dev | 22:58 | |
*** sunew has joined #zope3-dev | 23:09 | |
*** norro has quit IRC | 23:11 | |
*** ignas has joined #zope3-dev | 23:14 | |
*** ChrisW2 has left #zope3-dev | 23:14 | |
*** brandon_rhodes has quit IRC | 23:16 | |
*** sunew has quit IRC | 23:17 | |
*** greenman_ has joined #zope3-dev | 23:26 | |
*** timte has quit IRC | 23:48 | |
*** regebro has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!