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')
doesn't start (Unhandled Exception: System.ArgumentException: 'gtk-close' is ...
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: pinta (Show other bugs)
17
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Paul Lange
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-14 07:16 EDT by Karel Volný
Modified: 2012-05-15 20:00 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-15 20:00:30 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Karel Volný 2012-05-14 07:16:07 EDT
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 16:38:26 EDT
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 05:16:11 EDT
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-15 20:00:30 EDT
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.