[PyQt] Unable to connect signals to Python slots with non-ASCII names

Phil Thompson phil at riverbankcomputing.com
Tue Dec 12 14:33:07 GMT 2017


On 11 Dec 2017, at 2:58 am, Shriramana Sharma <samjnaa at gmail.com> wrote:
> 
> Hello. This is related to my recent post. I'm using PyQt
> 5.5.1+dfsg-3ubuntu4 with Py 3.5.1-3 default on Kubuntu Xenial 64 bit.
> I'm using non-ASCII words for user-defined
> variables and methods. Actually it's in an Indic script but for
> readers' convenience as minimal example I give the attached code with
> French.
> 
> I am connecting a signal to a Python method with non-ASCII name.
> Trying to execute the app results in a segfault. The fix is to replace
> the function name (as in line 9) with a bare lambda that calls the
> function (commented in line 10).

Tonight's snapshot will raise an encoding error.

Thanks,
Phil


More information about the PyQt mailing list