After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 442513 - Exception when getting the CurrentFolder in the File Open dialog
Exception when getting the CurrentFolder in the File Open dialog
Status: RESOLVED FIXED
Product: gnome-subtitles
Classification: Other
Component: general
0.5.1
Other All
: High critical
: ---
Assigned To: Maintainers of GNOME subtitles
Maintainers of GNOME subtitles
Depends on:
Blocks:
 
 
Reported: 2007-05-31 05:12 UTC by miloxreloaded
Modified: 2007-07-05 00:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description miloxreloaded 2007-05-31 05:12:16 UTC
What were you doing when the application crashed?
abriendo un archivo de subtitulo srt para editarlo


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 Wed May 23 01:46:23 UTC 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70200000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Human
Icon Theme: Human

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 <0x00000> <unknown method>
  at (wrapper managed-to-native) Gtk.Dialog:gtk_dialog_run (intptr)
  at Gtk.Dialog.Run () [0x00000] 
  at GnomeSubtitles.GladeDialog.WaitForResponse () [0x00000] 
  at GnomeSubtitles.GUI.Open () [0x00000] 
  at GnomeSubtitles.EventHandlers.OnFileOpen (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.5.1
SubLib version: 0.6.1
GtkSharp version: 2.10
GnomeSharp version: 2.16
GladeSharp version: 2.10
GConfSharp version: 2.16

Stack trace:
GLib.GException: Hay una secuencia de bytes no válida en la entrada de conversión
  at GLib.Marshaller.FilenamePtrToString (IntPtr ptr) [0x00000] 
  at GLib.Marshaller.FilenamePtrToStringGFree (IntPtr ptr) [0x00000] 
  at Gtk.FileChooserDialog.get_CurrentFolder () [0x00000] 
  at GnomeSubtitles.FileOpenDialog.FillVideoComboBoxBasedOnCurrentFolder () [0x00000] 
  at GnomeSubtitles.FileOpenDialog.OnCurrentFolderChanged (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.Dialog:gtk_dialog_run (intptr)
  at Gtk.Dialog.Run () [0x00000] 
  at GnomeSubtitles.GladeDialog.WaitForResponse () [0x00000] 
  at GnomeSubtitles.GUI.Open () [0x00000] 
  at GnomeSubtitles.EventHandlers.OnFileOpen (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]
Comment 1 Pedro Castro 2007-05-31 10:33:32 UTC
Thanks for the report. Please tell what locale you're using. You can get this by typing "locale" in a terminal. Also, what's the name of the folder you entered when the application crashed?
Comment 2 miloxreloaded 2007-05-31 20:32:34 UTC
$locale
LANG=es_CL.UTF-8
LC_CTYPE="es_CL.UTF-8"
LC_NUMERIC="es_CL.UTF-8"
LC_TIME="es_CL.UTF-8"
LC_COLLATE="es_CL.UTF-8"
LC_MONETARY="es_CL.UTF-8"
LC_MESSAGES="es_CL.UTF-8"
LC_PAPER="es_CL.UTF-8"
LC_NAME="es_CL.UTF-8"
LC_ADDRESS="es_CL.UTF-8"
LC_TELEPHONE="es_CL.UTF-8"
LC_MEASUREMENT="es_CL.UTF-8"
LC_IDENTIFICATION="es_CL.UTF-8"
LC_ALL=



the folder's name is "Capítulo1" with " ´ "
Comment 3 Pedro Castro 2007-05-31 22:40:50 UTC
I tried using your locale but was not able to reproduce this behavior. Does it happen with every folder containing accents?

This most probably is a bug with gtk-sharp, or perhaps even gtk. If I upload a testcase, are you able to compile it and run it? This would require the gmcs compiler.
Comment 4 miloxreloaded 2007-05-31 23:04:34 UTC
I don't know... I'm new in Linux... I've readed a lot about software compilation, but I don't know what's means or how can I do it... However, I already can edit the subs with another software.
I hope I help you.

pd: sorry my English
Comment 5 Pedro Castro 2007-05-31 23:34:22 UTC
Ok, I see. I've sent you an email with the test case, as well as instructions on how to use it. Please run it and go to the Capítulo1 folder, and post here what happens.
Comment 6 Pedro Castro 2007-06-08 12:47:56 UTC
Fixed in trunk. Errors of this kind should not crash the program anymore, even though this exception might be caused by a bug in the platform. Due to lack of feedback from the reporter, a test case could not be demonstrated, so this bug might not have been totally fixed.