You are not logged in.

#1 2010-05-18 05:45:44

libretto
Member
Registered: 2010-05-18
Posts: 19

[SOLVED]gruler installed but wouldn't start

Am I missing something during installtion ?

$ gruler
Loading libraries...
Connecting to GConf...
/usr/share/gruler/gruler.rb:61:in `alias_method': undefined method `guard_source_from_gc' for class `GladeXML' (NameError)
    from /usr/share/gruler/gruler.rb:61:in `<class:GladeXML>'
    from /usr/share/gruler/gruler.rb:60:in `<main>'

Last edited by libretto (2010-05-20 07:40:33)

Offline

#2 2010-05-18 06:08:46

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]gruler installed but wouldn't start

Please edit the thread title to include the package name.

If you check gruler's AUR page, you will see that this error has already been noted there. However, the package is currently orphaned, so I would suggest you contact the upstream developer for assistance.

Offline

#3 2010-05-18 06:34:11

libretto
Member
Registered: 2010-05-18
Posts: 19

Re: [SOLVED]gruler installed but wouldn't start

OK. mail sent. Let's see if he's still available. It's a great utility. (Sorry new to Arch 2 days old)

Last edited by libretto (2010-05-18 06:35:41)

Offline

#4 2010-05-19 21:50:07

markz79
Member
Registered: 2009-05-17
Posts: 74

Re: [SOLVED]gruler installed but wouldn't start

The following edit to /usr/share/gruler/gruler.rb fixed it for me:

class GladeXML
   def guard_source_from_gc(source)
      return if source.nil?
      guard_source_from_gc_without_nil_check(source)
   end
   alias_method :guard_source_from_gc_without_nil_check, 
:guard_source_from_gc
end

Offline

#5 2010-05-20 07:39:44

libretto
Member
Registered: 2010-05-18
Posts: 19

Re: [SOLVED]gruler installed but wouldn't start

Thanks, it works for me too.:lol:

Offline

#6 2010-05-20 09:54:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED]gruler installed but wouldn't start

Submit a patch to the dev with that fix.

Offline

#7 2010-11-28 08:40:10

libretto
Member
Registered: 2010-05-18
Posts: 19

Re: [SOLVED]gruler installed but wouldn't start

Previous problem solved but after certain updates it's broke again. sad
This time it's another error message

$ gruler
Loading libraries...
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- ruler_window (LoadError)
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from /usr/share/gruler/utils/addons_ruby.rb:51:in `block in require'
    from /usr/share/gruler/utils/addons_ruby.rb:51:in `each'
    from /usr/share/gruler/utils/addons_ruby.rb:51:in `require'
    from /usr/share/gruler/gruler.rb:48:in `<main>'

Hi, tomk and markz79 can either of you do the magic and solve this again ? smile

Last edited by libretto (2010-11-28 08:41:35)

Offline

Board footer

Powered by FluxBB