| *** rom|ZZz has quit IRC | 00:02 | |
| *** SteveA has quit IRC | 00:10 | |
| *** Theuni has quit IRC | 00:23 | |
| *** jinty has joined #zope3-dev | 00:37 | |
| *** jan_s has joined #zope3-dev | 00:38 | |
| *** jinty has quit IRC | 01:24 | |
| *** deo has joined #zope3-dev | 01:26 | |
| *** wrobel has quit IRC | 01:27 | |
| *** ruda_porto has quit IRC | 01:43 | |
| *** SteveA has joined #zope3-dev | 01:44 | |
| *** benji has quit IRC | 01:45 | |
| *** philiKON has joined #zope3-dev | 01:57 | |
| *** niemeyer has quit IRC | 02:04 | |
| *** SiggyF has quit IRC | 02:37 | |
| *** BjornT_ has joined #zope3-dev | 02:54 | |
| *** tarek has quit IRC | 03:04 | |
| *** tarek has joined #zope3-dev | 03:04 | |
| *** BjornT has quit IRC | 03:06 | |
| *** philiKON has quit IRC | 03:20 | |
| *** jinty has joined #zope3-dev | 04:55 | |
| *** zbir has joined #zope3-dev | 05:11 | |
| *** stub has joined #zope3-dev | 05:22 | |
| *** stu1 has joined #zope3-dev | 06:29 | |
| *** stub has quit IRC | 06:31 | |
| *** tarek has quit IRC | 07:07 | |
| *** tarek has joined #zope3-dev | 07:08 | |
| *** romanofski has quit IRC | 07:27 | |
| *** romanofski has joined #zope3-dev | 07:45 | |
| *** jinty has quit IRC | 07:59 | |
| *** eins has joined #zope3-dev | 08:12 | |
| eins | hi | 08:12 |
|---|---|---|
| *** tarek has quit IRC | 08:19 | |
| *** jan_s has quit IRC | 08:25 | |
| *** dobee has joined #zope3-dev | 08:41 | |
| *** stu1 is now known as stub | 08:59 | |
| *** BjornT_ is now known as BjornT | 09:03 | |
| *** andres_ has joined #zope3-dev | 09:08 | |
| *** hdima has joined #zope3-dev | 09:10 | |
| *** zagy has joined #zope3-dev | 09:11 | |
| *** dobee has quit IRC | 09:14 | |
| *** andres has quit IRC | 09:15 | |
| *** andres_ is now known as andres | 09:15 | |
| *** MJ has quit IRC | 09:26 | |
| *** dobee has joined #zope3-dev | 09:28 | |
| *** Theuni has joined #zope3-dev | 09:35 | |
| *** wrobel has joined #zope3-dev | 09:35 | |
| *** mleist has left #zope3-dev | 10:58 | |
| *** faassen has joined #zope3-dev | 11:02 | |
| *** MJ has joined #zope3-dev | 11:03 | |
| *** klaus has joined #zope3-dev | 11:24 | |
| *** tarek has joined #zope3-dev | 11:59 | |
| *** MrTopf has joined #zope3-dev | 12:20 | |
| *** andrew_m has quit IRC | 12:35 | |
| *** _anguenot has joined #zope3-dev | 12:40 | |
| *** mgedmin has joined #zope3-dev | 12:51 | |
| *** srichter has joined #zope3-dev | 12:53 | |
| *** mkerrin has joined #zope3-dev | 13:05 | |
| *** andrew_m has joined #zope3-dev | 13:13 | |
| *** alga has joined #zope3-dev | 13:20 | |
| *** andres is now known as andres_eating | 13:28 | |
| *** andres_eating is now known as andres | 13:28 | |
| *** strichter has joined #zope3-dev | 13:31 | |
| *** niemeyer has joined #zope3-dev | 13:32 | |
| *** jinty has joined #zope3-dev | 13:36 | |
| *** xenru has quit IRC | 13:56 | |
| *** efrerich has joined #zope3-dev | 13:56 | |
| *** ignas has joined #zope3-dev | 14:04 | |
| *** srichter has quit IRC | 14:04 | |
| *** jinty has quit IRC | 14:16 | |
| *** jinty has joined #zope3-dev | 14:21 | |
| *** zbir has quit IRC | 14:30 | |
| *** jinty has quit IRC | 14:38 | |
| *** xenru has joined #zope3-dev | 14:46 | |
| *** benji has joined #zope3-dev | 14:48 | |
| *** mgedmin has quit IRC | 14:51 | |
| *** strichter is now known as srichter | 15:02 | |
| *** ChanServ sets mode: +o srichter | 15:02 | |
| romanofski | moin | 15:06 |
| *** mgedmin has joined #zope3-dev | 15:08 | |
| *** mgedmin has quit IRC | 15:14 | |
| faassen | kinda sad Guido works at Zope corporation for years and now he's interested in learning a python web framework.. | 15:14 |
| faassen | finally. | 15:15 |
| srichter | faassen: which one is Google using? | 15:17 |
| faassen | I don't think google is using any single one. | 15:21 |
| __mac__ | hi, anyone here who has used interface invariants together with the formlib? | 15:30 |
| srichter | __mac__: doesn't the documentation have an example? | 15:31 |
| srichter | ah, I remember seeing code in the form stuff for sure | 15:32 |
| __mac__ | srichter, documentation of zope.interface or formlib? | 15:32 |
| srichter | __mac__: depends on what you are looking for... | 15:32 |
| Theuni | .oO(shouldn't that be zope.schema?) | 15:32 |
| srichter | do you wnat to learn how to write invariants or how to enforce them? | 15:32 |
| srichter | invariants are zope.interface | 15:33 |
| srichter | zope.interface/README.txt line 610 | 15:33 |
| __mac__ | I declared an invariant for my interface which raises an exception | 15:33 |
| faassen | __mac__: I think I used them together. I had to do some trickery to catch the errors. | 15:33 |
| __mac__ | formlib expects this to be an zope.interface.Invalid exception | 15:34 |
| srichter | zope.formlib/README.txt line 237 | 15:34 |
| *** zbir has joined #zope3-dev | 15:34 | |
| faassen | __mac__: I did an override of updateFormErrors, | 15:34 |
| faassen | and it contains something like this: | 15:34 |
| faassen | if not getattr(self, 'errors', False): | 15:35 |
| faassen | return | 15:35 |
| faassen | for error in self.errors: | 15:35 |
| faassen | if isinstance(error, Invalid): | 15:35 |
| faassen | ... do something with error here, like display it ... | 15:35 |
| faassen | not sure whether that's useful for you. | 15:35 |
| __mac__ | but when the errors should get displayed it is missing an adapter to zope.app.form.browser.interfaces.IWidgetInputErrorView | 15:35 |
| faassen | __mac__: where would you display the error? i.e. there are multiple widgets where it could be displayed, both? | 15:35 |
| faassen | __mac__: it would be neat if my hack could go away by adding an adapter. | 15:36 |
| *** romanofski is now known as rom|aw | 15:36 | |
| faassen | srichter: don't see that README.txt in CVS,I'm confused | 15:36 |
| __mac__ | faassen, I'm using the invariant to check if two entered passwords are equal so it does not matter on which widget it gets displayed | 15:38 |
| __mac__ | srichter, I did not find README.txt, too | 15:38 |
| faassen | __mac__: okay. anyway, it'd be nice if you posted your results on the list. :) | 15:38 |
| __mac__ | the problem can be that zope.interface.Invald does not implement an interface ... okay, I'll give it a try, whether the class works for the adapter registration | 15:40 |
| faassen | __mac__: should be possible to use a class. | 15:40 |
| srichter | __mac__: right, you can use classes for adapter registration | 15:41 |
| srichter | classes are implicitely converted to specifications | 15:41 |
| __mac__ | with this adapter it works | 15:45 |
| *** mkerrin has quit IRC | 15:46 | |
| __mac__ | so I'll make is posting on dev-list (or better users-list?) summarizing what I found | 15:47 |
| faassen | dev list, I think. it might result in changes to formlib. | 15:47 |
| *** mkerrin has joined #zope3-dev | 15:53 | |
| *** mgedmin has joined #zope3-dev | 16:02 | |
| *** MrTopf_ has joined #zope3-dev | 16:08 | |
| __mac__ | it could also work without an adapter, if the exception raised by the invariant implements zope.app.form.interfaces.IWidgetInputError | 16:11 |
| *** MrTopf has quit IRC | 16:20 | |
| *** srichter has quit IRC | 16:22 | |
| *** klaus has quit IRC | 16:26 | |
| *** dman13 has joined #zope3-dev | 16:40 | |
| *** eins has quit IRC | 16:42 | |
| Theuni | So. I wonder whether zope.schema allows for computation of defaults at runtime ... | 16:43 |
| Theuni | I have a Datetime field that I would like to populate with the current time when a user creates a new object with that field. | 16:43 |
| Theuni | I wonder whether I have to hack this into something like formlib/setupWidgets. | 16:44 |
| dman13 | AFAIK zope.schema doesn't currently support that | 16:46 |
| dman13 | That is something I have wanted too (not just a computed default, but specifically the current-date scenario) | 16:48 |
| *** philiKON has joined #zope3-dev | 16:49 | |
| Theuni | so. let's hack again ... like we did last summer .... yeayeayea ... like we did last yeeeheeeear. | 16:49 |
| Theuni | hi philiKON | 16:49 |
| philiKON | heya | 16:50 |
| philiKON | do you remember when ... all bugs were coming ... :) | 16:50 |
| Theuni | indeed | 16:51 |
| *** hdima has quit IRC | 16:57 | |
| Theuni | hmm | 17:04 |
| Theuni | do widgets have access to the request? | 17:04 |
| Theuni | ah. looks like it | 17:04 |
| Theuni | that's great | 17:04 |
| dman13 | yeah, it's given to __init__ I believe | 17:06 |
| *** besonen_ has joined #zope3-dev | 17:13 | |
| philiKON | Theuni, widgets are views | 17:17 |
| philiKON | basically, multiadapters for (object, field, request) or something like that | 17:17 |
| Theuni | yeah. realized that pretty much after i asked the question. | 17:17 |
| philiKON | of course they need access to the request, how would they retrieve the data otherwise? | 17:17 |
| * Theuni swallaws looking at the datetime conversion code | 17:17 | |
| Theuni | s/laws/lows/ | 17:17 |
| *** stub has quit IRC | 17:18 | |
| *** zbir has quit IRC | 17:23 | |
| *** stub has joined #zope3-dev | 17:24 | |
| *** stub has quit IRC | 17:47 | |
| *** zbir has joined #zope3-dev | 17:50 | |
| *** xenru has quit IRC | 17:50 | |
| *** dobee has quit IRC | 17:50 | |
| *** BjornT_ has joined #zope3-dev | 18:08 | |
| *** BjornT has quit IRC | 18:08 | |
| * Theuni praises srichter and alga for zope.i18n.* | 18:09 | |
| *** BjornT_ has quit IRC | 18:10 | |
| *** xenru has joined #zope3-dev | 18:12 | |
| alga | Theuni: why me? :-| | 18:13 |
| *** BjornT has joined #zope3-dev | 18:13 | |
| Theuni | you're also in the 'svn praise' results ;) | 18:19 |
| *** BjornT_ has joined #zope3-dev | 18:22 | |
| d2m | Theuni: was there any follow-up action on your post regarding the 'REFRESH' buttons ? | 18:23 |
| faassen | Theuni: why zope.i18n? I'm busily changing Silva some more to move towards using zope.i18n, so it's an appropriate question. :) | 18:23 |
| Theuni | faassen: because of request.locale.dates.getFormatter() | 18:25 |
| Theuni | it does a very good job. i made myself a cleaned-up version of the date and datetime widgets that always parse and display a date based on the users browser | 18:25 |
| Theuni | and it provides an error message with a more or less readable format string and a formatted example. | 18:26 |
| Theuni | It looks very comprehensive and quite usable. | 18:26 |
| Theuni | d2m: i got two more private messages also doing +1 for removing the refresh buttons | 18:26 |
| Theuni | one was from tonico | 18:26 |
| faassen | cool! | 18:28 |
| Theuni | indeed | 18:29 |
| faassen | I hate those refresh buttons that remove everything on my form. | 18:29 |
| *** niemeyer has quit IRC | 18:29 | |
| Theuni | i'm still missing some option to configure widgets based on a field's options though. | 18:29 |
| Theuni | faassen: me too. and did you now they trigger a browser request to do that? | 18:29 |
| faassen | I didn't realize they did. | 18:29 |
| faassen | I thought that was something the browser did internally. | 18:29 |
| *** MrTopf has joined #zope3-dev | 18:30 | |
| Theuni | it could do it internally ... but we don't | 18:30 |
| * Theuni discovered another used spelling variation of "datetime": "dateTime" | 18:31 | |
| *** BjornT has quit IRC | 18:34 | |
| *** AJC has joined #zope3-dev | 18:42 | |
| *** MrTopf_ has quit IRC | 18:42 | |
| *** MJ has quit IRC | 18:54 | |
| *** philiKON has quit IRC | 18:57 | |
| *** niemeyer_ has joined #zope3-dev | 19:01 | |
| *** niemeyer_ is now known as niemeyer | 19:02 | |
| *** MrTopf has quit IRC | 19:03 | |
| *** dman13 has left #zope3-dev | 19:09 | |
| *** dman13 has joined #zope3-dev | 19:09 | |
| *** AJC has quit IRC | 19:18 | |
| *** dman13 has left #zope3-dev | 19:33 | |
| *** dman13 has joined #zope3-dev | 19:34 | |
| *** dman13 has left #zope3-dev | 19:39 | |
| *** dman13 has joined #zope3-dev | 19:39 | |
| *** tiredbones has left #zope3-dev | 19:42 | |
| *** mkerrin has quit IRC | 19:49 | |
| *** faassen has quit IRC | 20:05 | |
| *** xenru has quit IRC | 20:08 | |
| *** dman13 has left #zope3-dev | 20:08 | |
| *** dman13 has joined #zope3-dev | 20:09 | |
| *** dman13 has left #zope3-dev | 20:11 | |
| *** dman13 has joined #zope3-dev | 20:11 | |
| *** dman13 has left #zope3-dev | 20:12 | |
| *** dman13 has joined #zope3-dev | 20:12 | |
| *** mgedmin has quit IRC | 20:13 | |
| Theuni | hmm. is it just me, or is the exception formatter broken? I don't get any traceback supplements anymore. | 20:13 |
| *** alga has quit IRC | 20:26 | |
| *** Aiste has quit IRC | 20:28 | |
| benji | Theuni, Gary mentioned something like to me earlier today | 20:46 |
| *** tiredbones has joined #zope3-dev | 20:47 | |
| Theuni | i couldn't see what it was immediately. it looks like the support for it is there in general | 20:48 |
| Theuni | i'll debug it when i see a traceback the next time | 20:48 |
| Theuni | just wanted to know someone else having that problem as well | 20:48 |
| Theuni | benji: btw, i'm way behind on the ZODB buildbot | 20:48 |
| Theuni | but i'll be in f'burg in 15 days for a week ... if you like, we can do that together (if you have time) | 20:49 |
| Theuni | hmm. now i'm lost | 20:49 |
| Theuni | does someone now how to manually get a certain locale like the ones in request.locale ? | 20:50 |
| Theuni | hmm. ah ... of course ... must be a utility somewhere | 20:51 |
| benji | Theuni, I'll see if we can get together, what dates are you here for? | 20:53 |
| Theuni | 11 to 20th | 20:53 |
| Theuni | I'll be consuming all beer in town with Mr. mcdonc. | 20:54 |
| *** tarek has quit IRC | 20:54 | |
| *** _anguenot has quit IRC | 20:55 | |
| Theuni | (that's february) | 20:56 |
| *** ignas has quit IRC | 20:58 | |
| *** dman13 has left #zope3-dev | 21:00 | |
| *** andres has quit IRC | 21:01 | |
| *** andres_ has joined #zope3-dev | 21:02 | |
| *** dman13 has joined #zope3-dev | 21:04 | |
| *** dman13 has left #zope3-dev | 21:08 | |
| *** dman13 has joined #zope3-dev | 21:08 | |
| *** MJ has joined #zope3-dev | 21:09 | |
| benji | Theuni, I'd like to, but with my current priorities I can't justify spending the time on ZODB buildbot :( | 21:10 |
| Theuni | ok | 21:13 |
| Theuni | I'll try to work on it anyway | 21:13 |
| * Theuni is afraid of fixing stuff in zope. | 21:13 | |
| Theuni | The good old two-branch work | 21:13 |
| Theuni | tada | 21:21 |
| Theuni | someone renamed the expected variable name from __traceback_info__ to __traceback_supplement__ .. | 21:21 |
| *** natea has joined #zope3-dev | 21:22 | |
| *** RockyBurt has joined #zope3-dev | 21:23 | |
| *** RockyBurt is now known as Rocky|austria | 21:25 | |
| *** dman13 has left #zope3-dev | 21:31 | |
| *** dman13 has joined #zope3-dev | 21:31 | |
| Theuni | hmm | 21:34 |
| Theuni | obviously it's not as I thought. | 21:34 |
| *** natea has quit IRC | 21:38 | |
| Theuni | ooooooooh | 21:39 |
| Theuni | ouch | 21:39 |
| benji | that doesn't sound good Theuni :) | 21:40 |
| Theuni | Well. | 21:40 |
| Theuni | It's just that there are two types of tracebacks that you see | 21:40 |
| Theuni | the one in the error log (which is formatted and contains all supplements.) | 21:40 |
| Theuni | the one you see on the page (which is completely different and doesn't contain the supplements.) | 21:40 |
| *** Rocky|austria has quit IRC | 21:42 | |
| Theuni | additionally it looks like something prevents mails going to or coming from the zope list servers to my network | 21:42 |
| Theuni | hmm | 21:42 |
| d2m | here too, started some 10 hours ago | 21:44 |
| Theuni | oh. that's new? | 21:44 |
| Theuni | I wasn't sure about that. | 21:44 |
| Theuni | It looks like it's probably intended behaviour. | 21:44 |
| Theuni | Did it display the formatted results in the normal error page before? | 21:45 |
| * Theuni looks to the cvs list | 21:45 | |
| Theuni | tres did some work on the error pages | 21:46 |
| Theuni | but that doesn't look like it had this outcome | 21:47 |
| Theuni | bzz. that was on Zope 2.9 | 21:49 |
| Theuni | i don't see any checkin from the last days that could have done that | 21:52 |
| Theuni | d2m: are you sure that the error pages displayed the data before? | 21:52 |
| d2m | Theuni: i was talking about the email delivery - sorry | 21:53 |
| Theuni | ah | 21:54 |
| Theuni | no blacklisting found | 21:54 |
| d2m | i checked with the mail archives, mails don't get stored atm | 21:55 |
| Theuni | a colleague of mine noticed it when he tried to subscribe with a different email address again and got told that the mailman server got bounces | 21:55 |
| Theuni | d2m: they aren't distributed either. i wrote a couple of mails to zope3-dev in the last hours | 21:55 |
| d2m | Theuni: seems this one was one of the latest that got through (http://mail.zope.org/pipermail/zope3-dev/2006-January/017708.html) | 21:56 |
| Theuni | which is a while ago already | 21:56 |
| Theuni | benji: do you think you could ping someone over at zc to check this? did this got noticed already? | 21:57 |
| *** dman13 has left #zope3-dev | 22:02 | |
| *** dman13 has joined #zope3-dev | 22:02 | |
| benji | sure, Theuni | 22:03 |
| Theuni | ok | 22:03 |
| Theuni | thanks! | 22:03 |
| *** dman13 has left #zope3-dev | 22:06 | |
| *** dman13 has joined #zope3-dev | 22:07 | |
| *** efrerich_ has joined #zope3-dev | 22:13 | |
| *** efrerich_ has quit IRC | 22:18 | |
| *** dman13 has left #zope3-dev | 22:18 | |
| *** dman13 has joined #zope3-dev | 22:23 | |
| *** efrerich has quit IRC | 22:31 | |
| benji | Theuni, I think they fixed it | 22:35 |
| Theuni | jupp | 22:37 |
| Theuni | a bunch of mail arrived | 22:37 |
| Theuni | hooray | 22:37 |
| Theuni | now everybody can read my spam because i'm too stupid to open my eyes | 22:37 |
| *** xenru has joined #zope3-dev | 22:44 | |
| *** The|uni has joined #zope3-dev | 22:46 | |
| *** dman13 has left #zope3-dev | 22:52 | |
| *** dman13 has joined #zope3-dev | 22:52 | |
| *** dman13 has left #zope3-dev | 22:55 | |
| *** dman13 has joined #zope3-dev | 22:55 | |
| *** xenru|clone has joined #zope3-dev | 23:14 | |
| *** MJ has quit IRC | 23:18 | |
| *** MJ has joined #zope3-dev | 23:20 | |
| *** xenru has quit IRC | 23:30 | |
| *** jenner has joined #zope3-dev | 23:38 | |
| *** zagy has quit IRC | 23:56 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!