Re[2]: [Zope3-dev] problem with zope.testbrowser
Hello Benji, Had some time to merge it to the trunk. I would say it's time now to kill/remove/delete the ClientForm and mechanize stored on the trunk. Any objections? Thursday, August 9, 2007, 2:20:27 PM, you wrote: > Adam Groszer wrote: >> Hello Fred, >> >> I'll say silence is consent. >> I'll need some time to merge. Might be I should write a test before. > I'll try to take a look at the branch in the next couple of days and > give you some feedback. -- Best regards, Adammailto:[EMAIL PROTECTED] ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] problem with zope.testbrowser
Adam Groszer wrote: Hello Fred, I'll say silence is consent. I'll need some time to merge. Might be I should write a test before. I'll try to take a look at the branch in the next couple of days and give you some feedback. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re[4]: [Zope3-dev] problem with zope.testbrowser
Hello Fred, I'll say silence is consent. I'll need some time to merge. Might be I should write a test before. Wednesday, August 8, 2007, 5:48:11 AM, you wrote: > On 7/21/07, Adam Groszer <[EMAIL PROTECTED]> wrote: >> Seems like it's ready. Apidoc had to be modified too. >> The egg seems to be built OK. Installs OK with dependecies. >> Tests on the trunk pass when the satellite's branches are linked in as >> externals. >> As I'm not yet a pro regarding eggs, please have a look. > Has anyone had a chance to act on this? What's needed to make Adam's > branch become trunk and released? > -Fred -- Best regards, Adammailto:[EMAIL PROTECTED] ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: Re[2]: [Zope3-dev] problem with zope.testbrowser
On 7/21/07, Adam Groszer <[EMAIL PROTECTED]> wrote: > Seems like it's ready. Apidoc had to be modified too. > The egg seems to be built OK. Installs OK with dependecies. > Tests on the trunk pass when the satellite's branches are linked in as > externals. > As I'm not yet a pro regarding eggs, please have a look. Has anyone had a chance to act on this? What's needed to make Adam's branch become trunk and released? -Fred -- Fred L. Drake, Jr. "Chaos is the score upon which reality is written." --Henry Miller ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re[2]: [Zope3-dev] problem with zope.testbrowser
Hi, Seems like it's ready. Apidoc had to be modified too. The egg seems to be built OK. Installs OK with dependecies. Tests on the trunk pass when the satellite's branches are linked in as externals. As I'm not yet a pro regarding eggs, please have a look. -- Best regards, Adammailto:[EMAIL PROTECTED] ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] problem with zope.testbrowser
On 7/19/07, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote: Well Adam seems to want to work on this. It's what I suggested he should do. Three cheers for Adam! -Fred -- Fred L. Drake, Jr. "Chaos is the score upon which reality is written." --Henry Miller ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] problem with zope.testbrowser
On 19 Jul 2007, at 19:10 , Fred Drake wrote: On 7/19/07, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote: Adam's email was a bit misleading, I think. Yes, the externals point to a trunk, but it's the Zope 3 trunk and they're also using fixed revisions: I got the Zope 3 trunk aspect, but didn't check the externals to see that they used specific revisions. This is certainly better. Adding an external egg to the install_requires would be even better, if anyone has time to work on this. Well Adam seems to want to work on this. It's what I suggested he should do. ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re[2]: [Zope3-dev] problem with zope.testbrowser
Hello Benji, Did something at /repos/Zope3/branches/adamg-mechanize-update/, the biggest problems seems to be now, that ClientForm won't work in a subfolder. Any objections against putting it back to /src? Wednesday, July 11, 2007, 7:32:06 PM, you wrote: > Adam Groszer wrote: >> The problem is deep in mechanize. >> Updating mechanize+Clientform to the current versions (locally) >> helped. Some patching in testbrowser is necessary. > Cool! Glad you're looking into this. >> Any advices for/against doing that on the trunk? > I would prefer a branch, that way we can collaborate on it before > merging it to the trunk. -- Best regards, Adammailto:[EMAIL PROTECTED] ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] problem with zope.testbrowser
Adam Groszer wrote: The problem is deep in mechanize. Updating mechanize+Clientform to the current versions (locally) helped. Some patching in testbrowser is necessary. Cool! Glad you're looking into this. Any advices for/against doing that on the trunk? I would prefer a branch, that way we can collaborate on it before merging it to the trunk. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re[2]: [Zope3-dev] problem with zope.testbrowser
Hi Benji, The problem is deep in mechanize. Updating mechanize+Clientform to the current versions (locally) helped. Some patching in testbrowser is necessary. Any advices for/against doing that on the trunk? Wednesday, July 11, 2007, 2:50:49 PM, you wrote: > Adam Groszer wrote: >> (http://localhost:8080/ap_test/@@/dkr-help/index.html#Documents) >> That works fine using a browser, but fails with the testbrowser: >> >> File >> "U:\zope\svn_zope33\src\zope\app\publisher\browser\directoryresource.py", >> line 68, in >> publishTraverse >> return self.get(name) >> File >> "U:\zope\svn_zope33\src\zope\app\publisher\browser\directoryresource.py", >> line 88, in get >> raise NotFound(None, name) >> NotFound: Object: None, name: u'index.html#Documents' >> >> Apparently the anchor is to blame. >> Anybody noticed that already? > Testbrowser should remove the fragment identifier before sending the > request on to the publisher. That's how "real" browsers behave. > Patches accepted . -- Best regards, Adammailto:[EMAIL PROTECTED] ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] problem with zope.testbrowser
Adam Groszer wrote: (http://localhost:8080/ap_test/@@/dkr-help/index.html#Documents) That works fine using a browser, but fails with the testbrowser: File "U:\zope\svn_zope33\src\zope\app\publisher\browser\directoryresource.py", line 68, in publishTraverse return self.get(name) File "U:\zope\svn_zope33\src\zope\app\publisher\browser\directoryresource.py", line 88, in get raise NotFound(None, name) NotFound: Object: None, name: u'index.html#Documents' Apparently the anchor is to blame. Anybody noticed that already? Testbrowser should remove the fragment identifier before sending the request on to the publisher. That's how "real" browsers behave. Patches accepted . -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] problem with zope.testbrowser
Hello, Have a resourceDirectory here, that contains a bunch of files for the app's help. The app determines which html to open including an anchor and does a HTML redirect. (http://localhost:8080/ap_test/@@/dkr-help/index.html#Documents) That works fine using a browser, but fails with the testbrowser: File "U:\zope\svn_zope33\src\zope\app\publisher\browser\directoryresource.py", line 68, in publishTraverse return self.get(name) File "U:\zope\svn_zope33\src\zope\app\publisher\browser\directoryresource.py", line 88, in get raise NotFound(None, name) NotFound: Object: None, name: u'index.html#Documents' Apparently the anchor is to blame. Anybody noticed that already? -- Best regards, Adam mailto:[EMAIL PROTECTED] ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com