reopen 505223 retitle 505223 Please raise when methods are not called with appropriate arguments. severity 505223 wishlist tag 505223 upstream thanks
Hello, Ondrej Bilka wrote: > On Tue, Nov 11, 2008 at 02:34:37AM +0100, Vincent Fourmond wrote: >> Hello, >> >> Ondrej Bilka wrote: >> Have you tried using real arguments ? "aaa" definitely does not >> qualify as a QGraphicsScene object, does it ? I agree that the error >> message is not obvious. Try again with >> >> Qt.debug_level = Qt::DebugLevel::High >> >> It should be clear that what is wrong is that the argument is not >> correct. Indeed, the following code works: > But you are throwing NoMethodError. This means there is no method scene=. For qt4-ruby, it just means that the method was not found *with the type corresponding to your arguments*. I agree the exception raised is confusing. I'll see what I can do. Cheers, Vincent -- Vincent Fourmond, Debian Developer http://vince-debian.blogspot.com/ His followers called him Mahasamatman and said he was a god. He preferred to drop the Maha- and the -atman, however, and called himself Sam. -- Roger Zelazny, Lord of Light Vincent, listening to Zoo Station (U2) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]