[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] pyqtdeploy: Encoding Error Causing Crash
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2015-09-25 15:07:56
Message-ID: 6FC7A5F5-D2BF-4FE1-9691-923DF50C3488 () riverbankcomputing ! com
[Download RAW message or body]

On 25 Sep 2015, at 4:03 pm, Robert Kent <rob@gulon.co.uk> wrote:
> 
> Hi All,
> 
> Subsequent to my earlier trials and tribulations, I finally have an environment \
> from which I can successfully build an executable with pyqtdeploy 1.1 on Windows 7 \
> with (Py)Qt5.4 and the MSVC2010 compiler. However, when I run the application, I \
> get: 
> Starting C:\Users\Rob\Documents\pyqtdeploy_test\build\release\TestApp.exe
> Fatal Python error: PyInitialize: can't initialize sys standard streams
> Fatal Python error: LookupError: unknown encoding: cp1252
> Py_Initialize: can't initialize sys standard streams
> C:\Users\Rob\Documents\pyqtdeploy_test\build\release\TestApp.exe exited with code 3
> 
> The exact same very basic, one file PyQt5 test application builds fine with \
> pyqtdeploy on Mac so I'm guessing I've screwed up something on Windows… not sure \
> what though! 
> All and any thoughts gratefully appreciated as always.

pyqtdeploy requires you to explicitly include the codecs you want to support.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic