You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Graham Leggett <mi...@sharp.fm> on 2005/07/13 10:33:04 UTC
latest gump fails: "Indentation error"
Hi all,
After doing an svn update on my gump directory, gump now bombs out with an
"indentation error" like so:
Execute : /udd001/hoops/usr/bin/python2.3 bin/integrate.py -w
/udd001/hoops/gump/metadata/fodev01.xml -d --official all >out.txt 2>&1
Traceback (most recent call last):
File "bin/integrate.py", line 40, in ?
from gump.core.runner.runner import getRunner
File "/udd001/hoops/gump/python/gump/core/runner/runner.py", line 22, in ?
from gump.core.build.builder import *
File "/udd001/hoops/gump/python/gump/core/build/builder.py", line 51, in ?
from gump.core.build.maven import MavenBuilder
File "/udd001/hoops/gump/python/gump/core/build/maven.py", line 191
except Exception, details:
^
IndentationError: unindent does not match any outer indentation level
Process Exit Code : 1
--
Gump Version: 2.0.2-alpha-0003
Anyone know what this error means?
Regards,
Graham
--
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: latest gump fails: "Indentation error"
Posted by "Adam R. B. Jack" <aj...@apache.org>.
> File "/udd001/hoops/gump/python/gump/core/build/maven.py", line 191
> except Exception, details:
> ^
> IndentationError: unindent does not match any outer indentation level
> Process Exit Code : 1
> --
> Gump Version: 2.0.2-alpha-0003
>
> Anyone know what this error means?
Python is an indentation based language (rather than using curly braces.) It
means I ought probably give up on trying to write Python in Eclipse w/ a
plug-in and use Wing IDE. [I was trying to keep a visibly separate
environment between Gump2 and Gump3, but it isn't worth it any longer.]
Not sure how this got past my test, but that is another story (I likely over
rushed it, as usual.)
Give it another shot now, I see Leo has fixed it.
regards,
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: latest gump fails: "Indentation error"
Posted by Graham Leggett <mi...@sharp.fm>.
Leo Simons wrote:
> Precisely what it says. In python indentation is important. Someone
> committed a line that has a " " too much or a " " too little, so now
> python complains and exits. I'll go and fix it.
I tired it earlier today, and it worked like a charm, thank you! :)
Regards,
Graham
--
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: latest gump fails: "Indentation error"
Posted by Leo Simons <ma...@leosimons.com>.
Graham Leggett wrote:
> Hi all,
>
> After doing an svn update on my gump directory, gump now bombs out with an
> "indentation error" like so:
>
> Execute : /udd001/hoops/usr/bin/python2.3 bin/integrate.py -w
> /udd001/hoops/gump/metadata/fodev01.xml -d --official all >out.txt 2>&1
> Traceback (most recent call last):
> File "bin/integrate.py", line 40, in ?
> from gump.core.runner.runner import getRunner
> File "/udd001/hoops/gump/python/gump/core/runner/runner.py", line 22, in ?
> from gump.core.build.builder import *
> File "/udd001/hoops/gump/python/gump/core/build/builder.py", line 51, in ?
> from gump.core.build.maven import MavenBuilder
> File "/udd001/hoops/gump/python/gump/core/build/maven.py", line 191
> except Exception, details:
> ^
> IndentationError: unindent does not match any outer indentation level
> Process Exit Code : 1
> --
> Gump Version: 2.0.2-alpha-0003
>
> Anyone know what this error means?
Precisely what it says. In python indentation is important. Someone
committed a line that has a " " too much or a " " too little, so now
python complains and exits. I'll go and fix it.
- Leo
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org