Bug #938

avatar

Smuxi doesn't start with broken PNG support (TypeInitializationException in Smuxi.Frontend.Gnome.IndicateManager)

Added by Bianca Mix 3758 days ago. Updated 3757 days ago.

Status:New Start:01/11/2014
Priority:Low Due date:
Assigned to:- % Done:

0%

Category:Frontend GNOME
Target version:-
Complexity:

Found in Version:

Votes: 0

Description

Inner-Exception Type:System.TypeInitializationExceptionInner-Exception Message:An exception was thrown by the type initializer for Smuxi.Frontend.Gnome.PersonChatViewInner-Exception StackTrace:  at Smuxi.Frontend.Gnome.IndicateManager..cctor () [0x00014] in /build/buildd/smuxi-0.11 dev.bzr396~ubuntu12.04.1/src/Frontend-GNOME/IndicateManager.cs:70 Exception Type:System.TypeInitializationExceptionException Message:An exception was thrown by the type initializer for Smuxi.Frontend.Gnome.IndicateManagerException StackTrace:  at Smuxi.Frontend.Gnome.MainWindow..ctor () [0x002fc] in /build/buildd/smuxi-0.11 dev.bzr396~ubuntu12.04.1/src/Frontend-GNOME/MainWindow.cs:205   at Smuxi.Frontend.Gnome.Frontend.Init (System.String[] args) [0x000c6] in /build/buildd/smuxi-0.11 dev.bzr396~ubuntu12.04.1/src/Frontend-GNOME/Frontend.cs:214   at Smuxi.Frontend.Gnome.MainClass.Main (System.String[] args) [0x000db] in /build/buildd/smuxi-0.11 dev.bzr396~ubuntu12.04.1/src/Frontend-GNOME/Main.cs:75 

History

Updated by Mirco Bauer 3757 days ago

avatar
  • Tracker changed from Bug to Support

Updated by Mirco Bauer 3757 days ago

avatar
Your PNG support of GTK+ is broken. This code fails:
        static IndicateManager()
        {
            PersonChatIconBase64 = Convert.ToBase64String(
                PersonChatView.IconPixbuf.SaveToBuffer("png")
            );
            GroupChatIconBase64 = Convert.ToBase64String(
                GroupChatView.IconPixbuf.SaveToBuffer("png")
            );
        }

Updated by Mirco Bauer 3757 days ago

avatar
The issue was fixed by reinstaller the package that contains the PNG loader:
sudo apt-get --reinstall install libgdk-pixbuf2.0-0

Updated by Mirco Bauer 3757 days ago

avatar
  • Subject changed from Exception: An exception was thrown by the type initializer for Smuxi.Frontend.Gnome.IndicateManager to Smuxi doesn't start with broken PNG support (TypeInitializationException in Smuxi.Frontend.Gnome.IndicateManager)
  • Category set to Frontend GNOME
  • Priority changed from Normal to Low

Updated by Mirco Bauer 3757 days ago

avatar
  • Tracker changed from Support to Bug

Also available in: Atom PDF