*** benji has joined #zope3-dev | 00:07 | |
*** natea has quit IRC | 00:20 | |
*** replaceafill has quit IRC | 00:21 | |
*** efrerich_ has quit IRC | 00:28 | |
*** zbir has quit IRC | 00:35 | |
*** GaryPoster has quit IRC | 00:36 | |
*** _anguenot has joined #zope3-dev | 00:43 | |
*** romanofski is now known as rom|zzZZ | 00:48 | |
*** replaceafill has joined #zope3-dev | 01:08 | |
*** efrerich has joined #zope3-dev | 01:09 | |
replaceafill | hello all. Is it possible to customize the " The page that you are trying to access is not available" view? Do I have to do it using overrides.zcml? | 01:09 |
---|---|---|
*** niemeyer has quit IRC | 01:17 | |
*** niemeyer has joined #zope3-dev | 01:19 | |
*** replaceafill has quit IRC | 01:22 | |
srichter | J1m: I'll note that I did not do an implementation of ICU; I merely use their data :-) | 01:24 |
srichter | recently several people have updated and fixed the zope.i18n code, which makes me happy, because it must be somewhat readable ;-) | 01:25 |
*** efrerich has quit IRC | 01:25 | |
*** niemeyer has quit IRC | 02:20 | |
*** projekt01 has joined #zope3-dev | 02:20 | |
projekt01 | srichter, ayt? | 02:21 |
*** J1m has quit IRC | 02:21 | |
projekt01 | does anybody know the rules of prefix in PluggableAuthentication? | 02:22 |
*** philiKON has joined #zope3-dev | 02:46 | |
*** stub has joined #zope3-dev | 02:55 | |
projekt01 | Ok, I found the rule | 02:55 |
yota | does anyone know how create a .mo file from à .po file ? | 03:07 |
*** dman13 has quit IRC | 03:12 | |
*** dman13_ has joined #zope3-dev | 03:12 | |
*** GaryPoster has joined #zope3-dev | 03:13 | |
philiKON | yota, msgfmt -o foo.mo foo.po | 03:15 |
yota | thx :) | 03:16 |
philiKON | Zope's TranslatioNDomain implementation should really compile those on startup | 03:17 |
philiKON | like PTS does | 03:17 |
projekt01 | philiKON, I have a placeful setup with a site and a subsite where the subsite is a child of the site, why do I get the subsite IAuthentication if I call getUtility(IAuthentication) in a PlacefulSetup test? | 03:19 |
philiKON | sorry, no idea | 03:19 |
philiKON | and no time right now | 03:19 |
projekt01 | I this because I setup the subsite as last in the setup and the subsite get involved by thread local? | 03:20 |
projekt01 | np | 03:20 |
*** natea has joined #zope3-dev | 03:22 | |
yota | ok great | 03:25 |
yota | alleluia, a good french translation, finally | 03:27 |
*** philiKON has quit IRC | 03:27 | |
yota | ah too late | 03:28 |
*** natea has quit IRC | 03:33 | |
*** stub has quit IRC | 03:38 | |
*** stub has joined #zope3-dev | 03:43 | |
*** stub has joined #zope3-dev | 03:45 | |
*** GaryPoster has quit IRC | 03:52 | |
*** GaryPoster has joined #zope3-dev | 04:04 | |
projekt01 | I still think there is a bug in the site hook implementation | 04:07 |
*** zbir has joined #zope3-dev | 04:07 | |
projekt01 | at least the makeSite method in placeful setup is wired. I get different behavior if I change the order of makeSite for the site or subsite | 04:10 |
*** _anguenot has quit IRC | 04:16 | |
*** projekt01 has quit IRC | 04:16 | |
*** GaryPoster has quit IRC | 04:17 | |
*** tiredbones has left #zope3-dev | 04:27 | |
*** ruda_porto has quit IRC | 05:04 | |
*** dman13_ has quit IRC | 05:17 | |
*** dman13 has joined #zope3-dev | 05:17 | |
*** _anguenot has joined #zope3-dev | 05:25 | |
*** runyaga is now known as run|work | 06:09 | |
*** GaryPoster has joined #zope3-dev | 06:13 | |
*** GaryPoster has quit IRC | 06:32 | |
*** natea_ has joined #zope3-dev | 06:55 | |
*** natea_ has quit IRC | 07:02 | |
*** natea has joined #zope3-dev | 07:10 | |
*** run|work is now known as runyaga | 07:22 | |
*** yota has quit IRC | 07:23 | |
*** natea has quit IRC | 07:40 | |
*** yota has joined #zope3-dev | 07:41 | |
*** eins has joined #zope3-dev | 08:09 | |
eins | hi | 08:09 |
*** stub has quit IRC | 08:16 | |
*** stub has joined #zope3-dev | 08:43 | |
*** tahara has joined #zope3-dev | 08:50 | |
*** runyaga is now known as run|away | 09:08 | |
*** SteveA has joined #zope3-dev | 09:22 | |
*** rom|zzZZ is now known as romanofski | 09:37 | |
*** MrTopf has joined #zope3-dev | 09:46 | |
*** zagy has joined #zope3-dev | 10:19 | |
*** j-w has joined #zope3-dev | 10:20 | |
*** efrerich has joined #zope3-dev | 10:29 | |
*** zagy has quit IRC | 10:35 | |
*** zagy has joined #zope3-dev | 10:37 | |
*** stub has quit IRC | 10:44 | |
*** efrerich has quit IRC | 10:52 | |
*** stub has joined #zope3-dev | 10:56 | |
*** d2m has quit IRC | 11:46 | |
*** jenner has joined #zope3-dev | 11:59 | |
*** xenru has joined #zope3-dev | 12:09 | |
*** philiKON has joined #zope3-dev | 12:09 | |
*** _anguenot has quit IRC | 12:15 | |
*** oferw has joined #zope3-dev | 12:17 | |
*** faassen has joined #zope3-dev | 12:28 | |
*** tonico has quit IRC | 12:39 | |
* jenner just noticed that returning an IResult adaptable which contains a file stream iterator in a browser view is not a good idea - it seems to be not really thread-safe | 12:46 | |
*** tahara_ has joined #zope3-dev | 12:49 | |
*** tonico has joined #zope3-dev | 12:50 | |
*** tahara has quit IRC | 12:51 | |
*** oferw has quit IRC | 12:51 | |
tahara_ | nick tahara | 12:53 |
*** tahara_ is now known as tahara | 12:53 | |
tahara | sorry... | 12:53 |
jenner | :) | 12:53 |
*** mgedmin has joined #zope3-dev | 12:55 | |
jenner | any ideas where this may come from: exceptions.AttributeError: 'zope.thread.local' object has no attribute 'interaction'? | 12:57 |
SteveA | yes | 12:57 |
SteveA | it means the interaction hasn't started | 12:58 |
SteveA | so, something that requires the security system is running | 12:58 |
SteveA | without correct functional test setup | 12:58 |
jenner | Hm.. | 12:59 |
philiKON | jenner, or that you're doing stuff for too long... | 13:00 |
philiKON | jenner, i presume this has to do with the IResult stuff? | 13:00 |
jenner | philiKON: yes | 13:00 |
philiKON | yes, so this is an issue we still need to resolve | 13:00 |
philiKON | first, i think IResult objects should be stripped of their secruity proxies | 13:00 |
*** alga has joined #zope3-dev | 13:02 | |
jenner | Maybe I have a bad security declaration... I added a simple class which implements(IResult) and has a body and a headers attr, the configure.zcml part looks like http://pastebin.com/471476 | 13:03 |
jenner | btw, I'm not streaming at this point, I'm just returning a string instead of an iterable as IResult body | 13:04 |
jenner | Hm, actually... returning an iterator instead of an IResult adaptable works just fine :) | 13:11 |
andrew_m | can someone tell me if there's a realistic chance that I can get pagelets working with Zope 3.1.0? I have used them with an SVN version of Zope, now trying to backport to 3.1.0 | 13:31 |
*** tahara has quit IRC | 13:33 | |
*** mkerrin has joined #zope3-dev | 13:33 | |
*** niemeyer has joined #zope3-dev | 13:33 | |
*** ignas has joined #zope3-dev | 13:39 | |
*** BjornT_ has joined #zope3-dev | 13:41 | |
*** BjornT has quit IRC | 13:42 | |
*** _anguenot has joined #zope3-dev | 13:43 | |
*** J1m has joined #zope3-dev | 13:44 | |
*** jinty has joined #zope3-dev | 13:57 | |
*** Aiste has joined #zope3-dev | 14:00 | |
*** BjornT_ has quit IRC | 14:01 | |
*** Aiste has quit IRC | 14:18 | |
*** SteveA has quit IRC | 14:19 | |
*** alga has quit IRC | 14:29 | |
*** benji has quit IRC | 14:29 | |
*** zbir has quit IRC | 14:30 | |
*** zbir has joined #zope3-dev | 14:31 | |
*** J1m has quit IRC | 14:33 | |
*** zagy has quit IRC | 14:37 | |
*** mgedmin has quit IRC | 14:48 | |
*** niemeyer has quit IRC | 14:54 | |
*** niemeyer has joined #zope3-dev | 14:54 | |
srichter | andrew_m: you mean viewlets, right? | 14:59 |
andrew_m | srichter: not sure.. it was called pagelet in the zope version i have used so far | 15:00 |
srichter | well, we have thrown that API away | 15:00 |
srichter | it was not clean enough | 15:00 |
srichter | the 3.2.0 release will have a zope.contentprovider and zope.viewlet package | 15:00 |
srichter | I think it should be easy to backport; nothing jumps at me that would be a problem | 15:01 |
andrew_m | srichter: ok, thanks | 15:01 |
*** jinty_ has joined #zope3-dev | 15:08 | |
*** tiredbones has joined #zope3-dev | 15:10 | |
*** jinty has quit IRC | 15:13 | |
*** d2m has joined #zope3-dev | 15:20 | |
*** GaryPoster has joined #zope3-dev | 15:23 | |
*** MrTopf has quit IRC | 15:27 | |
*** GaryPoster has quit IRC | 15:31 | |
*** efge has joined #zope3-dev | 15:37 | |
*** benji has joined #zope3-dev | 15:54 | |
*** elro has joined #zope3-dev | 16:11 | |
*** ruda_porto has joined #zope3-dev | 16:17 | |
*** niemeyer has quit IRC | 16:19 | |
*** retsu has joined #zope3-dev | 16:24 | |
*** GaryPoster has joined #zope3-dev | 16:27 | |
*** Aiste has joined #zope3-dev | 16:35 | |
*** SteveA has joined #zope3-dev | 16:40 | |
*** J1m has joined #zope3-dev | 16:40 | |
*** jinty_ has quit IRC | 16:59 | |
*** eins has quit IRC | 17:10 | |
*** philiKON is now known as philiZZZ | 17:24 | |
*** elro has quit IRC | 17:24 | |
*** elro has joined #zope3-dev | 17:24 | |
*** natea has joined #zope3-dev | 17:27 | |
*** niemeyer has joined #zope3-dev | 17:32 | |
*** bradb has joined #zope3-dev | 17:32 | |
*** natea has quit IRC | 17:34 | |
*** ruda_porto has quit IRC | 17:35 | |
*** MrTopf has joined #zope3-dev | 17:39 | |
J1m | srichter, is there a book entry on how to create book entries? :) | 17:57 |
srichter | no :-) | 18:01 |
srichter | it is just a registration of a chapter | 18:01 |
srichter | I think there are several examples in book.zcml in the zope.app.apidoc package | 18:02 |
J1m | It would be nice to have prose. | 18:03 |
J1m | The examples suggest that there is some hierarchy. | 18:03 |
J1m | It's not clear how this works. | 18:03 |
srichter | yes there is | 18:03 |
J1m | For example, must every chapter have a parent? | 18:04 |
srichter | no | 18:04 |
J1m | What about top-level nodes? | 18:04 |
J1m | Does a parent have to be defined before it's children? | 18:04 |
J1m | Do parents have to be chapters? | 18:04 |
J1m | I could go on. :) | 18:04 |
srichter | :-) | 18:06 |
*** natea has joined #zope3-dev | 18:12 | |
*** jdsundberg has joined #zope3-dev | 18:13 | |
J1m | Oh woe is me. | 18:17 |
J1m | I sure hope we can get out of the server business. | 18:18 |
*** j-w has quit IRC | 18:18 | |
srichter | me too | 18:21 |
J1m | All this blather about how to return large files efficiently is pointless. | 18:21 |
J1m | As zserver just ''.join(irritable) | 18:22 |
srichter | LOL | 18:22 |
srichter | ...and so they thought they were efficient... | 18:23 |
J1m | In fairness, I thought we were going to come back and do this right, but we never did. | 18:23 |
J1m | THis is soo easy to fix. Maybe I will. | 18:24 |
J1m | ZServer has code to overflow to a file. | 18:25 |
J1m | I just need to make it do that. | 18:25 |
J1m | Yeah. | 18:25 |
dman13 | irritable? :-) | 18:31 |
dman13 | nice personification | 18:31 |
GaryPoster | oh, this is only one of many Jim-isms. :-) | 18:31 |
J1m | Zope 3's zserver has one (count em one) test. And that is only for a bug regression. | 18:32 |
GaryPoster | ONE. (ha ha ha) | 18:32 |
J1m | Gary loves to count. | 18:33 |
dman13 | oh, so he's The Count | 18:33 |
GaryPoster | Yes, that was the idea. :-) | 18:34 |
dman13 | did you see The Today Show around Halloween? Al Roker was dressed up as The Count for (at least) one day. | 18:41 |
GaryPoster | lol. tried quickly to find a picture, to see if I would be frightened, but to no avail. | 18:43 |
*** jdsundberg has left #zope3-dev | 18:46 | |
*** niemeyer has quit IRC | 18:54 | |
*** niemeyer has joined #zope3-dev | 18:55 | |
yota | efge: ping | 18:56 |
efge | yota: yes | 19:06 |
J1m | I was wrong about the number of tests zserver has. | 19:10 |
J1m | I was just looking in the wrong place. | 19:10 |
J1m | Whew | 19:10 |
*** efrerich has joined #zope3-dev | 19:19 | |
*** retsu has quit IRC | 19:19 | |
*** BjornT has joined #zope3-dev | 19:21 | |
*** romanofski has quit IRC | 19:31 | |
*** romanofski has joined #zope3-dev | 19:32 | |
yota | efrerich: hi Egon, can you update the po files (launchpas) in the trunkplease ? | 19:37 |
efrerich | yota: yes | 19:39 |
*** andres has quit IRC | 19:45 | |
*** romanofski is now known as rom|aw | 19:56 | |
*** jbb666 has joined #zope3-dev | 20:05 | |
*** jinty has joined #zope3-dev | 20:07 | |
yota | efrerich: I have a problem, with a svn update, french translation file (zope.po) said : "PO-Revision-Date: 2005-10-22 01:24+0200\n" | 20:16 |
*** niemeyer_ has joined #zope3-dev | 20:16 | |
*** niemeyer has quit IRC | 20:16 | |
yota | efrerich: my file : "PO-Revision-Date: 2005-12-20 18:22+0100\n" | 20:16 |
*** niemeyer_ is now known as niemeyer | 20:17 | |
jenner | Does anyone know what's wrong with this overrides.zcml: http://pastebin.com/471966? I still get a ForbiddenAttribute exception for headers :( | 20:23 |
GaryPoster | Maybe a silly question, but are you actually including it from another (loading) zcml file? | 20:25 |
jenner | GaryPoster: I'm running z3 sandbox, overrides.zcml is in Zope3/zopeskel/etc/ | 20:26 |
jenner | GaryPoster: ah, you'r right, it should be in the top z3 directory :) I'm getting a ForbiddenAttribute for __iter__ now, that's at least some progress :) | 20:28 |
GaryPoster | woo hoo ;-) | 20:28 |
efrerich | yota: hi Sebastien I'll check this thank you | 20:28 |
yota | efrerich: thx | 20:29 |
jenner | Now there's a problem -- ForbiddenAttribute (__iter__) is raised for a native python file object | 20:30 |
*** MrTopf has quit IRC | 20:30 | |
J1m | jenner, I'm about to add the missing declaration on the 3.2 branch. | 20:32 |
jenner | J1m: great :) | 20:33 |
*** natea has quit IRC | 20:35 | |
*** Aiste has quit IRC | 20:39 | |
J1m | jenner, you should not be using file.__iter__. | 20:39 |
J1m | You should provide your own iterator that iterates using a larger block size. | 20:40 |
J1m | And has it's own security declarations. | 20:41 |
J1m | 3.3 should orovide a standard helper for this. | 20:41 |
J1m | provide | 20:41 |
*** MacYET has joined #zope3-dev | 20:42 | |
MacYET | srichter: ping | 20:42 |
*** mgedmin has joined #zope3-dev | 20:43 | |
srichter | MacYET: pong | 20:44 |
MacYET | you're my man :=) | 20:45 |
MacYET | would it be possible to re-use apidoc in Z2 to replace the helpsystem means to present interfaces + module/class related text files in a reasonable way? | 20:46 |
jenner | J1m: actually that's what I'm doing - my own iterator, I just have no security declarations for it yet, see http://pastebin.com/472003 (filestreamIterator was stolen from z2's ZPublisher.Iterators.filestream_iterator) | 20:47 |
J1m | Here's a much simpler iterator that you don't need a declaration for: | 20:49 |
J1m | def fileiterator(file): | 20:49 |
J1m | while 1: | 20:49 |
J1m | v = file.read(8096) | 20:50 |
J1m | if v: | 20:50 |
J1m | yield v | 20:50 |
J1m | else: | 20:50 |
J1m | break | 20:51 |
J1m | 20:51 | |
J1m | pick whatever bufsize you want. | 20:51 |
benji | 8192 might be good :) | 20:51 |
J1m | yeah, whatEVER | 20:51 |
GaryPoster | lol | 20:52 |
benji | </valley girl> | 20:52 |
jenner | J1m: thanks, I already was about to do it this way (without wrapping it into a class which offers an __iter__), but then I thought I would get security errors again... anyway, let's see if that works :) | 20:54 |
*** elro has joined #zope3-dev | 20:55 | |
J1m | There is already a declaration for generators. | 20:57 |
* faassen tries to picture Jim as a valley girl. | 20:58 | |
J1m | totally | 20:58 |
jenner | J1m: works perfectly, thanks :) | 20:58 |
* jenner jumps up and down | 20:58 | |
*** faassen has quit IRC | 20:58 | |
J1m | jenner, can you do me a favor and test the declaration I just checked in? | 20:59 |
jenner | J1m: 3.2 branch or is it already in trunk? | 20:59 |
J1m | 3.2 branch. | 21:00 |
J1m | What are you using? | 21:00 |
jenner | trunk | 21:00 |
J1m | k, just a minute. | 21:00 |
* jenner is flooded by the output of `svn status -u` - addprop svn:ignore for *.pyc? | 21:02 | |
J1m | Yes. Also see: http://www.zope.org/DevHome/Subversion/SubversionConfigurationForLineEndings | 21:03 |
benji | no, jenner you don't do that | 21:04 |
benji | you change your svn config | 21:04 |
J1m | yup | 21:04 |
jenner | benji: relax, I can't commit anyway :) | 21:05 |
GaryPoster | We can fix that ;-) | 21:05 |
benji | I'm, like, chill | 21:05 |
jenner | GaryPoster: You don't want to a z3 newbie to have commit rights :) | 21:06 |
GaryPoster | :-) yeah, ok. | 21:06 |
benji | [miscellany] | 21:07 |
J1m | jenner, k, committed to trunk | 21:07 |
benji | global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.pyc *.pyo *.swp *.swo | 21:07 |
* mgedmin suggests adding *.so there as well | 21:08 | |
jenner | J1m: works, merci (yes, I removed my overrides.zcml) | 21:08 |
J1m | cool | 21:09 |
benji | good catch, mgedmin | 21:09 |
jenner | benji: nice, thanks | 21:09 |
*** niemeyer has quit IRC | 21:12 | |
*** Aiste has joined #zope3-dev | 21:16 | |
*** xenru has quit IRC | 21:24 | |
*** xenru has joined #zope3-dev | 21:24 | |
*** hazmat has quit IRC | 21:34 | |
jenner | "Von Zope 3 angetrieben." - lovely translations :) | 21:37 |
efrerich | yota: I misunderstood you. I assumed you wanted the translation 3.2 into | 21:42 |
efrerich | yota: the trunk. | 21:43 |
efrerich | yota: But you wanted your new translations from launchpad. | 21:43 |
yota | yes | 21:44 |
yota | the last one | 21:44 |
efrerich | yota: I'll do this now. | 21:44 |
yota | for testing | 21:44 |
MacYET | jenner: the german Z3 translation is a mess :-) | 21:46 |
*** ruda_porto has joined #zope3-dev | 21:50 | |
jenner | MacYET: hey, at least it consistently tries to avoid anglicisms ("Mehr rueckgaengig!" is my favourite btw) :) | 21:51 |
MacYET | Lieferant für Voreinstellungen von Benutzervorlieben | 21:52 |
MacYET | one of my favourites | 21:52 |
jenner | oh yeah!I knew I saw it somewhere, but I couldn't find the page right now :) | 21:53 |
jenner | "Hilfreiche Nachricht" | 21:54 |
jenner | is that a "help message"? | 21:54 |
MacYET | hehe | 21:55 |
yota | it's not easy to translate zope3 | 21:56 |
*** MJ has quit IRC | 22:03 | |
*** efrerich_ has joined #zope3-dev | 22:15 | |
*** MacYET has left #zope3-dev | 22:18 | |
*** bradb has left #zope3-dev | 22:22 | |
*** mkerrin has quit IRC | 22:24 | |
*** deo has joined #zope3-dev | 22:24 | |
efge | svn repository is hosed again | 22:30 |
*** ignas has quit IRC | 22:30 | |
J1m | fixed | 22:32 |
*** efrerich has quit IRC | 22:33 | |
*** pcardune has joined #zope3-dev | 22:33 | |
efge | thanks | 22:36 |
*** andres has joined #zope3-dev | 22:36 | |
efrerich_ | yota: now you should have the new french translations | 22:41 |
efrerich_ | jenner: "Hilfreiche Nachricht" is in english 'helpful message' | 22:43 |
yota | "PO-Revision-Date: 2005-12-20 18:22+0100\n" | 22:43 |
yota | great | 22:43 |
*** _anguenot has quit IRC | 22:46 | |
*** regebro has joined #zope3-dev | 22:46 | |
regebro | Hello all. | 22:47 |
regebro | Does the request in Zope3 typically implement IDefaultBrowserLayer? | 22:47 |
*** jinty has quit IRC | 22:47 | |
J1m | Not sure. This is fairly new and not very popular. :) | 22:48 |
J1m | I wuldn't count on it. | 22:48 |
J1m | wouldn't | 22:48 |
regebro | Well, as far as I can figure out, the 3.1 and later menu system does count on it. | 22:49 |
J1m | how so? | 22:49 |
*** pcardune has quit IRC | 22:50 | |
*** pcardune has joined #zope3-dev | 22:50 | |
regebro | Well, the menu items are registered as adapters between (self.for_, self.layer) and the self.menuItemType. | 22:51 |
regebro | self.for_ being the class, of course, and self.layer defaultig to IDefaultBrowserLayer. | 22:51 |
regebro | But when looked up, the object and request is being given as objects. | 22:51 |
*** mgedmin has quit IRC | 22:52 | |
regebro | Which, under Zope 2 fails, as the request does not implement IDefaultBrowserLayer. | 22:52 |
J1m | I suspect that in 3.3, this will be simplified. | 22:52 |
J1m | sigh | 22:52 |
efrerich_ | jenner: suggestions for better translations send to zope3-i18n@zope.org | 22:53 |
regebro | haha! Go me! With a five:implements I made the Zope 2 request implement this, and it now returns menuitems! Yes! :) | 22:53 |
efge | cool | 22:53 |
J1m | cool | 22:54 |
J1m | I was going to suggest that the default should be IBroserRequest, but that wouldn't have helped Zope 2. | 22:54 |
J1m | I'm glad this works now. | 22:54 |
J1m | I hope this is cleaned up in the next release cycle. | 22:54 |
regebro | Great. | 22:55 |
regebro | J1m: One simplification I would like is a way to switch out either the browser menu type, or the filter type. In CMF you don't have much use of the filter on Zope 3 menu items (at least not in the 3.0 incarnation). | 22:55 |
efge | damn I again have to debug subscribers registrations, I should have saved that debug printing code somewhere... | 22:56 |
regebro | I'm not going to implement CMF-filters tonight, so this version of CMFonFive will break this. I'll look at that after xmas. | 22:56 |
J1m | I agree | 22:56 |
J1m | This shouldn't have depnded on tal. | 22:56 |
J1m | depended | 22:56 |
J1m | Rather, the zcml should have converted the tal into some sort of callable. | 22:57 |
regebro | If I remember correctly, the problem is that the context will not be built correctly, so you can't test anything useful. | 22:57 |
regebro | But it's half a year ago, so I don't really remember. | 22:58 |
regebro | And I don't use it any more myself. :) | 22:58 |
J1m | I don't remember either. | 23:01 |
regebro | Anyhow, the refactoring means slightly less code duplication, which is good. :) But it also means I have to do the duplication all over. ;) | 23:02 |
regebro | But that has to wait to after xmas. I'm lucky my gf needs to study, so we won't go much touristing. Or maybe you are lucky. ;) | 23:02 |
*** niemeyer has joined #zope3-dev | 23:07 | |
GaryPoster | French translation: just noticed that the new translation for the source input widget's 'Apply' button is 'SourceInputWidget-appliquer'. Wouldn't just 'appliquer' be better? Note that I am alerting people in a friendly sort of way: I don't need it, just thought I'd bring it up in front of people who might care. | 23:10 |
efge | GaryPoster: thx. yota you saw this ? | 23:11 |
J1m | srichter, I can't figure out how to register a book chapter. | 23:12 |
regebro | Merry xmas all. See ya! | 23:15 |
*** regebro has quit IRC | 23:15 | |
*** elro has quit IRC | 23:20 | |
jenner | Can anyone give me a pointer on how to plug in into the traversal? I'd like to have urls like myphoto/small/view where "myphoto" is the only real object, small is it's scaled version and view (obviously) a view (index.html or __call__ for index.html should show the image itself, so I'd like to add a "/view" for a nice html page) | 23:25 |
dman13 | jenner: looking at the source for sqlos may help you; I think you just need to be an IContainer and define __getitem__ to return the object you want to match the name (eg 'small') | 23:26 |
jenner | dman13: ok, thanks | 23:26 |
dman13 | jenner: it's been a few months since I last looked at that, but I think that's how it works | 23:26 |
yota | GaryPoster: hi. I will fix it. I doesn't understand all msgid because they come without comments. Thx a lot | 23:26 |
dman13 | (and there might be other ways too) | 23:26 |
GaryPoster | yota: cool :-) completely understand | 23:27 |
yota | GaryPoster: if you have another suggestion, i'm here ;) | 23:27 |
GaryPoster | yota: heh, ok, I'll keep my eyes open. :-) | 23:28 |
*** efrerich_ has quit IRC | 23:30 | |
GaryPoster | jenner: I'm not sure I'd do it the way you are talking about, but it's all adapter driven. There are two kinds of traversers that you typically have to care about, one for URL traversal and one for TALES traversal. Writing them really is not bad. The container traversers to which dman13 referred you are good models: there are also simple traversers hanging around (maybe zope.app.traversal?) | 23:31 |
GaryPoster | URL browser traversal I mean, btw | 23:31 |
yota | GaryPoster: thx. I strongly need feedback | 23:31 |
*** benji has quit IRC | 23:33 | |
jenner | GaryPoster: using browser traversal only, I would always generate the scaled version of an image on the fly, however I'd like to store them in the image object once they're generated... I guess I need to implement IContainer first | 23:37 |
* J1m us sorely tempted by an evil hack. | 23:45 | |
*** pcardune has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!