Seamus O'Shea <os...@uleth.ca> added the comment:
(1) When running python (/usr/bin/python) in Terminal I am able to
import objc successfully. I printed the directory to be sure it's
complete
Seamuss-MacBook:~ seamus$ /usr/bin/python
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import objc
>>> print dir(objc)
['Accessor', 'BadPrototypeError', 'CFToObject', 'Category', 'FSRef',
'FSSpec', 'IBAction', 'IBOutlet', 'IMP', 'LockError',
'MAC_OS_X_VERSION_10_1', ......
(2) I restarted Xcode, did a "Clean all" and rebuilt the app, but I
got this dump
"Runningâ¦
2009-09-07 12:25:39.355 First_PyObjC[2796:a0f] mainFilePath is /Users/
seamus/Science/xcode exploration/Objc-programs/First_PyObjC/build/
Debug/First_PyObjC.app/Contents/Resources/main.py
2009-09-07 12:25:39.360 First_PyObjC[2796:a0f] pythonpath is (
"/Users/seamus/Science/xcode exploration/Objc-programs/
First_PyObjC/build/Debug/First_PyObjC.app/Contents/Resources",
"/Users/seamus/Science/xcode exploration/Objc-programs/
First_PyObjC/build/Debug/First_PyObjC.app/Contents/Resources/PyObjC",
"/System/Library/Frameworks/Python.framework/Versions/Current/
Extras/lib/python/"
)
Traceback (most recent call last):
File "/Users/seamus/Science/xcode exploration/Objc-programs/
First_PyObjC/build/Debug/First_PyObjC.app/Contents/Resources/main.py",
line 10, in <module>
import objc
File "/System/Library/Frameworks/Python.framework/Versions/Current/
Extras/lib/python/PyObjC/objc/__init__.py", line 22, in <module>
_update()
File "/System/Library/Frameworks/Python.framework/Versions/Current/
Extras/lib/python/PyObjC/objc/__init__.py", line 19, in _update
import _objc
ImportError: dlopen(/System/Library/Frameworks/Python.framework/
Versions/Current/Extras/lib/python/PyObjC/objc/_objc.so, 2): Symbol
not found: _PyType_Modified
Referenced from: /System/Library/Frameworks/Python.framework/
Versions/Current/Extras/lib/python/PyObjC/objc/_objc.so
Expected in: flat namespace
in /System/Library/Frameworks/Python.framework/Versions/Current/
Extras/lib/python/PyObjC/objc/_objc.so
2009-09-07 12:25:39.460 First_PyObjC[2796:a0f] *** Terminating app due
to uncaught exception 'NSInternalInconsistencyException', reason: '/
Users/seamus/Science/xcode exploration/Objc-programs/First_PyObjC/
main.m:46 main() PyRun_SimpleFile failed with file '/Users/seamus/
Science/xcode exploration/Objc-programs/First_PyObjC/build/Debug/
First_PyObjC.app/Contents/Resources/main.py'. See console for errors.'
*** Call stack at first throw:
(
0 CoreFoundation 0x90a1858a __raiseError + 410
1 libobjc.A.dylib 0x9309cf49
objc_exception_throw + 56
2 CoreFoundation 0x90a182b8 +[NSException
raise:format:arguments:] + 136
3 CoreFoundation 0x90a1822a +[NSException
raise:format:] + 58
4 First_PyObjC 0x00002bc2 main + 1084
5 First_PyObjC 0x0000275a start + 54
)
sharedlibrary apply-load-rules all"
It seems identical to the original problem.
(3) I wondered if there is something the PATH specifications that
caused things to be misdirected during the build, so I printed
sys.path out from within python.
/Library/Python/2.6/site-packages/pyobjc-2.2b2-py2.6.egg
/Library/Python/2.6/site-packages/
pyobjc_framework_XgridFoundation-2.2b2-py2.6.egg
/Library/Python/2.6/site-packages/pyobjc_framework_WebKit-2.2b2-
py2.6.egg
/Library/Python/2.6/site-packages/
pyobjc_framework_SystemConfiguration-2.2b2-py2.6-macosx-10.6-
universal.egg
/Library/Python/2.6/site-packages/pyobjc_framework_SyncServices-2.2b2-
py2.6.egg
/Library/Python/2.6/site-packages/pyobjc_framework_SearchKit-2.2b2-
py2.6.egg
/Library/Python/2.6/site-packages/pyobjc_framework_ScreenSaver-2.2b2-
py2.6-macosx-10.6-universal.egg
/Library/Frameworks/Python.framework/Versions/Current/bin
/Library/Frameworks/Python.framework/Versions/2.6/bin
/Library/Frameworks/Python.framework/Versions/3.0/bin
/Library/Frameworks/Python.framework/Versions/2.4/bin
/opt/local/bin
/opt/local/sbin
/sw/bin
/sw/sbin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/usr/X11/bin
/usr/X11R6/bin
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python26.zip
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/
python
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
lib-old
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/
lib-dynload
/Library/Python/2.6/site-packages
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/
python/PyObjC
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/
python/wx-2.8-mac-unicode
It seems redundant in places and includes paths to other versions of
python, but I can't see that there is a source for the problem there.
Is there anything else that might offer a clue?
Thanks
Seamus O'Shea
University of Lethbridge, iCORE, Cybera
(403) 315-2941
(403) 332-4545
On Sep 6, 2009, at Sun, Sep6, 6:10 , Ronald Oussoren wrote:
>
> Ronald Oussoren <ronaldousso...@mac.com> added the comment:
>
> This seems to be a problem with Apple's copy of Python or with your
> machine.
>
> Could you try the following:
> * In terminal.app run /usr/bin/python
> * Then use 'import objc' from Python's prompt.
> * Does this work or does it give the same traceback (it works for me
> BTW).
>
> If importing objc from Python's prompt works: Try to do a clean
> build of
> the application in Xcode (use Clean All and then perform a build).
>
> ----------
> resolution: -> invalid
>
> _______________________________________
> Python tracker <rep...@bugs.python.org>
> <http://bugs.python.org/issue6812>
> _______________________________________
----------
Added file: http://bugs.python.org/file14855/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6812>
_______________________________________
<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space; "><div><div>(1) When running
python (/usr/bin/python) in Terminal I am able to import objc successfully. I
printed the directory to be sure it's complete</div><div><br></div><div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Futura; ">Seamuss-MacBook:~ seamus$
/usr/bin/python</div><div style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal
Futura; ">Python 2.6.1 (r261:67515, Jul 7 2009,
23:51:51) </div><div style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal
Futura; ">[GCC 4.2.1 (Apple Inc. build 5646)] on darwin</div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Futura; ">Type "help", "copyright",
"credits" or "license" for more information.</div><div style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal
normal 12px/normal Futura; ">>>> import objc</div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Futura; ">>>> print
dir(objc)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px; font: normal normal normal 12px/normal Futura;
">['Accessor', 'BadPrototypeError', 'CFToObject', 'Category', 'FSRef',
'FSSpec', 'IBAction', 'IBOutlet', 'IMP', 'LockError', 'MAC_OS_X_VERSION_10_1',
......</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px;
margin-left: 0px; font: normal normal normal 12px/normal Futura;
"><br></div><div>(2) I restarted Xcode, did a "Clean all" and rebuilt the app,
but I got this dump</div><div><br></div><div><div style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal
normal 12px/normal Courier; ">"Runningâ¦</div><div style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal
normal 12px/normal Courier; "><i>2009-09-07 12:25:39.355 First_PyObjC[2796:a0f]
mainFilePath is /Users/seamus/Science/xcode
exploration/Objc-programs/First_PyObjC/build/Debug/First_PyObjC.app/Contents/Resources/main.py </i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i>2009-09-07
12:25:39.360 First_PyObjC[2796:a0f] pythonpath is (</i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i>
"/Users/seamus/Science/xcode
exploration/Objc-programs/First_PyObjC/build/Debug/First_PyObjC.app/Contents/Resources",</i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i>
"/Users/seamus/Science/xcode
exploration/Objc-programs/First_PyObjC/build/Debug/First_PyObjC.app/Contents/Resources/PyObjC",</i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i>
"/System/Library/Frameworks/Python.framework/Versions/Current/Extras/lib/python/"</i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i>) </i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i>Traceback (most
recent call last):</i></div><div style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal
Courier; "><i> File "/Users/seamus/Science/xcode
exploration/Objc-programs/First_PyObjC/build/Debug/First_PyObjC.app/Contents/Resources/main.py",
line 10, in <module></i></div><div style="margin-top: 0px; margin-right:
0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal
12px/normal Courier; "><i> import objc</i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i> File
"/System/Library/Frameworks/Python.framework/Versions/Current/Extras/lib/python/PyObjC/objc/__init__.py",
line 22, in <module></i></div><div style="margin-top: 0px; margin-right:
0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal
12px/normal Courier; "><i> _update()</i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i> File
"/System/Library/Frameworks/Python.framework/Versions/Current/Extras/lib/python/PyObjC/objc/__init__.py",
line 19, in _update</i></div><div style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal
Courier; "><i> import _objc</i></div><div style="margin-top:
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal
normal normal 12px/normal Courier; "><i>ImportError:
dlopen(/System/Library/Frameworks/Python.framework/Versions/Current/Extras/lib/python/PyObjC/objc/_objc.so,
2): Symbol not found: _PyType_Modified</i></div><div style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal
normal 12px/normal Courier; "><i> Referenced from:
/System/Library/Frameworks/Python.framework/Versions/Current/Extras/lib/python/PyObjC/objc/_objc.so</i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i> Expected
in: flat namespace</i></div><div style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal
Courier; "><i> in
/System/Library/Frameworks/Python.framework/Versions/Current/Extras/lib/python/PyObjC/objc/_objc.so</i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i>2009-09-07
12:25:39.460 First_PyObjC[2796:a0f] *** Terminating app due to uncaught
exception 'NSInternalInconsistencyException', reason:
'/Users/seamus/Science/xcode exploration/Objc-programs/First_PyObjC/main.m:46
main() PyRun_SimpleFile failed with file '/Users/seamus/Science/xcode
exploration/Objc-programs/First_PyObjC/build/Debug/First_PyObjC.app/Contents/Resources/main.py'. See
console for errors.'</i></div><div style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal
Courier; "><i>*** Call stack at first throw:</i></div><div style="margin-top:
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal
normal normal 12px/normal Courier; "><i>(</i></div><div style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal
normal 12px/normal Courier; "><i><span class="Apple-tab-span"
style="white-space: pre; ">
</span>0 CoreFoundation
0x90a1858a __raiseError +
410</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px; font: normal normal normal 12px/normal Courier;
"><i><span class="Apple-tab-span" style="white-space: pre; ">
</span>1 libobjc.A.dylib
0x9309cf49 objc_exception_throw
+ 56</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px; font: normal normal normal 12px/normal Courier;
"><i><span class="Apple-tab-span" style="white-space: pre; ">
</span>2 CoreFoundation
0x90a182b8 +[NSException
raise:format:arguments:] + 136</i></div><div style="margin-top: 0px;
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal
normal 12px/normal Courier; "><i><span class="Apple-tab-span"
style="white-space: pre; "> </span>3 CoreFoundation
0x90a1822a +[NSException raise:format:] + 58</i></div><div
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; font: normal normal normal 12px/normal Courier; "><i><span
class="Apple-tab-span" style="white-space: pre; ">
</span>4 First_PyObjC
0x00002bc2 main +
1084</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px; font: normal normal normal 12px/normal Courier;
"><i><span class="Apple-tab-span" style="white-space: pre; ">
</span>5 First_PyObjC
0x0000275a start +
54</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px;
margin-left: 0px; font: normal normal normal 12px/normal Courier;
"><i>)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom:
0px; margin-left: 0px; font: normal normal normal 12px/normal Courier;
">sharedlibrary apply-load-rules all"</div></div><div><font
class="Apple-style-span" face="Futura"><br></font></div><div><font
class="Apple-style-span" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">It seems identical to the original
problem.</span></font></div><div><font class="Apple-style-span"
face="Futura"><br></font></div><div><font class="Apple-style-span"
face="Futura">(3) I</font> wondered if there is something the PATH
specifications that caused things to be misdirected during the build, so I
printed sys.path out from within
python. </div></div><div><br></div><div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Python/2.6/site-packages/pyobjc-2.2b2-py2.6.egg</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Python/2.6/site-packages/pyobjc_framework_XgridFoundation-2.2b2-py2.6.egg</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Python/2.6/site-packages/pyobjc_framework_WebKit-2.2b2-py2.6.egg</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Python/2.6/site-packages/pyobjc_framework_SystemConfiguration-2.2b2-py2.6-macosx-10.6-universal.egg</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Python/2.6/site-packages/pyobjc_framework_SyncServices-2.2b2-py2.6.egg</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Python/2.6/site-packages/pyobjc_framework_SearchKit-2.2b2-py2.6.egg</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Python/2.6/site-packages/pyobjc_framework_ScreenSaver-2.2b2-py2.6-macosx-10.6-universal.egg</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Frameworks/Python.framework/Versions/Current/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Frameworks/Python.framework/Versions/2.6/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Frameworks/Python.framework/Versions/3.0/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Frameworks/Python.framework/Versions/2.4/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/opt/local/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/opt/local/sbin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/sw/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/sw/sbin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/usr/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/usr/sbin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/sbin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/usr/local/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/usr/X11/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">/usr/X11R6/bin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/Library/Python/2.6/site-packages</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC</span></font></div><div><font
class="Apple-style-span" face="Futura" size="3"><span class="Apple-style-span"
style="font-size: 12px;
">/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode</span></font></div><div><br></div></div><div><font
class="Apple-style-span" size="3"><span class="Apple-style-span"
style="font-size: 12px; ">It seems redundant in places and includes paths to
other versions of python, but I can't see that there is a source for the
problem there.</span></font></div><div><br></div>Is there anything else that
might offer a
clue? <div><br></div><div><br></div><div>Thanks</div><div><br></div></div><div><br></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0,
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0; "><div><div><div>Seamus
O'Shea</div><div>University of Lethbridge, iCORE, Cybera</div></div></div>(403)
315-2941<div>(403) 332-4545</div></span>
</div>
<br><div><div>On Sep 6, 2009, at Sun, Sep6, 6:10 , Ronald Oussoren
wrote:</div><br class="Apple-interchange-newline"><blockquote
type="cite"><div><br>Ronald Oussoren <<a
href="mailto:ronaldousso...@mac.com">ronaldousso...@mac.com</a>> added the
comment:<br><br>This seems to be a problem with Apple's copy of Python or with
your <br>machine.<br><br>Could you try the following:<br>* In terminal.app run
/usr/bin/python<br>* Then use 'import objc' from Python's prompt.<br>* Does
this work or does it give the same traceback (it works for me
<br>BTW).<br><br>If importing objc from Python's prompt works: Try to do a
clean build of <br>the application in Xcode (use Clean All and then perform a
build).<br><br>----------<br>resolution: ->
invalid<br><br>_______________________________________<br>Python tracker <<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>><br><<a
href="http://bugs.python.org/issue6812">http://bugs.python.org/issue6812</a>><br>_______________________________________<br></div></blockquote></div><br></body></html>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com