Package: nunit
Version: 2.4.7+dfsg-3
Severity: grave
Justification: renders package unusable


The following XML config files have the incorrect encoding in the XML 
declaration:
/usr/lib/nunit/nunit-console.exe.config
/usr/lib/nunit/nunit.exe.config

The encoding is Windows-1252 but that triggers a major error with huge 
traceback on my system. I changed it to utf-8 and all was well.

Traceback as follows:

Unhandled Exception: System.Configuration.ConfigurationErrorsException: Error 
Initializing the configuration system. ---> System.ArgumentException:
Encoding name 'Windows-1252' not supported
Parameter name: name
 at System.Text.Encoding.GetEncoding (System.String name) [0x00000]
 at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000]
 at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000]
 at (wrapper remoting-invoke-with-check) System.Xml.XmlInputStream:.ctor 
(System.IO.Stream)
 at System.Xml.XmlStreamReader..ctor (System.IO.Stream input) [0x00000]
 at (wrapper remoting-invoke-with-check) System.Xml.XmlStreamReader:.ctor 
(System.IO.Stream)
 at System.Xml.XmlTextReader..ctor (System.IO.Stream input) [0x00000]
 at ConfigXmlTextReader..ctor (System.IO.Stream s, System.String fileName) 
[0x00000]
 at System.Configuration.Configuration.Load () [0x00000]
 at System.Configuration.Configuration.Init (IConfigSystem system, 
System.String configPath, System.Configuration.Configuration parent) [0x00000]
 at System.Configuration.Configuration..ctor 
(System.Configuration.InternalConfigurationSystem system, System.String 
locationSubPath) [0x00000]
 at System.Configuration.InternalConfigurationFactory.Create (System.Type 
typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000]
 at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal 
(ConfigurationUserLevel userLevel, System.Reflection.Assembly
calling_assembly, System.String exePath) [0x00000]
 at System.Configuration.ClientConfigurationSystem.get_Configuration () 
[0x00000]
 --- End of inner exception stack trace ---
 at System.Configuration.ClientConfigurationSystem.get_Configuration () 
[0x00000]
 at 
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
 (System.String configKey)
[0x00000]
 at System.Configuration.ConfigurationManager.GetSection (System.String 
sectionName) [0x00000]
 at System.Configuration.ConfigurationSettings.GetConfig (System.String 
sectionName) [0x00000]
 at System.Diagnostics.DiagnosticsConfiguration.get_Settings () [0x00000]
 at System.Diagnostics.Switch.GetConfigFileSetting () [0x00000]
 at System.Diagnostics.Switch.get_SwitchSetting () [0x00000]
 at System.Diagnostics.TraceSwitch.get_TraceInfo () [0x00000]
 at NUnit.Core.NTrace.Info (System.String message) [0x00000]
 at NUnit.ConsoleRunner.Runner.Main (System.String[] args) [0x00000]
 at NUnit.ConsoleRunner.Class1.Main (System.String[] args) [0x00000]


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nunit depends on:
ii  libnunit-doc                2.4.7+dfsg-3 Unit test framework for CLI
ii  libnunit2.4-cil             2.4.7+dfsg-3 Unit test framework for CLI
ii  nunit-console               2.4.7+dfsg-3 Unit test framework for CLI
ii  nunit-gui                   2.4.7+dfsg-3 Unit test framework for CLI

nunit recommends no packages.

nunit suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to