RE: Problem with newer docutils and the reST integration into PyDS

"Garth T Kidd" <garth-OnzZ1s1DREKDegMON/[email protected]> Tue, 6 Jul 2004 18:28:21 +1000
Newsgroups gmane.comp.pythin.pyds.devel
Organization Deadly Bloody Serious
Message-ID <[email protected]>
Exception exceptions.KeyError: '__hash__'
File             Line  Function         Source
Tool.py          915   process_request  s = tool.index_html(req)
MeshTool.py      855   index_html       toolHasSig[tool] = False
NuggetsTool.py   263   __getattr__      else: raise KeyError(name)

I think you should be raising AttributeError, not KeyError. 

-----Original Message-----
From: pyds-dev-admin-iYtK5bfT9M//Ad8WF/[email protected]
[mailto:pyds-dev-admin-iYtK5bfT9M//Ad8WF/[email protected]] On Behalf Of Georg Bauer
Sent: Tuesday, 6 July 2004 3:30 AM
To: Georg Bauer
Cc: List PyDS
Subject: Re: [Pyds-dev] Problem with newer docutils and the reST integration
into PyDS

Hi!

The cool thing about feedster: it turns up with usefull stuff in my RSS
reader. So I found a posting that seems to solve the problem:

http://www.pycs.net/users/0000348/weblog/2004/07/05.html#P373

bye, Georg

> Hi!
>
> Maybe something for Garth: there seems to be an incompatibility with 
> newer versions of docutils and PyDS. I didn't look into that problem, 
> yet.
>
> bye, Georg
>
>> Von: Christian Kurusa <kurusa-/[email protected]>
>> Datum: Mo, 5. Jul 2004  18:15:19 Europe/Berlin
>> An: Georg Bauer <gb-BRhJDZTO+/[email protected]>
>> Betreff: Fehler be PyDS
>>
>> Du wolltest doch die Meldungen haben:
>>
>> in PyDS:
>>
>> Fehler exceptions.SystemExit: 1
>> /home/gb/deb-src-dev/pyds-0.7.3/debian/tmp/usr/lib/python2.2/site-
>> packa
>> ges/PyDS/Tool.py	705	renderTextWithTraceback None
>>
>> /home/gb/deb-src-dev/pyds-0.7.3/debian/tmp/usr/lib/python2.2/site-p
>> ackages/PyDS/Tool.py	745	renderText None
>>
>> /home/gb/deb-src-dev/pyds-0.7.3/debian/tmp/usr/lib/python2.2/site-p
>> ackages/PyDS/StructuredText.py	203	renderText None
>>
>> /usr/lib/site-python/docutils/core.py	379	publish_string
return
>> pub.publish(enable_exit=enable_exit)/usr/lib/site-python/docutils/
>> core.
>> py	222	publish	sys.exit(1)
>>
>>
>>
>> in .PyDS/log/error.log
>>
>> HTMLFragmentWriter instance has no attribute 'visitor'
>> Exiting due to error.  Use "--traceback" to diagnose.
>> Please report errors to <docutils-users-TtF/[email protected]>.
>> Include "--traceback" output, Docutils version (0.3.3), Python 
>> version (2.2.3+), your OS type & version, and the command line used.
>> HTMLFragmentWriter instance has no attribute 'visitor'
>> Exiting due to error.  Use "--traceback" to diagnose.
>> Please report errors to <docutils-users-TtF/[email protected]>.
>> Include "--traceback" output, Docutils version (0.3.3), Python 
>> version (2.2.3+), your OS type & version, and the command line used.
>>
>
>
> _______________________________________________
> Pyds-dev mailing list
> Pyds-dev-iYtK5bfT9M//Ad8WF/[email protected]
> http://www.westfalen.de/cgi-bin/mailman/listinfo/pyds-dev
>


_______________________________________________
Pyds-dev mailing list
Pyds-dev-iYtK5bfT9M//Ad8WF/[email protected]
http://www.westfalen.de/cgi-bin/mailman/listinfo/pyds-dev