undefined method `pred'

9 views
Skip to first unread message

Karel Volný

unread,
May 20, 2010, 9:38:43 AM5/20/10
to kaya-devel

Hi,

I'm trying to run Kaya on Fedora 13, and after performing a move, it crashes
with the following error message:

$ kaya
kaya(5555): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" "
(wrong format: expected 3 items, got 1)"
kaya(5555): ""CurrencyIntroducedDate" - conversion of "" to QDate failed" "
(wrong format: expected 3 items, got 1)"
kaya(5555)/kdeui (kdelibs): Attempt to use QAction "toggle_history" with
KXMLGUIFactory!
kaya(5555)/kdeui (kdelibs): Attempt to use QAction "toggle_console" with
KXMLGUIFactory!
/usr/share/kde4/apps/kaya/lib/interaction/history.rb:135:in `remove_items_at':
undefined method `pred' for 1:Fixnum (NoMethodError)
from /usr/share/kde4/apps/kaya/lib/interaction/operation.rb:47:in
`execute'
from /usr/share/kde4/apps/kaya/lib/interaction/operation.rb:67:in
`execute'
from /usr/share/kde4/apps/kaya/lib/interaction/operation.rb:66:in
`each'
from /usr/share/kde4/apps/kaya/lib/interaction/operation.rb:66:in
`execute'
from /usr/share/kde4/apps/kaya/lib/interaction/history.rb:38:in
`add_move'
from /usr/share/kde4/apps/kaya/lib/interaction/match.rb:104:in `move'
from /usr/share/kde4/apps/kaya/lib/controller.rb:334:in `perform!'
from /usr/share/kde4/apps/kaya/lib/executor.rb:14:in `execute_move'
... 13 levels...
from /usr/lib/ruby/site_ruby/1.8/KDE/korundum4.rb:60:in
`method_missing'
from /usr/lib/ruby/site_ruby/1.8/KDE/korundum4.rb:60:in `exec'
from /usr/share/kde4/apps/kaya/lib/kaya.rb:53:in `start_kaya'
from /usr/bin/kaya:11

... any ideas?

- the versions of software mentioned in INSTALL are:
ruby-1.8.6.399-1.fc13.x86_64
korundum-4.4.2-1.fc13.x86_64
kdelibs-4.4.2-4.fc13.x86_64
cmake-2.8.0-2.fc13.x86_64

- TIA
K.

--
You received this message because you are subscribed to the Google Groups "kaya-devel" group.
To post to this group, send email to kaya-...@googlegroups.com.
To unsubscribe from this group, send email to kaya-devel+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/kaya-devel?hl=en.

Paolo Capriotti

unread,
May 22, 2010, 2:58:45 PM5/22/10
to kaya-...@googlegroups.com
2010/5/20 Karel Volný <ka...@seznam.cz>:
>
> Hi,
>
> I'm trying to run Kaya on Fedora 13, and after performing a move, it crashes
> with the following error message:

Hi Karel,
what version of kaya are you using? I can't seem to reproduce this
problem neither with the current development version or with version
0.2.

Thanks,

Paolo

Karel Volný

unread,
May 24, 2010, 4:48:07 PM5/24/10
to kaya-...@googlegroups.com

Hi,

> > I'm trying to run Kaya on Fedora 13, and after performing a move, it
> > crashes with the following error message:
>
> what version of kaya are you using? I can't seem to reproduce this
> problem neither with the current development version or with version
> 0.2.

yes, it was the latest stable i.e. 0.2

I wanted to try on clean installation to rule out anÿ problems with my system,
but unfortunately there are some troubles in kdelibs-devel dependencies ATM so
I can't (easily) install the build prerequisites

K.

David Palacio

unread,
May 24, 2010, 5:06:27 PM5/24/10
to kaya-...@googlegroups.com
2010/5/24 Karel Volný <ka...@seznam.cz>:
> /usr/share/kde4/apps/kaya/lib/interaction/history.rb:135:in `remove_items_at':
> undefined method `pred' for 1:Fixnum (NoMethodError)

Hi. I think this is related to the Ruby version Fedora ships, 1.8.6.
But it seems that Fixnum#pred was added in Ruby 1.8.7.

Karel Volný

unread,
May 25, 2010, 2:55:39 AM5/25/10
to kaya-...@googlegroups.com

Hi,

> > /usr/share/kde4/apps/kaya/lib/interaction/history.rb:135:in
> > `remove_items_at': undefined method `pred' for 1:Fixnum (NoMethodError)
>
> Hi. I think this is related to the Ruby version Fedora ships, 1.8.6.
> But it seems that Fixnum#pred was added in Ruby 1.8.7.

could be, the Gentoo machine I run Kaya without problems has ruby 1.8.7

is that possible to workaround this?
- seems that ruby update in Fedora is not coming anytime soon (I'll check with
the developers, but what I've heard, the efforts are to package ruby 1.9 which
may or may not work ...)

Paolo Capriotti

unread,
May 25, 2010, 4:49:51 AM5/25/10
to kaya-...@googlegroups.com
2010/5/25 Karel Volný <ka...@seznam.cz>:
>
> could be, the Gentoo machine I run Kaya without problems has ruby 1.8.7
>
> is that possible to workaround this?
> - seems that ruby update in Fedora is not coming anytime soon (I'll check with
> the developers, but what I've heard, the efforts are to package ruby 1.9 which
> may or may not work ...)

It shouldn't be hard to work around it. I'll look into it later today.

Paolo

Karel Volný

unread,
May 25, 2010, 6:02:34 AM5/25/10
to kaya-...@googlegroups.com

great, thanks in advance!

btw, what is the current status of the development version?
- wouldn't that be better releasing a new version, including the translations,
instead of patching 0.2?

K.

Dne Út 25. května 2010 Paolo Capriotti napsal(a):

Paolo Capriotti

unread,
May 25, 2010, 6:06:40 AM5/25/10
to kaya-...@googlegroups.com
2010/5/25 Karel Volný <ka...@seznam.cz>:
>
> great, thanks in advance!
>
> btw, what is the current status of the development version?
> - wouldn't that be better releasing a new version, including the translations,
> instead of patching 0.2?

Definitely. I should be able to get back into developing kaya soon
enough. The Qt-only version is almost complete.
Reply all
Reply to author
Forward
0 new messages