[Zope] broken product

Tim Peters tim.peters at gmail.com
Sat Sep 3 11:18:15 EDT 2005


[garry saddington]
> I have been using the zope 2.7 supplied with Debian Sarge but I have
> noticed that the batching of ZSQL results using the ZSQL test tab is
> broken. I get a missing object 'query'. So I thought I would install the
> most recent stable Zope.

Which version is that?  You mean in the Zope 2.7 line, the Zope 2.8
line, or the Zope 3 line?

> This has now broken a product I use which is old and seemingly
> unsupported (spellchecker) but has worked well so far.
> The trace back is:
>
> Traceback (most recent call last):
>  File "/home/garry/zopehome/lib/python/OFS/Application.py", line 695, in import_product
>    product=__import__(pname, global_dict, global_dict, silly)
>  File "/var/zope/new/Products/Spellchecker/__init__.py", line 5, in ?
>    import speller
>  File "/var/zope/new/Products/Spellchecker/speller.py", line 6, in ?
>    from BoboPOS import Persistence
> ImportError: cannot import name Persistence

Don't know anything about Spellchecker, but I'd try changing

    from BoboPOS import Persistence

to

    import Persistence


More information about the Zope mailing list