Bug #304
Startup Crash on OpenSUSE: GLib.GException: Unrecognized image file format
Status: | Closed | Start: | 01/18/2010 | |
Priority: | High | Due date: | ||
Assigned to: | Mirco Bauer | % Done: | 100% |
|
Category: | Other | |||
Target version: | 0.8.9 | |||
Complexity: | Found in Version: | |||
Votes: | 0 |
Description
2010-01-18 11:13:17,575 [Main] INFO Smuxi.Frontend.Gnome.Frontend - Smuxi - GNOME frontend 0.7.0.0 starting 2010-01-18 11:13:22,038 [Main] INFO Smuxi.Engine.FrontendConfig - Loading config (FrontendConfig) 2010-01-18 11:13:22,116 [Main] FATAL Smuxi.Frontend.Gnome.MainClass - GLib.GException: Unrecognized image file format at Gdk.PixbufLoader.Write (System.Byte[] buf, UInt64 count) [0x00000] at Gdk.PixbufLoader.Write (System.Byte[] bytes, UInt32 count) [0x00000] at Gdk.PixbufLoader.LoadFromStream (System.IO.Stream input) [0x00000] at Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly assembly, System.String resource) [0x00000] at Gdk.PixbufLoader..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] at Gdk.Pixbuf..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] at Smuxi.Frontend.Gnome.Frontend.Init (System.String[] args) [0x00000] at Smuxi.Frontend.Gnome.MainClass.Main (System.String[] args) [0x00000]
This looks very familar with #230
The librsvg package is installed though, wondering which other packages is needed for SVG support in GTK+
Related issues
related to Smuxi - Bug #230 | Startup Error in Windows: Unrecognized image file format | Closed | 11/02/2009 |
Associated revisions
Revision e5d694e3ec01656546791b1a43762e4166fa5231
[Frontend-GNOME] Load PNG instead of SVG images, honor GTK+ icon themes and install icons into correct places
- Only load pre-scaled PNG image files in Smuxi so the SVG pixbuf loader
for GDK is no longer needed. (closes: #230, #304)
- Load icons using Gtk.IconTheme to honor GTK+ icon themes. (closes: #472)
- Install SVG and PNGs into correct locations as per
GNOME Goal: Install theme-friendly icons [0]. (closes: #503)
http://live.gnome.org/GnomeGoals/AppIcon
History
Updated by Mirco Bauer 5407 days ago
- Target version changed from 0.7.1 to 0.7.2
Updated by Mirco Bauer 5236 days ago
- Target version changed from 0.7.2 to 0.8
Updated by Mirco Bauer 5201 days ago
- Target version changed from 0.8 to TBD
Updated by Tomas Forsman 5188 days ago
2010-09-07 22:25:02,329 [Main] INFO Smuxi.Frontend.Gnome.Frontend - Smuxi - GNOME frontend 0.7.2.2 starting 2010-09-07 22:25:02,416 [Main] INFO Smuxi.Engine.FrontendConfig - Loading config (FrontendConfig) 2010-09-07 22:25:02,453 [Main] FATAL Smuxi.Frontend.Gnome.MainClass - GLib.GException: Unrecognized image file format at Gdk.PixbufLoader.Write (System.Byte[] buf, UInt64 count) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader.Write (System.Byte[] bytes, UInt32 count) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader.LoadFromStream (System.IO.Stream input) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.Pixbuf..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Smuxi.Frontend.Gnome.Frontend.Init (System.String[] args) [0x00000] in <filename unknown>:0 at Smuxi.Frontend.Gnome.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 Unhandled Exception: GLib.GException: Unrecognized image file format at Gdk.PixbufLoader.Write (System.Byte[] buf, UInt64 count) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader.Write (System.Byte[] bytes, UInt32 count) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader.LoadFromStream (System.IO.Stream input) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.PixbufLoader..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Gdk.Pixbuf..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0 at Smuxi.Frontend.Gnome.Frontend.Init (System.String[] args) [0x00000] in <filename unknown>:0 at Smuxi.Frontend.Gnome.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 [mforsman@localhost smuxi]$
Updated by Mirco Bauer 5188 days ago
echo 'Gtk.Application.Init(); var img = new Gtk.Image("/usr/share/pixmaps/smuxi-frontend-gnome.svg"); var win = new Gtk.Window("Test"); win.Add(img); win.ShowAll(); Gtk.Application.Run();' | csharp -pkg:gtk-sharp-2.0
It should simply show a window with the smuxi icon in it.
Updated by Tomas Forsman 5188 days ago
i deleted librsvg in laptop, installed it again. That did the trick. could been a bad installation of librsvg in first place.
Updated by Mirco Bauer 4737 days ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset e5d694e3ec01656546791b1a43762e4166fa5231.
Updated by Mirco Bauer 4711 days ago
- Target version changed from TBD to 0.8.9