** Description changed: openBVE does not run since I upgraded from Natty a few days ago. This is the terminal output ~$openbve System.NotSupportedException: CodePage 37 not supported - at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in <filename unknown>:0 - at System.Text.EncodingInfo.GetEncoding () [0x00000] in <filename unknown>:0 - at System.Text.EncodingInfo.get_Name () [0x00000] in <filename unknown>:0 - at System.Text.EncodingInfo.get_DisplayName () [0x00000] in <filename unknown>:0 - at OpenBve.formMain.formMain_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 - at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 - at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0 + at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in <filename unknown>:0 + at System.Text.EncodingInfo.GetEncoding () [0x00000] in <filename unknown>:0 + at System.Text.EncodingInfo.get_Name () [0x00000] in <filename unknown>:0 + at System.Text.EncodingInfo.get_DisplayName () [0x00000] in <filename unknown>:0 + at OpenBve.formMain.formMain_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 + at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 + at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0 + ===== + SRU information + + [Impact] + The bug always occurs on Ubuntu installations in case the libmono-i18n4.0-all package has not been installed and prevents OpenBVE from being run. Severity set to medium as the bug severly impacts a non-core application, but a workaround is present (see Test Case section). + Justification for backporting: fixing the missing dependency problem allows the users to install and run OpenBVE in a straightforward way without searching for workarounds on the Internet and installing the missing package manually. + + [Development Fix] section with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. + The openbve package has been modified by including the missing dependency (libmono-i18n4.0-all) in the Depends: section of the debian/control file. + Number of modified packages: 1 (openbve - original version: 1.2.10.0-0ubuntu2, new version: 1.2.10.0-0ubuntu3) + + [Stable Fix] + The fix is supplied as a debdiff against the original version of OpenBVE in comment #9: <https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/877776/+attachment/2578094/+files/openbve_1.2.10.0-0ubuntu3.debdiff> + + [Test Case] + 1) Start from a clean Ubuntu installation. Make sure that the libmono-i18n4.0-all package is not installed on the system. + 2) Install OpenBVE by opening a terminal and running: + sudo apt-get install openbve + 3) Try running OpenBVE from the terminal with the command: + openbve + The program should display the error message shown at the top of this description ("System.NotSupportedException: CodePage 37 not supported") in the terminal itself and the Mono interpreter ("cli" process) should start looping, eating a single CPU core. The main OpenBVE window should not be shown. + 4) Kill the "cli" process. + 5) Install the updated package. apt-get should prompt you to install the missing dependency libmono-i18n4.0-all as well. + 6) Try running "openbve" again from the terminal: the program should run and display the main OpenBVE window. + + A screenshot of the main OpenBVE windows is provided by the author of + the program at <http://trainsimframework.org/common/screen_z1.jpg>. + Please note that, in the Ubuntu version, the command buttons on the left + are replaced by option buttons; the rest of the window is the same. + + [Regression Potential] + No potential regressions should occur in OpenBVE itself as no code has been changed. It's possible, however, that other badly-written Mono/.NET programs might be affected by the installation of the new Mono library.
** Description changed: openBVE does not run since I upgraded from Natty a few days ago. This is the terminal output ~$openbve System.NotSupportedException: CodePage 37 not supported at System.Text.Encoding.GetEncoding (Int32 codepage) [0x00000] in <filename unknown>:0 at System.Text.EncodingInfo.GetEncoding () [0x00000] in <filename unknown>:0 at System.Text.EncodingInfo.get_Name () [0x00000] in <filename unknown>:0 at System.Text.EncodingInfo.get_DisplayName () [0x00000] in <filename unknown>:0 at OpenBve.formMain.formMain_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0 ===== SRU information [Impact] The bug always occurs on Ubuntu installations in case the libmono-i18n4.0-all package has not been installed and prevents OpenBVE from being run. Severity set to medium as the bug severly impacts a non-core application, but a workaround is present (see Test Case section). Justification for backporting: fixing the missing dependency problem allows the users to install and run OpenBVE in a straightforward way without searching for workarounds on the Internet and installing the missing package manually. - [Development Fix] section with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. + [Development Fix] The openbve package has been modified by including the missing dependency (libmono-i18n4.0-all) in the Depends: section of the debian/control file. Number of modified packages: 1 (openbve - original version: 1.2.10.0-0ubuntu2, new version: 1.2.10.0-0ubuntu3) [Stable Fix] The fix is supplied as a debdiff against the original version of OpenBVE in comment #9: <https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/877776/+attachment/2578094/+files/openbve_1.2.10.0-0ubuntu3.debdiff> [Test Case] 1) Start from a clean Ubuntu installation. Make sure that the libmono-i18n4.0-all package is not installed on the system. 2) Install OpenBVE by opening a terminal and running: sudo apt-get install openbve 3) Try running OpenBVE from the terminal with the command: openbve The program should display the error message shown at the top of this description ("System.NotSupportedException: CodePage 37 not supported") in the terminal itself and the Mono interpreter ("cli" process) should start looping, eating a single CPU core. The main OpenBVE window should not be shown. 4) Kill the "cli" process. 5) Install the updated package. apt-get should prompt you to install the missing dependency libmono-i18n4.0-all as well. 6) Try running "openbve" again from the terminal: the program should run and display the main OpenBVE window. A screenshot of the main OpenBVE windows is provided by the author of the program at <http://trainsimframework.org/common/screen_z1.jpg>. Please note that, in the Ubuntu version, the command buttons on the left are replaced by option buttons; the rest of the window is the same. [Regression Potential] No potential regressions should occur in OpenBVE itself as no code has been changed. It's possible, however, that other badly-written Mono/.NET programs might be affected by the installation of the new Mono library. ** Tags added: testcase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/877776 Title: openbve does not depend on the required package libmono-i18n4.0-all To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/877776/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs