efrerich | oferw: I'm here | 00:16 |
---|---|---|
oferw | efrerich: I site for testing | 00:16 |
oferw | and philiKON is helping me now to update the file | 00:16 |
efrerich | you said that you translate on your computer | 00:17 |
efrerich | which programm? | 00:17 |
oferw | yes but I need to put it into the z3 | 00:17 |
oferw | I use poedit | 00:17 |
oferw | and now philiKON told me to install gettext | 00:17 |
efrerich | with poedit you get the mo-file | 00:18 |
oferw | this file has the information with the changes from last translation? | 00:18 |
efrerich | so you have not to compile the po-file to mo-file | 00:19 |
efrerich | yes - the mo-file has your translation | 00:19 |
oferw | I don't need just to copy the he.po file on the old one? | 00:20 |
efrerich | and if you work in locales/he directory the the mo-file is there too | 00:20 |
oferw | no I didn't work under this dir | 00:21 |
oferw | and can not locate it | 00:21 |
efrerich | Where is your 3.3 installation - python site-packages? | 00:22 |
oferw | this is windows here | 00:23 |
efrerich | yes and have you installed Zope 3.3 with the windows installer? | 00:23 |
oferw | yes | 00:23 |
oferw | by zopepaul's movie :) | 00:23 |
efrerich | Then you a python directory with 2.4.1 or 2.4.2 | 00:24 |
oferw | python24 | 00:24 |
efrerich | goto Lib\site-packages\zope\app\locales | 00:25 |
efrerich | there is he\LC-MESSAGES | 00:26 |
oferw | right | 00:26 |
oferw | and 2 files there | 00:26 |
oferw | zope.po and the other one | 00:26 |
efrerich | zope.mo | 00:26 |
oferw | to just to replace both with the updated files? | 00:26 |
efrerich | yes | 00:26 |
oferw | ok | 00:26 |
oferw | the zope.mo is not on this computer | 00:27 |
oferw | so I will copy it from the other one and come back here | 00:27 |
oferw | you going to sleep? | 00:27 |
*** tarek has quit IRC | 00:27 | |
*** tarek has joined #zope3-dev | 00:28 | |
oferw | I am back in few mintues | 00:28 |
oferw | thanks for your help till now | 00:28 |
efrerich | oferw: I wait for you | 00:28 |
oferw | great | 00:28 |
oferw | few mintues | 00:28 |
*** alga has joined #zope3-dev | 00:36 | |
*** dobee has joined #zope3-dev | 00:40 | |
*** oferw_ has joined #zope3-dev | 00:40 | |
*** j1m has quit IRC | 00:41 | |
*** oferw_ has quit IRC | 00:45 | |
*** oferw has quit IRC | 00:50 | |
*** gumpa-gone has left #zope3-dev | 00:50 | |
*** RaFromBRC|away is now known as RaFromBRC | 00:51 | |
*** oferw has joined #zope3-dev | 00:52 | |
oferw | efrerich: cool! | 00:52 |
oferw | my translation is working! | 00:52 |
efrerich | what happened? | 00:52 |
efrerich | cool | 00:53 |
oferw | I just replaces the 2 files and restared zope | 00:53 |
oferw | and it is working | 00:53 |
oferw | as you know there are still values to tranlsate but still nice to see hebrew there | 00:53 |
efrerich | What you can do | 00:54 |
efrerich | go to the "top" in Zope 3 | 00:54 |
oferw | ok | 00:54 |
efrerich | you see there the menu item Manage Process | 00:54 |
oferw | yes | 00:55 |
efrerich | in 'http://localhost:8080/++etc++process/index.html' you see Translation Domains | 00:55 |
oferw | he | 00:56 |
efrerich | klick and you will see Domain zope | 00:56 |
oferw | Python24\Lib\site-packages\zope\app\locales\he\LC_MESSAGES\zope.mo | 00:56 |
oferw | there is hebrew in the list | 00:56 |
oferw | last one | 00:56 |
oferw | to press on the reload? | 00:57 |
efrerich | and a reload button | 00:57 |
oferw | in general the hebrew is working really nice | 00:57 |
oferw | all in place | 00:57 |
efrerich | if you have some more translation you can reload and can see what you have done | 00:58 |
oferw | only thing need to take care is changing the tamplates | 00:58 |
oferw | ok | 00:58 |
efrerich | which templates? | 00:58 |
oferw | all the manu should be on the right of the main information place | 00:58 |
oferw | I mean all the naviagation | 00:58 |
oferw | manu | 00:58 |
oferw | and also all the fields order in the menus from left to right - it should be from right to left | 00:59 |
efrerich | aha - because you want to read from right to left | 00:59 |
oferw | right | 00:59 |
oferw | the order | 00:59 |
oferw | it's not what I want - this is the way hebrew and arabic are | 01:00 |
oferw | from right to left ;-) | 01:00 |
efrerich | you should ask srichter | 01:00 |
oferw | yes I will write email to the list about it | 01:00 |
oferw | or to ask him here? | 01:01 |
efrerich | fine | 01:01 |
efrerich | now I say good night | 01:01 |
oferw | thanks again | 01:01 |
oferw | good night | 01:01 |
*** efrerich has quit IRC | 01:01 | |
srichter | oferw: while we already provide the direction of the language in the locale (request.locale), we are not using it yet. It would take someone to tackle this problem. | 01:03 |
oferw | srichter: at least now you aware of the problem... | 01:03 |
srichter | probably some high-level APIs want to be developed too and more components should ne directionally aware | 01:03 |
srichter | no, I knew it all along ;-) | 01:04 |
oferw | ok | 01:04 |
oferw | but in general the hebrew is working really nice | 01:04 |
srichter | cool | 01:04 |
oferw | all fits nice into the fields | 01:04 |
oferw | you want me to take few screenshots? | 01:04 |
srichter | great, I wanna see a screenshot eventually :-) | 01:04 |
srichter | sure! | 01:04 |
oferw | ok will take few | 01:05 |
srichter | thanks | 01:05 |
oferw | there are fields that I have no idea how to translate | 01:05 |
oferw | Gadfly DA | 01:05 |
srichter | Gadfly is a name, so no translation necessary | 01:06 |
srichter | DA is a shortcut for Database Adapter | 01:06 |
oferw | I will do list of them | 01:06 |
srichter | yep, ggod idea | 01:06 |
srichter | yep, good idea | 01:06 |
oferw | in general I need study what is going around here | 01:07 |
srichter | the more you get into Zope 3, the more the phrases will make sense, naturally | 01:07 |
*** jinty has quit IRC | 01:07 | |
oferw | right | 01:08 |
oferw | first step was to install and update a bit the hebrew' | 01:08 |
oferw | where are you located? | 01:08 |
srichter | Boston, MA | 01:09 |
yota | oferw: héhé welcome to Zope.3 world. Not easy to understand all concepts ;) | 01:10 |
oferw | yota: hi :) | 01:10 |
oferw | thanks for the welcome | 01:10 |
oferw | yota: how long r u in this world? | 01:11 |
*** zbir has quit IRC | 01:11 | |
yota | oferw: same problem here for my first translation (french) | 01:11 |
oferw | I need to understand what people around here can do with z3 | 01:12 |
yota | oferw: I read mls since 2 years but I have no time in my job to work with zope3 yet | 01:13 |
oferw | where you are from? | 01:14 |
oferw | srichter: I did 3 screenshots and uploading them now | 01:14 |
*** tarek has quit IRC | 01:15 | |
srichter | cool | 01:16 |
*** tarek has joined #zope3-dev | 01:17 | |
yota | oferw: Paris, France | 01:17 |
oferw | yota: nice :) | 01:18 |
oferw | srichter: http://img133.imageshack.us/my.php?image=hebrew36iy.jpg | 01:18 |
srichter | very nice indeed | 01:19 |
srichter | is this on linux or windows | 01:19 |
oferw | http://img63.imageshack.us/my.php?image=hebrew24jx.jpg | 01:19 |
oferw | here windows | 01:19 |
oferw | i had problems to install it on the linux | 01:20 |
oferw | I will try to see why during the weekend | 01:20 |
yota | what"s the problem on linux ? | 01:20 |
oferw | I had problems with python or something | 01:20 |
yota | for me, it's like zope2 | 01:20 |
oferw | but really want to see the hebrew working | 01:20 |
yota | configure;make;make install | 01:20 |
oferw | to just installed it on the windoes | 01:21 |
oferw | windows | 01:21 |
yota | with standard python package (deb or ubuntu) | 01:21 |
yota | never had a problem with | 01:21 |
oferw | srichter: so the hebrew is nice right? | 01:21 |
srichter | yep :-) | 01:21 |
srichter | I wish we could do anothe rI18n sprint to address the direction problems | 01:22 |
oferw | z3 is still new around right? | 01:22 |
oferw | because if copmanies here will know about it mabye they will invest time in develop | 01:22 |
srichter | it is pretty new | 01:23 |
srichter | but I think it is special | 01:23 |
oferw | what you mean | 01:23 |
rocky|new-baby | oferw: the plone community is starting to heavily involve itself in z3 activities as well as we're trying to adopt z3 coding techniques via the Five product | 01:24 |
srichter | oferw: well, it is new, but it is not new at the same time | 01:25 |
oferw | rocky|new-baby: that's why I am here as well beacuse I read so many places around z3 z3 ... | 01:25 |
srichter | it is built on a lot of experience and has a stability that is fairly unique | 01:26 |
srichter | I am not aware of any other OS project that emphazises on testing that much | 01:26 |
oferw | srichter: the problem here with this kind of system like plone that people need and want 100% working hebrew and right to left | 01:27 |
srichter | (of course, we infect the other Zope sub-communities already) | 01:27 |
oferw | if not they can not use and don't want to | 01:27 |
srichter | it is not a big problem to get working | 01:27 |
srichter | it just needs some sponsoring by someone | 01:27 |
oferw | srichter: nothing is big problem only time and money | 01:27 |
srichter | we have all the data we need | 01:28 |
oferw | what is the target of z3 at all? | 01:28 |
oferw | to be what kind of system? | 01:29 |
srichter | fully right-to-left compatible | 01:29 |
srichter | the target are Web applications | 01:30 |
srichter | I'll write a little thing about the app I am developing right now | 01:30 |
srichter | it is a good example | 01:30 |
oferw | great | 01:33 |
oferw | so people moving from z2 to z3? | 01:34 |
srichter | some people are | 01:35 |
srichter | more people use Z3 technology in Z2 using Five | 01:35 |
oferw | so I need also to translate five ? | 01:36 |
rocky|new-baby | oferw: there shouldn't be anything in five that needs to be translated | 01:37 |
oferw | ok | 01:37 |
oferw | when is the next z3 event? | 01:38 |
*** tarek has quit IRC | 01:39 | |
srichter | there is none scheduled as far as I know | 01:39 |
oferw | ok | 01:40 |
*** tarek has joined #zope3-dev | 01:40 | |
oferw | lets see when there will be first z3 site here | 01:42 |
srichter | he he | 01:43 |
oferw | sorry for the qustions but I want to understand more - it is for bigger and busy web applications? | 01:43 |
srichter | yeah | 01:43 |
projekt01 | oferw, there is a nicer skin for a screenshot, try: http://localhost:8080/++skin++Boston | 01:44 |
srichter | you will not have much fun (yet) using Z3 for your homepage | 01:44 |
*** yota has quit IRC | 01:44 | |
oferw | projekt01: page not working | 01:44 |
oferw | srichter: for now I have one page in my homepage | 01:45 |
projekt01 | oferw, do you use a trunk? and port: 8080 | 01:45 |
oferw | http://localhost:8080/++skin++Boston | 01:46 |
oferw | srichter: but people here contact me from time to time about plone sites | 01:46 |
srichter | cool | 01:46 |
srichter | so you will be into Zope 3 eventually | 01:47 |
oferw | there are few z2 sites here | 01:47 |
oferw | this is one of them | 01:48 |
oferw | http://dorinfrankfurt.co.il/html | 01:48 |
oferw | she is very very famous fashion desinger here | 01:48 |
oferw | but there are very very small number of zope sites | 01:49 |
*** dobee has quit IRC | 01:49 | |
oferw | srichter: but to have right to left site with z3 I don't need to have all the transaltion of the contorl right? | 01:52 |
*** rocky|new-baby is now known as rocky|zzz | 02:03 | |
*** tiredbones has quit IRC | 02:10 | |
*** tiredbones has joined #zope3-dev | 02:10 | |
*** tarek has quit IRC | 02:21 | |
*** tarek has joined #zope3-dev | 02:22 | |
srichter | oferw: no | 02:28 |
oferw | I have here one company that have busy website and want to use plone | 02:28 |
oferw | now they using php | 02:28 |
srichter | cool | 02:28 |
oferw | but I can not tell them to use z3 if I don't know anything about it | 02:29 |
srichter | right | 02:31 |
srichter | that would be far too risky | 02:31 |
srichter | after the requirements are mapped out, you could have a Zope 3 expert see whether the project fits Zope 3 | 02:33 |
srichter | because the requirements for Plone sites do not completely overlap with Zope 3 | 02:33 |
*** niemeyer has quit IRC | 02:33 | |
*** niemeyer has joined #zope3-dev | 02:34 | |
oferw | ok | 02:34 |
srichter | Zope 3 really accelarates when doing Web *applications* in comparison to Web *sites* | 02:35 |
oferw | ok | 02:36 |
*** niemeyer has quit IRC | 02:42 | |
*** niemeyer has joined #zope3-dev | 02:42 | |
oferw | srichter: you consider commuinty website as website or web application? | 02:45 |
*** oferw has quit IRC | 02:54 | |
*** tarek has quit IRC | 02:56 | |
*** tarek has joined #zope3-dev | 02:58 | |
*** hazmat has joined #zope3-dev | 03:21 | |
*** ChanServ sets mode: +o hazmat | 03:21 | |
*** hazmat has quit IRC | 03:21 | |
*** RaFromBRC has quit IRC | 03:28 | |
*** projekt01 has left #zope3-dev | 03:47 | |
*** cabbie has joined #zope3-dev | 03:48 | |
*** tarek has quit IRC | 03:50 | |
*** trevorp-office has joined #zope3-dev | 04:05 | |
*** tarek has joined #zope3-dev | 04:10 | |
*** alga has quit IRC | 04:14 | |
*** trevorp-office has quit IRC | 04:18 | |
*** stub has joined #zope3-dev | 05:10 | |
*** tarek has quit IRC | 05:25 | |
*** tarek has joined #zope3-dev | 05:26 | |
*** niemeyer has quit IRC | 05:29 | |
*** niemeyer has joined #zope3-dev | 05:29 | |
*** deo has quit IRC | 05:39 | |
*** alecm has quit IRC | 05:54 | |
*** stub has quit IRC | 06:14 | |
*** cabbie has quit IRC | 06:54 | |
*** niemeyer has quit IRC | 07:14 | |
*** tarek has quit IRC | 07:32 | |
*** tarek has joined #zope3-dev | 07:33 | |
*** stub has joined #zope3-dev | 07:43 | |
*** tarek has quit IRC | 08:00 | |
*** tarek has joined #zope3-dev | 08:01 | |
*** eins has joined #zope3-dev | 08:06 | |
eins | hi | 08:06 |
*** zopePloneConsult has joined #zope3-dev | 08:14 | |
*** yota has joined #zope3-dev | 08:31 | |
*** yota has joined #zope3-dev | 08:31 | |
*** Theuni has joined #zope3-dev | 08:43 | |
*** jinty has joined #zope3-dev | 08:51 | |
*** tarek has quit IRC | 08:59 | |
*** dobee has joined #zope3-dev | 09:00 | |
*** tarek has joined #zope3-dev | 09:00 | |
*** zagy has joined #zope3-dev | 09:30 | |
*** zagy has quit IRC | 09:31 | |
*** zagy has joined #zope3-dev | 09:32 | |
*** tarek has quit IRC | 09:35 | |
*** tarek has joined #zope3-dev | 09:35 | |
*** dlk has joined #zope3-dev | 10:31 | |
*** sashav has joined #zope3-dev | 10:41 | |
*** MJ has quit IRC | 10:52 | |
*** volvox has joined #zope3-dev | 11:17 | |
*** BjornT_ has joined #zope3-dev | 11:20 | |
*** MJ has joined #zope3-dev | 11:20 | |
*** tarek has quit IRC | 11:24 | |
*** tarek has joined #zope3-dev | 11:26 | |
*** ignas has joined #zope3-dev | 11:26 | |
*** BjornT has quit IRC | 11:26 | |
*** ignas has quit IRC | 11:32 | |
*** stainsby has left #zope3-dev | 11:41 | |
*** jinty has quit IRC | 11:46 | |
*** mexiKON has joined #zope3-dev | 11:55 | |
*** jukart has joined #zope3-dev | 11:57 | |
*** tarek has quit IRC | 12:00 | |
*** tarek has joined #zope3-dev | 12:01 | |
*** philiKON has quit IRC | 12:04 | |
*** rocky|zzz has quit IRC | 12:08 | |
*** faassen has joined #zope3-dev | 12:14 | |
*** sashav has quit IRC | 12:16 | |
*** sashav has joined #zope3-dev | 12:23 | |
*** tarek has quit IRC | 12:26 | |
*** tarek has joined #zope3-dev | 12:27 | |
*** stub has quit IRC | 12:39 | |
*** rocky|new-baby has joined #zope3-dev | 12:42 | |
*** rocky|new-baby is now known as rocky | 12:42 | |
*** tarek has quit IRC | 12:54 | |
*** tarek has joined #zope3-dev | 12:54 | |
*** jinty has joined #zope3-dev | 13:02 | |
*** Aiste has quit IRC | 13:03 | |
*** rocky has quit IRC | 13:05 | |
*** rocky has joined #zope3-dev | 13:19 | |
*** russf has joined #zope3-dev | 13:19 | |
*** mkerrin has joined #zope3-dev | 13:19 | |
*** stub has joined #zope3-dev | 13:20 | |
*** Aiste has joined #zope3-dev | 13:21 | |
*** vlado has joined #zope3-dev | 13:27 | |
*** alga has joined #zope3-dev | 13:36 | |
*** dunny has quit IRC | 13:43 | |
*** stub has quit IRC | 13:43 | |
volvox | please. oh, please... can anybody point me to a working example of subwidgets/objectwidgets like Poll, Person or the like, in 3.2? I cannot make them work to save my life | 13:44 |
volvox | last version I tried gives me | 13:44 |
volvox | ComponentLookupError: ((<zope.schema._field.Object object at 0xb4dfca4c>, <zope.publisher.browser.BrowserRequest instance URL=http://localhost:8080/++skin++Debug/@@+/action.html>), <InterfaceClass zope.app.form.interfaces.IInputWidget>, u'') | 13:44 |
volvox | Display traceback as text | 13:44 |
*** tarek has quit IRC | 13:49 | |
*** tarek has joined #zope3-dev | 13:50 | |
*** zopePloneConsult has quit IRC | 13:51 | |
rocky | srichter: ugh, tom dossis found an issue (on the mailing list) regarding migrating a z3.2 zodb to z3.3b1 because of dublincore being renamed from zope.app.dublincore to zope.dublincore | 13:53 |
*** Pupeno_ has joined #zope3-dev | 13:53 | |
Pupeno_ | Hello. | 13:53 |
Pupeno_ | In Zope 3.2 unlike Zope 3.0 every folder is a Site by default, right ? | 13:53 |
rocky | i thought every folder was an IPossibleSite | 13:54 |
*** stub has joined #zope3-dev | 13:54 | |
Pupeno_ | I ask because I didn't see any Make a Site action item, only a Manage Site action item. | 13:55 |
rocky | oh | 13:55 |
rocky | hm... perhaps this changed with j1m's update to the local component registration stuff | 13:55 |
volvox | "Make a site" is there | 13:57 |
volvox | between "Grant" and "Errors", in 3.2 | 13:57 |
Pupeno_ | yes, well, I should have made it a site by accident. Thanks. | 13:59 |
*** zopePloneConsult has joined #zope3-dev | 14:08 | |
*** rocky has quit IRC | 14:11 | |
*** rocky has joined #zope3-dev | 14:15 | |
*** BjornT_ has quit IRC | 14:17 | |
*** BjornT has joined #zope3-dev | 14:19 | |
*** rocky has quit IRC | 14:19 | |
*** rocky has joined #zope3-dev | 14:19 | |
*** tarek has quit IRC | 14:23 | |
*** tarek has joined #zope3-dev | 14:23 | |
*** rocky has quit IRC | 14:28 | |
nouri | has zope.app.size moved in zope 3.3? | 14:30 |
nouri | because i'm trying out mexiKON's wcsite and it fails with 3.3, while it doesn't give any deprecation warnings (it just works) with 2.2 | 14:31 |
nouri | 3.2 | 14:31 |
nouri | :_ | 14:31 |
nouri | :) | 14:31 |
Pupeno_ | http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/SyncTTWCodeToFS tells me to add a "Utility Service" to a site but I don't see that type of object, was the name changed or something ? | 14:33 |
Pupeno_ | "Menu Service" is not there either and adding a TextLine object to the Mutable Schema (called title) results in a system error. | 14:36 |
Pupeno_ | What document(s) are there for learning how to use Zope 3.2 ? | 14:41 |
nouri | mexiKON: any ideas? | 14:42 |
*** Pupeno_ is now known as Pupeno | 14:42 | |
srichter | Pupeno: the Zope3Book was written for Zope 3.0; services are gone | 14:46 |
srichter | mexiKON: Did you not write a generation script when moving all those modules? | 14:46 |
*** tarek has quit IRC | 14:46 | |
Pupeno | srichter: how can I go on then ? Up to here it was ok, but now nothing works. | 14:47 |
srichter | Pupeno: I am sorry to say, but I have no updated version of the book | 14:47 |
Pupeno | and what about Mutable Schema not working (adding fields) ? | 14:48 |
*** tarek has joined #zope3-dev | 14:49 | |
srichter | Pupeno: they did not even work for Zope 3.0 | 14:49 |
srichter | Pupeno: Mutable schemas are purposfully not distributed | 14:50 |
srichter | Pupeno: it would need someone with some interface package insight to fix the problem | 14:50 |
Pupeno | srichter: should I just skip that chapter of the book ? | 14:50 |
Pupeno | srichter: Mutable Scheme are available on Zope 3.2.1. | 14:51 |
srichter | that's what I would do :-) | 14:51 |
*** regebro has joined #zope3-dev | 14:51 | |
Pupeno | srichter: thanks. | 14:51 |
srichter | Pupeno: really????? Eeeek!!! | 14:51 |
srichter | Pupeno: could you file a bug report with respect to the mutable schema package? | 14:51 |
Pupeno | srichter: ok. | 14:52 |
srichter | Pupeno: also note that with Zope 3.3 it will be even harder to follow the Zope 3 book, because a lot of things changed | 14:52 |
*** rocky has joined #zope3-dev | 14:52 | |
nouri | srichter: any idea if zope.app.size moved in z3.3b1 ? | 14:52 |
srichter | I just do not have the time to update it | 14:52 |
srichter | nouri: it is in zope.size | 14:53 |
Pupeno | srichter: I understand. | 14:53 |
srichter | nouri: please file a bug report stating that no deprecation warning appears | 14:53 |
nouri | srichter: it seems like it didn't deprecation-warn me in 3.2 | 14:53 |
nouri | ok, thanks, that's what i wanted to know | 14:53 |
Pupeno | srichter: can that book or a fork of it be communitized, so we can change it (at least, to add warnings of differences and problems, I would do it as I read it). | 14:54 |
srichter | I can give people access to the latex | 14:55 |
srichter | I was pretty strict till now to keep the master documents in latex | 14:55 |
srichter | but maybe that barrier is too high | 14:56 |
srichter | I'll think about it | 14:56 |
* srichter hates when Jim is right all the time :-) | 14:56 | |
nouri | srichter: tests should show deprecationwarnings as well, i suppose? | 14:58 |
srichter | nouri: no, tests (at least the ones in the release) *must* all be fixed not to generate deprecation warnings | 15:00 |
srichter | nouri: but your tests should | 15:00 |
nouri | ok that's good | 15:00 |
guruz_ | is there a way to tell a BTreeContainer container to be sorted case-insensitively? | 15:06 |
rocky | i think by the nature of how a btree works the ids are sorted internally aren't they? | 15:09 |
*** mgedmin has joined #zope3-dev | 15:10 | |
srichter | rocky: yep | 15:10 |
guruz_ | oh. | 15:11 |
srichter | guruz_: you can implement your own container doing this of course | 15:11 |
*** Theuni has quit IRC | 15:11 | |
guruz_ | so if i have a folder i could find out how zope calls it and re-sort there when displaying? | 15:13 |
*** Theuni has joined #zope3-dev | 15:13 | |
*** nathany has joined #zope3-dev | 15:20 | |
*** benji has joined #zope3-dev | 15:28 | |
Pupeno | Where is DocTestSuite on Zope 3.2.1 ? I've tried using the searcher on the ++apidoc++ application but it returned nothing (I am not even sure if it tried searching). | 15:29 |
srichter | Pupeno: DocTestSuite is part of a standard library module | 15:30 |
Pupeno | oh, ok. It seems that in Zope 3.0 it wasn't. | 15:33 |
srichter | no it was not there, because we made some fixes that would not appear in Python until the next major release | 15:34 |
mgedmin | Pupeno: zope.testing.doctest | 15:34 |
mgedmin | Pupeno: it differs from the stdlib doctest module a bit | 15:34 |
*** tarek has quit IRC | 15:34 | |
mgedmin | it has a couple of workarounds for a couple of issues (does not break test coverage profiling, for example) | 15:34 |
*** tarek has joined #zope3-dev | 15:35 | |
* mgedmin hopes those doctest issues will be fixed in python 2.5 | 15:35 | |
faassen | hm, if you use testbrowser, is there any good way to debug 500 errors? | 15:36 |
faassen | I get a 500 error if I load the same page that does work through the UI when I start Zope. | 15:36 |
faassen | I can verify that the zcml is hooked up. | 15:36 |
Pupeno | mgedmin: it is not on http://localhost:8080/++apidoc++/Code/zope/testing/index.html and when I try from zope.testing.doctest import DocTestSuite I get an error. | 15:36 |
mgedmin | that's interesting | 15:37 |
Pupeno | 3.2.1 | 15:37 |
mgedmin | mg@pitonas:~/src/Zope3.2 $ PYTHONPATH=src python | 15:37 |
mgedmin | >>> from zope.testing.doctest import DocTestSuite | 15:37 |
mgedmin | works for me in a 3.2 svn checkout | 15:37 |
Pupeno | I can't find zope.app.container.tests either. | 15:38 |
mgedmin | the release tarball might be different | 15:38 |
Pupeno | I've found so many things missing in the tarball. | 15:38 |
faassen | Pupeno: can you report them to the list, if you think they should really be there? | 15:38 |
faassen | Pupeno: we've had traditional problems of things missing. or better yet, make a bug entry. | 15:39 |
Pupeno | faassen: I am not sure of anything. | 15:39 |
srichter | zope.app.container.tests are missing? What? | 15:39 |
faassen | nobody has an idea how to debug 500 errors in testbrowser test that don't appear when I use the browser UI? :) | 15:39 |
Pupeno | srichter: I don't see it on http://localhost:8080/++apidoc++/Code/zope/app/container/index.html | 15:40 |
srichter | damn, the release is in a really sorry shape | 15:40 |
srichter | oh that's ok | 15:40 |
mgedmin | faassen: browser.handleErrors = False? | 15:40 |
srichter | I think I specifically ignore all tests and ftests dmodules | 15:40 |
srichter | mgedmin: faassen: yep, that's what I was about to suggest | 15:41 |
faassen | mgedmin: okay, I shall try that. I knew there was something. :) | 15:41 |
*** jukart has left #zope3-dev | 15:41 | |
srichter | I am so glad that I added this feature; without it debugging testbrowser tests would be impossible | 15:41 |
faassen | thanks. :) | 15:42 |
srichter | faassen: if you get that many errors in a test, then it is probably an authentication problem | 15:44 |
faassen | srichter: it's an access control issue | 15:45 |
srichter | yep | 15:45 |
faassen | srichter: or worse, somehow an attribute is just missing. | 15:45 |
faassen | srichter: it got hidden by an access control issue. | 15:45 |
srichter | oh, I see | 15:45 |
*** MJ has quit IRC | 15:50 | |
*** MJ has joined #zope3-dev | 15:52 | |
*** Theuni has quit IRC | 15:54 | |
*** nathany has quit IRC | 16:03 | |
*** tarek has quit IRC | 16:05 | |
*** tarek has joined #zope3-dev | 16:05 | |
Pupeno | I am trying to runt tests as explained on http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/contentobject.html and I get these errors: http://rafb.net/paste/results/gT4bWy46.html any ideas ? | 16:10 |
*** rocky has quit IRC | 16:12 | |
faassen | Pupeno: well, looks like a python syntax error | 16:13 |
*** rocky has joined #zope3-dev | 16:13 | |
*** deo has joined #zope3-dev | 16:13 | |
faassen | don't know what those 'from:' errors could mean. | 16:13 |
faassen | it looks rather confusing. | 16:13 |
BjornT | Pupeno: the file is being run as a shell script. try 'python ./tests/test_message.py' instead. | 16:25 |
*** tarek has quit IRC | 16:29 | |
*** tarek has joined #zope3-dev | 16:30 | |
*** Theuni has joined #zope3-dev | 16:31 | |
*** zopePloneConsult has left #zope3-dev | 16:35 | |
*** niemeyer has joined #zope3-dev | 16:36 | |
*** eins has quit IRC | 17:04 | |
*** projekt01 has joined #zope3-dev | 17:07 | |
mexiKON | srichter, see my response to zope-users re: moved packages | 17:07 |
*** tonico has quit IRC | 17:15 | |
mgedmin | Pupeno: test_message.py probably has no #!/usr/bin/env python line at the top | 17:18 |
mgedmin | so it got interpeted as a shell script | 17:18 |
mgedmin | it gets very funny when you have imagemagick installed and 'import' starts grabbing your mouse cursor and taking screenshots of the windows you click on | 17:18 |
srichter | mexiKON: it really needs to be fixed though | 17:19 |
*** whit has quit IRC | 17:19 | |
*** tonico has joined #zope3-dev | 17:20 | |
srichter | ZDC does store things peristently; I sent a response | 17:20 |
mexiKON | srichter, just replied to your response | 17:20 |
mexiKON | no, ZDC doesn't store things persistently | 17:20 |
mexiKON | it uses annotations | 17:20 |
mexiKON | which in turn uses OOBTrees | 17:20 |
mexiKON | i did not move a single persistent class | 17:20 |
*** alecm has joined #zope3-dev | 17:20 | |
mexiKON | for that very same reason that we do not yet have sufficient evolvement facilities. | 17:21 |
MJ | Hey Philipp | 17:22 |
MJ | Where abouts in Mexico are ya? :) | 17:22 |
mexiKON | hi MJ | 17:22 |
srichter | yes it does; see my complete response (the first mail went out by accident) | 17:22 |
mexiKON | srichter, seems you're right | 17:22 |
mexiKON | MJ, still in good ole europe | 17:22 |
mexiKON | MJ, just my alternate nick | 17:22 |
srichter | I think fixing FileStorage would be sufficient for now | 17:23 |
MJ | I gave your name to some headhunter looking for German freelance Zope devs; not sure if it is anything, but I couldn't help him directly | 17:23 |
srichter | did Jim write a generations script for his stuff? | 17:23 |
*** j1m has joined #zope3-dev | 17:24 | |
MJ | But if you were in Mexico, you'd be of little help too ;) | 17:24 |
mexiKON | srichter, i know people who use DirStorage... | 17:24 |
MJ | srichter: Looks I get to 'mentor' you on your Google SoC proposal | 17:24 |
mexiKON | MJ, cool, thanks | 17:24 |
srichter | MJ: cool, so you approved it? | 17:24 |
*** mexiKON is now known as philiKON | 17:25 | |
srichter | j1m: did you write generation scripts for your code? | 17:25 |
MJ | srichter: You are the 3rd highest scoring proposal right now | 17:25 |
srichter | huh, cool :-) | 17:25 |
j1m | srichter, yes | 17:25 |
MJ | srichter: Google get's to approve things next week I believe | 17:25 |
philiKON | 3rd highest score among what? all proposals? | 17:26 |
MJ | I am signed up as the potential mentor, which means that Limi will give it to me. | 17:26 |
srichter | j1m: ok, cool | 17:26 |
srichter | j1m: I thought remembering seeing that | 17:26 |
srichter | philiKON: so we really need to only take care of the ZDC annotation thing | 17:27 |
srichter | philiKON: the iterator code should make this fairly trivial | 17:27 |
philiKON | ok | 17:27 |
Pupeno | mgedmin: that is what happened here. | 17:27 |
philiKON | i'm still worried about DirStorage | 17:27 |
philiKON | btw, what about ZEO? | 17:27 |
MJ | philiKON: 3rd highest on the Plone proposals | 17:28 |
mgedmin | Pupeno: it is usually best to use the test runner and specify a module/package filter | 17:28 |
philiKON | MJ, cool. how many does the PF get to turn in? | 17:28 |
mgedmin | instead of running individual test modules directly | 17:28 |
MJ | philiKON: There are not that many (the bogus ones have been moved to the dumped screen) | 17:28 |
srichter | if you want to provide a solution for all storages, you must walk the tree manually | 17:28 |
srichter | philiKON: there are some helper facilities for that | 17:28 |
MJ | philiKON: Right now we indicated we can handle about 10 | 17:28 |
* philiKON wishes we had dump/reload | 17:28 | |
MJ | philiKON: But the proposal deadline is already past ;) | 17:29 |
philiKON | srichter, walkling the tree i might never get to all instances of this annotation thingy | 17:29 |
srichter | philiKON: it is just a little bit more involved and does not guarantee that you find all objects, but I think that would be okay as we accepted this risk before | 17:29 |
philiKON | MJ, i know, i know. | 17:29 |
philiKON | srichter, any pointers to the tree walker facilities? | 17:29 |
srichter | yeah, the previous generations use it | 17:30 |
srichter | philiKON: see zope.app.zopeappgenerations.evolve*.py | 17:31 |
* philiKON takes a look | 17:31 | |
Pupeno | mgedmin: it was not working, that's why I was trying to run it manually, to try to find out what the problem was. | 17:31 |
*** efrerich has joined #zope3-dev | 17:32 | |
philiKON | srichter, yeah, those are a bit too trivial. i'll have to adapt to IZopeDublinCore etc. | 17:32 |
srichter | philiKON: but you can check for IAttributeAnnotatable first | 17:33 |
srichter | the iterator is very nice in that respect :-) | 17:33 |
philiKON | good point | 17:33 |
srichter | we cannot cover everything, but at least we can make a decent attempt byt covering the majority of people | 17:34 |
* srichter wishes j1m's next pet project would have been the iterator stuff -> srichter sees an opportunity for a sprint | 17:35 | |
philiKON | srichter, btw, ZDCAnnotatableAdapter is pretty stupid | 17:37 |
philiKON | it should really mix in persistent | 17:37 |
philiKON | but it doesn't | 17:37 |
philiKON | its base class even says that it should ;) | 17:37 |
philiKON | and it provides the necessary hooks | 17:37 |
srichter | geez, I have never looked at that code | 17:37 |
*** volvox has quit IRC | 17:37 | |
*** sashav has quit IRC | 17:40 | |
philiKON | srichter, anyways, will provide the evolvement script. later today. gotta go now. | 17:44 |
srichter | ok, thanls | 17:44 |
srichter | ok, thanks | 17:44 |
*** tarek has quit IRC | 17:48 | |
*** tarek has joined #zope3-dev | 17:49 | |
*** whit has joined #zope3-dev | 17:50 | |
*** stub has quit IRC | 17:56 | |
*** genconc has joined #zope3-dev | 17:56 | |
Pupeno | I am trying to run the tests according to http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/contentobject.html but I get no tests run: http://rafb.net/paste/results/HHr6Mi75.html any ideas ? | 17:58 |
faassen | Pupeno: hm, try: | 18:00 |
*** alga has quit IRC | 18:00 | |
faassen | test.py --test-path=messageboard -s messageboard | 18:01 |
faassen | or something like taht. | 18:01 |
faassen | I'm not familiar with how you set up your python path and such. | 18:01 |
faassen | unfortunately that book content is out of date.. | 18:01 |
Pupeno | $ echo $PYTHONPATH | 18:02 |
Pupeno | /home/pupeno/zope/dev/lib/python/:/opt/Zope-3.2/lib/python/ | 18:02 |
*** natea is now known as natea|away | 18:02 | |
faassen | well, I don't know where messageboard is. | 18:03 |
Pupeno | oh, sorry, it is on /home/pupeno/zope/dev/lib/python/messageboard | 18:04 |
faassen | okay. | 18:05 |
faassen | then you shouldn't have to use --test-path | 18:05 |
faassen | and 'dev' is a zope 3 instance? | 18:05 |
Pupeno | faassen: yes. | 18:05 |
mgedmin | Pupeno: the bin/ directory in a zope instance has a 'test' script that knows to add that instance's lib/python into the pythonpath | 18:06 |
Pupeno | faassen: but with --test-path I've got some errors (regarding importing something, hold on). | 18:06 |
mgedmin | try /home/pupeno/zope/dev/test -pv -s messageboard | 18:06 |
faassen | Pupeno: try cd-ing into the Zope 3 instance's root and running the testrunner. | 18:06 |
Pupeno | mgedmin: thanks. | 18:06 |
mgedmin | err, ...zope/dev/bin/test ... | 18:06 |
faassen | oh, right, you need to get it from the bin/test.py directory | 18:07 |
faassen | don't know whethre your starting directory matters. :) | 18:07 |
faassen | but normally the test runner is run from the top of the instance, not from the package directory. | 18:07 |
mgedmin | I *think* the current directory doesn't matter | 18:08 |
efrerich | yota: I see your translation are nearly complete | 18:08 |
mgedmin | I could be wrong | 18:08 |
*** tonico has quit IRC | 18:17 | |
*** tonico has joined #zope3-dev | 18:20 | |
*** nathany has joined #zope3-dev | 18:28 | |
Pupeno | now running the tests gives me an error importing some interfaces, it says the module does not exist; but I can import it by hand without problem: http://rafb.net/paste/results/IJYZbp77.html | 18:30 |
*** mexiKON has joined #zope3-dev | 18:37 | |
*** kamalgill has joined #zope3-dev | 18:40 | |
*** tonico has quit IRC | 18:45 | |
*** tonico has joined #zope3-dev | 18:46 | |
Pupeno | running zope gaves me the same error about no module named interfaces. | 18:47 |
srichter | Pupeno: Zope3/src or Zope3/lib/python must be in your Python path | 18:48 |
srichter | the test runner will do this automatically for you | 18:49 |
*** philiKON has quit IRC | 18:59 | |
*** MJ has quit IRC | 19:07 | |
Pupeno | srichter: they are in my path, the test runner as well as zope, both fail. | 19:20 |
*** whit has quit IRC | 19:22 | |
*** vlado has quit IRC | 19:23 | |
*** whit has joined #zope3-dev | 19:39 | |
*** oferw has joined #zope3-dev | 20:19 | |
*** zbir has joined #zope3-dev | 20:22 | |
*** drzoltron has joined #zope3-dev | 20:33 | |
*** alecm has quit IRC | 20:35 | |
*** faassen has quit IRC | 20:36 | |
*** drzoltron has quit IRC | 20:46 | |
*** projekt01 has quit IRC | 20:48 | |
*** Egon has joined #zope3-dev | 20:51 | |
srichter | is there a way to change directory in a Makefile? | 20:58 |
benji | srichter, "cd"? | 21:01 |
srichter | that did not seem to have an effect | 21:01 |
benji | I think make changes back to your original directory when finishing, but it should have an effect while the makefile is "running" | 21:02 |
srichter | ah, it resets the directory after each command | 21:03 |
srichter | so you have to chain them | 21:03 |
srichter | cd DIR; command | 21:03 |
*** RaFromBRC has joined #zope3-dev | 21:03 | |
benji | that sounds vaugly familiar :) | 21:04 |
srichter | mmh, I have a problem with i18nextract not working because it pics up my global test.py file isntead of the test standard library | 21:04 |
benji | you might manipulate the PYTHONPATH so the right files are found (if i18nextract uses the python path) | 21:05 |
srichter | I do that already | 21:06 |
srichter | but the CWD is always added additionally | 21:06 |
benji | you could hack sitecustomize.py to remove the CWD | 21:07 |
srichter | ok, now I got over it; I just had to go into a dir without test.py | 21:07 |
srichter | digh | 21:07 |
srichter | sigh | 21:07 |
*** dobee has quit IRC | 21:09 | |
*** efrerich has quit IRC | 21:09 | |
*** regebro has quit IRC | 21:19 | |
*** MJ has joined #zope3-dev | 21:20 | |
*** mkerrin has quit IRC | 21:28 | |
tarek | i have a small problem on event suscribing, | 21:31 |
tarek | if i want to use an handler, i can't use the permission directive | 21:31 |
tarek | because the provides is mandatory for permission then | 21:31 |
tarek | (it checks security iver the provided interface iirc) | 21:32 |
tarek | so is there a way to secure the handler ? | 21:32 |
*** Egon has quit IRC | 21:33 | |
tarek | what I tried to write is: | 21:37 |
tarek | ... <subscriber | 21:37 |
tarek | ... handler="my_handler" | 21:37 |
tarek | ... for="IMyEvent" | 21:37 |
tarek | ... permission="InYourDreams" | 21:37 |
tarek | ... /> | 21:37 |
*** tav_ has joined #zope3-dev | 21:39 | |
*** Aiste has quit IRC | 21:39 | |
*** zbir has quit IRC | 21:43 | |
srichter | tarek: is the handler a function? | 21:45 |
tarek | srichter, yes, a callable | 21:45 |
srichter | well, a callable would be fine | 21:45 |
srichter | since you could make a security declaration on the callable's __call__ method | 21:45 |
srichter | <class class="callable"? | 21:46 |
srichter | <class class="callable"> | 21:46 |
srichter | <require permission="myperm" attributes="__call__" /> | 21:46 |
srichter | </class> | 21:46 |
tarek | a ok i c | 21:46 |
srichter | I dunno how this can be done for functions | 21:46 |
tarek | a __call__ is fine I guess, i'll just wrap the function | 21:47 |
tarek | srichter, thx | 21:47 |
srichter | I guess by default there is no security declaration on the subscriber, since it is assumed that all security is provided by the event/objwct | 21:47 |
tarek | ok, sounds right, there's one when you don't use the handler way, but the adapter | 21:48 |
*** mgedmin has quit IRC | 21:52 | |
*** zbir has joined #zope3-dev | 21:53 | |
*** Aiste has joined #zope3-dev | 21:59 | |
*** dunny has joined #zope3-dev | 22:06 | |
*** kamalgill has left #zope3-dev | 22:08 | |
*** oferw has quit IRC | 22:23 | |
*** niemeyer has quit IRC | 22:39 | |
*** jinty_ has joined #zope3-dev | 22:48 | |
*** jinty has quit IRC | 22:48 | |
*** RaFromBRC has quit IRC | 22:49 | |
*** RaFromBRC has joined #zope3-dev | 22:52 | |
Pupeno | Any ideas why zope and test (the script to test) might claim that a module, messageboard.interfaces, is not there when it is (I can run Python and import it) ? | 22:57 |
whit | you have your SOFTWARE_HOME envvar set wrong? | 22:59 |
Pupeno | I haven't set that variable by myself anywhere; but note that other modules inside messageboard are being loaded without problem. | 23:00 |
*** projekt01 has joined #zope3-dev | 23:04 | |
*** RaFromBRC has quit IRC | 23:04 | |
Pupeno | Here's the error: http://paste.lisp.org/display/19905 | 23:07 |
Pupeno | I bet it is something stupid which I am overseeing. | 23:07 |
Pupeno | It works from plain Python: http://paste.lisp.org/display/19905#2 | 23:10 |
*** RaFromBRC has joined #zope3-dev | 23:14 | |
*** niemeyer has joined #zope3-dev | 23:15 | |
*** RaFromBRC has quit IRC | 23:15 | |
*** nathany has quit IRC | 23:18 | |
*** wrobel has quit IRC | 23:23 | |
*** wrobel has joined #zope3-dev | 23:23 | |
*** niemeyer_ has joined #zope3-dev | 23:27 | |
*** RaFromBRC has joined #zope3-dev | 23:35 | |
*** niemeyer has quit IRC | 23:37 | |
*** niemeyer_ is now known as niemeyer | 23:37 | |
*** jinty_ has quit IRC | 23:38 | |
*** benji has quit IRC | 23:43 | |
*** kamalgill has joined #zope3-dev | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!