road runner

4 Messages Forum Options Options
Embed this topic
Permalink
Robert Gravina
road runner
Reply Threaded More
Print post
Permalink
Has anyone tried using road runner with plone 3.1.4 to speed up their  
tests?
http://pypi.python.org/pypi/roadrunner

I'm finding that my doctests die when they try and create the  
Products.Five.testbrowser.Browser test browser class:

File "<path>/README.txt", line 14, in README.txt
Failed example:
     browser = Browser()
Exception raised:
     Traceback (most recent call last):
       File "/Users/deskimo17/plone/lhmu/parts/zope2/lib/python/zope/
testing/doctest.py", line 1348, in __run
         compileflags, 1) in test.globs
       File "<doctest README.txt[1]>", line 1, in ?
         browser = Browser()
       File "/Users/deskimo17/plone/lhmu/parts/zope2/lib/python/
Products/Five/testbrowser.py", line 93, in __init__
         mech_browser = PublisherMechanizeBrowser()
       File "/Users/deskimo17/plone/lhmu/parts/zope2/lib/python/
Products/Five/testbrowser.py", line 84, in __init__
         self.handler_classes[name] =  
mechanize.Browser.handler_classes[name]
     KeyError: '_seek'

Anyone seen this before?

Robert

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Robert Gravina
Re: road runner
Reply Threaded More
Print post
Permalink

On 19/08/2008, at 3:01 PM, Robert Gravina wrote:

> Has anyone tried using road runner with plone 3.1.4 to speed up their
> tests?
> http://pypi.python.org/pypi/roadrunner

I had a quick chat with Joel Burton on #plone the other day, and I  
tried out a known good egg which works for him on roadrunner but  
failed for me when creating the test browser, which basically rules  
out my code as the problem.

Does this error then suggest that roadrunner doesn't work with the  
version of Five I am running? Zope?

Cheers,

Robert

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Israel Saeta Pérez
Re: road runner
Reply Threaded More
Print post
Permalink
Doesn't roadrunner have its own automated tests? If so, you could run
them to check everything's ok with the package and your Five's
version.


On Mon, Aug 25, 2008 at 6:43 AM, Robert Gravina <robert@...> wrote:

>
> On 19/08/2008, at 3:01 PM, Robert Gravina wrote:
>
>> Has anyone tried using road runner with plone 3.1.4 to speed up their
>> tests?
>> http://pypi.python.org/pypi/roadrunner
>
> I had a quick chat with Joel Burton on #plone the other day, and I
> tried out a known good egg which works for him on roadrunner but
> failed for me when creating the test browser, which basically rules
> out my code as the problem.
>
> Does this error then suggest that roadrunner doesn't work with the
> version of Five I am running? Zope?
>
> Cheers,
>
> Robert
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Plone-Users mailing list
> Plone-Users@...
> https://lists.sourceforge.net/lists/listinfo/plone-users
>



--
Israel Saeta Pérez
http://dukebody.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users
Israel Saeta Pérez
j23d
Re: road runner
Reply Threaded More
Print post
Permalink
In reply to this post by Robert Gravina
Robert Gravina schrieb:

> Has anyone tried using road runner with plone 3.1.4 to speed up their  
> tests?
> http://pypi.python.org/pypi/roadrunner
>
> I'm finding that my doctests die when they try and create the  
> Products.Five.testbrowser.Browser test browser class:
>
> File "<path>/README.txt", line 14, in README.txt
> Failed example:
>      browser = Browser()
> Exception raised:
>      Traceback (most recent call last):
>        File "/Users/deskimo17/plone/lhmu/parts/zope2/lib/python/zope/
> testing/doctest.py", line 1348, in __run
>          compileflags, 1) in test.globs
>        File "<doctest README.txt[1]>", line 1, in ?
>          browser = Browser()
>        File "/Users/deskimo17/plone/lhmu/parts/zope2/lib/python/
> Products/Five/testbrowser.py", line 93, in __init__
>          mech_browser = PublisherMechanizeBrowser()
>        File "/Users/deskimo17/plone/lhmu/parts/zope2/lib/python/
> Products/Five/testbrowser.py", line 84, in __init__
>          self.handler_classes[name] =  
> mechanize.Browser.handler_classes[name]
>      KeyError: '_seek'
>
> Anyone seen this before?
>  
I stumbled over this on my ubuntu hardy. the actual problem is the version
of mechanize. have a look to this post:
http://zebert.blogspot.com/2008/06/five-156-testbrowser-and-recent-version.html 


unfortunately my buildout wont get the right version, so I had to change
it in the
site-packages on my system itself.

hth, marco

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plone-Users mailing list
Plone-Users@...
https://lists.sourceforge.net/lists/listinfo/plone-users