[XML-SIG] [ pyxml-Bugs-767130 ] Invalid charset breaks installation with Python 2.3(beta)

SourceForge.net noreply at sourceforge.net
Mon Jul 7 07:28:31 EDT 2003


Bugs item #767130, was opened at 2003-07-07 13:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=767130&group_id=6473

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thorstein Thorsteinsson (thorstein)
Assigned to: Nobody/Anonymous (nobody)
Summary: Invalid charset breaks installation with Python 2.3(beta)

Initial Comment:
The file
./site-packages/_xmlplus/dom/en_US/LC_MESSAGES/4Suite.mo
contains the setting "charset=CHARSET". This looks
suspicious, and also leads to the following test
failures (test/regrtest.py):
test test_c14n crashed -- exceptions.LookupError :
unknown encoding: CHARSET
test test_dom crashed -- exceptions.NameError : global
name 'DOMExceptionStrings' is not defined
test test_minidom failed -- Writing: 'Test Failed: ',
expected: ''
...
16 tests OK.
3 tests failed: test_c14n test_dom test_minidom

Replacing "CHARSET" by "iso-8859-1" in the above line
resurrects the failing tests.

As explained in the title, I'm using the very latest
Python release:
> python
Python 2.3b2 (#1, Jul  7 2003, 11:49:45)
[GCC 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>

With the latest version of PyXML (-0.8.2), (a vanilla
"python setup.py build install" installation).

Thorstein

PS. I have not tested the other localizations, but the
German localization file seems to have the correct
charset setting, while the French one omits such a
specification.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=767130&group_id=6473



More information about the XML-SIG mailing list