$txt['backtotheindex_enabled'] = 'Enable the Back to the index mod'; $txt['backtotheindex_title'] = 'Title for the Back to the index menu button'; $txt['backtotheindex_href'] = 'Link (URL) for the Back to the index menu button'; $txt['backtotheindex_position'] = 'Position of the Back to the index button'; $txt['backtotheindex_beginofmenu'] = 'At the beginning of the menu (before Home button)'; $txt['backtotheindex_endofmenu'] = 'At the end of the menu (after Logout/Register button)'; $txt['costa_topico_fixo'] = 'Sticky Topics'; $txt['costa_topico_normal'] = 'Normal Topics'; $txt['date_registered'] = 'Join Date'; $txt['display_join_date'] = 'Show join date in topic view:'; $txt['embed'] = 'Insert Embed'; // Begin BoardHover $txt['boardhover'] = 'BoardHover'; $txt['linktree_hover'] = 'Adjust the Linktree settings'; $txt['enable_linktree_hover'] = 'Enable navigation tree hover for all users:'; $txt['disable_linktree_first_page'] = 'Remove navigation tree from front page:'; // End BoardHover // SMFPacks Shoutbox --> $txt['sba_title'] = 'Shoutbox'; $txt['sba_link'] = 'Shoutbox'; $txt['permissiongroup_shoutbox'] = 'Shoutbox'; $txt['permissiongroup_simple_shoutbox'] = 'Shoutbox'; $txt['permissionname_shoutbox_view'] = 'View Shoutbox'; $txt['permissionname_shoutbox_post'] = 'Post messages in Shoutbox'; $txt['permissiongroup_shoutbox_panel'] = 'Shoutbox Moderation Panel'; $txt['permissiongroup_simple_shoutbox_panel'] = 'Shoutbox Moderation Panel'; $txt['permissionname_shoutbox_edit'] = 'Edit messages in Shoutbox'; $txt['permissionname_shoutbox_delete'] = 'Delete messages in Shoutbox'; $txt['permissionname_shoutbox_prune'] = 'Empty Shoutbox'; $txt['permissionname_shoutbox_ban'] = 'Ban users in Shoutbox'; // <-- SMFPacks Shoutbox $txt['socialization_onoff'] = 'Enable socialization button (Facebook, Twitter, and Google+)'; $txt['facebook_like'] = 'Show Facebook Like icon in the first post'; $txt['twitter_tweet'] = 'Show Twitter Tweet icon in the first post'; $txt['googleplus_plusone'] = 'Show Google +1 icon in the first post'; $txt['sd_add'] = 'Share me:'; $txt['sd_social_bookmarks'] = 'Share me'; [Kubuntu Linux] MyPaint crashes immediately after launch.

MyPaint > Helps, Bugs and Support

[Kubuntu Linux] MyPaint crashes immediately after launch.

(1/2) > >>

edwinbarton:
Version of MyPaint is 1.0.0 installed via package manager.
Some details of sytem:
Kubuntu 12.04 32 bit
Athlon64-4200X2 CPU (dual core)
4Gb DDR400 (PC3200) DRAM
nVidia 7300GT PCI-e Graphics Card with 256mb Video Memory
Dual Monitors (without Xinerama enabled!), Display 0 is Acer X193w 19" LCD monitor, Display 1 is Envision 19" CRT monitor.

All other apps installed work fine, though had problems with Pinta originally when I had been using Xinerama, since disabling Xinerama it works fine now though.

Output when attempting to launch MyPaint from shell prompt:

--- Code: ---
builtin python 2.6 json support
confpath = /home/edwin/.mypaint/
Traceback (most recent call last):
  File "/usr/bin/mypaint", line 176, in <module>
    main.main(datapath, extradata, confpath)
  File "/usr/share/mypaint/gui/main.py", line 72, in main
    run()
  File "/usr/share/mypaint/gui/main.py", line 47, in run
    app = application.Application(datadir, extradata, options.config, args)
  File "/usr/share/mypaint/gui/application.py", line 118, in __init__
    self.layout_manager.get_subwindow_by_role("backgroundWindow")
  File "/usr/share/mypaint/gui/layout.py", line 127, in get_subwindow_by_role
    self.get_widget_by_role(role)
  File "/usr/share/mypaint/gui/layout.py", line 85, in get_widget_by_role
    result = self.factory(role, self, *self.factory_opts)
  File "/usr/share/mypaint/gui/windowing.py", line 57, in window_factory
    window = module.Window(app)
  File "/usr/share/mypaint/gui/backgroundwindow.py", line 40, in __init__
    self.bgl = BackgroundList(self)
  File "/usr/share/mypaint/gui/backgroundwindow.py", line 117, in __init__
    pixbuf = gdk.pixbuf_new_from_file(filename)
glib.GError: Couldn't recognize the image file format for file '/usr/share/mypaint/backgrounds/mrmamurk/mamurk_b_1.png'

--- End code ---
I'm hoping someone has encountered this problem and knows how to fix it.  Or if the problem is fixed in a newer release then could someone please post a link to a .deb package of a newer version or a link to a PPA with the newer version?

Any help would be appreciated, thank you,
Edwin Barton

achadwick:

--- Quote from: edwinbarton on July 15, 2012, 07:37:45 pm ---Version of MyPaint is 1.0.0 installed via package manager.

--- End quote ---

It'd be helpful to know from which source you got it. I'm going to assume it's the Ubuntu one.


--- Quote ---Output when attempting to launch MyPaint from shell prompt:

--- Code: ---
builtin python 2.6 json support
[...]
glib.GError: Couldn't recognize the image file format for file '/usr/share/mypaint/backgrounds/mrmamurk/mamurk_b_1.png'

--- End code ---

--- End quote ---

Check that file exists, is readable, and not zero-length, and that it can be opened in Eye of GNOME (and/or GIMP, and/or the KDE image viewer). If it looks incorrect, try purging and then reinstalling the mypaint and mypaint-data* packages.


--- Quote ---I'm hoping someone has encountered this problem and knows how to fix it.  Or if the problem is fixed in a newer release then could someone please post a link to a .deb package of a newer version or a link to a PPA with the newer version?

--- End quote ---

If you're feeling brave, you could try the mypaint-testing PPA. Have a look in the Development forum here. However we've taken no specific action to fix the problem you're seeing, and it looks like it reflects some sort of installation brokenness.

edwinbarton:
Thank you for taking the time to reply, I have tried purging and reinstalling MyPaint a few times with no success (both the mypaint and mypaint-data packages).  Additionally per your suggestion I have verified that the files in the '/usr/share/mypaint/backgrounds/mrmamurk/' folder are all accessible and that none are zero length files (I was successfully able to view them with Gwenview).  I'm starting to wonder if maybe the version of glib that's installed might not be the problem.  Though I don't know which particular glib package MyPaint calls, I see close to a dozen or more glib packages installed on my system (some for networking, some for other things).  Oh and yes I did install from the default Ubuntu repository.

achadwick:
Hmm. Are *all* PNG loads from libgdk-pixbuf2 programs broken? That error message is from libgdk-pixbuf and occurs when picking a loader module for the file has failed. It could indicate a broken install, or a broken cache file, but it indicates that you at least have a sort-of working libgdk-pixbuf core, and that pygtk is installed and talking to it.

Any particularly strange combinations of backports, local compiles, PPAs etc on your system?

Make sure "libgdk-pixbuf2.0-0" and "libgdk-pixbuf2.0-dev" are installed. Then check using the terminal that the output of "gdk-pixbuf-query-loaders" mentions "libpixbufloader-png.so" for "The PNG image format", along with a load of gibberish detailing how the format should be recognised. If it does, check that that file it mentions exists on the disk and isn't corrupt (mine is "/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so").

If something looks amiss, try a reinstall of libgdk-pixbuf2.0-0 and libgdk-pixbuf2.0-common, and then if that doesn't work try running.


--- Code: ---
$ sudo gdk-pixbuf-query-loaders --update-cache
--- End code ---

It may also be worth checking your user runtime environment for bad values of vars like GDK_PIXBUF_MODULEDIR etc., as mentioned in the manpage.

edwinbarton:
Ok, tried reinstalling the 2 libgdk-pixbuf packages you mentioned but it didn't make any difference.  As for checking the one file to see if it's corrupt or not I don't really know how to do that, I did verify that the file 'libpixbufloader-png.so' (retrieved from the query output) exists and Dolphin reports it's size as 17.6Kb (reasonably close in size to some of the other files in the same folder, give or take a few Kb).  As for any PPA's or Backports, I have to say yes, several PPA's and I have the Kubuntu Backports Repo enabled as well as the Kubuntu Backports PPA.  Also as for checking the runtime environment like you mentioned I don't really understand what that means (I'm originally a Windows user but I've been using Kubuntu now for a couple years, but there is a great deal I still don't know about using linux), is that kind of like the 'environment variables' in a Windows environment?  I could check to see if other pixbuf programs are working or not but I don't really know what programs those would be offhand, is there an easy way I can list the packages that depend on the 2 libgdk-pixbuf2.0 packages, then I can scan through the list and try some of the programs that might be listed there to see if they work or not.

Almost forgot, if it matters the version numbers for the 2 libgdk-pixbuf2.0 packages is 2.26.  Also is there a specific pygtk package that's supposed to be installed?  In my package manager I didn't see any specific package named pygtk, only a couple of python-gtk******* packages that weren't installed though several software packages were listed when I searched for pygtk in my package manager (I use Synaptic because while Muon has come a long way it still isn't as good about notifying about package conflicts as Synaptic is in my opinion).  Could this be part of the problem?

Also I want to thank you for being so patient with me and helping me try to track down the problem.

Navigation

[0] Message Index

[#] Next page

Go to full version