Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106635 - ruby gnomecanvas2 loads gnomecanvas2.so twice causing errors in applications
Summary: ruby gnomecanvas2 loads gnomecanvas2.so twice causing errors in applications
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 21:13 UTC by Vasco Flores
Modified: 2005-11-15 03:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasco Flores 2005-09-19 21:13:58 UTC
as show here it's caused by the gnomecanvas2.so loading in gtk2 and then the so
itself, so gnome-art caused:

vasco bin # gnome-art
(eval):1: [BUG] rbgobj_define_class: Invalid gtype [CanvasPathDef]

ruby 1.8.2 (2004-12-25) [i686-linux]

Aborted

A similar error is described here https://launchpad.net/distros/ubuntu/+bugs/1795
so I tryed in /usr/lib/ruby/site_ruby/1.8/gnomecanvas2.rb :
require 'gtk2'
require 'libart2'
require 'gnomecanvas2.so'

if we comment the last require solves the problem and gnomecanvas is already
loaded and gnome-art ok.

I think the last version of ruby-gnome2 http://ruby-gnome2.sourceforge.jp/ and
the other packages solve the problem, but there is no ebuild for them...

thank you

Reproducible: Always
Steps to Reproduce:
1.emerging gnome-art 0.2 (with the ruby-gnome2 0.12 dependencies)
2.runing gnome-art in a console

Actual Results:  
vasco bin # gnome-art
(eval):1: [BUG] rbgobj_define_class: Invalid gtype [CanvasPathDef]

ruby 1.8.2 (2004-12-25) [i686-linux]

Aborted

Expected Results:  
opened a window with the gnome-art application

I dont know much about ruby, but the link I visited
https://launchpad.net/distros/ubuntu/+bugs/1795
and the commenting test I've done takes my out the doubts
Comment 1 Michael Kohl (RETIRED) gentoo-dev 2005-11-15 03:49:56 UTC
ruby-gnome2-0.14.1 has just been commited and should take care of this. Please
test and give me some feedback so I can close this bug, thanks!