Opened 10 years ago

Closed 10 years ago

#44096 closed defect (worksforme)

py27-qscintilla: Error: This version of QScintilla requires sip 4.16 or later

Reported by: jaspergregory@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc:
Port: py27-qscintilla

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When I try to upgrade or install py27-qscintilla I get the error "This version of QScintilla requires sip 4.16 or later."

I have run these commands, but to no avail.

  580 port installed qscintilla
  579  sudo port clean *qsci*
  580  sudo port selfupdate
  581  sudo port -p upgrade *qsci*
  582  sudo port -v install py-qscintilla
  583  ls
  584  sudo ports ls
  585  sudo port clean qscintilla
  586  sudo port upgrade qscintilla
  587  sudo port clean qscintilla

the relevant log line is here:

:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/QScintilla-gpl-2.8.2/Python" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py --sip=/opt/local/bin/sip-2.7 --pyqt-sipdir=/opt/local/share/py27-sip/PyQt4 --apidir=/opt/local/share/qt4/qsci --use-arch=x86_64 

:info:configure Error: This version of QScintilla requires sip 4.16 or later.

Attachments (1)

mainLog.txt (5.0 KB) - added by jaspergregory@… 10 years ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by jaspergregory@…

Attachment: mainLog.txt added

main.log

comment:1 Changed 10 years ago by jaspergregory@…

I tried upgrading Sip and got the following traceback.

:info:configure An internal error occured.  Please report all the output from the program,
:info:configure including the following traceback, to support@riverbankcomputing.com.
:info:configure Traceback (most recent call last):
:info:configure   File "configure.py", line 1598, in <module>
:info:configure     _main(sys.argv, module_config)
:info:configure   File "configure.py", line 1574, in _main
:info:configure     target_config.introspect_pyqt(module_config)
:info:configure   File "configure.py", line 815, in introspect_pyqt
:info:configure     from PyQt4 import QtCore
:info:configure RuntimeError: the sip module implements API v11.0 to v11.1 but the PyQt4.QtCore module requires API v10.1
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-qscintilla/py27-qscintilla/work/QScintilla-gpl-2.8.2/Python" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py --sip=/opt/local/bin/sip-2.7 --pyqt-sipdir=/opt/local/share/py27-sip/PyQt4 --apidir=/opt/local/share/qt4/qsci --use-arch=x86_64 
:info:configure Exit code: 1
:error:configure org.macports.configure for port py27-qscintilla returned: configure failure: command execution failed
:debug:configure Error code: NONE

Last edited 10 years ago by jaspergregory@… (previous) (diff)

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: qscintilla removed
Owner: changed from macports-tickets@… to michaelld@…
Port: py27-qscintilla added
Summary: unable to upgrade py27-qscintillapy27-qscintilla: Error: This version of QScintilla requires sip 4.16 or later

The error from py27-qscintilla that sip 4.16 or later is required does not make sense to me, since py27-sip is a dependency of py27-pyqt4 which is a dependency of py27-qscintilla, and py27-sip is at version 4.16.1.

The error you're getting from sip (and the relevant lines are likely before the ones you showed us) should be reported to the developers of sip, as it says in the error message. I'm not seeing that problem on my system either.

comment:3 Changed 10 years ago by jaspergregory@…

I installed the newest PyQt4 and this allowed me to install py27-qscintilla. so the problem is resolved

comment:4 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: newclosed

OK; thanks for working it out & for providing feedback.

Note: See TracTickets for help on using tickets.