Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded to 0.7.0rc2 - can't use gui version anymore #618

Open
truscellino opened this issue Aug 27, 2018 · 8 comments
Open

Upgraded to 0.7.0rc2 - can't use gui version anymore #618

truscellino opened this issue Aug 27, 2018 · 8 comments

Comments

@truscellino
Copy link

Hi all,
I am using elementary OS 0.4 (base Ubuntu 16.04), and have been using rubyripper 0.7.0rc1 for a while, without issues.
I installed 0.7.0rc2 today (without any warning, so installer told me that gtk2 gui is installed) and I can't use the gui version anymore... I have the following error which seems relating to GTK:
/usr/lib/ruby/vendor_ruby/gtk2.rb: line 13 Gtk-MESSAGE **:Failed to load module "pantheon-filechooser-module" /usr/lib/ruby/vendor_ruby/gtk2.rb: line 13 Gtk-WARNING **:Unable to locate theme engine in module_path: "pixmap", /usr/lib/ruby/vendor_ruby/gtk2.rb: line 13 Gtk-WARNING **:Unable to locate theme engine in module_path: "pixmap", /usr/lib/ruby/vendor_ruby/gtk2.rb: line 13 Gtk-WARNING **:Unable to locate theme engine in module_path: "pixmap", /usr/lib/ruby/vendor_ruby/gtk2.rb: line 13 Gtk-WARNING **:Unable to locate theme engine in module_path: "pixmap", /usr/bin/rrip_gui:118:in ``block in setIconForWindow': uninitialized constant GraphicalUserInterface::GdkPixbuf (NameError) from /usr/bin/rrip_gui:116:in ``each' from /usr/bin/rrip_gui:116:in ``setIconForWindow' from /usr/bin/rrip_gui:109:in ``prepareMainWindow' from /usr/bin/rrip_gui:63:in ``start' from /usr/bin/rrip_gui:414:in <main>'
I have all the ruby-cairo and ruby-cairo-gobject installed... very strange.
The cli version works perfectly, obviously.

Anyone having similar issues?
Thanks

@bleskodev
Copy link
Owner

@truscellino Hi, looking at the error messages the following seems suspect to me:
'/usr/bin/rrip_gui:116'.
If I'm not mistaken, rrip_gui ruby files are part of rubyripper 0.6 and older versions.
Are you sure you are launching the correct gui version? Do you have the old (<0.7) version installed?
You can launch the gui version from the command line by running:
<path to rubyripper 0.7 installation>/bin/rubyripper_gtk2
Does this work or you have the same error?

@bleskodev
Copy link
Owner

@truscellino Hm, forget my previous message, I'm wrong. Installer renames rubyripper_gtk2 to rrip_gui. Sorry for the confusion.

@bleskodev
Copy link
Owner

@truscellino After some more investigation, this 'problem' is introduced in rc2 (commit: Fix depreciation message for GdkPixbuf creation. ). It looks like you have an old version of gdk_pixbuf2 gem installed.
Can you post the version of gdk_pixbuf2 gem you have?
I might be able to detect this with the installer if I have correct info on which versions are not good.
You will probably need a version 3.x.x (I have 3.2.4).
(to list the gems, run 'gem list' in the terminal)

@truscellino
Copy link
Author

Hi, thank you for quick answers, much appreciated! I just checked, and in Ubuntu 16.04 it's version 2.x.x apparently:

  • libgdk-pixbuf2.0-0/xenial-updates, now 2.32.2-1ubuntu1.5 amd64
  • libgdk-pixbuf2.0-common/xenial-updates,xenial-updates, now 2.32.2-1ubuntu1.5
  • ruby-gdk-pixbuf2/xenial, now 2.2.5-4build1 amd64

Knowing the problem, I have different ways around, like coming back to rc1 or somehow install the right library somewhere where it can be linked.
Thanks, Marc

@bleskodev
Copy link
Owner

It is probably ruby-gdk-pixbuf2 version which is too old (mine corresponds to gem version 3.2.4.x).
Maybe you should try to update your gems?
Can you also run 'gem list' in the terminal and give the version of gkd_pixbuf2 gem?

@mauromol
Copy link

mauromol commented Mar 9, 2019

Hi, I confirm rubyripper_gtk2 does not work in Linux Mint 18.3 (based on Ubuntu 16.04):

./bin/rubyripper_gtk2:118:in `block in setIconForWindow': uninitialized constant GraphicalUserInterface::GdkPixbuf (NameError)
        from ./bin/rubyripper_gtk2:116:in `each'
        from ./bin/rubyripper_gtk2:116:in `setIconForWindow'
        from ./bin/rubyripper_gtk2:109:in `prepareMainWindow'
        from ./bin/rubyripper_gtk2:63:in `start'
        from ./bin/rubyripper_gtk2:414:in `<main>'

I'm not a ruby expert, I don't know how I could update gdk_pixbuf2... isn't it possible to make it compatible with Ubuntu 16.04?
Otherwise, how can I switch to a version that works? I cloned the git repository and switch to the stable branch right now. Thank you!

@Thovthe
Copy link

Thovthe commented Jun 26, 2019

RubyRipper 0.7.0-RC2 GUI works on Mint 19

@truscellino
Copy link
Author

It also works on Ubuntu studio 19.04, so I guess any system based on Ubuntu 16.04 will show issue with old libraries, whereas 18.04 / 19.04 are OK...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants