Bug#509731: zope3: zope.testbrowser fails

Marcos Dione mdione at grulic.org.ar
Thu Dec 25 13:42:06 UTC 2008


Package: zope3
Version: 3.3.1-7
Severity: normal


	even after fixing the python-pullparser dep, using Browser() fails:


In [1]: from zope.testbrowser.browser import Browser

In [2]: b= Browser ('http://google.com')
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (11, 0))

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/home/mdione/src/projects/cittadinanza/python/<ipython console>

/home/mdione/local/lib/python2.5/site-packages/zope/testbrowser/browser.pyc in __init__(self, url, mech_browser)
    148         self.mech_browser = mech_browser
    149         if url is not None:
--> 150             self.open(url)
    151         self.timer = PystoneTimer()
    152         self._enable_setattr_errors = True

/home/mdione/local/lib/python2.5/site-packages/zope/testbrowser/browser.pyc in open(self, url, data)
    206     def open(self, url, data=None):
    207         """See zope.testbrowser.interfaces.IBrowser"""
--> 208         self._start_timer()
    209         self.mech_browser.open(url, data)
    210         self._stop_timer()

/home/mdione/local/lib/python2.5/site-packages/zope/testbrowser/browser.pyc in _start_timer(self)
    212
    213     def _start_timer(self):
--> 214         self.timer.start()
    215
    216     def _stop_timer(self):

AttributeError: 'Browser' object has no attribute 'timer'


	this must be an upstream bug.


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zope3 depends on:
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip
ii  python-clientform             0.2.9-1    module for handling HTML forms on 
ii  python-docutils [python2.4-do 0.5-2      Utilities for the documentation of
ii  python-mechanize              0.1.7b-3   stateful programmatic web browsing
ii  python-twisted-conch          1:8.1.0-1  The Twisted SSH Implementation
ii  python-twisted-web2           8.1.0-1    An HTTP/1.1 Server Framework
ii  python-tz                     2008i-1    Python version of the Olson timezo
ii  python-zopeinterface          3.3.1-7    The implementation of interface de
ii  python2.4                     2.4.6-1    An interactive high-level object-o
ii  zope-common                   0.5.46     common settings and scripts for Zo

zope3 recommends no packages.

Versions of packages zope3 suggests:
pn  zope3-dbg                     <none>     (no description available)

-- no debconf information

-- 
(Not so) Random fortune:
10:49 < Zzzoom> en que quedo la reunion [de GrULiC] de ayer?
11:10 < perrito666> Zzzoom: el nuevo catolicismo no acepta a jesus
    porque tiene el pelo largo y ahora adoramos a un inodoro





More information about the pkg-zope-developers mailing list