*** FarcePest has quit IRC | 00:08 | |
*** anguenot has joined #zope3-dev | 00:25 | |
*** benji_york has quit IRC | 00:36 | |
*** gintas has joined #zope3-dev | 00:45 | |
*** niemeyer has quit IRC | 01:06 | |
*** alienoid has joined #zope3-dev | 01:07 | |
philiKON | srichter, ayt? | 01:17 |
---|---|---|
*** SureshZ has quit IRC | 01:20 | |
philiKON | J1m, ayt? | 01:20 |
mp | first (afaik) polish site about zope3 is now on-line ;) | 01:21 |
mp | wish me luck :) | 01:21 |
* philiKON holds fingers crosses | 01:21 | |
philiKON | crossed | 01:21 |
projekt01 | mp, does this site have a url? | 01:22 |
mp | http://wiki.zope3.pl/ :) | 01:22 |
projekt01 | mp, is it done with z3? | 01:23 |
srichter | I am right back | 01:24 |
MrTopf | too much polish for my 5 words of that language ;) | 01:24 |
mp | yes, please don't hack it too fast ;) | 01:24 |
philiKON | big deal, so i'll hack it slowly :) | 01:24 |
projekt01 | It's cool, no problem the z3 server is very stable. | 01:24 |
MrTopf | philiKON: yes, enjoy it ;-) | 01:24 |
mp | well, I'm quite surprised how fast it is | 01:25 |
projekt01 | it's cool, except that I don't understand polish ;-) | 01:25 |
mp | well, I did that by purpose | 01:25 |
mp | so you can't laugh how stupid it is | 01:26 |
projekt01 | Yeah, z3 is very fast except you use the ZMI with all the container constraint lookup for each Add item. | 01:26 |
philiKON | J1m, i wrote you an email instead | 01:26 |
mp | I hope to get some smart people involved, so they can write clever texts for me | 01:27 |
MrTopf | mp: I will give it my girlfriend to read then, she will tell me :) | 01:27 |
MrTopf | anyway, time for bed | 01:27 |
philiKON | g'night | 01:28 |
MrTopf | good night! | 01:28 |
mp | good night ;) | 01:28 |
*** MrTopf has quit IRC | 01:28 | |
* J1m looks at philiKON's email ... | 01:34 | |
*** gintas has quit IRC | 01:47 | |
*** alienoid has quit IRC | 01:53 | |
*** J1m has quit IRC | 01:53 | |
*** d2m has quit IRC | 02:04 | |
*** yota has quit IRC | 02:07 | |
philiKON | tagging x3.0.1 | 02:11 |
philiKON | hold on to your butts! | 02:11 |
srichter | yipee! | 02:18 |
philiKON | srichter, as for 3.1 | 02:19 |
philiKON | srichter, we should call out for translators | 02:20 |
philiKON | to translate zope.pot | 02:20 |
srichter | yes | 02:20 |
srichter | German and Russian is in pretty good shape ;-) | 02:20 |
philiKON | yeah :) | 02:20 |
philiKON | srichter, what's the current time frame estimate for 3.1? | 02:20 |
philiKON | iow, how much time would translators have? | 02:21 |
srichter | 2-3 weeks | 02:22 |
philiKON | ok | 02:22 |
srichter | but I am happy to do a quick 3.1.1 just for translations | 02:22 |
philiKON | yup | 02:22 |
philiKON | and other possible bugfixes | 02:22 |
philiKON | should i send a note out to people or do you wanna do it? | 02:22 |
philiKON | srichter, just to get things jumpstarted, could there be an un-bureaucratic way of gettings translations in? | 02:24 |
philiKON | e.g. they mail em to the zope3-dev list and somebody from zc checks them in | 02:24 |
srichter | yeah, I think that will be fine | 02:26 |
srichter | feel free to send the message | 02:26 |
philiKON | ok | 02:26 |
srichter | we could put our POTs on Rosetta | 02:26 |
philiKON | ah, good idea | 02:26 |
srichter | then there is not discussion about checkin rights | 02:26 |
philiKON | that's actually an excellent idea | 02:26 |
philiKON | is it online already? do you need a login to translate? | 02:27 |
philiKON | and how easy is it to add Zope as a project there? | 02:27 |
srichter | no clue | 02:28 |
srichter | but I am sure it can't be too hard | 02:28 |
philiKON | yup | 02:28 |
philiKON | i guess we should just be able to ping SteveA about it | 02:28 |
philiKON | srichter, so, there's https://launchpad.ubuntu.com/rosetta which is a rosetta system for packages within ubuntu | 02:33 |
srichter | mmh, there should be a general site | 02:33 |
srichter | where SchoolTool is on as well | 02:33 |
srichter | oh, that's the site | 02:34 |
srichter | we can set up our project thetre too | 02:34 |
philiKON | https://launchpad.ubuntu.com/products/zope | 02:34 |
philiKON | zope is in ubuntu | 02:34 |
philiKON | so we're lucky | 02:34 |
philiKON | i'll try to set it up (if i can) so that ppl can use it | 02:34 |
srichter | well, launchpad is Zope 3, so we are fine ;-) | 02:35 |
philiKON | :) | 02:35 |
srichter | on the bottom is a registration link | 02:35 |
philiKON | registration link? | 02:36 |
srichter | https://launchpad.ubuntu.com/products/zope | 02:36 |
philiKON | srichter, btw, there's no Zope.cfg in the X3.0 branch | 02:36 |
philiKON | srichter, do you remember the zpkg command line for x3.0? | 02:36 |
srichter | oh, that's because it is online | 02:36 |
srichter | in the old vversion you use the SVN-based CFG files | 02:36 |
srichter | I can't remember how to do it | 02:36 |
srichter | we'll have to ask Fred | 02:36 |
philiKON | is he online right now? | 02:37 |
philiKON | or was it documented in the wiki page (i could go thru history) | 02:37 |
srichter | it was on the same Wiki page | 02:40 |
srichter | I just updated recently to the new way | 02:40 |
philiKON | ok | 02:43 |
srichter | I just started the registration process for the site | 02:44 |
philiKON | same here :) | 02:45 |
philiKON | i actually have an accoutn now | 02:45 |
philiKON | srichter, are you going to setup z3 with the 3.1 accordingly or shall i do it? | 02:46 |
srichter | feel free to do it | 02:46 |
srichter | I just want to have an account some way | 02:46 |
philiKON | right | 02:46 |
philiKON | i'll set it up and let ppl know | 02:46 |
philiKON | plone has a huge i18n community | 02:46 |
philiKON | i think we can drain some volunteers from there :) | 02:46 |
srichter | cool | 02:47 |
anguenot | The X3.0.1 is intended to be shipped with Zope-2.x right ? | 02:47 |
philiKON | 2.8.1 | 02:47 |
philiKON | yup | 02:47 |
anguenot | because I might be interested about having the zope.deprecation module | 02:47 |
anguenot | within the X3.0.1 | 02:48 |
anguenot | for being able to use it from Zope2 | 02:48 |
philiKON | yes, it would be useful, but we can't just add a feature to x3.0 | 02:49 |
philiKON | i hope that we can arrange that zope 2.9 ships with 3.1 or 3.2 | 02:49 |
anguenot | hum ok | 02:49 |
philiKON | in the mean time, you can always install zope.deprecation yourself | 02:49 |
anguenot | of course was just a thought | 02:49 |
philiKON | yeah, i know, it's tempting | 02:50 |
philiKON | because zope.deprecation is damn nice | 02:50 |
philiKON | good work on that, srichter :) | 02:50 |
srichter | I am glad you like it | 02:51 |
anguenot | :) | 02:54 |
anguenot | I think I'm gonna move the depreaction warnings of CPS on this component | 02:55 |
anguenot | that's why I tried to ask ;) | 02:55 |
srichter | great! :-) | 02:55 |
anguenot | I'm finishing the depreacation of NotFoundError and I've a question about the raises within the copypastemove component | 02:57 |
srichter | ok (I am not sure I can answer though) | 02:58 |
anguenot | It's currently raising NotFoundError when an item is renammed and not found in the container | 02:58 |
anguenot | is the KeyError relevant instead ? | 02:58 |
srichter | I think a key error is good | 03:00 |
anguenot | ok fine | 03:01 |
anguenot | seems pretty logical :) | 03:01 |
srichter | yeah | 03:01 |
philiKON | srichter, i think i figured it out | 03:03 |
philiKON | at least zpkg is doing *something* now :) | 03:03 |
srichter | cool | 03:03 |
srichter | I think from now on we keep the Wiki instructions for release separate for every major release | 03:04 |
philiKON | well, it could still be the same wiki page | 03:05 |
philiKON | i will separate the wiki page into different sections | 03:05 |
philiKON | a lot of the stuff is pretty general to every kind of release | 03:05 |
srichter | yes | 03:06 |
philiKON | srichter, once i upload the tarball, could you do the python install.py register? | 03:13 |
srichter | ok | 03:14 |
philiKON | i'm just doing a final check install from the tarball | 03:15 |
philiKON | installing | 03:15 |
*** SureshZ has joined #zope3-dev | 03:23 | |
philiKON | srichter, i updated http://dev.zope.org/Zope3/MakingARelease | 03:26 |
srichter | cool | 03:30 |
philiKON | srichter, i guess i should talk to jim before asking the rosetta guys to set up zope as a project | 03:37 |
philiKON | there might be issues that we're overseeing right now | 03:37 |
srichter | ok, I don't see which ones though | 03:38 |
philiKON | dunno, legal ones for example | 03:38 |
philiKON | who will check in the translations? | 03:38 |
philiKON | some zc guy? | 03:38 |
srichter | I am wondering what the legal status about translations is anyway | 03:39 |
srichter | I guess if we tell translators that the translations are ZPL 2.1, it should be ok | 03:40 |
philiKON | yeah | 03:40 |
philiKON | well, i'll write that email tomorrow | 03:40 |
philiKON | wanna get x3.0.1 out now | 03:40 |
philiKON | uploading the tarball now | 03:40 |
srichter | ok | 03:42 |
*** SureshZ has quit IRC | 03:49 | |
philiKON | http://www.zope.org/Products/Zope3/3.0.1 | 03:53 |
srichter | yipee, it is even public | 03:53 |
philiKON | is it? | 03:53 |
srichter | no, the file is not | 03:54 |
philiKON | i'll fix it | 03:54 |
srichter | but I am a power user for the products, so I can download it anyways | 03:55 |
philiKON | srichter, ok, the file should now be available to anonymous | 03:56 |
srichter | ok, I registered the file with PyPI | 03:56 |
philiKON | thanks | 03:56 |
philiKON | srichter, so, i mail tim about the windows package? | 03:57 |
srichter | yes | 03:57 |
anguenot | good night | 03:58 |
philiKON | night anguenot | 03:59 |
philiKON | ok, sent tim the mail | 03:59 |
*** anguenot has quit IRC | 03:59 | |
srichter | ok, testbrowser is fully tested now | 04:05 |
srichter | I really love it | 04:05 |
*** philiKON has quit IRC | 04:28 | |
*** philiKON has joined #zope3-dev | 04:40 | |
philiKON | damn that dsl line | 04:42 |
*** projekt01 has quit IRC | 05:23 | |
*** RaFromBRC has quit IRC | 05:27 | |
bob2 | should this really be empty? http://svn.zope.org/messageboard/ | 06:55 |
*** RaFromBRC has joined #zope3-dev | 07:04 | |
*** deo has quit IRC | 08:24 | |
*** douglasc has joined #zope3-dev | 08:33 | |
*** JZ has left #zope3-dev | 08:41 | |
zagy | moin | 08:44 |
bob2 | so, I have an adapter taht gets some usful info out of another object's annotations | 08:55 |
bob2 | sometimes I want the real value (a boolean), sometimes I want a textual representation of it ("Reviewed"/"Unreviewed") | 08:55 |
bob2 | do I want to indepdendent adapters? | 08:56 |
bob2 | or should the textual one adapt the boolean one? | 08:56 |
bob2 | (style-wise, both would work) | 08:56 |
*** hdima has joined #zope3-dev | 09:07 | |
*** d2m has joined #zope3-dev | 09:21 | |
*** Theuni has quit IRC | 09:23 | |
*** povbot has joined #zope3-dev | 09:37 | |
*** MrTopf has joined #zope3-dev | 09:44 | |
*** povbot` has quit IRC | 09:50 | |
*** tav has quit IRC | 09:51 | |
*** Aiste has quit IRC | 09:51 | |
*** MrTopf has quit IRC | 09:52 | |
*** povbot has joined #zope3-dev | 10:04 | |
*** Aiste has joined #zope3-dev | 10:04 | |
*** yota has joined #zope3-dev | 10:15 | |
*** sashav_ has joined #zope3-dev | 10:39 | |
*** projekt01 has joined #zope3-dev | 10:51 | |
*** Theuni has joined #zope3-dev | 11:02 | |
* philiKON wonders why is x3.0.1 announcement didn't come through zope-announce but andreas's zope 2.8.1beta1 announcement did | 11:05 | |
*** __gotchaway has quit IRC | 11:13 | |
*** __gotchaway has joined #zope3-dev | 11:14 | |
*** __gotchaway is now known as __gotcha | 11:14 | |
*** MrTopf has joined #zope3-dev | 11:15 | |
*** lunatik has joined #zope3-dev | 11:21 | |
*** lunatik has left #zope3-dev | 11:22 | |
*** __gotcha has quit IRC | 12:02 | |
*** __gotchaway has joined #zope3-dev | 12:02 | |
*** __gotchaway is now known as __gotcha | 12:02 | |
*** faassen has joined #zope3-dev | 12:12 | |
*** tarek has joined #zope3-dev | 12:25 | |
*** Theuni has quit IRC | 12:32 | |
*** Theuni has joined #zope3-dev | 12:40 | |
*** sashav_ has quit IRC | 12:45 | |
*** sashav has joined #zope3-dev | 12:53 | |
*** efge has joined #zope3-dev | 13:19 | |
efge | Quick question about 3.0.1: has its ZODB been upgraded to the latest bugfix release too (I didn't see that in the release notes) ? | 13:20 |
srichter | usually Tim switches to the latest release as soon as he publishes it; don't know whether he does it for the 3.0 branch too thought | 13:22 |
*** srichter has quit IRC | 13:22 | |
*** anguenot has joined #zope3-dev | 13:27 | |
*** mexiKON has joined #zope3-dev | 13:35 | |
efge | argh! ZODB doesn't appear to be stiched as an svn:externals in the ZopeX3-3.0 branch, it just a copy of an old release | 13:40 |
efge | http://svn.zope.org/Zope3/branches/ZopeX3-3.0/src/ZODB/?view=log | 13:41 |
*** philiKON has quit IRC | 13:44 | |
*** lunati1 has joined #zope3-dev | 14:23 | |
*** lunati1 has left #zope3-dev | 14:24 | |
*** tvon has quit IRC | 14:28 | |
*** mgedmin has joined #zope3-dev | 14:57 | |
*** benji_york has joined #zope3-dev | 15:16 | |
*** SteveA has joined #zope3-dev | 15:21 | |
*** faassen has left #zope3-dev | 15:22 | |
*** faassen has joined #zope3-dev | 15:22 | |
*** BjornT has joined #zope3-dev | 15:28 | |
*** stub has joined #zope3-dev | 15:30 | |
mexiKON | efge, yup | 15:55 |
*** J1m has joined #zope3-dev | 15:55 | |
mexiKON | efge, i didn't update the zodb | 15:57 |
*** niemeyer has joined #zope3-dev | 15:58 | |
mexiKON | efge, i guess we could update the zodb to the latest zodb 3.3.x release for zope x3 3.0.2 | 15:58 |
J1m | Yes, if there are any 3.3 updates. I doubt that there are. | 16:01 |
efge | mexiKON: yeah we can do an svn:externals like the rest, now we have clean tags on ZODB | 16:01 |
J1m | Note that 3.0.1 will mainly be used with 2.8, which uses ZODB 3.4. | 16:02 |
mexiKON | like J1m says, if there actually *are* zodb updates | 16:02 |
efge | J1m: ah yes I see your point, no updates are really needed then | 16:02 |
efge | well there's 3.3.1 | 16:03 |
mexiKON | X3.0.1 has 3.3 | 16:04 |
mexiKON | according to ZODB.__version__ | 16:04 |
efge | according to svn log too :) | 16:04 |
mexiKON | :) | 16:04 |
mexiKON | i would like to organize a x3.0.2 "bug" day in mid august or so | 16:04 |
efge | but indeed if we use it with Z2.8 we'll use ZODB 3.4 anyway | 16:04 |
mexiKON | it's one issue we can bring up | 16:04 |
bob2 | hrm, I somehow screwed up my annotations handler such that they're not actually stored on zodb | 16:07 |
bob2 | and I had no tests to check | 16:07 |
bob2 | oops | 16:07 |
bob2 | hm | 16:10 |
bob2 | what does IAnnotations return if an object has no existing annotations? | 16:10 |
bob2 | ie should I make it a PersistentDict if it's not already? | 16:10 |
J1m | IAnnotations always returns an annotations, even if the object doesn't have any annotations. | 16:11 |
J1m | IAnnotations always returns an annotations, even if the object doesn't have any annotations. | 16:11 |
bob2 | where an annotation is a dict-like object? | 16:11 |
J1m | (assumung that the object is annotatable) | 16:11 |
J1m | Whete annotations is an object that provides IAnnotations. | 16:12 |
bob2 | hm | 16:12 |
mexiKON | bob2, yeah, dict like | 16:12 |
J1m | That interface defines what you can expect. | 16:12 |
mexiKON | bob2, lookk at the interface in apidoc | 16:12 |
bob2 | is there any way to make pydoc work for interfaces? | 16:12 |
bob2 | its way quicker than the web stuff | 16:12 |
mgedmin | bob2, just use tags in a text editor; that's way faster | 16:15 |
bob2 | hm, yeah | 16:15 |
bob2 | ah, I see, it is dict-like | 16:15 |
bob2 | thanks, mgedmin, mexiKON and J1m | 16:16 |
*** mexiKON has quit IRC | 16:17 | |
*** __gotcha is now known as __gotchaway | 16:18 | |
*** tvon has joined #zope3-dev | 16:34 | |
*** alga has joined #zope3-dev | 16:53 | |
*** stub has quit IRC | 16:57 | |
*** sureshvv has joined #zope3-dev | 17:00 | |
sureshvv | Does Five1.1b support set_schema in ZCML? | 17:02 |
sureshvv | TypeError: require() got an unexpected keyword argument 'set_schema' | 17:02 |
bob2 | hm, is it bad form to make all adapters that touch annotations trusted? | 17:03 |
sureshvv | File "/zope275/lib/python/AccessControl/SecurityInfo.py", line 185, in apply | 17:04 |
sureshvv | dict['__ac_permissions__'] = tuple(__ac_permissions__) | 17:04 |
sureshvv | zope.configuration.config.ConfigurationExecutionError: exceptions.TypeError: object does not support item assignment | 17:04 |
sureshvv | in: | 17:04 |
sureshvv | File "/zope275/Products/ZeSentinel/configure.zcml", line 6.2-9.2 | 17:04 |
sureshvv | <content class=".SentinelRule.SentinelRule"> | 17:04 |
sureshvv | <require permission="zope2.View" | 17:04 |
sureshvv | interface=".IZeSentinel.IZeSentinelRule" /> | 17:04 |
sureshvv | </content> | 17:04 |
sureshvv | Does this traceback make sense to anyone? | 17:04 |
bob2 | hm, if I wanted to implement something like apache-style-home-dirs (ie http://foo.com/~blah/), traversal is what I'd need to look at? | 17:17 |
*** stub has joined #zope3-dev | 17:20 | |
*** hdima has quit IRC | 17:22 | |
*** sashav has quit IRC | 17:22 | |
*** awjones has joined #zope3-dev | 17:24 | |
*** __gotchaway is now known as __gotcha | 17:50 | |
*** alga has quit IRC | 17:53 | |
*** tarek has quit IRC | 18:07 | |
*** wiggy has quit IRC | 18:07 | |
*** lucia12345 has quit IRC | 18:07 | |
*** SureshZ has joined #zope3-dev | 18:12 | |
*** wiggy has joined #zope3-dev | 18:15 | |
*** tarek has joined #zope3-dev | 18:19 | |
*** lucia12345 has joined #zope3-dev | 18:23 | |
*** lucia12345 has quit IRC | 18:23 | |
*** lucia12345 has joined #zope3-dev | 18:24 | |
*** mgedmin has quit IRC | 18:26 | |
sureshvv | Anyone care to answer a Five question? | 18:28 |
sureshvv | File "/zope275/lib/python/AccessControl/SecurityInfo.py", line 185, in apply | 18:31 |
sureshvv | dict['__ac_permissions__'] = tuple(__ac_permissions__) | 18:31 |
sureshvv | zope.configuration.config.ConfigurationExecutionError: exceptions.TypeError: object does not support item assignment | 18:31 |
sureshvv | in: | 18:31 |
sureshvv | File "/zope275/Products/ZeSentinel/configure.zcml", line 6.2-9.2 | 18:31 |
sureshvv | <content class=".SentinelRule.SentinelRule"> | 18:31 |
sureshvv | <require permission="zope2.View" | 18:31 |
sureshvv | interface=".IZeSentinel.IZeSentinelRule" /> | 18:31 |
sureshvv | </content> | 18:31 |
sureshvv | why am i getting this? | 18:31 |
sureshvv | Five 1.1b | 18:31 |
bob2 | hah | 18:34 |
*** andrew_m has quit IRC | 18:37 | |
*** projekt01 has quit IRC | 18:38 | |
*** MrTopf has quit IRC | 18:42 | |
*** stu1 has joined #zope3-dev | 18:43 | |
SteveA | sureshvv: that looks so weird | 18:45 |
SteveA | you can't set items on the 'dict' type object | 18:45 |
SteveA | you can set items on an instance of a dict, such as {} | 18:46 |
*** tarek has quit IRC | 18:46 | |
*** tarek has joined #zope3-dev | 18:47 | |
sureshvv | SteveA... can dict be a variable? | 18:54 |
SteveA | it can | 18:54 |
SteveA | but it isn't a very sensible name for a variable | 18:54 |
sureshvv | It is in SecurityInfo.py | 18:56 |
efge | some classes with slots have an non-writable __dict__, no ? | 18:56 |
sureshvv | dict = classobj.__dict__ | 18:57 |
sureshvv | So SecurityInfo.py expects to be able to write to the __dict__ | 18:57 |
*** andrew_m has joined #zope3-dev | 19:00 | |
*** stub has quit IRC | 19:03 | |
sureshvv | efge: i think you are on to something | 19:03 |
sureshvv | TypeError: ('Incompatible metatypes', (<type 'object'>, <extension class OFS.SimpleItem.SimpleItem at f68723e0>)) | 19:06 |
*** tav has joined #zope3-dev | 19:06 | |
*** J1m changes topic to "zope3-dev | Bug Day July 29! | logs available at http://zope3.pov.lt/irclogs/" | 19:08 | |
*** tav_ has quit IRC | 19:15 | |
sureshvv | Are OFS.SimpleItem and object incompatible? | 19:17 |
sureshvv | am i out of luck if i want to use properties and keep the object in zodb? | 19:20 |
J1m | Not in Zope 2.8. | 19:21 |
sureshvv | aah... | 19:21 |
J1m | In Zope 2.8, SimpleItem is a subclass of object. | 19:21 |
sureshvv | hmm... | 19:21 |
J1m | as are all extension classes | 19:22 |
sureshvv | well... i have to be compatible with Zope2.7 now | 19:22 |
sureshvv | so i guess i am out of luck | 19:22 |
sureshvv | do <content... classes have to inherit from SimpleItem? | 19:23 |
J1m | No, but if you want them to be persistent, they have to be extension classes. | 19:24 |
J1m | (and you have to implement all or most of the frameworks provided by SimpleItem. | 19:24 |
J1m | ) | 19:24 |
sureshvv | Can I have them not persistent and still be able to use browser:addform and browser:editform? | 19:25 |
sureshvv | it looks like requiring a permission on them fails if they do not inherit from SimpleIte, | 19:26 |
sureshvv | SimpleItem | 19:26 |
J1m | yes | 19:26 |
J1m | You could probably get around this if you worked really really really hard. | 19:26 |
sureshvv | :) | 19:26 |
J1m | Bottom line: you are out of luck. | 19:27 |
J1m | (You are also on the wrong irc channel. ;) | 19:27 |
sureshvv | I guess i should chuck all this and move to zope3 ;) | 19:27 |
J1m | or at least 2.8. | 19:27 |
sureshvv | thanks jim... i am trying all the channels for help | 19:28 |
sureshvv | good to get it from the horse's mouth here :) | 19:28 |
*** zagy has quit IRC | 19:38 | |
*** projekt01 has joined #zope3-dev | 19:41 | |
*** projekt01 has quit IRC | 19:48 | |
*** stu1 has quit IRC | 19:50 | |
*** mgedmin has joined #zope3-dev | 20:23 | |
*** stub has joined #zope3-dev | 20:31 | |
*** faassen has quit IRC | 20:46 | |
Theuni | hmm | 20:55 |
Theuni | i'm surprised by the state of the bugs that shall be solved | 20:56 |
Theuni | there isn't even a proposed solution for 302 | 20:56 |
*** stub has quit IRC | 20:56 | |
Theuni | too bad everything else is currently way to far behind my horizon | 20:59 |
Theuni | hmpf | 20:59 |
*** jw has quit IRC | 21:00 | |
J1m | There are lots of proposals for 302. | 21:02 |
J1m | Some are even partially implemented. | 21:02 |
J1m | Plus, as a bonus, we'll want to redo files for blobs anyway. | 21:03 |
J1m | So I don't think we want to do anything major now. | 21:03 |
J1m | we do need to come up with something. | 21:03 |
J1m | Too bad you didn't finish that last year. | 21:04 |
J1m | Theuni, at this point, I'm inclined to wedge charset into the content type and just get the encoding dance right. | 21:05 |
J1m | Until we redo files with blobs. | 21:05 |
Theuni | hmm | 21:06 |
Theuni | the proposals just aren't attached to the bug itself. | 21:06 |
Theuni | encoding dance | 21:07 |
Theuni | well | 21:07 |
J1m | no | 21:07 |
Theuni | as it is a file it should natively be stored as binary data anyway, am i wrong? | 21:07 |
Theuni | so it should be just about display anyway ... | 21:07 |
*** jwtest has joined #zope3-dev | 21:14 | |
*** |jbb| has joined #zope3-dev | 21:19 | |
*** anguenot has quit IRC | 21:23 | |
J1m | It's about allowing text editing. | 21:26 |
*** srichter has joined #zope3-dev | 21:31 | |
*** tav has quit IRC | 21:33 | |
sureshvv | newbie question | 21:36 |
sureshvv | i am doing http://localhost/folder1/+/my.type1 and it gives a site error - Cant locate object... | 21:36 |
sureshvv | any idea how to debug this? | 21:37 |
mgedmin | look at the traceback in the log file | 21:37 |
sureshvv | nothing in the log file | 21:37 |
mgedmin | or go to ++etc++site and look within the error reporting utility | 21:37 |
sureshvv | Actually I am using Zope2.7 and Five | 21:40 |
sureshvv | It works with another type... /+/sfive.Presentation | 21:40 |
*** mkerrin has quit IRC | 21:42 | |
*** sureshvv has left #zope3-dev | 21:44 | |
*** sureshvv has joined #zope3-dev | 21:44 | |
*** sureshvv has quit IRC | 21:47 | |
*** zagy has joined #zope3-dev | 21:48 | |
*** projekt01 has joined #zope3-dev | 21:52 | |
*** bskahan has joined #zope3-dev | 21:54 | |
srichter | would anyone here be interested in a backport of testbrowser to Zope 3.1 and Python 2.3? | 21:56 |
J1m | as an add-on package? | 21:57 |
J1m | It's too late to add new features | 21:57 |
J1m | Benji and I discussed moving it to zope.testbrowser to make it easier to use in 3.1 apps. | 21:58 |
SteveA | stub recently found out that the python 2.4 builtin set and frozenset types do not have security declarations in zope/security/checkers.py | 21:59 |
SteveA | i've suggested to include these in there, with a try:except NameError, so it still works with python 2.3 | 21:59 |
SteveA | any idea when zope3 will require python 2.4 ? | 21:59 |
J1m | I've heard a rumor that browsertest requires 2.4, so that would imply that 3.2 will require it. | 22:02 |
J1m | +1 for the try:except: | 22:02 |
*** MrTopf has joined #zope3-dev | 22:03 | |
mgedmin | srichter, I think I would be interested in that | 22:05 |
mgedmin | where do python2.4 requirements come from? | 22:05 |
J1m | ask benji_york, but he's busy atm. | 22:05 |
srichter | descriptors | 22:06 |
srichter | @property and @apply | 22:06 |
J1m | you mean decorators | 22:06 |
srichter | yes | 22:06 |
srichter | sorry | 22:06 |
srichter | J1m: yes, definitely as addon | 22:06 |
srichter | in fact it would be a top-level package for 3.1 | 22:07 |
J1m | zope.testbrowser | 22:07 |
srichter | yes, or can I distribute it in a sane way that would place it in zope.app.testing? | 22:07 |
srichter | (this way tests would need no change when going from 3.1 to 3.2) | 22:08 |
*** zagy has quit IRC | 22:10 | |
J1m | zope is a container package | 22:11 |
J1m | zope.app is, barrely | 22:11 |
J1m | zope.app.testing is definately a stretch. | 22:11 |
srichter | that's where we have it now on the branch | 22:12 |
J1m | I know | 22:12 |
srichter | so you challenge the decision | 22:12 |
J1m | I think it would be more convenient to have it higher up. | 22:12 |
srichter | well, it is really only useful for testing | 22:12 |
srichter | mmh, let me see whether it must depend on zope.app, otherwise zope might be ok | 22:13 |
srichter | oh, it depends on zope.app.testing.functional | 22:14 |
*** stub has joined #zope3-dev | 22:14 | |
srichter | btw, do you suggest that it should move for 3.2 into zope.app and zope too? | 22:15 |
srichter | I guess the question is whether the testbrowser code is useful outside a testing environment | 22:15 |
J1m | No | 22:15 |
srichter | if not, it is simply test support code, which should be in zope.app.testing | 22:16 |
J1m | But just because it's useful for testing doesn't mean it *has* to go in zope.app.testing. | 22:16 |
srichter | I think it is just the Prussian in me (as philiKON would say now) | 22:16 |
J1m | I think knitting it into a 3.1 site will be rather messy if it's in zope.app.testing. | 22:16 |
srichter | that's what I thought too | 22:17 |
J1m | So I suggest: | 22:17 |
J1m | - not trying to use it w 3.1 | 22:17 |
J1m | or | 22:17 |
J1m | - put it somewhere else | 22:17 |
J1m | :) | 22:17 |
srichter | I would say (1), but then people would have to wait a while :-) | 22:18 |
srichter | I ponder it and make a decision tonight | 22:18 |
srichter | :-) | 22:18 |
*** bskahan has quit IRC | 22:19 | |
benji_york | I propose that we move testbrowser out of zope.app.testing regardless of the other issues in anticipation of Jim's desire to see zope.app shrink in the future. | 22:25 |
srichter | benji_york: do you want it to go to zope.testbrowser or zope.app.testbrowser | 22:26 |
srichter | currently there is an expectation that nothing outside zope.app depends on zope.app (other than a few application-like packages such as bugtracker and zwiki) | 22:27 |
J1m | I'd like to get away from that. | 22:31 |
benji_york | I would prefer to put it in zope | 22:31 |
srichter | ok, let's do that then | 22:32 |
J1m | Note, for example, that zope.formlib depends on zope.app. | 22:32 |
benji_york | I'd also like a slightly better name, if we're moving it again, but noone can come up with one | 22:32 |
J1m | I think things are getting mature enough that we can start talking about "core" vs non-core. | 22:32 |
srichter | this way it will be easy to move the backport to the trunk now, because testbrowser is not listed as one pf the packages to include in the distribution | 22:32 |
J1m | yes | 22:32 |
J1m | I like testbrowser. | 22:33 |
benji_york | you would | 22:33 |
* benji_york smiles at Jim laughing | 22:33 | |
* srichter notes that benji seems to like funky names ;-) | 22:33 | |
* benji_york laughs out loud | 22:34 | |
* J1m restrains himself | 22:34 | |
* benji_york has a funny name | 22:34 | |
*** fdrake has joined #zope3-dev | 22:35 | |
benji_york | fdrake just comes here for the humor | 22:36 |
fdrake | but of course! | 22:37 |
*** BjornT has quit IRC | 22:37 | |
*** stub has quit IRC | 22:45 | |
*** mgedmin has quit IRC | 22:46 | |
*** SteveA has quit IRC | 22:51 | |
*** alienoid has joined #zope3-dev | 22:58 | |
*** srichter has quit IRC | 23:11 | |
*** RaFromBRC has quit IRC | 23:15 | |
*** horizon5 has joined #zope3-dev | 23:16 | |
projekt01 | Why does the NotFoundError change to ItemNotFoundError? | 23:17 |
*** tarek has quit IRC | 23:20 | |
J1m | does it? | 23:22 |
J1m | hm, I suppose it does, in part ... | 23:22 |
projekt01 | The doctest returns now ItemNotFoundError and before NotFoundError with the following: | 23:23 |
projekt01 | >>> renamer.renameItem('foo', 'bar') | 23:23 |
J1m | We want to get rid of NotFoundError. | 23:23 |
projekt01 | What's the replacement? | 23:24 |
J1m | Because it was too general and easily confused with NotFound. | 23:24 |
J1m | We will eventually get rid of NotFoundError. | 23:24 |
J1m | It looks like ItemNotFoundError really wants to be KeyError. | 23:25 |
J1m | But it can't, for backward compatibility. | 23:25 |
J1m | I can see how this is a problem for doc tests. | 23:25 |
J1m | It would be nice if doctests had something like "assertRaises", fo rcases like this. | 23:26 |
projekt01 | It's no problem, I just have to fix the doctests, but sometimes it's better to understand what's happen. | 23:27 |
projekt01 | Whould be nice to see proposals for this in the after 3.1 release. | 23:27 |
J1m | It is a problem because you have to modify the doctest. | 23:27 |
projekt01 | Otherwise we don't have changes to understand the reasons sometime. | 23:28 |
J1m | yes | 23:28 |
J1m | This was done as part of a bug fix. It was thought to be very low impact. | 23:28 |
J1m | We didn't consider the impact on doctests. | 23:28 |
projekt01 | It's not in the z3 trunk code it's in our code. | 23:29 |
J1m | Oh, I realize that. | 23:30 |
projekt01 | We inherit from the ObjectMover and use a own ProxyAwareObjectMover, perhaps we should move such stuff to the trunk. | 23:31 |
*** efge has quit IRC | 23:31 | |
J1m | We would have caught it then, but a more basic issue is the brittleness of doctests in a case like this. | 23:32 |
*** MiUlEr has joined #zope3-dev | 23:32 | |
projekt01 | I see | 23:33 |
J1m | We were being careful to make a backward compatible change, but it wasn't backward compatible wrt doc tests. | 23:34 |
J1m | I need to ponder this. | 23:34 |
projekt01 | You have no chance to be backward compatible, we inherited from ObjectMover and copy/pasted the doctest from ObjectMover | 23:36 |
projekt01 | there is the method NotFoundError used | 23:36 |
*** Theuni has quit IRC | 23:37 | |
*** tvon|x31 has joined #zope3-dev | 23:37 | |
*** tvon has quit IRC | 23:37 | |
*** bskahan has joined #zope3-dev | 23:40 | |
*** bskahan has quit IRC | 23:46 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!