tab and space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadAnalysis 5 |
Fix Released
|
High
|
Eric Conte |
Bug Description
Hi,
I run today with python 2.6 and face the following crash:
This crash does not happen when using python 2.7 (which is... weird since it seems quite huge error_
Cheers,
Olivier
DEBUG: MadAnalysis5 error was:
DEBUG: -------
DEBUG: Traceback (most recent call last):
File "/Users/
from madanalysis.
File "/Users/
from madanalysis.
File "/Users/
from madanalysis.
File "/Users/
import madanalysis.
File "/Users/
from madanalysis.
File "/Users/
class __metaclass_
TabError: inconsistent use of tabs and spaces in indentation
DEBUG: -------
Changed in madanalysis5: | |
importance: | Undecided → High |
assignee: | nobody → Eric Conte (eric-conte) |
Changed in madanalysis5: | |
status: | Fix Committed → Fix Released |
Hi Olivier,
It seems that you release of Python 2.6 is more sensible to the indentation. I have applied the 'tabnanny" module and several files are touched by this problem. I will fixed the problem and put this 'tabnanny' test in the MA5 validation platform.
Which release of MA5 do you use? v1.6beta? or the one downloaded from aMC@NLO?
Cheers,
Eric