*** RaFromBRC has quit IRC | 00:00 | |
pelle_ | i had liked to check out the lovely flvplayer i have done a svn check out from svn.zope.org and run the following command from the check out dir: /Users/pelle/Zope-Sandbox-243/bin/python setup.py install --home /Users/pelle/Zope-3.2.1/sites/instance1 ---- but i get an error in lovely.flvplayer setup command: Distribution contains no modules or packages for namespace package 'z3' ---- any hints / suggestions for solutions thanks in | 00:02 |
---|---|---|
*** reco has joined #zope3-dev | 00:08 | |
*** ktwilight has quit IRC | 00:10 | |
*** ktwilight has joined #zope3-dev | 00:11 | |
timte | What calls AddFormBase.handle_add(self, action, data) ? | 00:20 |
philiKON | why don't you do a pdb set trace and find out? ;) | 00:21 |
philiKON | handle_add isprobably an action | 00:22 |
philiKON | (@action) | 00:22 |
philiKON | that means it'll be called when the corresponding button is pressed | 00:22 |
philiKON | formlib dispatches button calls to actions | 00:22 |
timte | ah, I should be able to see the call stack, right? | 00:25 |
timte | good idea | 00:25 |
*** Londo_ has quit IRC | 00:26 | |
philiKON | yes | 00:26 |
timte | I looked up the action class, but it didn't make much sense to me :) | 00:27 |
*** dobee has quit IRC | 00:31 | |
*** timte has quit IRC | 00:31 | |
*** dobee has joined #zope3-dev | 00:32 | |
*** ofer has joined #zope3-dev | 00:35 | |
*** jinty has quit IRC | 00:51 | |
*** dunny has quit IRC | 00:55 | |
*** ofer has quit IRC | 01:11 | |
*** tarek has quit IRC | 01:12 | |
*** tarek has joined #zope3-dev | 01:13 | |
*** pelle_ has quit IRC | 01:17 | |
*** J1m has quit IRC | 01:19 | |
*** tonico is now known as tonico|away | 01:35 | |
*** jinty has joined #zope3-dev | 02:05 | |
*** jinty has quit IRC | 02:29 | |
*** alecm has quit IRC | 02:50 | |
*** tiredbones__ has quit IRC | 03:01 | |
*** povbot has joined #zope3-dev | 03:13 | |
*** yutakashino_ has joined #zope3-dev | 03:18 | |
*** povbot` has quit IRC | 03:21 | |
*** yutakashino has quit IRC | 03:26 | |
*** ksmith99 has left #zope3-dev | 03:29 | |
*** yota has quit IRC | 03:43 | |
*** alecm has joined #zope3-dev | 03:45 | |
*** rocky has quit IRC | 03:47 | |
*** yutakashino__ has joined #zope3-dev | 03:56 | |
*** yutakashino__ is now known as yutakashino | 03:56 | |
*** Simeoni has joined #zope3-dev | 04:02 | |
Simeoni | where could I find help on testing how zope3 works? | 04:03 |
*** yutakashino_ has quit IRC | 04:05 | |
*** factor has joined #zope3-dev | 04:07 | |
*** RaFromBRC has quit IRC | 05:03 | |
*** reco has quit IRC | 05:25 | |
*** alecm has quit IRC | 05:34 | |
*** alecm has joined #zope3-dev | 05:36 | |
*** alecm has quit IRC | 05:41 | |
*** dunny has joined #zope3-dev | 06:06 | |
*** dobee has quit IRC | 06:13 | |
*** baijum has joined #zope3-dev | 06:19 | |
*** projekt01 has left #zope3-dev | 06:21 | |
*** niemeyer has quit IRC | 06:31 | |
*** dobee has joined #zope3-dev | 07:18 | |
*** yutakashino has quit IRC | 07:18 | |
*** dobee has quit IRC | 07:35 | |
*** zagy_ has quit IRC | 08:12 | |
*** baijum has quit IRC | 08:12 | |
*** febb has quit IRC | 08:12 | |
*** srichter has quit IRC | 08:12 | |
*** ktwilight has quit IRC | 08:12 | |
*** dunny has quit IRC | 08:12 | |
*** Simeoni has quit IRC | 08:12 | |
*** natea_ has quit IRC | 08:12 | |
*** d2m has quit IRC | 08:12 | |
*** nouri has quit IRC | 08:12 | |
*** SmokeyD has quit IRC | 08:12 | |
*** dokai has quit IRC | 08:12 | |
*** Aiste has quit IRC | 08:12 | |
*** philiKON has quit IRC | 08:12 | |
*** SteveA has quit IRC | 08:12 | |
*** batlogg has quit IRC | 08:12 | |
*** andrew_m has quit IRC | 08:12 | |
*** BjornT has quit IRC | 08:12 | |
*** jkakar has quit IRC | 08:12 | |
*** srichter has joined #zope3-dev | 08:14 | |
*** baijum has joined #zope3-dev | 08:14 | |
*** dunny has joined #zope3-dev | 08:14 | |
*** Simeoni has joined #zope3-dev | 08:14 | |
*** Aiste has joined #zope3-dev | 08:14 | |
*** ktwilight has joined #zope3-dev | 08:14 | |
*** batlogg has joined #zope3-dev | 08:14 | |
*** zagy_ has joined #zope3-dev | 08:14 | |
*** natea_ has joined #zope3-dev | 08:14 | |
*** d2m has joined #zope3-dev | 08:14 | |
*** BjornT has joined #zope3-dev | 08:14 | |
*** philiKON has joined #zope3-dev | 08:14 | |
*** febb has joined #zope3-dev | 08:14 | |
*** SmokeyD has joined #zope3-dev | 08:14 | |
*** dokai has joined #zope3-dev | 08:14 | |
*** andrew_m has joined #zope3-dev | 08:14 | |
*** jkakar has joined #zope3-dev | 08:14 | |
*** nouri has joined #zope3-dev | 08:14 | |
*** SteveA has joined #zope3-dev | 08:14 | |
*** irc.freenode.net sets mode: +o srichter | 08:14 | |
*** oggers has quit IRC | 08:37 | |
*** oggers has joined #zope3-dev | 08:38 | |
*** tgkuo has joined #zope3-dev | 09:32 | |
*** timte has joined #zope3-dev | 09:51 | |
*** zagy_ has quit IRC | 10:22 | |
*** tgkuo has quit IRC | 10:22 | |
*** srichter has quit IRC | 10:22 | |
*** febb has quit IRC | 10:22 | |
*** baijum has quit IRC | 10:22 | |
*** ktwilight has quit IRC | 10:22 | |
*** d2m has quit IRC | 10:22 | |
*** Simeoni has quit IRC | 10:22 | |
*** dunny has quit IRC | 10:22 | |
*** natea_ has quit IRC | 10:22 | |
*** nouri has quit IRC | 10:22 | |
*** SmokeyD has quit IRC | 10:22 | |
*** dokai has quit IRC | 10:22 | |
*** Aiste has quit IRC | 10:22 | |
*** SteveA has quit IRC | 10:22 | |
*** philiKON has quit IRC | 10:22 | |
*** batlogg has quit IRC | 10:22 | |
*** andrew_m has quit IRC | 10:22 | |
*** BjornT has quit IRC | 10:22 | |
*** jkakar has quit IRC | 10:22 | |
*** srichter has joined #zope3-dev | 10:25 | |
*** tgkuo has joined #zope3-dev | 10:25 | |
*** baijum has joined #zope3-dev | 10:25 | |
*** dunny has joined #zope3-dev | 10:25 | |
*** Simeoni has joined #zope3-dev | 10:25 | |
*** Aiste has joined #zope3-dev | 10:25 | |
*** ktwilight has joined #zope3-dev | 10:25 | |
*** batlogg has joined #zope3-dev | 10:25 | |
*** zagy_ has joined #zope3-dev | 10:25 | |
*** natea_ has joined #zope3-dev | 10:25 | |
*** d2m has joined #zope3-dev | 10:25 | |
*** BjornT has joined #zope3-dev | 10:25 | |
*** philiKON has joined #zope3-dev | 10:25 | |
*** febb has joined #zope3-dev | 10:25 | |
*** SmokeyD has joined #zope3-dev | 10:25 | |
*** dokai has joined #zope3-dev | 10:25 | |
*** andrew_m has joined #zope3-dev | 10:25 | |
*** jkakar has joined #zope3-dev | 10:25 | |
*** nouri has joined #zope3-dev | 10:25 | |
*** SteveA has joined #zope3-dev | 10:25 | |
*** irc.freenode.net sets mode: +o srichter | 10:25 | |
*** pelle_ has joined #zope3-dev | 10:27 | |
timte | Does all of zope3 work with offset-aware datetime objects? | 10:29 |
*** HakTom has joined #zope3-dev | 10:53 | |
*** romanofski has joined #zope3-dev | 11:22 | |
timte | How do I add security declarations to my folders? | 11:24 |
timte | I get ForbiddenAttribute: ('add', <zope.app.folder.folder.Folder object ...>) | 11:24 |
*** jinty has joined #zope3-dev | 11:28 | |
*** SmokeyD has quit IRC | 11:28 | |
*** flox_ has joined #zope3-dev | 11:30 | |
timte | hmm, folders should already have security declarations | 11:31 |
*** flox_ is now known as flox | 11:31 | |
*** Aiste has quit IRC | 11:32 | |
* timte is puzzled | 11:35 | |
*** romanofs1i has joined #zope3-dev | 11:39 | |
*** SmokeyD has joined #zope3-dev | 11:43 | |
*** oggers has quit IRC | 11:48 | |
*** romanofski has quit IRC | 11:52 | |
timte | <browser:page for="zope.app.component.interfaces.ISite" name="addEvent" class=".eventforms.EventAddForm" permission="zope.ManageContent" /> | 11:56 |
*** regebro has joined #zope3-dev | 11:57 | |
regebro | Hey all! | 11:57 |
regebro | A small question on contentproviders: | 11:57 |
regebro | The provider:expression is "single phase", right? | 11:58 |
timte | I get a form when going to /addEvent, but I get a ForbittenAttribute 'add' when submitting the form. What do I need more to be able to add objects to the site? | 11:58 |
regebro | Is support for two-phase providers in ZPT today? | 11:59 |
regebro | Maybe srichter knows. ;) | 12:09 |
* timte never heard of one-phase and two-phase providers :) | 12:12 | |
regebro | timte: A content provider has two methods: update and render. | 12:15 |
regebro | In theory, all contentproviders update method should be called first, and then all the render methods. | 12:15 |
regebro | This to allow providers to be interdependent. | 12:16 |
regebro | That's two-phase. | 12:16 |
timte | ok, got it | 12:16 |
regebro | But if you do tal:replace="structure provider:blablabla", each providers update and render will be called directly. | 12:16 |
regebro | I don't know if there is any two-phase support today. But I think it would be possible to make two-phase support if it was a tal:provider expression instead. I think. :) | 12:17 |
timte | you want all privders' update method to be called first and then render? | 12:17 |
regebro | Well, yeah. This is all For My Information, I don't actually need it. | 12:18 |
regebro | Yet | 12:18 |
timte | the heavy developers didn't wake up yet or perhaps they take the weekend off sometimes :) | 12:19 |
regebro | Could be. :) | 12:20 |
timte | luckily we have mailing lists | 12:20 |
timte | am about to send one question myself | 12:20 |
Simeoni | I'm new to zope and I'm trying to test how zope 3 works... I'm reading the online book for zope3 and trying to learn use the webgui. I can create the folder ok but then when I try to create the ZPT page it just gives "Asystem error occured in the browser | 12:21 |
regebro | I'm too impatient. :) | 12:21 |
timte | :) | 12:21 |
timte | Simeoni: what do the terminal or logs say? | 12:22 |
Simeoni | 1 <html> | 12:23 |
Simeoni | 2 <body> | 12:23 |
Simeoni | 3 <h4>Folder Title</h4> | 12:23 |
Simeoni | 4 <br/> | 12:23 |
Simeoni | 5 <h1 tal:content="context/zope:title">title here</h1> | 12:23 |
Simeoni | 6 </body> | 12:23 |
Simeoni | 7 </html> | 12:23 |
Simeoni | ups | 12:23 |
Simeoni | 2006-10-21T12:21:21 ERROR SiteError http://localhost:8080 | 12:24 |
Simeoni | Traceback (most recent call last): | 12:24 |
Simeoni | File "C:\Python24\Lib\site-packages\zope\publisher\publish.py", line 126, in p | 12:24 |
Simeoni | ublish | 12:24 |
Simeoni | request.processInputs() | 12:24 |
Simeoni | File "C:\Python24\Lib\site-packages\zope\publisher\browser.py", line 263, in p | 12:24 |
Simeoni | rocessInputs | 12:24 |
Simeoni | fs = FieldStorage(fp=fp, environ=self._environ, keep_blank_values=1) | 12:24 |
Simeoni | File "C:\Python24\lib\cgi.py", line 530, in __init__ | 12:24 |
Simeoni | self.read_multi(environ, keep_blank_values, strict_parsing) | 12:24 |
Simeoni | File "C:\Python24\lib\cgi.py", line 650, in read_multi | 12:24 |
Simeoni | environ, keep_blank_values, strict_parsing) | 12:24 |
Simeoni | File "C:\Python24\lib\cgi.py", line 532, in __init__ | 12:24 |
Simeoni | self.read_single() | 12:24 |
Simeoni | File "C:\Python24\lib\cgi.py", line 665, in read_single | 12:24 |
Simeoni | self.read_lines() | 12:24 |
Simeoni | File "C:\Python24\lib\cgi.py", line 687, in read_lines | 12:24 |
Simeoni | self.read_lines_to_outerboundary() | 12:24 |
Simeoni | File "C:\Python24\lib\cgi.py", line 715, in read_lines_to_outerboundary | 12:24 |
Simeoni | line = self.fp.readline(1<<16) | 12:24 |
Simeoni | TypeError: readline() takes exactly 1 argument (2 given) | 12:24 |
timte | I think I've seen that error before | 12:25 |
timte | What version of zope and python are you using? | 12:25 |
Simeoni | python 2.4.4 and zope 3.3.0 | 12:26 |
* timte has no clue | 12:31 | |
timte | http://zope3.pov.lt/irclogs/%23zope3-dev.2006-01-20.log.html | 12:31 |
timte | someone else seems to have had the same problem though | 12:31 |
regebro | Simeoni: Itäs better to paste error messages into a pastebin. | 12:31 |
regebro | paste code examples into http://zope3.pastebin.com/ or http://paste.plone.org/ | 12:31 |
regebro | I think that's a known bug and has been fixed in trunk. | 12:32 |
regebro | The line "line = self.fp.readline(1<<16)" should be "line = self.fp.readline()" | 12:32 |
regebro | Simeoni: So you can fix it yourself if you want to. :) | 12:32 |
Simeoni | uh | 12:33 |
timte | it works for me though and I have an untouched zope | 12:33 |
regebro | timte: But you have maybe Python 2.4.3? | 12:36 |
timte | yeah | 12:37 |
regebro | http://mail.zope.org/pipermail/zope3-users/2006-October/004742.html | 12:38 |
regebro | and http://mail.zope.org/pipermail/zope3-users/2006-October/004736.html | 12:38 |
Simeoni | so later version of python should help | 12:39 |
*** flox has quit IRC | 12:53 | |
*** flox_ has joined #zope3-dev | 12:53 | |
*** flox_ is now known as flox | 12:54 | |
regebro | Simeoni: Uh, no, earlier. :) 2.4.3 work 2.4.4 not. | 13:00 |
regebro | Or you can change the line that gives you the error. | 13:00 |
Simeoni | yeah yeah, earlier | 13:01 |
*** zagy_ has quit IRC | 13:03 | |
*** zagy has joined #zope3-dev | 13:06 | |
*** tgkuo has left #zope3-dev | 13:08 | |
*** zagy has quit IRC | 13:15 | |
*** dunny has quit IRC | 13:20 | |
*** pelle_ has quit IRC | 13:30 | |
Simeoni | ok, now got it installed and it works perfectly with 2.4.3 | 13:37 |
*** Aiste has joined #zope3-dev | 13:52 | |
*** yota has joined #zope3-dev | 14:09 | |
* baijum is looking at zope.configuration source, zope.i18n is given | 14:30 | |
baijum | as a dependancy in DEPENDENCIES.cfg, but it is not imported | 14:30 |
baijum | in this package. | 14:30 |
baijum | so, can I remove that dependancy ? | 14:30 |
baijum | I mean, can I remove 'zope.i18n' line from DEPENDENCIES.cfg file | 14:31 |
*** benji has joined #zope3-dev | 14:31 | |
*** projekt01 has joined #zope3-dev | 14:39 | |
*** dobee has joined #zope3-dev | 14:40 | |
timte | How come IFolder doesn't have an add method? | 15:07 |
*** rocky has joined #zope3-dev | 15:21 | |
*** rocky has quit IRC | 15:23 | |
*** rocky has joined #zope3-dev | 15:26 | |
*** ignas has joined #zope3-dev | 16:04 | |
*** J1m has joined #zope3-dev | 16:16 | |
J1m | Does anyone know the status of the Zope3 wiki? | 16:17 |
*** batlogg_ has joined #zope3-dev | 16:18 | |
* benji wonders if "pinin' for the fjords" is applicable | 16:19 | |
*** batlogg has quit IRC | 16:21 | |
benji | J1m: people seem to discuss it on occasion on zope3-dev | 16:21 |
J1m | You mean the mailing list? | 16:21 |
benji | yep | 16:21 |
J1m | I just want to post some proposals and need to know where. :) | 16:22 |
J1m | sigh | 16:22 |
benji | Baiju has recently made some additions to the FAQ section | 16:22 |
benji | no idea | 16:22 |
J1m | any idea what the ubject might be? :) | 16:24 |
J1m | no hits for wiki | 16:24 |
*** pelle_ has joined #zope3-dev | 16:24 | |
J1m | I'll just publish to the old place and let people tell me to publish elsewhere if the wish. :) | 16:25 |
*** batlogg has joined #zope3-dev | 16:26 | |
benji | sounds like a plan | 16:26 |
*** batlogg_ has quit IRC | 16:26 | |
*** batlogg_ has joined #zope3-dev | 16:26 | |
*** dman13 has joined #zope3-dev | 16:27 | |
baijum | Jim, Zope3 wiki is here: http://zope3.zwiki.org/ | 16:40 |
*** batlogg has quit IRC | 16:43 | |
*** J1m has quit IRC | 16:46 | |
*** baijum changes topic to "logs available at http://zope3.pov.lt/irclogs/ || paste code examples into http://zope3.pastebin.com/ or http://paste.plone.org/ || Zope 3.3.0 is out || bugs live at http://www.zope.org/Collectors/Zope3-dev || New wiki is at http://zope3.zwiki.org || FAQ at http://zope3.zwiki.org/FAQ" | 17:09 | |
*** baijum has quit IRC | 17:11 | |
*** pelle_ has quit IRC | 17:14 | |
*** tonico|away has quit IRC | 17:21 | |
*** batlogg has joined #zope3-dev | 17:33 | |
srichter | regebro: no, unfortunately, the "provider" TALES namespace does not support two-phase rendering for content providers yet | 17:34 |
*** batlogg_ has quit IRC | 17:50 | |
timte | Is an add method inappropriate for IFolder? | 17:51 |
*** jinty has quit IRC | 17:53 | |
*** projekt01 is now known as projekt01_ | 18:09 | |
*** romanofs1i has quit IRC | 18:09 | |
*** natea has joined #zope3-dev | 18:16 | |
*** febb is now known as febb_ | 18:26 | |
*** febb_ is now known as febb | 18:26 | |
febb | Hello all | 18:26 |
*** natea_ has quit IRC | 18:29 | |
regebro | timte: add what? | 18:55 |
regebro | srichter: ok, thanks. | 18:55 |
timte | regebro: IAdding has an add method, I'd like that in IFolder as well. | 18:56 |
regebro | timte: To do what? | 18:57 |
timte | to add an object to the folder | 18:57 |
regebro | folder[id] = object | 18:58 |
regebro | Tada! | 18:58 |
timte | yeah, but then you don't have pluggable naming choosers like IAdding has | 18:58 |
regebro | Well that's what IAdding is for. | 18:58 |
timte | then I'd end up reimplementing the add method that's in IAdding | 18:58 |
regebro | Yes, so, use IAdding. :) | 18:59 |
timte | there doesn't seem to be any adapters from IFolder to IAdding | 18:59 |
timte | and it still wouldn't make sense I think, because IAdding has menu methods that has nothing to do with the folder | 19:00 |
*** stub has joined #zope3-dev | 19:00 | |
regebro | Thats possibe, but you should be able to use the adapters that exist for standard folders. | 19:01 |
regebro | IAdding is the interface made for adding stuff to folderish things. | 19:02 |
timte | what adapters? | 19:02 |
regebro | I a sense IAdding *is* the add method. | 19:02 |
timte | then it should only contain that method :) | 19:03 |
regebro | The addview is view, so I guess (but I'äm not 100%) you can't just adapt IFodler. | 19:03 |
regebro | Maybe that's the problem. | 19:03 |
regebro | Try looking it up as a view. | 19:04 |
timte | I sent an email to zope3-dev now | 19:04 |
timte | it has the subject "IFolder and IAdding", read it and enlighten me please ;) | 19:06 |
*** xenru has joined #zope3-dev | 19:07 | |
timte | regebro: are you still doing zope3 stuff for nuxeo? | 19:08 |
*** xenru has quit IRC | 19:11 | |
regebro | timte: Not much no. But then again, I have never done any zope3 stuff for nuxeo, actually. :) | 19:11 |
regebro | But I have done Five stuff. | 19:11 |
timte | regebro: buy you're employed by nuxeo, right? | 19:12 |
regebro | timte: Well, as mentioned, to add stuff to a folder, you just add it. If you want the fancy stuff that IAdding gives you, use IAdding. It really is that simple. | 19:12 |
regebro | timte: yUP. | 19:12 |
regebro | If you put the add method on the fodler, then everything folderish needs to implement it. | 19:13 |
*** xenru has joined #zope3-dev | 19:13 | |
timte | regebro: but how do I adapter the folder/context to IAdding? | 19:14 |
timte | s/adapter/adapt/ | 19:14 |
xenru | hi | 19:15 |
timte | well, IWriteContainer has some api method, all containers has to implement them | 19:15 |
*** jinty has joined #zope3-dev | 19:15 | |
regebro | Well, I think it is a view, so you look it up for the object and a request. | 19:16 |
regebro | timte: Yes, because those methods are there so that they are able to do what an IWriteConteiner does. | 19:17 |
*** batlogg is now known as batlogg|boston | 19:21 | |
xenru | I'm using images in CSS, this mean that I need to use paths in style declarations """url('somepath')""", looks like I need to use dynamic path generation, but my css file linked us resource (browser:resource) | 19:22 |
xenru | In Zope2 I use DTML | 19:22 |
xenru | What is right way in Zope3 for this case? | 19:22 |
timte | regebro: hmm, I'll try something | 19:23 |
timte | regebro: it worked if I made a new view and in its __call__ method called the EventAddForm with the context wrapped in an Adding object | 19:38 |
*** pelle_ has joined #zope3-dev | 19:38 | |
*** jinty has quit IRC | 19:49 | |
*** regebro has left #zope3-dev | 19:57 | |
*** afd_ has joined #zope3-dev | 20:03 | |
*** stub has quit IRC | 20:25 | |
timte | If I want to redirect to / after submitting an add form, should I use "@action def handle_add" and redirect inside that method? | 20:39 |
*** Londo_ has joined #zope3-dev | 20:55 | |
*** Simeoni has left #zope3-dev | 20:55 | |
*** romanofski has joined #zope3-dev | 21:01 | |
*** jinty has joined #zope3-dev | 21:17 | |
*** projekt01_ is now known as projekt01 | 21:19 | |
*** pelle_ has quit IRC | 21:27 | |
*** HakTom has quit IRC | 21:28 | |
*** factor has left #zope3-dev | 21:34 | |
*** tonico has joined #zope3-dev | 21:45 | |
*** afd_ has quit IRC | 21:56 | |
*** afd_ has joined #zope3-dev | 21:56 | |
*** dunny has joined #zope3-dev | 22:06 | |
*** philiKON has quit IRC | 22:24 | |
*** eldafar has joined #zope3-dev | 22:54 | |
eldafar | anyone alive? | 22:59 |
eldafar | I have some issues arising when I move Data.fs files from instance to instance | 23:00 |
eldafar | the hashing messes up | 23:00 |
eldafar | so my getters that operate through hashes return mixed up data | 23:00 |
eldafar | anyone have any idea what's going on? | 23:00 |
*** tonico is now known as tonico|away | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!