[Twisted-Python] XML Parsing Error in tutorial.xhtml
After a fresh install of twisted 1.1.1 and clicking on the manual entry and next on the * Tutorial: Twisted From Scratch link in the Twisted Documentation file I get the following error in mozilla: ### XML Parsing Error: duplicate attribute Location: file:///D:/Python23/Lib/site-packages/TwistedDocs/howto/tutorial.xhtml Line Number 506, Column 60:<a class="py-listing" href="listings/finger/finger/tap.py" class="py-listing">finger/tap.py</a> -----------------------------------------------------------^ ### possible fix: Change line 506 to 510 into: ### <a href="listings/finger/finger/tap.py" class="py-listing">finger/tap.py</a> <p>And register it all:</p> <a href="listings/finger/finger/plugins.tml" class="py-listing">finger/plugins.tml</a> ### Anton
On Sat, Dec 27, 2003 at 07:40:10PM +0100, Anton Vredegoor wrote:
After a fresh install of twisted 1.1.1 and clicking on the manual entry and next on the
* Tutorial: Twisted From Scratch
link in the Twisted Documentation file I get the following error in mozilla:
###
XML Parsing Error: duplicate attribute Location: file:///D:/Python23/Lib/site-packages/TwistedDocs/howto/tutorial.xhtml Line Number 506, Column 60:<a class="py-listing" href="listings/finger/finger/tap.py" class="py-listing">finger/tap.py</a>
According to CVS, the version in 1.1.1 shouldn't have this bug (but 1.1.0 would). Is it possible you have an older version of the docs installed? Also, you probably want to read the processed .html, not .xhtml source used to generate it (before 1.1.0 or so it was the other way around...) -Andrew.
Andrew Bennetts <andrew-twisted@puzzling.org> wrote:
According to CVS, the version in 1.1.1 shouldn't have this bug (but 1.1.0 would). Is it possible you have an older version of the docs installed?
Yes. I installed 1.1.1 on three machines. One Windows 2000 machine had a flawless install. Two Windows 98SE machines did not unpack the documentation. Since one of the latter did have an older version of the docs installed, there was an error as I described. The other Windows 98SE machine just couldn't find the file at all, since the docs weren't unpacked. Unpacking the docs "by hand" solved both problems. By the way, the tutorial uses a finger server as its example but the Windows 98SE machines don't have a finger client, not even if using Cygwin. I knew about learning curves, but nobody informed me about the rocks along the slope :-) Anton
On Tue, Dec 30, 2003 at 03:52:17PM +0100, Anton Vredegoor wrote:
By the way, the tutorial uses a finger server as its example but the Windows 98SE machines don't have a finger client, not even if using Cygwin. I knew about learning curves, but nobody informed me about the rocks along the slope :-)
That's a good point... we should probably mention in the tute somewhere that you can use telnet as a poor mans finger client, for people on operating systems that aren't blessed with finger(1). Win98SE does have a telnet client, I hope? -Andrew.
participants (2)
-
a.vredegoor@hccnet.nl
-
Andrew Bennetts