Opened 15 years ago

Closed 15 years ago

#22489 closed defect (fixed)

Unable to import Foundation from py26-pyobjc2-cocoa on SL

Reported by: skymoo (Adam Mercer) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc: celil.rufat@…
Port: py26-pyobjc2-cocoa

Description (last modified by mf2k (Frank Schima))

I'm unable to import the Foundation module from py26-pyobjc2-cocoa on 64bit SL:

[ram@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
>>>

Change History (2)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.