[Zope] RestructuredText Backport 1.04 optparse Difficulties

Steve McMahon steve at dcn.org
Sat Dec 13 19:02:49 EST 2003


Andreas Jung wrote:
> I am aware of the problem and there might a chance for a new release as 
> soon as I have time.
> Otherwise stay with 1.02.

Thanks for the great work on this. The backport has been tremendously 
useful.

By the way, on my test machine, it did work to do a python install of 
the current optik, then just delete optparse.py from the 1.4 backport. 
I'll wait for your next release, though, to update the production servers.

> 
> --On Samstag, 13. Dezember 2003 10:27 Uhr -0800 Steve McMahon 
> <steve at dcn.org> wrote:
> 
>> I've had some difficulties with the RestructuredText backport for Zope
>> 2.6x v1.04 under Zope 2.6.2, Python 2.1.3.
>>
>> First, it installs at lib/python a copy of optparse.py that tries to
>> import optik. optik.py, though, is in the docutils subdirectory, and
>> invisible. Moving optparse.py to docutils solves that problem.
>>
>> Then, trying to render a structured text page produces the error
>> "AttributeError: 'docutils.optparse' module has no attribute
>> 'TitledHelpFormatter'". Indeed, the version of optik.py included with the
>> backport lacks TitledHelpFormatter.
>>
>> Can I just go find another version of optik.py that has the function? Or,
>> will that fail under python 2.1.3?
>>
>> By the way, the files in the backport tar are readable only by owner.
>> Naively following the instructions "To install the package you need to
>> unpack the archive in the top-level folder of your Zope installation,"
>> will result in a dead Zope. Either the tar or instructions need fixing.
>>
>> Thanks!
>>
>>
>>
>> _______________________________________________
>> Zope maillist  -  Zope at zope.org
>> http://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
>>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 
> 
> 
> 
> 

-- 
______________________________________________________

Steve McMahon
Reid-McMahon, LLC
steve at reidmcmahon.com
steve at dcn.org




More information about the Zope mailing list