[Bug 877776] Re: openbve does not depend on the required package libmono-i18n4.0-all
Micah Gersten
launchpad at micahscomputing.com
Fri Dec 9 09:18:26 UTC 2011
Thank you for trying to fix a bug in a stable release of Ubuntu. I'm
unsubscribing ubuntu-sponsors for the moment. Per
https://wiki.ubuntu.com/StableReleaseUpdates, the oneiric debdiff should
be the smallest change possible to fix this package. Also, you need to
target oneiric-proposed instead of oneiric in the changelog. Please
resubscribe ubuntu-sponsors once a new debdiff has been attached that
addresses these issues.
** Changed in: openbve (Ubuntu Oneiric)
Status: New => Incomplete
** Changed in: openbve (Ubuntu Oneiric)
Assignee: (unassigned) => Alessandro Menti (alessandro-menti)
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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:
Confirmed
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: 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openbve/+bug/877776/+subscriptions
More information about the Ubuntu-sponsors
mailing list