[MacPorts] #22489: Unable to import Foundation from py26-pyobjc2-cocoa on SL
MacPorts
noreply at macports.org
Wed Nov 11 19:28:04 PST 2009
#22489: Unable to import Foundation from py26-pyobjc2-cocoa on SL
------------------------------+---------------------------------------------
Reporter: ram@… | Owner: jmr@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: snowleopard | Port: py26-pyobjc2-cocoa
------------------------------+---------------------------------------------
Description changed by macsforever2000@…:
Old description:
> I'm unable to import the Foundation module from py26-pyobjc2-cocoa on
> 64bit SL:
>
> {{{
> [ram at cizin ~]$ python
> Python 2.6.4 (r264:75706, Oct 31 2009, 15:15:39)
> [GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Foundation
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/Foundation/__init__.py", line 10, in <module>
> from CoreFoundation import *
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/CoreFoundation/__init__.py", line 17, in <module>
> scan_classes=False)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/PyObjC/objc/_bridgesupport.py", line 129, in
> initFrameworkWrapper
> _parseBridgeSupport(data, globals, frameworkName, dylib_path)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/PyObjC/objc/_bridgesupport.py", line 53, in
> _parseBridgeSupport
> objc.parseBridgeSupport(data, globals, frameworkName, *args, **kwds)
> ValueError: Unknown typestr
> >>>
> }}
New description:
I'm unable to import the Foundation module from py26-pyobjc2-cocoa on
64bit SL:
{{{
[ram at cizin ~]$ python
Python 2.6.4 (r264:75706, Oct 31 2009, 15:15:39)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Foundation
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/Foundation/__init__.py", line 10, in <module>
from CoreFoundation import *
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/CoreFoundation/__init__.py", line 17, in <module>
scan_classes=False)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/PyObjC/objc/_bridgesupport.py", line 129, in
initFrameworkWrapper
_parseBridgeSupport(data, globals, frameworkName, dylib_path)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/PyObjC/objc/_bridgesupport.py", line 53, in
_parseBridgeSupport
objc.parseBridgeSupport(data, globals, frameworkName, *args, **kwds)
ValueError: Unknown typestr
>>>
}}}
--
--
Ticket URL: <http://trac.macports.org/ticket/22489#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list