*** jinty has joined #zope3-dev | 00:01 | |
*** projekt01 has joined #zope3-dev | 00:04 | |
newpers | so... is anyone interested in building a cms with me? just think of the contributions you'd be making to zope3 along the way! heh | 00:06 |
---|---|---|
projekt01 | newpers, I start next month building a intranet solution | 00:07 |
projekt01 | based on Tiks | 00:07 |
projekt01 | newpers, interested? | 00:08 |
newpers | i'm not familiar with Tiks | 00:09 |
projekt01 | doesn't matter, Tiks is just a collection of useful zope3 packages | 00:09 |
newpers | can I msg you? | 00:10 |
projekt01 | of course | 00:10 |
projekt01 | but you must be logged in by freenode | 00:10 |
*** sashav has joined #zope3-dev | 00:12 | |
*** mgedmin has quit IRC | 00:26 | |
*** sashav has quit IRC | 00:33 | |
*** sidnei has joined #zope3-dev | 00:34 | |
xenru | I'm just update my playground to python 2.4 and z3.1-final, now I cannt start z3 and get very strange errors. | 01:09 |
xenru | This is last line from t/b: "c:\zope3\lib\python\hivurt\types\configure. | 01:11 |
xenru | zcml", line 6.2-9.8 | 01:11 |
xenru | NameError: name '_' is not defined | 01:11 |
xenru | but there is no _ in c:\zope3\lib\python\hivurt\types\configure.zcml | 01:12 |
projekt01 | it's in the class missing where is defined in line 6 - 9 in the configure.zcml | 01:13 |
xenru | this code work with previews versions | 01:14 |
xenru | and python files with this class compiled w/o any problems | 01:15 |
projekt01 | there where changes in zope.app.i18n (ZopeMessageIDFactory to ZopeMessageFactory) | 01:16 |
projekt01 | normaly interfaces.py uses this for field title and description | 01:17 |
xenru | I should add some lines to my code/ | 01:18 |
xenru | ? | 01:18 |
projekt01 | grep for ZopeMessageFactory and see how this is used | 01:21 |
bob2 | newpers: I'd be interested | 01:22 |
projekt01 | bob2, I talked to newpers, but now her is joining the nightlive I guess. | 01:22 |
projekt01 | bob2, drop him a note by mail | 01:23 |
bob2 | ah | 01:23 |
bob2 | mainly to learn | 01:23 |
xenru | projekt01: ok, I'll look for it | 01:24 |
projekt01 | xenru, does it work? | 01:24 |
xenru | is Tiks trunk already have this changes? | 01:24 |
projekt01 | The Tiks trunk is under refactoring (viewlet implementation) but will be working tomorrow again based on the newest z3 trunk | 01:25 |
bob2 | oh, yum | 01:26 |
xenru | projekt01: If you can plz look to this code http://deadbeefbabe.org/paste/1985, and this error message http://deadbeefbabe.org/paste/1983 | 01:33 |
xenru | that is what ia have | 01:33 |
* projekt01 is looking at... | 01:34 | |
xenru | I cannt find problems, this is very simple code | 01:34 |
projekt01 | can you paste the content of c:\zope3\lib\python\hivurt\types\configure | 01:35 |
projekt01 | .zcml | 01:35 |
xenru | http://deadbeefbabe.org/paste/1986 | 01:35 |
projekt01 | Ok, can you past interfaces.py | 01:37 |
xenru | may be problem there | 01:37 |
projekt01 | yup | 01:37 |
xenru | :( | 01:37 |
xenru | I remove definition of _ | 01:37 |
xenru | for translations | 01:38 |
projekt01 | yup | 01:38 |
projekt01 | from zope.app.i18n import ZopeMessageFactory as _ | 01:38 |
xenru | yeah | 01:38 |
projekt01 | ;-) | 01:38 |
xenru | thank you | 01:38 |
projekt01 | no problem | 01:38 |
xenru | now I understand that this is time to sleep :) | 01:39 |
projekt01 | ;-) | 01:40 |
*** sidnei has quit IRC | 01:40 | |
xenru | It's work, thank you again | 01:47 |
projekt01 | np | 01:47 |
projekt01 | srichter, ayt? | 01:57 |
projekt01 | srichter, the "pagetip" is a sample for a global variable set in the master template where a viewlet should read ;-) | 01:59 |
*** xenru is now known as xenru|sleep | 02:02 | |
*** dlk has quit IRC | 02:07 | |
*** jinty has quit IRC | 02:12 | |
srichter | projekt01: I am here | 02:38 |
srichter | right | 02:38 |
srichter | though you could argue that there should be an adapter for this or another content provider ;-) | 02:39 |
projekt01 | I guess we should register the pagetip as a viewlet, "a tooltip page itself is a viewlet" | 02:41 |
projekt01 | a pagetip is nothing more then a viewlet registred for the right view and context | 02:42 |
projekt01 | srichter, is there a way to read global variables in a viewlet where the viewlet manager doesn't set? | 02:46 |
projekt01 | I guess no | 02:46 |
projekt01 | should the TALES expression not update the viewlet __dict__ instead of the viewlet managers __dict__ | 02:50 |
projekt01 | This would allow more generic and manager independent viewlet implementations | 02:50 |
projekt01 | Otherwise the viewlets are really restricted to the manager logic. I think that's OK for all methods and attributes, but is this really useful for global TAL variables? | 02:52 |
projekt01 | srichter, Ok I see the viewlet manager is a content provider and the TALSE expression doesn't know about viewlets and there's now way to udpate them. | 02:57 |
projekt01 | Ok, I will remove the pagetip viewlet implementation, we can register the pagetip as a viewlet later in the relevant packages. | 02:58 |
projekt01 | srichter, is there a method to get the a element id in testbrowser? | 03:04 |
projekt01 | srichter, ayt? | 03:19 |
*** yota has quit IRC | 03:24 | |
*** tarek has quit IRC | 03:28 | |
projekt01 | srichter, the boston skin is ready for a review | 03:32 |
srichter | projekt01: very cool | 03:33 |
projekt01 | I got some ftests error, can you check it | 03:33 |
srichter | projekt01: no, I don't think testbrowser works witht he id | 03:33 |
srichter | ok | 03:33 |
projekt01 | I checked the browser.contents output like: '...id="foobar"...' | 03:34 |
srichter | why can you not check by name? | 03:34 |
projekt01 | by name? | 03:35 |
srichter | actually is does id | 03:35 |
srichter | browser.getLink(id='') | 03:35 |
projekt01 | what is getLink? | 03:35 |
srichter | its a method of the TestBrowser class | 03:36 |
projekt01 | I think I have to look at the testbroser API again ;-) | 03:36 |
srichter | yep | 03:37 |
projekt01 | Ok, let me know if it's ok or if I should change something tomorrow. Otherwise feel free to merge it to the trunk. | 03:37 |
projekt01 | but don't use it as the default skin, I guess we have to fix some small layout issue for the different browsers first. | 03:38 |
projekt01 | srichter, see you tomorrow | 03:39 |
*** projekt01 has quit IRC | 03:42 | |
*** efge has quit IRC | 03:51 | |
*** do3cc_ has quit IRC | 05:20 | |
*** SteveA has joined #zope3-dev | 05:21 | |
newpers | bob2, ayt? | 05:22 |
*** stub has joined #zope3-dev | 05:49 | |
*** natea has joined #zope3-dev | 06:14 | |
*** sashav has joined #zope3-dev | 06:17 | |
*** SteveA has quit IRC | 06:40 | |
*** natea has quit IRC | 07:16 | |
*** srichter has quit IRC | 07:24 | |
*** newpers has quit IRC | 07:36 | |
*** dobee has joined #zope3-dev | 08:38 | |
*** stub has quit IRC | 08:41 | |
*** d2m has joined #zope3-dev | 08:43 | |
*** dobee has quit IRC | 08:53 | |
*** dobee has joined #zope3-dev | 09:12 | |
*** dlk has joined #zope3-dev | 09:14 | |
*** dobee has quit IRC | 09:23 | |
*** suse-joe has joined #zope3-dev | 09:30 | |
*** dobee has joined #zope3-dev | 09:30 | |
suse-joe | Hi! I can't find a single example on how to use display widgets like input widgets. I want to generate a simple view of a content object from the schema like addform/editform do it for the input forms. Any hints? | 09:36 |
dobee | suse-joe: use browser:schemadisplay directive | 09:40 |
*** MJ has quit IRC | 09:43 | |
suse-joe | dobee:Thanks! That's what I am looking for. | 09:45 |
*** hdima has joined #zope3-dev | 09:59 | |
*** jinty has joined #zope3-dev | 10:20 | |
*** stub has joined #zope3-dev | 10:24 | |
jinty | I'm a bit confused by the zpkgtools setup of zope.app, how I should add the dependency of zope.app.testing on zope.app.authentication? In DEPENDENCIES.cfg for zope.app.testing or PACKAGE.cfg for zope.app? | 10:31 |
jinty | guess I'm asking what is the zpkgtools strategy for zope.app... | 10:33 |
*** vlado has joined #zope3-dev | 10:52 | |
*** yota has joined #zope3-dev | 10:59 | |
*** MrTopf has joined #zope3-dev | 11:33 | |
*** tarek has joined #zope3-dev | 11:43 | |
*** MJ has joined #zope3-dev | 12:09 | |
*** j-w has joined #zope3-dev | 12:11 | |
*** projekt01 has joined #zope3-dev | 12:37 | |
*** philiKON has joined #zope3-dev | 12:47 | |
*** J1m has joined #zope3-dev | 13:08 | |
philiKON | morning J1m | 13:09 |
J1m | morning | 13:10 |
J1m | good evening | 13:10 |
philiKON | hehe, yeah | 13:13 |
*** anguenot has quit IRC | 13:13 | |
*** xenru has joined #zope3-dev | 13:38 | |
*** srichter has joined #zope3-dev | 13:45 | |
*** ChanServ sets mode: +o srichter | 13:45 | |
*** xenru|sleep has quit IRC | 13:57 | |
*** J1m has quit IRC | 13:59 | |
projekt01 | srichter, ayt? | 13:59 |
srichter | yeah, but still booting | 14:11 |
*** projekt01 has quit IRC | 14:20 | |
*** zbir has quit IRC | 14:24 | |
*** anguenot has joined #zope3-dev | 14:40 | |
*** sidnei has joined #zope3-dev | 14:43 | |
*** efge has joined #zope3-dev | 14:45 | |
efge | btw I plan on fixing http://www.zope.org/Collectors/Zope3-dev/478 (IObjectCopiedEvent should reference the original) today, before the feature freeze | 15:12 |
sidnei | /j #z3-base | 15:13 |
sidnei | /j #z3-base | 15:13 |
sidnei | gee | 15:13 |
sidnei | hey efge | 15:13 |
efge | hi sidnei | 15:14 |
*** dobee has quit IRC | 15:15 | |
*** SteveA has joined #zope3-dev | 15:15 | |
*** dobee has joined #zope3-dev | 15:19 | |
*** edgordon has joined #zope3-dev | 15:20 | |
*** benji has joined #zope3-dev | 15:28 | |
dlk | hi, i am looking for info about Python Interfaces (decalre interfaces in Python for objects). | 15:38 |
philiKON | directlyProvides(obj, *interfaces)? | 15:38 |
dlk | I know that there is onw for zope3 but can it be used outside the zopeworld too? | 15:39 |
philiKON | sure, if you use zope.interface separately | 15:39 |
philiKON | it's available as a stand-alone python package | 15:40 |
dlk | aha! how much will it brake with zope 2.7? | 15:40 |
philiKON | not at all | 15:40 |
philiKON | just install it | 15:41 |
dlk | the scenario is that I have a python module that we need to use in both zope and in a nonz-ope envireonment. We cannot use z3 yet, so i am looking for alternatives that let me use this in zope 2 and then ease the migration path to zope3, without requireing the moduels to use zope | 15:41 |
philiKON | again, zope.interface is available separately | 15:41 |
philiKON | you can sure use that in any python project | 15:41 |
dlk | right. great! i need to rip it out myself from zope3, or can it be downloaded separately? | 15:42 |
philiKON | there's a download | 15:42 |
dlk | goodie! Thanks Philipp:) | 15:42 |
philiKON | dlk, http://www.zope.org/Products/ZopeInterface | 15:42 |
philiKON | de nada, dario | 15:43 |
dlk | :) | 15:43 |
sidnei | dlk: if you are on ubuntu, there's a python2.3-zopeinterface package | 15:43 |
*** baiju has joined #zope3-dev | 15:44 | |
dlk | sidnei: thanks, but we develop on gentoo and deploy on RHEL4. And we need to provide RPMS to the server guys .) | 15:45 |
*** zbir has joined #zope3-dev | 15:46 | |
*** baiju has quit IRC | 15:48 | |
*** stub has quit IRC | 15:57 | |
*** bradb has joined #zope3-dev | 15:57 | |
*** J1m has joined #zope3-dev | 15:59 | |
*** natea has joined #zope3-dev | 16:01 | |
*** jhauser has joined #zope3-dev | 16:02 | |
*** MJ has quit IRC | 16:05 | |
*** MJ has joined #zope3-dev | 16:07 | |
*** natea is now known as natea|away | 16:08 | |
srichter | natea|away: so you are learning Zope 3 now? :-) | 16:09 |
*** dlk has quit IRC | 16:21 | |
*** mgedmin has joined #zope3-dev | 16:26 | |
*** MJ has quit IRC | 16:29 | |
*** MJ has joined #zope3-dev | 16:30 | |
natea|away | srichter, yup, trying to ;) | 16:32 |
*** natea|away is now known as natea | 16:32 | |
natea | for now, just using Five | 16:33 |
srichter | right | 16:33 |
natea | srichter, are you interested in talking at the next python meetup, | 16:36 |
natea | to compare Zope 3 and the other emerging web frameworks? | 16:36 |
srichter | I don;t know any other frameworks ;-) | 16:37 |
srichter | I certainly do not have time and desire to investigate them | 16:37 |
srichter | I would be happy to talk about Zoep 3 itself though | 16:37 |
natea | ok | 16:39 |
natea | i think chris curvey was thinking of some kind of "bake off" where there could be a discussion of zope 3 in the context of these other frameworks | 16:40 |
srichter | ok, cool | 16:40 |
srichter | I need to make sure to remember to come | 16:40 |
srichter | it is downtown, right? | 16:41 |
natea | i.e. he would talk about turbogears and django, | 16:41 |
natea | and you could talk about zope3 | 16:41 |
natea | compare/contrast | 16:41 |
srichter | ok, sure | 16:41 |
natea | yes, the next one is at nature conservancy | 16:41 |
natea | chauncey, near boylston T stop | 16:41 |
natea | you should talk to chris about the mtg logistics | 16:42 |
philiKON | ah, the T... /me misses boston | 16:42 |
srichter | ok, will do | 16:42 |
srichter | olease remind me again, if you do not hear from me ina week | 16:42 |
*** HammerToe has joined #zope3-dev | 16:51 | |
*** hdima has quit IRC | 16:55 | |
*** HammerToe has left #zope3-dev | 16:55 | |
*** baldtrol has joined #zope3-dev | 16:57 | |
*** jhauser_ has joined #zope3-dev | 17:14 | |
*** jhauser has quit IRC | 17:19 | |
tiredbones | srichter, Is anyone allowed to come this meeting in Boston? | 17:23 |
srichter | tiredbones: yep, anyone is welcome | 17:24 |
srichter | it is one of those meetup.com meetings | 17:24 |
tiredbones | srichter, How do I find the time and place? | 17:25 |
srichter | tiredbones: good question; for one you can go to meetup.com and lookup the Boston Python meetup group | 17:26 |
srichter | we also have a mailing list where things get announced | 17:26 |
srichter | boston-pig@wingware.com | 17:26 |
srichter | http://wingware.com/mailman/listinfo/boston-pig | 17:27 |
tiredbones | srichter, thanks -I've been looking for something in this area. Up here in Maine not to much goes on in these LUG. Mad Dog use to have them NH, but when he left things kinda when by-the-way side. | 17:29 |
srichter | oh, I did not know he is not in New England anymore | 17:30 |
*** suse-joe has left #zope3-dev | 17:34 | |
*** natea has quit IRC | 17:36 | |
*** bradb has quit IRC | 17:43 | |
*** tav has quit IRC | 17:51 | |
VladDrac | is PAS in zope3.1? | 18:00 |
J1m | No, but PAU is. | 18:02 |
VladDrac | and how do pas and pau relate? | 18:03 |
*** dobee has quit IRC | 18:04 | |
J1m | pau is a similar framework inspired by PAS. | 18:04 |
J1m | See zope.app.authentication/README.txt | 18:04 |
VladDrac | ah ok | 18:05 |
VladDrac | so | 18:06 |
VladDrac | VladDrac: what's the current state of PAS in zope3? How does it relate to the "traditional" zope3 security mechanisms? | 18:06 |
VladDrac | srichter: VladDrac: it is finished and will be released in Zope 3.1 | 18:06 |
VladDrac | is not true? | 18:06 |
VladDrac | (from an old log) | 18:06 |
philiKON | pau is in zope 3.1 | 18:07 |
VladDrac | yes but pau is not pas, right? | 18:07 |
philiKON | pau is a zope 3 reinterpretation of pas | 18:08 |
philiKON | pau is for zope 3 what pas is for zope 2 | 18:08 |
philiKON | like J1m said | 18:08 |
VladDrac | ah ok I actually thought pas was developed for zope3 and backported to zope2 | 18:08 |
philiKON | nope | 18:09 |
philiKON | pas was developed for zope 2 | 18:09 |
philiKON | then reinterpreted in terms of the CA for zope 3 | 18:09 |
VladDrac | ok, now I understand, so there will never be anything replacing pau | 18:09 |
* VladDrac somehow thought zope3 would move to pas, but now I understand :) | 18:10 | |
VladDrac | damn those TLA's! | 18:10 |
J1m | pas was itself influenced by zope.app.pluggableauth | 18:10 |
philiKON | heh, yeah | 18:11 |
srichter | I was just about to say that :-) | 18:24 |
srichter | Zope 3 PAS -> Zope 2 PAS -> Zope 3 PAU :-) | 18:24 |
philiKON | nope | 18:25 |
philiKON | Zope 3 pluggableauth -> Zope 2 PAS -> Zope 3 PAU | 18:26 |
*** baldtrol has quit IRC | 18:27 | |
srichter | pluggableauth was known as PAS then | 18:30 |
srichter | pluggableauth was merely the package of PAS | 18:30 |
philiKON | hmm; i never heard it being called PAS | 18:31 |
philiKON | but could be | 18:31 |
srichter | let me assure you it was :-) | 18:31 |
philiKON | ok | 18:31 |
philiKON | :) | 18:32 |
*** MJ has quit IRC | 18:35 | |
*** projekt01 has joined #zope3-dev | 18:36 | |
philiKON | projekt01, was it you who refactored the sequence widget after x3 3.0? | 18:38 |
projekt01 | could be | 18:38 |
philiKON | it's a lot less rebust now :( | 18:39 |
philiKON | s/rebust/robust/ | 18:39 |
projekt01 | I guess I fix another refactoring if you mean that | 18:39 |
projekt01 | fix/fixed | 18:39 |
philiKON | dunno, i just see that it got largely rewritten | 18:39 |
*** SteveA has quit IRC | 18:39 | |
philiKON | and now pukes when used inside an objectwidget | 18:39 |
philiKON | at least it seems so on my side | 18:40 |
*** SteveA has joined #zope3-dev | 18:40 | |
*** MacYET has joined #zope3-dev | 18:40 | |
projekt01 | I think I just fixed the broken sequence __init__ constructor then | 18:40 |
projekt01 | if you mean this | 18:41 |
projekt01 | Did you implement a custom object widget factory? | 18:41 |
projekt01 | or a custom sequence widget factory? | 18:42 |
projekt01 | object widget will never work out of the box, you always need a custom implementation. | 18:42 |
projekt01 | Do you mean this part? | 18:42 |
philiKON | no | 18:43 |
philiKON | but i know about the custom impl | 18:43 |
philiKON | anyways, never mind then | 18:43 |
philiKON | was somebody else i guess | 18:43 |
* philiKON could use svn blame, but not now | 18:43 | |
* philiKON is in bugfixing mode | 18:43 | |
philiKON | not checkin police mode ;) | 18:44 |
projekt01 | let me know if I'm guilty ;-) | 18:45 |
philiKON | don't worry | 18:45 |
philiKON | i will ;) | 18:45 |
projekt01 | ;-) | 18:45 |
*** projekt01 is now known as _projekt01 | 18:48 | |
*** bradb has joined #zope3-dev | 18:50 | |
J1m | Crap, I'm finding lots of tests that only run in a certain order. :( | 18:51 |
J1m | well, some that only import in a certain order. :( | 18:52 |
srichter | shrug | 18:53 |
J1m | That's very very bad | 18:53 |
srichter | no kidding | 18:53 |
*** vlado has quit IRC | 18:54 | |
J1m | All sorts of weird stuff going on in import. | 18:54 |
J1m | Lots of tests depending on side effects. | 18:54 |
J1m | I guess I need to add an option to the test runner to run tests in a random order. | 18:55 |
sidnei | sounds like fun :) | 18:55 |
sidnei | maybe run tests backwards | 18:55 |
srichter | ok, I'll be back later | 18:55 |
tiredbones | if I enter the path http://localhost:8080 in my browser, it starts. If I enter http://localhost:8080/hello I get an error in expressions.py at line 117 with a KeyError: 'content". I'm using benji's Quick Start Guide. | 18:56 |
*** j-w has quit IRC | 18:56 | |
tiredbones | Can someone explain? | 18:56 |
benji | tiredbones, could you have typoed content instead of context? | 18:57 |
tiredbones | I hope not, I'll really feel bad. | 18:57 |
benji | :) | 18:58 |
benji | tiredbones, can you pastebin the template you're using for the HelloWorld object as well as the hello.py file? | 18:59 |
*** MrTopf has quit IRC | 19:01 | |
* benji is away: I'm busy | 19:09 | |
*** edgordon is now known as ed_lunch | 19:17 | |
*** JoaoJoao has joined #zope3-dev | 19:17 | |
JoaoJoao | hello | 19:17 |
*** JoaoJoao has quit IRC | 19:21 | |
*** JoaoJoao has joined #zope3-dev | 19:22 | |
JoaoJoao | Ops | 19:22 |
JoaoJoao | In Z3, how do I access an object given its URL (e.g. '/myobj/mycontainedobj')? | 19:24 |
philiKON | zapi.traverse('..') | 19:24 |
philiKON | where '..' is some relative path | 19:24 |
JoaoJoao | thanks | 19:24 |
philiKON | that's not necessarily equal to url traversal, though | 19:25 |
philiKON | zope 3 differentiates between url traversal and object graph traversal | 19:25 |
*** SteveA has quit IRC | 19:27 | |
*** SteveA has joined #zope3-dev | 19:27 | |
JoaoJoao | philiKON: I'm trying to figure out how to use IPrincipalRoleManager inside an IPrincipalCreated event to give users from a principal source a special role | 19:29 |
philiKON | well, i guess you will want to give them a role on the site object | 19:30 |
philiKON | not just inside the site manager somewhere | 19:30 |
JoaoJoao | so, to obtain the site manager object, I use traverse('/')? Or am I on drugs? :) | 19:33 |
philiKON | JoaoJoao, zapi.getSiteManager(persistent_principal) should work | 19:34 |
philiKON | that gets you the site manager | 19:34 |
philiKON | it's parent would be the site | 19:34 |
JoaoJoao | I guess that'll do it, I'm used to Z2,Z3 is a bit different (better) | 19:35 |
J1m | p4 test.py -f | 19:39 |
J1m | Configuration file found. | 19:39 |
J1m | Running FUNCTIONAL tests from /home/jim/z3/33 | 19:39 |
J1m | Parsing ftesting.zcml | 19:39 |
J1m | /home/jim/z3/33/src/twisted/conch/ssh/common.py:20: RuntimeWarning: PyCrypto not installed, but continuing anyways! | 19:39 |
J1m | RuntimeWarning) | 19:39 |
J1m | That's very annoying | 19:39 |
J1m | srichter, ? | 19:40 |
*** ed_lunch is now known as edgordon | 19:42 | |
*** edgordon is now known as edherenow | 19:42 | |
* benji is back (gone 00:36:53) | 19:46 | |
JoaoJoao | Site Manager has no parent | 19:51 |
JoaoJoao | isn't there a zapi.getTheRootOfThemAll | 19:52 |
*** edherenow is now known as edgordon | 19:53 | |
philiKON | there's zapi.getRoot() | 19:54 |
JoaoJoao | aaah | 19:54 |
tiredbones | benji,Sorry I did get right back to you, had pickup my son from school.I'll be glade to do the request. I want to see if I done something wrong first. | 20:01 |
benji | sure, tiredbones, no problem | 20:02 |
JoaoJoao | philiKON: Now it works, thanks a lot | 20:02 |
philiKON | de nada | 20:02 |
*** dlk has joined #zope3-dev | 20:11 | |
*** philiKON has quit IRC | 20:12 | |
*** newpers_ has joined #zope3-dev | 20:12 | |
tiredbones | benji, I could not find anywhere in the code where context is used. Now, where would you like me to paste the template and the hello.py. I haven't done all the guide, I'm only on page 7. | 20:36 |
srichter | J1m: I dunno how to get rid of the warning | 20:38 |
*** bradb has quit IRC | 20:39 | |
benji | tiredbones, pastebin.com will work | 20:40 |
J1m | we could rip out twisted. :) | 20:40 |
srichter | of course | 20:42 |
srichter | just install pycrypto and be happy ;-) | 20:42 |
*** deo has joined #zope3-dev | 20:45 | |
tiredbones | benji, pastebin.com/412435 | 20:47 |
*** SteveA has quit IRC | 20:48 | |
benji | tiredbones, the line <html metal:use-macro="content should end with context | 20:48 |
*** natea has joined #zope3-dev | 20:48 | |
tiredbones | tiredbones, turns red :( | 20:50 |
srichter | benji: can we add non-conventional things to buildbot? | 20:53 |
srichter | I would like to have buildbot make release tar balls every night and run the tests | 20:53 |
J1m | srichter, That's a great idea. | 20:54 |
srichter | I would also like static-apidoc to run once every day | 20:54 |
srichter | J1m: so I guess it is possible :-) | 20:55 |
srichter | I know that Brian (jinty) does this for SchoolTool every night | 20:55 |
jinty | srichter: it brought up a Z3 bug that I am not too sure how to solve | 20:57 |
srichter | what is it? | 20:58 |
jinty | zope.app.testing depends on zope.app.authentication | 20:58 |
jinty | but I am not sure whether to add zope.app.authentication to the dependencies of zope.app.testing | 20:59 |
jinty | or the zope.app collection | 20:59 |
jinty | or both | 20:59 |
srichter | just do both to be safe :-) | 20:59 |
jinty | guess I should add all the other dependencies of zope.app.testing while i'm about it | 21:00 |
srichter | yes, that would be great | 21:00 |
jinty | ;) | 21:01 |
benji | srichter, yep building the static apidoc with buildbot would be ok, it would be even better if there are some tests we can run on the result | 21:02 |
benji | building nightly release tar balls doesn't seem to fit though, that seems more like a job for cron | 21:02 |
srichter | Unfortunately there are currently 22 failures left in the apidoc generation, so we cannot test for purely positive output | 21:04 |
srichter | we could, however, (a) send the result always to the list and/or (b) check that there are not more failures than expected | 21:04 |
benji | srichter, if we did it now, I'd just not email failure reports until there are no expected failures | 21:05 |
srichter | benji: I think the nightly TAR ball is really important, since it (a) checks the building process and (b) runs the tests in a different setup | 21:05 |
srichter | benji: that would be fine too | 21:05 |
benji | srichter, for building the tar, I'd use cron, if you also want to run tests, then that would be a good job for buildbot | 21:06 |
benji | so I'm +1 on buildbot building and then testing nightly release tarballs | 21:06 |
srichter | yeah, I want to run all the steps that are in releases/Zope-test.py | 21:06 |
*** dlk has quit IRC | 21:07 | |
*** anguenot has quit IRC | 21:12 | |
*** tav has joined #zope3-dev | 21:13 | |
*** jukart has joined #zope3-dev | 21:14 | |
srichter | J1m: the progress bar does not behave correctly anymore | 21:15 |
srichter | it does not calculate the width of the terminal to fit the test in | 21:16 |
tiredbones | What does buildbot stand for? | 21:16 |
srichter | nothing; it allows us to distribute testing | 21:17 |
srichter | see buildbot.zope.org | 21:17 |
*** ignas has quit IRC | 21:21 | |
*** MJ has joined #zope3-dev | 21:35 | |
J1m | srichter, huh? | 21:37 |
*** natea has quit IRC | 21:41 | |
*** jukart has left #zope3-dev | 21:45 | |
*** SteveA has joined #zope3-dev | 21:49 | |
*** natea has joined #zope3-dev | 21:58 | |
efge | I haven't had time to do http://www.zope.org/Collectors/Zope3-dev/478 I'll try to do it tomorrow if nobody kills me because it's feature frozen | 22:01 |
*** _projekt01 has quit IRC | 22:01 | |
efge | bye | 22:01 |
*** _projekt01 has joined #zope3-dev | 22:02 | |
*** efge has quit IRC | 22:10 | |
*** natea has quit IRC | 22:15 | |
*** deo has quit IRC | 22:18 | |
*** MacYET has quit IRC | 22:19 | |
*** efge has joined #zope3-dev | 22:26 | |
*** _projekt01 is now known as projekt01 | 22:31 | |
*** ignas has joined #zope3-dev | 22:46 | |
*** ignas has quit IRC | 22:47 | |
*** ignas has joined #zope3-dev | 22:47 | |
*** projekt01 has quit IRC | 22:57 | |
*** tav has quit IRC | 23:07 | |
srichter | J1m: when I specify -vp to the test runner now, it does not show the current test | 23:07 |
srichter | if I say -vvp it does show the tests | 23:08 |
srichter | but does not confine the length of the string to the width of my terminal | 23:08 |
srichter | Marius had added some cool code to handle this and it was very useful | 23:08 |
J1m | srichter, right, -vp doesn't show the current test. Given that a single -v normally doesn't print tests, I wouldn't expect -vp to. | 23:15 |
J1m | Are you suggesting that -p be like a virtual -v? | 23:15 |
srichter | no, I am sugesting that -vvp should be fixed :-) | 23:16 |
J1m | srichter, I fon't like the idea of truncating test listings. | 23:16 |
J1m | don't | 23:16 |
srichter | and confine the length of a single progress line to the width of my terminal window | 23:16 |
srichter | I really did like it | 23:16 |
J1m | I really didn't. | 23:16 |
srichter | because I got one line of output for all tests | 23:16 |
srichter | now I get thousands | 23:16 |
srichter | I really want this back one way or another | 23:17 |
J1m | I don't understand what you are saying. | 23:17 |
J1m | When I use -p, I only get one line. | 23:17 |
J1m | That line might be wide. | 23:17 |
srichter | -p only gives me progress, not the name of the test behind it | 23:18 |
J1m | -pvv gives me one line | 23:18 |
srichter | not for me | 23:18 |
J1m | assuming that my screen is sufficiently wide. | 23:18 |
srichter | right, but what if it is not? | 23:19 |
J1m | why don't you make your terminal wider. | 23:19 |
srichter | because I don't need to | 23:19 |
J1m | what is the point of showing the tests if you can't see what they are> | 23:19 |
J1m | ? | 23:19 |
srichter | because the end is usually plenty info for me | 23:19 |
srichter | right now all those ftests show the entire path, which is all useless info | 23:20 |
J1m | not to me | 23:20 |
srichter | for me it is | 23:20 |
J1m | I'll look at it. | 23:21 |
srichter | there is always /opt/zope/Zope3/Zope3-Trunk/src/zope... | 23:21 |
J1m | I don't use -p anyway. :) | 23:21 |
srichter | ok, good :-) | 23:21 |
srichter | because use it all the time | 23:21 |
srichter | because I use it all the time | 23:21 |
srichter | J1m: btw, I am about to check in fixes that give us a fully functional release tar ball | 23:24 |
J1m | cool | 23:25 |
srichter | it's in for anyone to try | 23:26 |
J1m | I'm willing to truncate the lines at 80 characters. | 23:28 |
srichter | that's fine | 23:28 |
J1m | I'm also willing to provide a command-line argument to change the max | 23:28 |
srichter | as long as it is truncated at the beginning of the name | 23:29 |
J1m | I don't want to rely on curses though. | 23:29 |
srichter | that's fine | 23:29 |
J1m | I'm afraid that that will make the runner untestable. | 23:29 |
srichter | right | 23:29 |
J1m | I would want it to truncate in the middle. | 23:29 |
srichter | 80 is fine for me :-) | 23:30 |
srichter | is that a joke? | 23:30 |
J1m | Because you want the test name. | 23:31 |
J1m | The test file name should be truncated. | 23:31 |
srichter | oh, I see what you are saying | 23:31 |
srichter | for functional test text files you would want the beginning though | 23:31 |
* benji notes that terminals are sometimes < 80 characters wide | 23:31 | |
srichter | benji: then you have an option to change it | 23:32 |
benji | this sounds really annoying, but I don't have the energy to argue | 23:33 |
benji | :| | 23:33 |
srichter | well, Jim does not want to use curses | 23:33 |
*** zbir has quit IRC | 23:33 | |
srichter | so there is no choice | 23:33 |
*** efge has quit IRC | 23:39 | |
*** zbir has joined #zope3-dev | 23:40 | |
benji | oh, srichter argueing with J1m is *always* a good choice :) | 23:43 |
srichter | :-) | 23:44 |
*** J1m has quit IRC | 23:48 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!