[Bug 201123] Re: gnome-subtitles crashes on create new subtitle

frederyk frederyk at web.de
Fri Oct 17 19:37:27 BST 2008


I had the the same problem. In the shell I got the following:

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NotSupportedException: CodePage 1252 not supported
  at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000] 
  at SubLib.SubtitleFactory..ctor () [0x00000] 
  at GnomeSubtitles.Document.New (System.String path, Boolean wasLoaded) [0x00000] 
  at GnomeSubtitles.Document..ctor (System.String path, Boolean wasLoaded) [0x00000] 
  at GnomeSubtitles.Global.CreateDocument (System.String path) [0x00000] 
  at GnomeSubtitles.GUI.New (System.String path) [0x00000] 
  at GnomeSubtitles.EventHandlers.OnFileNew (System.Object o, System.EventArgs args) [0x00000] 
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr data) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data)
   at GLib.Signal.voidObjectCallback(IntPtr , IntPtr )
   at Gtk.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Gnome.Program.Run()
   at GnomeSubtitles.Execution.RunProgram()
   at GnomeSubtitles.Global.Run(GnomeSubtitles.Execution execution)
   at GnomeSubtitles.Executable.Main(System.String[] args)


So it is clear, that it is a codepageproblem.
Then I found this:

http://ph.ubuntuforums.com/showthread.php?s=1f2f03b6700b2e2eaef0ba95a91d3f56&t=831409

Then I made this in the shell:

sudo apt-get install libmono-i18n2.0-cil

And everything worked fine. This ( libmono-i18n2.0-cil) package has to be in the dependencies!!!
Otherwise Gnome-subitle is not usable at all!
It is so easy to fix!!

-- 
gnome-subtitles crashes on create new subtitle
https://bugs.launchpad.net/bugs/201123
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list