Bug report #8084

FindSIP.py

Added by Joaquim Luis over 11 years ago. Updated over 11 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System:Windows 7 Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:16922

Description

Fails to find sip. For example, running some commands from the FindSIP.py file

  >>> import sys
  >>> import sipconfig
  >>> sipcfg = sipconfig.Configuration()
  >>> print("sip_version:%06.0x" % sipcfg.sip_version)
  sip_version:040e02
  >>> print("sip_version_num:%d" % sipcfg.sip_version)
  sip_version_num:265730
  >>> print("sip_version_str:%s" % sipcfg.sip_version_str)
  sip_version_str:4.14.2
  >>> print("sip_bin:%s" % sipcfg.sip_bin)
  sip_bin:X:\\Python27-x64\\sip

and the non-existent "X:\\Python27-x64\\sip" is propagated to the makefiles

History

#1 Updated by Giovanni Manghi over 11 years ago

Hi,
please use meaningful subjects/titles.

#2 Updated by Jürgen Fischer over 11 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

sounds like you sip install is broken.

#3 Updated by Joaquim Luis over 11 years ago

How can it be broken if I manually fix the makefiles to point to sip location and than it works?

#4 Updated by Jürgen Fischer over 11 years ago

Joaquim Luis wrote:

How can it be broken if I manually fix the makefiles to point to sip location and than it works?

sip_bin doesn't point to the sip binary.

Also available in: Atom PDF