[PyQt] Bug in QScintilla-2.8.3 configure.py? (with fix)
phil at riverbankcomputing.com
Wed Mar 11 11:14:14 GMT 2015
On 11/03/2015 10:08 am, Patrick Stinson wrote:
> Uh oh, once I get configure.py to complete successfully the make file
> (and Qsci.pro) don’t have any sources, and the dylib is empty.
> I am running latest yosemite with pyqt5/5.4.1 installed via homebrew.
> Here is the output with the unmodified configure.py:
> turin:Python patrick$ python3 configure.py --pyqt=PyQt5
> Configuring QScintilla 2.8.3...
> QScintilla 2.8.3 is being used.
> The QScintilla .sip files will be installed in
> The QScintilla module will be installed in
> PyQt 5.4 is being used.
> Qt 5.4.1 is being used.
> sip 4.16.5 is being used.
> The sip executable is /usr/local/bin/sip.
> The QScintilla module is being built with 'protected' redefined as
> The QScintilla API file will be installed in
> Generating the C++ source for the Qsci module...
> Error: Unable to create the C++ code.
> turin:Python patrick$
What's the output when running with --verbose?
Does the problem go away with QScintilla v2.8.4?
>> On Mar 11, 2015, at 1:57 AM, Patrick Stinson <patrickkidd at gmail.com>
>> Hello, it’s been a long time.
>> I noticed that configure.py won’t run unless I disabled the file
>> existence check at line 1265:
>> # if not os.access(check_file, os.F_OK):
>> # error("Unable to create the C++ code.")
>> it’s checking for the *existence* of ./Python/sipAPIQsci.h, which of
>> course does not exist. Perhaps it should check for write access
>> Thanks for keeping this excellent project going for all of these
> PyQt mailing list PyQt at riverbankcomputing.com
More information about the PyQt