[PyQt] Unhelpful error message i.o. "object has no attribute" in case of non-ASCII method names
me at the-compiler.org
Mon Dec 11 05:32:01 GMT 2017
On Mon, Dec 11, 2017 at 08:23:38AM +0530, Shriramana Sharma wrote:
> Hello. I'm using PyQt 5.5.1+dfsg-3ubuntu4 with Py 3.5.1-3 default on
> Kubuntu Xenial 32 bit.
That PyQt version is quite old (October 2015). You might want to upgrade to
something newer. Since Ubuntu Xenial has Python 3.5, you should be able to
install a newer PyQt via pip.
> The unhelpful message wasn't really helpful to debug the code because
> I couldn't understand what ASCII codec was being called for. Is it
> possible for a better error message just like the default Python one
> to be printed?
Works as expected for me with PyQt 5.9.
https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the PyQt