I've been trying for a couple days to build a program using pyObjC on
a mac, I'm stuck on this error:
<string>: inconsistent use of tabs and spaces in indentation
Traceback (most recent call last):
File "setup.py", line 59, in ?
setup(**setup_o ptions)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/distutils/core.py", line 149, in setup
dist.run_comman ds()
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/distutils/dist.py", line 946, in run_commands
self.run_comman d(cmd)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framewor k/Versions/2.4/lib/
python2.4/site-packages/py2app/py2app/build_app.py", line 342, in run
self.initialize _plist()
File "/Library/Frameworks/Python.framewor k/Versions/2.4/lib/
python2.4/site-packages/py2app/py2app/build_app.py", line 415, in
initialize_plis t
plist = self.get_defaul t_plist()
File "/Library/Frameworks/Python.framewor k/Versions/2.4/lib/
python2.4/site-packages/py2app/py2app/build_app.py", line 294, in
get_default_pli st
version = find_version(ta rget.script)
File "/Library/Frameworks/Python.framewor k/Versions/2.4/lib/
python2.4/site-packages/py2app/py2app/util.py", line 13, in
find_version
ast = compiler.parseF ile(fn)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/compiler/transformer.py" , line 48, in parseFile
return parse(src)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/compiler/transformer.py" , line 52, in parse
return Transformer().p arsesuite(buf)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/compiler/transformer.py" , line 129, in parsesuite
return self.transform( parser.suite(te xt))
File "<string>", line 628
else:
^
SyntaxError: invalid syntax
I don't even know which file has the indentation problem.
Any thoughts.
Ian Bloom
a mac, I'm stuck on this error:
<string>: inconsistent use of tabs and spaces in indentation
Traceback (most recent call last):
File "setup.py", line 59, in ?
setup(**setup_o ptions)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/distutils/core.py", line 149, in setup
dist.run_comman ds()
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/distutils/dist.py", line 946, in run_commands
self.run_comman d(cmd)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/Library/Frameworks/Python.framewor k/Versions/2.4/lib/
python2.4/site-packages/py2app/py2app/build_app.py", line 342, in run
self.initialize _plist()
File "/Library/Frameworks/Python.framewor k/Versions/2.4/lib/
python2.4/site-packages/py2app/py2app/build_app.py", line 415, in
initialize_plis t
plist = self.get_defaul t_plist()
File "/Library/Frameworks/Python.framewor k/Versions/2.4/lib/
python2.4/site-packages/py2app/py2app/build_app.py", line 294, in
get_default_pli st
version = find_version(ta rget.script)
File "/Library/Frameworks/Python.framewor k/Versions/2.4/lib/
python2.4/site-packages/py2app/py2app/util.py", line 13, in
find_version
ast = compiler.parseF ile(fn)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/compiler/transformer.py" , line 48, in parseFile
return parse(src)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/compiler/transformer.py" , line 52, in parse
return Transformer().p arsesuite(buf)
File "/Library/Frameworks/Python.framewor k/Versions/2.4//lib/
python2.4/compiler/transformer.py" , line 129, in parsesuite
return self.transform( parser.suite(te xt))
File "<string>", line 628
else:
^
SyntaxError: invalid syntax
I don't even know which file has the indentation problem.
Any thoughts.
Ian Bloom
Comment