kaya crash with kde-4.4.0

17 views
Skip to first unread message

Andreas K. Huettel

unread,
Feb 11, 2010, 3:28:09 PM2/11/10
to kaya-...@googlegroups.com

Hi,

when I start kaya on Gentoo with kde-4.4.0 and kdebindings-ruby-4.4.0 (new in
tree!), the kaya chess window opens. However, as soon as I click on a piece,
kaya crashes with the following error message:

huettel@pinacolada /usr/portage/kde-base/kdelibs $ kaya
kaya(12608)/kdeui (kdelibs): Attempt to use QAction "toggle_history" with
KXMLGUIFactory!
kaya(12608)/kdeui (kdelibs): Attempt to use QAction "toggle_console" with
KXMLGUIFactory!
/usr/share/apps/kaya/lib/qtutils.rb:135:in `y': wrong number of arguments (0
for 1) (ArgumentError)
from /usr/share/apps/kaya/lib/qtutils.rb:135:in `to_f'
from /usr/share/apps/kaya/lib/board/scene.rb:107:in `find_element'
from /usr/share/apps/kaya/lib/observer_utils.rb:15:in `detect'
from /usr/share/apps/kaya/lib/board/scene.rb:104:in `each'
from /usr/share/apps/kaya/lib/board/scene.rb:104:in `detect'
from /usr/share/apps/kaya/lib/board/scene.rb:104:in `find_element'
from /usr/share/apps/kaya/lib/board/scene.rb:27:in `mousePressEvent'
from /usr/lib64/ruby/site_ruby/1.8/KDE/korundum4.rb:60:in
`method_missing'
from /usr/lib64/ruby/site_ruby/1.8/KDE/korundum4.rb:60:in `exec'
from /usr/share/apps/kaya/lib/kaya.rb:53:in `start_kaya'
from /usr/bin/kaya:11
huettel@pinacolada /usr/portage/kde-base/kdelibs $

The checkout is

* GIT update -->
* repository: git://github.com/pcapriotti/kaya.git
* to commit: 545030657af7a3f8a37adaca0cbccfcf340f5944
* branch: master

TIA for your help,
best, Andreas

--
Dr. Andreas K. Huettel
Institute for Experimental and Applied Physics
University of Regensburg
D-93040 Regensburg
Germany

tel. +49 151 241 67748 (mobile)
e-mail ma...@akhuettel.de
http://www.akhuettel.de/research/

signature.asc

Paolo Capriotti

unread,
Feb 12, 2010, 4:24:46 PM2/12/10
to kaya-...@googlegroups.com
On Thu, Feb 11, 2010 at 8:28 PM, Andreas K. Huettel <ma...@akhuettel.de> wrote:
>
> Hi,
>
> when I start kaya on Gentoo with kde-4.4.0 and kdebindings-ruby-4.4.0 (new in
> tree!), the kaya chess window opens. However, as soon as I click on a piece,
> kaya crashes with the following error message:
>
> huettel@pinacolada /usr/portage/kde-base/kdelibs $ kaya
> kaya(12608)/kdeui (kdelibs): Attempt to use QAction "toggle_history" with
> KXMLGUIFactory!
> kaya(12608)/kdeui (kdelibs): Attempt to use QAction "toggle_console" with
> KXMLGUIFactory!
> /usr/share/apps/kaya/lib/qtutils.rb:135:in `y': wrong number of arguments (0
> for 1) (ArgumentError)

Hi Andreas,
thanks for the bug report. I don't have 4.4 right now, but I think I
know what the problem is: the 'y' method of YAML conflicts with that
in Qt::Rect. I pushed a fix for that. Can you please update and let me
know if that fixes the problem?

Thank you.

Paolo

Reply all
Reply to author
Forward
0 new messages