[ubuntu-mono] [Bug 877776] Re: openbve does not depend on the required package libmono-i18n4.0-all

Mister Hello f57300 at rmqkr.net
Wed May 8 14:56:55 UTC 2013


** Also affects: openbve (Fedora)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to openbve in Ubuntu.
https://bugs.launchpad.net/bugs/877776

Title:
  openbve does not depend on the required package libmono-i18n4.0-all

Status in “openbve” package in Ubuntu:
  Fix Released
Status in “openbve” source package in Oneiric:
  Fix Released
Status in “openbve” package in Fedora:
  New

Bug description:
  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]
  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 in Precise: 1.2.10.0-0ubuntu3)

  [Stable Fix]
  The fix is supplied as a debdiff against the original version of OpenBVE in comment #22: <https://bugs.launchpad.net/ubuntu/oneiric/+source/openbve/+bug/877776/+attachment/2625704/+files/openbve_1.2.10.0-0ubuntu2.1.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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/877776/+subscriptions



More information about the Ubuntu-mono mailing list