GNOME Bugzilla – Bug 455923
Crash when opening a video after an unsuccessful file open
Last modified: 2007-11-13 00:15:31 UTC
What were you doing when the application crashed? After trying to open a *.sub file of a couple idx/sub (that wasn't read because not compatible, but I didn't know before), I have simply clicked on the command "open video". Distribution: Ubuntu 7.04 (feisty) Gnome Release: 2.18.1 2007-04-10 (Ubuntu) BugBuddy Version: 2.18.1 System: Linux 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 70200000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 ----------- .xsession-errors --------------------- at SubLib.SubtitleInput.TestCodePage (System.IO.FileStream fileStream, Int32 codePage, System.Text.Encoding& encoding, SubLib.SubtitleFormat& format) [0x00000] at SubLib.SubtitleInput.ReadSubtitleText (System.IO.FileStream fileStream, System.Text.Encoding& usedEncoding, SubLib.SubtitleFormat& usedFormat) [0x00000] System.NullReferenceException: Object reference not set to an instance of an object at GnomeSubtitles.VideoOpenDialog..ctor () [0x00000] at GnomeSubtitles.GUI.OpenVideo () [0x00000] at GnomeSubtitles.EventHandlers.OnVideoOpen (System.Object o, System.EventArgs args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) at <0x00000> <unknown method> at (wrapper managed-to-native) Gtk.Application:gtk_main () at Gtk.Application.Run () [0x00000] at Gnome.Program.Run () [0x00000] at GnomeSubtitles.Execution.RunProgram () [0x00000] at GnomeSubtitles.Global.Run (GnomeSubtitles.Execution execution) [0x00000] -------------------------------------------------- Gnome Subtitles version: 0.6 SubLib version: 0.7 GtkSharp version: 2.10 GnomeSharp version: 2.16 GladeSharp version: 2.10 GConfSharp version: 2.16 Stack trace: System.NullReferenceException: Object reference not set to an instance of an object at GnomeSubtitles.VideoOpenDialog..ctor () [0x00000] at GnomeSubtitles.GUI.OpenVideo () [0x00000] at GnomeSubtitles.EventHandlers.OnVideoOpen (System.Object o, System.EventArgs args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr) at <0x00000> <unknown method> at (wrapper managed-to-native) Gtk.Application:gtk_main () at Gtk.Application.Run () [0x00000] at Gnome.Program.Run () [0x00000] at GnomeSubtitles.Execution.RunProgram () [0x00000] at GnomeSubtitles.Global.Run (GnomeSubtitles.Execution execution) [0x00000]
You've spotted a pretty interesting bug (in terms of development). This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
(In reply to comment #1) > You've spotted a pretty interesting bug (in terms of development). This problem > has been fixed in the development version. The fix will be available in the > next major software release. Thank you for your bug report. > thanks to you to develop a subtitle program.. but i have a question... Is it planned a support for idx/sub files? and an ocr converter idx-->srt?? thanks a lot another time.
Well, support for idx/sub isn't really planned for now. Gnome Subtitles supports text-based files, and those are binary image files. (Actually, Gnome Subtitles uses the SubLib library - http://sublib.sf.net - to handle the subtitle files.) So even though it would have its interest, that feature is way out of the current priorities. Still, what kind of applications are there to handle those kinds of files?
the only linux program I know that can process an OCR conversion is Avidemux http://www.avidemux.org, nevertheless it's a minor finor feature for this program, and it makes lots of error during the process.. so it's not powerful... A win alternative is SubRip, that is also open-source, http://zuggy.wz.cz/. It is very powerful, but not excecutable with wine, so not usable under linux.
*** Bug 456618 has been marked as a duplicate of this bug. ***
I remember using SubRip before. IMHO, this kind of feature is better off in its own application, like SubRip. If SubRip's code is open, an idea would be for someone to port it. I also found the SubtitleRipper utility (http://subtitleripper.sourceforge.net/), though it doesn't seem to have a GNOME user interface.
*** Bug 457197 has been marked as a duplicate of this bug. ***
*** Bug 458405 has been marked as a duplicate of this bug. ***
*** Bug 461590 has been marked as a duplicate of this bug. ***
*** Bug 462892 has been marked as a duplicate of this bug. ***
*** Bug 463170 has been marked as a duplicate of this bug. ***
*** Bug 465649 has been marked as a duplicate of this bug. ***
*** Bug 455357 has been marked as a duplicate of this bug. ***
*** Bug 468231 has been marked as a duplicate of this bug. ***
*** Bug 474850 has been marked as a duplicate of this bug. ***
*** Bug 492011 has been marked as a duplicate of this bug. ***
*** Bug 492792 has been marked as a duplicate of this bug. ***
*** Bug 493138 has been marked as a duplicate of this bug. ***
*** Bug 496038 has been marked as a duplicate of this bug. ***