Registered Member
|
|
Registered Member
|
I do not know :P but I have done it from ruby scripts with the Nepomuk bindings.
connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
|
Registered Member
|
can you share this script ? |
Registered Member
|
# Basically, require korundum and nepomuk
require 'korundum4' require 'nepomuk' tag = Nepomuk::Tag.new( 'vacations' ) # for each file(resource): resource = Nepomuk::Resource.new( path ) resource.add_tag tag # See the API for more Resource handling.
connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
|
Registered Member
|
i don't know ruby and this code gives me an error:
"Segmentation fault" |
Registered Member
|
If you actually would post more helpful output, what exactly did you run and which packages/software you installed to get it working.
connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
|
Registered Member
|
Code:
Output:
Installed:
|
Registered Member
|
What's wrong with your Ruby or Qt4.rb file? That NameError should be handled just fine.
Is your Qt4.rb like this:?
|
Registered Member
|
cat /usr/lib/ruby/site_ruby/1.8/Qt4.rb
|
Registered Member
|
Workaround: Make your Qt4.rb file like this
I can not do more. It seems your Ruby has a bug. Please report it to your distro, including this thread information or link. |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell