[Bug 372608] Re: import failure: Invalid file format
Anders Norgaard
anders.norgaard at gmail.com
Sat Oct 10 15:48:57 UTC 2009
Is seahorse simply linked against the wrong library in Ubuntu?
I tried filing https://bugzilla.gnome.org/show_bug.cgi?id=597310
with this info
anders at salt2:~/devel/gtktest$ cat test.c
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <glib/gstdio.h>
int main( int argc, char *argv[] ){
gboolean uncertain;
gchar *mime;
mime = g_content_type_guess ("/home/anders/.ssh/id_dsa", NULL, 0,
&uncertain);
g_print ("%s \n", mime);
return 0;
}
anders at salt2:~/devel/gtktest$ gcc test.c -o test `pkg-config --cflags --libs
gtk+-2.0`
anders at salt2:~/devel/gtktest$ ./test
application/octet-stream
anders at salt2:~/devel/gtktest$ xdg-mime query filetype ~/.ssh/id_dsa
application/x-pem-key
Interestingly there is a difference between gnomevfs-info and gvfs-info
anders at salt2:~/devel/gtktest$ gnomevfs-info ~/.ssh/id_dsa 2> /dev/null | grep MIME | cut -d ":" -f 2 | sed s/"^ "//
application/octet-stream
anders at salt2:~/devel/gtktest$ gvfs-info ~/.ssh/id_dsa 2> /dev/null | grep standard::content-type | cut -d ":" -f 4 | sed s/"^ "//
application/x-pem-key
** Bug watch added: GNOME Bug Tracker #597310
https://bugzilla.gnome.org/show_bug.cgi?id=597310
--
import failure: Invalid file format
https://bugs.launchpad.net/bugs/372608
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list