Bug 821398 - doesn't start (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')
Summary: doesn't start (Unhandled Exception: System.ArgumentException: 'gtk-close' is ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pinta
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Paul Lange
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-14 11:16 UTC by Karel Volný
Modified: 2012-05-16 00:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-16 00:00:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karel Volný 2012-05-14 11:16:07 UTC
Description of problem:
I cannot start pinta due to unhandled exception.

Version-Release number of selected component (if applicable):
pinta-1.2-1.fc17.x86_64

How reproducible:
always

Steps to Reproduce:
1. pinta
  
Actual results:
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 <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 Gdk.Pixbuf.LoadFromResource (System.String resource) [0x00000] in <filename unknown>:0 
  at Pinta.Resources.ResourceLoader.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0 
  at Pinta.ResourceManager.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0 
  at Pinta.ResourceManager.GetIcon (System.String name) [0x00000] in <filename unknown>:0 
  at Pinta.Gui.Widgets.OpenImagesListWidget..ctor () [0x00000] in <filename unknown>:0 
  at Pinta.OpenImagesPad.Initialize (MonoDevelop.Components.Docking.DockFrame workspace, Gtk.Menu padMenu) [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow.CreateDockAndPads (Gtk.HBox container) [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow.CreatePanels (Pinta.WindowShell shell) [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow.CreateWindow () [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow..ctor () [0x00000] in <filename unknown>:0 
  at Pinta.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>: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 <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 Gdk.Pixbuf.LoadFromResource (System.String resource) [0x00000] in <filename unknown>:0 
  at Pinta.Resources.ResourceLoader.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0 
  at Pinta.ResourceManager.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0 
  at Pinta.ResourceManager.GetIcon (System.String name) [0x00000] in <filename unknown>:0 
  at Pinta.Gui.Widgets.OpenImagesListWidget..ctor () [0x00000] in <filename unknown>:0 
  at Pinta.OpenImagesPad.Initialize (MonoDevelop.Components.Docking.DockFrame workspace, Gtk.Menu padMenu) [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow.CreateDockAndPads (Gtk.HBox container) [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow.CreatePanels (Pinta.WindowShell shell) [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow.CreateWindow () [0x00000] in <filename unknown>:0 
  at Pinta.MainWindow..ctor () [0x00000] in <filename unknown>:0 
  at Pinta.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0

Expected results:
(no error, program runs)

Additional info:

Comment 1 Paul Lange 2012-05-14 20:38:26 UTC
Thanks for the report.

In the meantime I updated pinta to the latest version 1.3. Could you please check if that happens there as well?

https://admin.fedoraproject.org/updates/FEDORA-2012-7348/pinta-1.3-1.fc17

Thanks for your help!

Comment 2 Karel Volný 2012-05-15 09:16:11 UTC
it reports similar errors, see below, but it runs ... thanks


'gtk-close' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.

(Pinta:15191): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.

(Pinta:15191): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference.
'gtk-new' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-new' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-new' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-new' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-new' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.
'gtk-missing-image' is not a valid resource name of assembly 'Pinta.Resources, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'.

Comment 3 Paul Lange 2012-05-16 00:00:30 UTC
Seems like your icon theme doesn't provide these icons. If you haven't installed it try installing gnome-icon-theme*, the next package version will require them.


Note You need to log in before you can comment on or make changes to this bug.