[Kde-bindings] Qt::Process#write causes an error due to unhandled long long return type with korundum from KDE 4.5-rc3

Robert Riemann robert.riemann at physik.hu-berlin.de
Wed Jul 28 13:52:19 UTC 2010


Looks like a known problem. Take a look at this mail:

Re:
  [Kde-bindings] [PATCH] Deferred objects, QGraphicsEffect, long long handler
From: 
Robert Riemann <robert.riemann at physik.hu-berlin.de>  (Humboldt University Berlin)
  To: 
KDE bindings for other programming languages <kde-bindings at kde.org>
  Date: 
Saturday 13:44:13

There was a thread about it including a patch.

On Wednesday 28 July 2010 15:49:18 Stefano Crocco wrote:
> If I try to write to a Qt::Process from my ruby program using korundum4
> from KDE-4.5-rc3, I get an exception saying it can't handle "long long" as
> a return type.
> 
> A simple program which produces this issue is the
> following:
> 
> require 'Qt4'
> a = Qt::Application.new []
> prc = Qt::Process.new
> a
> prc.start 'ruby'
> prc.wait_for_started
> begin prc.write '1+1'
> ensure
> Qt::Internal.application_terminated = true
> end
> 
> (The begin/ensure part is
> there to avoid the crash you get when you exit without calling
> Qt::Application#exec). The same program written in C++ works perfectly and
> I get 3 as return value. From ruby, instead, I get this
> exception:
> 
> prova.rb:6:in `method_missing': Cannot handle 'long long' as
> return-type of QIODevice::write (ArgumentError)
> 	from prova.rb:6:in
> `<main>'
> 
> Am I doing something wrong, or is this a bug?
> 
> Thanks for the
> attention
> 
> Stefano
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20100728/5b83a6df/attachment.sig>


More information about the Kde-bindings mailing list