It seems that there is an import missing from
bootstrap/argv_emulation.py.  

typeAlias used in __openfiles() is not listed on 
  from Carbon.AppleEvents import kCoreEventClass, kAEOpenApplication, \
                  kAEOpenDocuments, keyDirectObject, typeAEList

and generates error

argvemulator.py warning: can't unpack an open document event
Traceback (most recent call last):
  File "/Users/mef/Development/-Applications-/Teatro/dist/Teatro.app/Contents/Resources/__boot__.py", line 101, in __openfiles
    aliasdesc = listdesc.AEGetNthDesc(i+1, typeAlias)[1]
NameError: global name 'typeAlias' is not defined


I added typeAlias to the import and reinstalled py2app and
that seemed to fix the problem


M



On Jul 26, 2006, at 10:58 AM, Daniel Lord wrote:

I just tried the PIL build with the 2.5b version and it fails but the 2.4.3 version works fine...see below.
My hunch is Ronald might have disabled some paths in order to keep the beta from interfering with the standard 2.4 install. Or not ;-)
Ronald what say you?

[[EMAIL PROTECTED]]$ python2.5
Python 2.5b1 (r25b1:47038M, Jun 20 2006, 16:17:55)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named Image
>>>


Python 2.4.3 (#1, Apr  7 2006, 10:54:33)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>>

On Jul 26, 2006, at 4:08, Jörg Kantel wrote:

Hi,

today I tried to install the Python Image Library from this site <http://pythonmac.org/packages/py24-fat/index.html> and after the installer runs succesfully (it says) I got the following message

import Image
ImportError: No module named Image

It happens when I'm running python from /usr/local/bin/ as well as from /usr/bin/

Any suggestions?

Thanks in advance (and excuse my bad (d)english)

J"org

-- 
J"org Kantel                <[EMAIL PROTECTED]>
Max-Planck-Institute for the History of Science
Computer Department        <http://www.mpiwg-berlin.mpg.de/>
Boltzmannstr. 22                  D-14195 Berlin
fon: +4930-22667-220        fax: +4930-22667-299


_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org

"I have never won a debate with an ignorant person." 
-Ali ibn Abi Talib



_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to