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/
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