martes, 17 de abril de 2012

Ejecutando Pinta sobre KDE

Como ya comenté en una entrada anterior, el software de dibujo y edición de imágenes Pinta, derivado del proyecto Paint.Net, presenta ciertas dificultades a la hora de ejecutarse correctamente en KDE. Sin embargo, la solución que ofrecí en dicha entrada, ya no resuelve el problema en las nuevas versiones de KDE/Kubuntu. Concretamente, estos días salió la versión 1.2 de Pinta, y al intentar ejecutarla en Kubuntu 12.04, obtenemos el siguiente error:

josea@kubuntu12:~$ pinta Unhandled Exception: System.ArgumentException: 'gtk-close' is not a valid resource name of assembly 'Pinta.Resources, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'. at Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly assembly, System.String resource) [0x00000] in :0 at Gdk.PixbufLoader..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in :0 at Gdk.Pixbuf..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in :0 at Gdk.Pixbuf.LoadFromResource (System.String resource) [0x00000] in :0 at Pinta.Resources.ResourceLoader.GetIcon (System.String name, Int32 size) [0x00000] in :0 at Pinta.ResourceManager.GetIcon (System.String name, Int32 size) [0x00000] in :0 at Pinta.ResourceManager.GetIcon (System.String name) [0x00000] in :0 at Pinta.Gui.Widgets.OpenImagesListWidget..ctor () [0x00000] in :0 at Pinta.OpenImagesPad.Initialize (MonoDevelop.Components.Docking.DockFrame workspace, Gtk.Menu padMenu) [0x00000] in :0 at Pinta.MainWindow.CreateDockAndPads (Gtk.HBox container) [0x00000] in :0 at Pinta.MainWindow.CreatePanels (Pinta.WindowShell shell) [0x00000] in :0 at Pinta.MainWindow.CreateWindow () [0x00000] in :0 at Pinta.MainWindow..ctor () [0x00000] in :0 at Pinta.MainClass.Main (System.String[] args) [0x00000] in :0 [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: 'gtk-close' is not a valid resource name of assembly 'Pinta.Resources, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null'. at Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly assembly, System.String resource) [0x00000] in :0 at Gdk.PixbufLoader..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in :0 at Gdk.Pixbuf..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in :0 at Gdk.Pixbuf.LoadFromResource (System.String resource) [0x00000] in :0 at Pinta.Resources.ResourceLoader.GetIcon (System.String name, Int32 size) [0x00000] in :0 at Pinta.ResourceManager.GetIcon (System.String name, Int32 size) [0x00000] in :0 at Pinta.ResourceManager.GetIcon (System.String name) [0x00000] in :0 at Pinta.Gui.Widgets.OpenImagesListWidget..ctor () [0x00000] in :0 at Pinta.OpenImagesPad.Initialize (MonoDevelop.Components.Docking.DockFrame workspace, Gtk.Menu padMenu) [0x00000] in :0 at Pinta.MainWindow.CreateDockAndPads (Gtk.HBox container) [0x00000] in :0 at Pinta.MainWindow.CreatePanels (Pinta.WindowShell shell) [0x00000] in :0 at Pinta.MainWindow.CreateWindow () [0x00000] in :0 at Pinta.MainWindow..ctor () [0x00000] in :0 at Pinta.MainClass.Main (System.String[] args) [0x00000] in :0

Para solucionarlo, por suerte solo tenemos que instalar el paquete 'gnome-icon-theme-full', por ejemplo, de la siguiente manera:

sudo apt-get install gnome-icon-theme-full

Y aquí podemos verlo funcionando.


1 comentario:

Juanma dijo...

Gracias por la solución al fallo de Pinta en Kubuntu. Acabo de instalar la 12.04 y no se ejecutaba. Y buena afición esa de las bandas sonoras :D.