[MacPorts] #37361: py27-lightblue framework error Mac OsX 10.8
#37361: py27-lightblue framework error Mac OsX 10.8 -------------------------------------------+------------------------------- Reporter: k.teza1@… | Owner: macports- Type: defect | tickets@… Priority: High | Status: new Component: ports | Milestone: Keywords: py27-lightblue,mountaion lion | Version: 2.1.2 | Port: py27-lightblue -------------------------------------------+------------------------------- {{{ import lightblue }}} resulting in the following error {{{ 2012-12-21 07:04:13.874 Python[4062:f07] PyObjCPointer created: at 0x7fff788af900 of type {__CFBoolean=} 2012-12-21 07:04:13.875 Python[4062:f07] PyObjCPointer created: at 0x7fff788af8f0 of type {__CFBoolean=} 2012-12-21 07:04:13.876 Python[4062:f07] PyObjCPointer created: at 0x7fff788af910 of type {__CFNumber=} 2012-12-21 07:04:13.876 Python[4062:f07] PyObjCPointer created: at 0x7fff788af928 of type {__CFNumber=} 2012-12-21 07:04:13.876 Python[4062:f07] PyObjCPointer created: at 0x7fff788af940 of type {__CFNumber=} Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/lightblue/__init__.py", line 160, in <module> from _lightblue import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/lightblue/_lightblue.py", line 28, in <module> import _LightAquaBlue File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/lightblue/_LightAquaBlue.py", line 32, in <module> _FRAMEWORK_PATH) ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework }}} -- Ticket URL: <https://trac.macports.org/ticket/37361> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework -----------------------------+----------------------------- Reporter: k.teza1@… | Owner: michael.klein@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lightblue | -----------------------------+----------------------------- Changes (by ryandesign@…): * priority: High => Normal * owner: macports-tickets@… => michael.klein@… * keywords: py27-lightblue,mountaion lion => -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework -----------------------------+----------------------------- Reporter: k.teza1@… | Owner: michael.klein@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lightblue | -----------------------------+----------------------------- Comment (by michael.klein@…): please attach the build log (might be gone by now, please rebuild in that case). -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework -----------------------------+----------------------------- Reporter: k.teza1@… | Owner: michael.klein@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lightblue | -----------------------------+----------------------------- Comment (by macports@…): I unzipped the LightAquaBlue-framework-MacOS10.6.zip file, opened the xcode project, changed the Base SDK from 10.6 to 10.7 (because I didn't have 10.6, and using 10.8 failed), and then compiled. I then took the LightAquaBlue.framework product and dropped it in /opt/local/Library/Frameworks/, and now "import lightblue" (and some other test api calls) seems to work. But I have no idea how to fix the actual port file so it installs correctly... -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework -----------------------------+----------------------------- Reporter: k.teza1@… | Owner: michael.klein@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lightblue | -----------------------------+----------------------------- Comment (by michael.klein@…): Replying to [comment:4 macports@…]:
I unzipped the LightAquaBlue-framework-MacOS10.6.zip file, opened the xcode project, changed the Base SDK from 10.6 to 10.7 (because I didn't have 10.6, and using 10.8 failed), and then compiled. I then took the LightAquaBlue.framework product and dropped it in /opt/local/Library/Frameworks/, and now "import lightblue" (and some other test api calls) seems to work. But I have no idea how to fix the actual port file so it installs correctly...
can you check whether the attached patch does the trick? -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework -----------------------------+----------------------------- Reporter: k.teza1@… | Owner: michael.klein@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lightblue | -----------------------------+----------------------------- Comment (by macports@…): Patch didn't work initially, but I changed the line: configure.sdkroot ${developer_dir}/SDKs/MacOSX10.7.sdk to be: configure.sdkroot ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk and then it did find the SDK dir. I also changed the double quotes to single quotes: reinplace "s|DSTROOT=/|SDKROOT=\"${configure.sdkroot}\" DSTROOT=${destroot}|g" \ to reinplace "s|DSTROOT=/|SDKROOT='${configure.sdkroot}' DSTROOT=${destroot}|g" \ because otherwise it was failing when it tried to run the command later using os.system() in setup.py. -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework -----------------------------+----------------------------- Reporter: k.teza1@… | Owner: michael.klein@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lightblue | -----------------------------+----------------------------- Comment (by michael.klein@…): Thanks, I updated the patch accordingly. -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework -----------------------------+----------------------------- Reporter: k.teza1@… | Owner: michael.klein@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: py27-lightblue | -----------------------------+----------------------------- Changes (by ciserlohn@…): * status: new => closed * resolution: => fixed Comment: r103946 -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework -----------------------------+----------------------------- Reporter: k.teza1@… | Owner: michael.klein@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py27-lightblue | -----------------------------+----------------------------- Changes (by mescalinum@…): * status: closed => reopened * resolution: fixed => Comment: I hit this bug and it appears that my py-lightblue portfile is already patched with this patch, but the issue is the same: {{{ $ python2.7 Python 2.7.6 (default, Nov 18 2013, 20:25:17) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import lightblue Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/lightblue/__init__.py", line 160, in <module> from _lightblue import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/lightblue/_lightblue.py", line 28, in <module> import _LightAquaBlue File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/lightblue/_LightAquaBlue.py", line 32, in <module> _FRAMEWORK_PATH) ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework
}}}
OSX 10.9.2, Xcode 5.1 Build version 5B130a -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework ---------------------------+-------------------------------- Reporter: k.teza1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-lightblue | ---------------------------+-------------------------------- Changes (by macsforever2000@…): * owner: michael.klein@… => macports-tickets@… * status: reopened => new * port: py27-lightblue => py-lightblue Comment: Michael is no longer maintaining this port. See r118707. -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#37361: py27-lightblue: ImportError: Cannot load LightAquaBlue framework, not found at/opt/local/Library/Frameworks/LightAquaBlue.framework ---------------------------+-------------------------------- Reporter: k.teza1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: py-lightblue | ---------------------------+-------------------------------- Comment (by macsforever2000@…): The framework appears to exist here: {{{ $ port contents py27-lightblue | grep LightAquaBlue /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/LightAquaBlue/LightAquaBlue.bridgesupport /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/LightAquaBlue/__init__.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/LightAquaBlue/__init__.pyc /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/lightblue/_LightAquaBlue.py /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/lightblue/_LightAquaBlue.pyc }}} -- Ticket URL: <https://trac.macports.org/ticket/37361#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts