[Zope] Links inside of StructuredText

Stephen Pitts smpitts@midsouth.rr.com
Tue, 21 Dec 1999 16:12:09 -0600


I'm having trouble getting Links in StructuredText to work. All of the
regressions generate <A HREF=*> tags fine, but I can't get them to work
in my own site:

DTML Method stxtester:
<dtml-var stxtest fmt="structuredtext">

DTML Method stxtest:
Hi, I really love "Zope":http://www.zope.org. It is the coolest thing to
hit the market.

When I access stxtest from the web:
Error Type: TypeError
Error Value: not all arguments converted

Traceback:
Traceback (innermost last):
Traceback (innermost last):
  File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
  File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/Publish.py,
line 179, in publish
  File /home/smpitts/Zope-2.1.1-src/lib/python/Zope/__init__.py, line
202, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/Publish.py,
line 165, in publish
  File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: stxtester)
  File /home/smpitts/Zope-2.1.1-src/lib/python/ZPublisher/Publish.py,
line 102, in call_object
    (Object: stxtester)
  File /home/smpitts/Zope-2.1.1-src/lib/python/OFS/DTMLMethod.py, line
145, in __call__
    (Object: stxtester)
  File
/home/smpitts/Zope-2.1.1-src/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
    (Object: stxtester)
  File
/home/smpitts/Zope-2.1.1-src/lib/python/DocumentTemplate/DT_Var.py, line
313, in render
    (Object: stxtest)
    (Info: ('stxtest', 'Hi, I really love "Zope":http://www.zope.org. It
is the coolest thing to hit the market.\012\012_Regular_ --
"http://www.zope.org/":http://www.zope.org\012', {'fmt':
'structuredtext', '': 'stxtest'}))
TypeError: (see above)

Anyone have any ideas? I'm running Zope 2.1.1.
-- 
Stephen Pitts
smpitts@midsouth.rr.com
webmaster - http://www.mschess.org