gnome-subtitles crashes on create new subtitle

Bug #201123 reported by Ivan Brasil Fuzzer
64
Affects Status Importance Assigned to Milestone
gnome-subtitles (Ubuntu)
Fix Released
Medium
Unassigned
Hardy
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: gnome-subtitles

The error ocurried on create new subtitle(menu File->New or icon).

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

gnome-subtitles:
  Instalado: 0.7-2.1
  Candidato: 0.7-2.1
  Tabela de versão:
 *** 0.7-2.1 0
        500 http://br.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Tayroni Alves (tay-fisica) wrote :

The bug is confirmed at least for me.

Revision history for this message
MN (istheendnigh) wrote :

confirmed

Revision history for this message
oren (orengolan) wrote :

confirmed for me as well.
(i opened a new bug by mistake)

Revision history for this message
Florian Dorn (florian-dorn) wrote :

If you also have problems opening existing files then installing the following package might fix the issue:
libmono-i18n2.0-cil

Azurit3 (azurit3)
Changed in gnome-subtitles:
status: New → Confirmed
Revision history for this message
chavash (anatoly-mironov) wrote :

I had the same problem. I couldn't create a new file, and I couldn't open a file.. After installing libmono-i18n2.0-cil it works. Thank you!

Changed in gnome-subtitles:
assignee: nobody → christophe.sauthier
Revision history for this message
Pedro Castro (pedrocastro) wrote :

The Debian package maintainer has been contacted and will add this dependency to future versions of the package.

Revision history for this message
Christophe Sauthier (christophe.sauthier) wrote :
Changed in gnome-subtitles:
assignee: christophe.sauthier → nobody
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

You need to update the maintainer field too.

Changed in gnome-subtitles:
importance: Undecided → Medium
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Pedro Castro:
> The Debian package maintainer has been contacted
> and will add this dependency to future versions of the package.

Pedro, is there any bug report about that? I couldn't find one in the Debian BTS.

Revision history for this message
Pedro Castro (pedrocastro) wrote :

Emilio, AFAIK no. I've contacted the package maintainer directly.

Revision history for this message
Christophe Sauthier (christophe.sauthier) wrote :
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

@Pedro: it's better to report bugs instead of mail directly, because the maintainer may go MIA or the maintainer may change, or he may forget about the issue (I say that because of my own experience, that has happened to me hehe)

@Christophe: uploaded, thanks for the work!

Changed in gnome-subtitles:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-subtitles - 0.7.2-1ubuntu1

---------------
gnome-subtitles (0.7.2-1ubuntu1) intrepid; urgency=low

  * Addition of a dependency to libmono-i18n2.0-cil (lp: #201123)
  * Modify Maintainer value to match Debian-Maintainer-Field Spec.

 -- Christophe Sauthier <email address hidden> Thu, 29 May 2008 16:21:49 +0200

Changed in gnome-subtitles:
status: Fix Committed → Fix Released
Revision history for this message
Mazin (mat5000) wrote :

Could the dependency fix be applied to the Hardy package as well?

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Subscribing motu-sru to consider the hardy task.

Revision history for this message
Luke Yelavich (themuso) wrote :

ACK, although I would like to see a clearer description for the hardy SRU, that explains why the dependency is needed.

Changed in gnome-subtitles:
status: New → Confirmed
Revision history for this message
Pedro Castro (pedrocastro) wrote :

Luke,

Gnome Subtitles crashes in multiple situations, including creating new files and opening existing ones. This is due to a missing dependency in the Ubuntu package, which makes Gnome Subtitles unable to deal with different character codings - necessary as it works with text files. This makes the application almost unusable. Steps to reproduce the problem: install Gnome Subtitles, open the application and click "New".

Is this info what you need?

Revision history for this message
Luke Yelavich (themuso) wrote :

I meant in the changelog of the debdiff, not in the bug itself.

Revision history for this message
Christophe Sauthier (christophe.sauthier) wrote :

gnome-subtitles (0.7.2-1ubuntu1) intrepid; urgency=low

  * Addition of a dependency to libmono-i18n2.0-cil (lp: #201123), neede since
    libmono-i18n2.0-cil is separate from the mono binary (started with
    mono >= 1.2.6+dfsg-1 ). It fixes the impossibility to create a new
    subtitle file without it.
  * Modify Maintainer value to match Debian-Maintainer-Field Spec.

 -- Christophe Sauthier <email address hidden> Thu, 29 May 2008 16:21:49 +0200

Revision history for this message
Pedro Castro (pedrocastro) wrote :

Is there any information missing? Why hasn't this bug moved forward yet?

Revision history for this message
Christophe Sauthier (christophe.sauthier) wrote :

Still waiting for the SRU Team to answer...

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

It's sane from motu-sru POV, please proceed with sponsoring.

Changed in gnome-subtitles:
importance: Undecided → Medium
Revision history for this message
frederyk (frederyk) wrote :

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!!

Revision history for this message
John Dong (jdong) wrote :

Luca, proceed with sponsoring *what*? All the debdiffs I see have intrepid in the changelog target. Also none of them are of SRU quality:

(1) 0.7.2-1 for SRU should go to 0.7.2-1ubuntu0.1, not 0.7.2-1ubuntu1

(2) Target distribution should be hardy-proposed, as mentioned.

(2) In changelog, fix typo " neede since" -- generally I wouldn't care too much about changelog typos but SRUs are the exception.

(3) Instead of the vague "It fixes the impossibility to create a new subtitle file without it.", I'd prefer "Otherwise it crashes on unsupported international characters"

-1 from me until these points are addressed.

Changed in gnome-subtitles:
status: Confirmed → New
Revision history for this message
Andrew Fenn (andrewfenn) wrote :

I came here with the same problem, I can't believe it's not been packaged correctly..

Revision history for this message
Keith Neal (keinea) wrote :

Ubuntu 8.04 Hardy Heron

uname -a
Linux ubuntu-mobile 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686 GNU/Linux

Still appears to be a dependency issue, I just installed 'gnome-subtitles' and it would immediately close when clicking on the 'New File' button. Installing the libmono-i18n2.0-cil package did fix the problem.

Packages Installed:

gnome-subtitles 0.7.2 --- Using SubLib 0.8
libmono-i18n2.0-cil --- The Mono I18N libraries (2.0)

Using the Avidemux 2.4.1 Video Editor, to add the 'srt' subtitle file into the original avi video file.

Revision history for this message
RS (rafales2) wrote :

This bug has been reported year ago and it's still not fixed - it requires adding 'libmono-i18n2.0-cil' to depencies.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Hardy has seen the end of its life and is no longer receiving any updates. Marking the Hardy task for this ticket as "Won't Fix".

Changed in gnome-subtitles (Ubuntu Hardy):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.