ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pythoncard
pythoncard
[Pythoncard-users] PythonCard on Intel-Mac startup problem
by Uwe Hobohm other posts by this author
Nov 28 2006 3:11PM messages near this date
[pythoncard] John | [Pythoncard-users] More questions
Sir,

I went carefully through the installation instruction on
http://pythoncard.sourceforge.net/macosx_tiger_installation.html

Then, after

which pythonw
/Library/Frameworks/Python.framework/Versions/Current/bin/pythonw

cd /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
site-packages/PythonCard/samples/minimal
pythonw minimal.py

I get the following dump:

Traceback (most recent call last):
   File "minimal.py", line 8, in ?
     from PythonCard import model
   File "/sw/lib/python2.4/site-packages/PythonCard/model.py", line  
21, in ?
   File "//Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/wx-2.6-mac-unicode/wx/__init__.py", line 42,  
in ?
     from wx._core import *
   File "//Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/wx-2.6-mac-unicode/wx/_core.py", line 4, in ?
     import _core_
ImportError: Failure linking new module: /Library/Frameworks/ 
Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.6-mac- 
unicode/wx/_core_.so: Symbol not found: __cg_TIFFSetErrorHandler
   Referenced from: /System/Library/Frameworks/ 
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ 
Versions/A/ImageIO
   Expected in: /sw/lib/libTIFF.dylib



I understand that PythonCard is well in the path:

pythonw
 > >> import sys
 > >> sys.path
['/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
site-packages/PythonCard/samples/minimal', '/Library/Frameworks/ 
Python.framework/Versions/2.4/lib/python2.4/site-packages', '/Library/ 
Frameworks/Python.framework/Versions/2.4/lib/python24.zip', '/Library/ 
Frameworks/Python.framework/Versions/2.4/lib/python2.4', '/Library/ 
Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat-darwin',  
'/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat- 
mac', '/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/plat-mac/lib-scriptpackages', '/Library/Frameworks/ 
Python.framework/Versions/2.4/lib/python2.4/lib-tk', '/Library/ 
Frameworks/Python.framework/Versions/2.4/lib/python2.4/lib-dynload',  
'/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- 
packages/wx-2.6-mac-unicode']
 > >>

However, libTIFF.dylib is expected at the wrong place and also the  
traceback line 21 points to a file in /sw... which does not exist. I  
guess there is a mixup with pathes. Can you help ?

Thanks,
  Falco

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pythoncard-users mailing list
Pythoncard-users@[...].net
https://lists.sourceforge.net/lists/listinfo/pythoncard-users

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved