Public bug reported: (on Ubuntu 10.04 LTS, ironpython 2.6~beta2-2)
Almost anything I try to do in IronPython gives this error. e.g. $ ipy IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET 2.0.50727.1433 Type "help", "copyright", "credits" or "license" for more information. >>> import logging >>> logging.warn("Hello") Traceback (most recent call last): File "/usr/lib/python2.6/logging/__init__.py", line 777, in emit fs = fs.decode(stream.encoding) SystemError: An exception was thrown by the type initializer for CodecsInfo With debugging (MONO_LOG_LEVEL="debug"): >>> logging.warn("Hello") Mono-INFO: Assembly Loader probing location: '/usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll'. Mono-INFO: Image addref I18N 0x7f697c6a0e70 -> /usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll 0x7f697c6b9a40: 2 Mono-INFO: Assembly I18N 0x7f697c6a0e70 added to domain ipy.exe, ref_count=1 Mono-INFO: AOT failed to load AOT module /usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll.so: /usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll.so: cannot open shared object file: No such file or directory Mono-INFO: Assembly Loader loaded assembly from location: '/usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll'. Mono-INFO: Config attempting to parse: '/usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll.config'. Mono-INFO: Config attempting to parse: '/etc/mono/assemblies/I18N/I18N.config'. Mono-INFO: Config attempting to parse: '/home/talex/.mono/assemblies/I18N/I18N.config'. Mono-INFO: Assembly Ref addref I18N 0x7f697c6a0e70 -> mscorlib 0xd497d0: 15 Mono-INFO: Assembly Loader probing location: '/usr/lib/mono/gac/I18N.Rare/2.0.0.0__0738eb9f132ed756/I18N.Rare.dll'. Mono-INFO: Assembly Loader probing location: '/usr/lib/I18N.Rare.dll'. Mono-INFO: Assembly Loader probing location: '/usr/lib/mono/gac/I18N.Rare/2.0.0.0__0738eb9f132ed756/I18N.Rare.exe'. Mono-INFO: Assembly Loader probing location: '/usr/lib/I18N.Rare.exe'. Mono-INFO: Assembly Loader probing location: '/usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll'. Mono-INFO: AOT failed to load AOT module /usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll.so: /usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll.so: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/usr/lib/python2.6/logging/__init__.py", line 777, in emit fs = fs.decode(stream.encoding) SystemError: An exception was thrown by the type initializer for CodecsInfo Thanks, ** Affects: dlr-languages (Ubuntu) Importance: Undecided Status: New -- SystemError: An exception was thrown by the type initializer for CodecsInfo https://bugs.launchpad.net/bugs/598411 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs