Atom-beautify: "autopep8: error: no such option: --indent-size" on Ubuntu

Created on 26 Jun 2015  路  10Comments  路  Source: Glavin001/atom-beautify

I get the following error when trying to beautify python code:

Atom Beautify - Debugging information

The following debugging information was generated by Atom Beautify on Fri Jun 26 2015 00:19:12 GMT+0100 (BST).


Platform: linux

Versions

Atom Version: 1.0.0

Atom Beautify Version: 0.28.6

Original file to be beautified

Original File Path: /home/john/MCG/AnalysisPrograms/MCG/mcg/dsp.py

Original File Grammar: Python

Original File Language: Python

Original File Contents:

import mcg
from scipy.signal import butter, lfilter, bessel
from scipy.signal import correlate2d as c2d
from skimage.feature import match_template
import numpy as np
import copy
import os

def CreateFiles(key):
    """Creates CoilData and ECGAve; single cycle averaged data, directly from raw data.
    MinuteDataRange is a chronological list of minutes i.e. (3,4,5,6).
    """
    mainpath = mcg.mainpath
    ECGCoil = mcg.ECGCoil
    data = np.float64(np.load(os.path.join(mainpath,key,"TotalRaw.npy")))
    invertECG = mcg.scanDataFrame.loc[key,'invertECG']
    print invertECG

    print "CreateFiles key = ",key
    leftlimit = 1000
    rightlimit = 2000
    sec = 60
    MinuteDataRange = mcg.scanDataFrame.loc[key, "Minutelist"]
    ECGth = mcg.scanDataFrame.loc[key, 'ECG-Threshold']



    ECGAve = []
    if mcg.deviceID == 'alphaPlus':
        rwaveTriggers = np.float64(np.load(os.path.join(mainpath,key,"rwaveTriggers.npy")))
        print "alphaPlus: using rwaveTriggers.npy"
#   else:
#       ECG = Coil[ECGCoil]


    for minute in MinuteDataRange:
        print "Minute", minute

        Coil = []
        for i in range(mcg.numcoils+1):
            Coil.append(data[i][minute*2000*sec:(minute+1)*2000*sec])

        if invertECG == True:
            print "inverting ECG"
            Coil[ECGCoil] = Coil[ECGCoil]*-1

        if mcg.deviceID == 'alphaPlus':
            print "using rwaveTriggers..."
            ECG = rwaveTriggers[minute*2000*sec:(minute+1)*2000*sec]
        else:
            ECG = Coil[ECGCoil]

        Trigger, count = TriggerFinder(ECG, ECGth)
        print "len(Trigger);", len(Trigger)


        if minute == min(MinuteDataRange):
            ECGAve = Averager(Coil,ECGCoil,leftlimit,rightlimit,Trigger,1)/10000
        else:
            ECGAve = np.add(ECGAve,Averager(Coil,ECGCoil,leftlimit,rightlimit,Trigger,1)/10000)

        CoilInput = [] # Data representing 1 minute - reset every minute
        for i in range(0, mcg.numcoils):
            CoilInput.append(Averager(Coil,i,leftlimit,rightlimit,Trigger,40))

        if minute == min(MinuteDataRange):
            CoilData = CoilInput
        else:
            CoilData = np.add(CoilData,CoilInput)
        ##print 'Minute number '+ str(minute)
    np.save(os.path.join(mainpath,key,'CoilData.npy'), CoilData)   # x,y,z equal sized 1D arrays
    np.save(os.path.join(mainpath,key,'ECGData.npy'), ECGAve)   # x,y,z equal sized 1D arrays


def RTinterval():
    """RT interval calculated from TwaveZC - RwaveZC.
        First DF columns are sanitised; setting any "not found" strings
        to the default R zero crossing position, 1000.
        Then RTinterval is populated.
    """
    mcg.scanDataFrame['RpeakZC'] = mcg.scanDataFrame['RpeakZC'].convert_objects(convert_numeric=True)
    mcg.scanDataFrame['TpeakZC'] = mcg.scanDataFrame['TpeakZC'].convert_objects(convert_numeric=True)
    for num,item in enumerate(mcg.scanDataFrame['RpeakZC']):
        if np.isnan(item) == True:
            item = 1000
    mcg.scanDataFrame['RTinterval'] = mcg.scanDataFrame['TpeakZC'] - mcg.scanDataFrame['RpeakZC']

Beautification options

Editor Options:
Options from Atom Editor settings

{
    "_default": {
        "indent_size": 1,
        "indent_char": "\t",
        "indent_with_tabs": true
    }
}

Config Options:
Options from Atom Beautify package settings

{
    "cs": {
        "configPath": ""
    },
    "c": {
        "configPath": ""
    },
    "cpp": {
        "configPath": ""
    },
    "css": {
        "indent_size": 2,
        "indent_char": " ",
        "selector_separator_newline": false,
        "newline_between_rules": false,
        "preserve_newlines": false,
        "wrap_line_length": 0,
        "indent_comments": true,
        "force_indentation": false,
        "convert_quotes": "none",
        "align_assignments": false
    },
    "d": {
        "configPath": ""
    },
    "fortran": {
        "emacs_path": "",
        "emacs_script_path": ""
    },
    "html": {
        "indent_inner_html": false,
        "indent_size": 2,
        "indent_char": " ",
        "brace_style": "collapse",
        "indent_scripts": "normal",
        "wrap_line_length": 250,
        "wrap_attributes": "auto",
        "wrap_attributes_indent_size": 2,
        "preserve_newlines": true,
        "max_preserve_newlines": 10,
        "unformatted": [
            "a",
            "sub",
            "sup",
            "b",
            "i",
            "u"
        ],
        "end_with_newline": false
    },
    "java": {
        "configPath": ""
    },
    "js": {
        "indent_size": 2,
        "indent_char": " ",
        "indent_level": 0,
        "indent_with_tabs": false,
        "preserve_newlines": true,
        "max_preserve_newlines": 10,
        "space_in_paren": false,
        "jslint_happy": false,
        "space_after_anon_function": false,
        "brace_style": "collapse",
        "break_chained_methods": false,
        "keep_array_indentation": false,
        "keep_function_indentation": false,
        "space_before_conditional": true,
        "eval_code": false,
        "unescape_strings": false,
        "wrap_line_length": 0,
        "end_with_newline": false
    },
    "objectivec": {
        "configPath": ""
    },
    "pawn": {
        "configPath": ""
    },
    "perl": {
        "perltidy_profile": ""
    },
    "php": {
        "cs_fixer_path": "",
        "fixers": "",
        "level": ""
    },
    "python": {
        "max_line_length": 79,
        "indent_size": 2,
        "ignore": [
            "E24"
        ]
    },
    "ruby": {
        "indent_size": 2,
        "indent_char": " "
    },
    "rust": {
        "rustfmt_path": ""
    },
    "sql": {
        "indent_size": 2,
        "keywords": "upper",
        "identifiers": "lower"
    },
    "vala": {
        "configPath": ""
    }
}

Home Options:
Options from /home/john/.jsbeautifyrc

{
    "_default": {}
}

EditorConfig Options:
Options from EditorConfig file

{
    "_default": {}
}

Project Options:
Options from .jsbeautifyrc files starting from directory /home/john/MCG/AnalysisPrograms/MCG/mcg and going up to root

[
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    },
    {
        "_default": {}
    }
]

Final Options:
Final combined options that are used

{
    "indent_size": 2,
    "indent_char": "\t",
    "indent_with_tabs": true,
    "max_line_length": 79,
    "ignore": [
        "E24"
    ]
}

Package Settings:
The raw package settings options

{
    "_analyticsUserId": "902b4dd6-ca09-4563-adbc-3bf53a9eb69c",
    "analytics": true,
    "_loggerLevel": "warn",
    "beautifyEntireFileOnSave": true,
    "muteUnsupportedLanguageErrors": false,
    "muteAllErrors": false,
    "cs_configPath": "",
    "c_configPath": "",
    "cpp_configPath": "",
    "css_indent_size": 2,
    "css_indent_char": " ",
    "css_selector_separator_newline": false,
    "css_newline_between_rules": false,
    "css_preserve_newlines": false,
    "css_wrap_line_length": 0,
    "css_indent_comments": true,
    "css_force_indentation": false,
    "css_convert_quotes": "none",
    "css_align_assignments": false,
    "d_configPath": "",
    "fortran_emacs_path": "",
    "fortran_emacs_script_path": "",
    "html_indent_inner_html": false,
    "html_indent_size": 2,
    "html_indent_char": " ",
    "html_brace_style": "collapse",
    "html_indent_scripts": "normal",
    "html_wrap_line_length": 250,
    "html_wrap_attributes": "auto",
    "html_wrap_attributes_indent_size": 2,
    "html_preserve_newlines": true,
    "html_max_preserve_newlines": 10,
    "html_unformatted": [
        "a",
        "sub",
        "sup",
        "b",
        "i",
        "u"
    ],
    "html_end_with_newline": false,
    "java_configPath": "",
    "js_indent_size": 2,
    "js_indent_char": " ",
    "js_indent_level": 0,
    "js_indent_with_tabs": false,
    "js_preserve_newlines": true,
    "js_max_preserve_newlines": 10,
    "js_space_in_paren": false,
    "js_jslint_happy": false,
    "js_space_after_anon_function": false,
    "js_brace_style": "collapse",
    "js_break_chained_methods": false,
    "js_keep_array_indentation": false,
    "js_keep_function_indentation": false,
    "js_space_before_conditional": true,
    "js_eval_code": false,
    "js_unescape_strings": false,
    "js_wrap_line_length": 0,
    "js_end_with_newline": false,
    "objectivec_configPath": "",
    "pawn_configPath": "",
    "perl_perltidy_profile": "",
    "php_cs_fixer_path": "",
    "php_fixers": "",
    "php_level": "",
    "python_max_line_length": 79,
    "python_indent_size": 2,
    "python_ignore": [
        "E24"
    ],
    "ruby_indent_size": 2,
    "ruby_indent_char": " ",
    "rust_rustfmt_path": "",
    "sql_indent_size": 2,
    "sql_keywords": "upper",
    "sql_identifiers": "lower",
    "vala_configPath": "",
    "language_cs_disabled": false,
    "language_cs_default_beautifier": "Uncrustify",
    "language_cs_beautify_on_save": false,
    "language_c_disabled": false,
    "language_c_default_beautifier": "Uncrustify",
    "language_c_beautify_on_save": false,
    "language_coffeescript_disabled": false,
    "language_coffeescript_default_beautifier": "coffee-fmt",
    "language_coffeescript_beautify_on_save": false,
    "language_cpp_disabled": false,
    "language_cpp_default_beautifier": "Uncrustify",
    "language_cpp_beautify_on_save": false,
    "language_css_disabled": false,
    "language_css_default_beautifier": "JS Beautify",
    "language_css_beautify_on_save": false,
    "language_csv_disabled": false,
    "language_csv_default_beautifier": "Pretty Diff",
    "language_csv_beautify_on_save": false,
    "language_d_disabled": false,
    "language_d_default_beautifier": "Uncrustify",
    "language_d_beautify_on_save": false,
    "language_ejs_disabled": false,
    "language_ejs_default_beautifier": "Pretty Diff",
    "language_ejs_beautify_on_save": false,
    "language_erb_disabled": false,
    "language_erb_default_beautifier": "Pretty Diff",
    "language_erb_beautify_on_save": false,
    "language_go_disabled": false,
    "language_go_default_beautifier": "gofmt",
    "language_go_beautify_on_save": false,
    "language_fortran_disabled": false,
    "language_fortran_default_beautifier": "Fortran Beautifier",
    "language_fortran_beautify_on_save": false,
    "language_handlebars_disabled": false,
    "language_handlebars_default_beautifier": "JS Beautify",
    "language_handlebars_beautify_on_save": false,
    "language_html_disabled": false,
    "language_html_default_beautifier": "JS Beautify",
    "language_html_beautify_on_save": false,
    "language_java_disabled": false,
    "language_java_default_beautifier": "Uncrustify",
    "language_java_beautify_on_save": false,
    "language_js_disabled": false,
    "language_js_default_beautifier": "JS Beautify",
    "language_js_beautify_on_save": false,
    "language_json_disabled": false,
    "language_json_default_beautifier": "JS Beautify",
    "language_json_beautify_on_save": false,
    "language_jsx_disabled": false,
    "language_jsx_default_beautifier": "Pretty Diff",
    "language_jsx_beautify_on_save": false,
    "language_less_disabled": false,
    "language_less_default_beautifier": "Pretty Diff",
    "language_less_beautify_on_save": false,
    "language_markdown_disabled": false,
    "language_markdown_default_beautifier": "Tidy Markdown",
    "language_markdown_beautify_on_save": false,
    "language_marko_disabled": false,
    "language_marko_default_beautifier": "JS Beautify",
    "language_marko_beautify_on_save": false,
    "language_mustache_disabled": false,
    "language_mustache_default_beautifier": "JS Beautify",
    "language_mustache_beautify_on_save": false,
    "language_objectivec_disabled": false,
    "language_objectivec_default_beautifier": "Uncrustify",
    "language_objectivec_beautify_on_save": false,
    "language_pawn_disabled": false,
    "language_pawn_default_beautifier": "Uncrustify",
    "language_pawn_beautify_on_save": false,
    "language_perl_disabled": false,
    "language_perl_default_beautifier": "Perltidy",
    "language_perl_beautify_on_save": false,
    "language_php_disabled": false,
    "language_php_default_beautifier": "PHP-CS-Fixer",
    "language_php_beautify_on_save": false,
    "language_python_disabled": false,
    "language_python_default_beautifier": "autopep8",
    "language_python_beautify_on_save": false,
    "language_ruby_disabled": false,
    "language_ruby_default_beautifier": "Rubocop",
    "language_ruby_beautify_on_save": false,
    "language_rust_disabled": false,
    "language_rust_default_beautifier": "rustfmt",
    "language_rust_beautify_on_save": false,
    "language_sass_disabled": false,
    "language_sass_default_beautifier": "Pretty Diff",
    "language_sass_beautify_on_save": false,
    "language_scss_disabled": false,
    "language_scss_default_beautifier": "Pretty Diff",
    "language_scss_beautify_on_save": false,
    "language_spacebars_disabled": false,
    "language_spacebars_default_beautifier": "Pretty Diff",
    "language_spacebars_beautify_on_save": false,
    "language_sql_disabled": false,
    "language_sql_default_beautifier": "sqlformat",
    "language_sql_beautify_on_save": false,
    "language_swig_disabled": false,
    "language_swig_default_beautifier": "Pretty Diff",
    "language_swig_beautify_on_save": false,
    "language_tss_disabled": false,
    "language_tss_default_beautifier": "Pretty Diff",
    "language_tss_beautify_on_save": false,
    "language_twig_disabled": false,
    "language_twig_default_beautifier": "Pretty Diff",
    "language_twig_beautify_on_save": false,
    "language_typescript_disabled": false,
    "language_typescript_default_beautifier": "TypeScript Formatter",
    "language_typescript_beautify_on_save": false,
    "language_vala_disabled": false,
    "language_vala_default_beautifier": "Uncrustify",
    "language_vala_beautify_on_save": false,
    "language_visualforce_disabled": false,
    "language_visualforce_default_beautifier": "Pretty Diff",
    "language_visualforce_beautify_on_save": false,
    "language_xml_disabled": false,
    "language_xml_default_beautifier": "Pretty Diff",
    "language_xml_beautify_on_save": false
}

Results

Beautified File Contents:

Error: Usage: autopep8 [options] [filename [filename ...]]
Use filename '-'  for stdin.

autopep8: error: no such option: --indent-size

Logs:

2015-06-25T23:19:12.131Z - info: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] beautify import mcg
from scipy.signal import butter, lfilter, bessel
from scipy.signal import correlate2d as c2d
from skimage.feature import match_template
import numpy as np
import copy
import os

def CreateFiles(key):
    """Creates CoilData and ECGAve; single cycle averaged data, directly from raw data.
    MinuteDataRange is a chronological list of minutes i.e. (3,4,5,6).
    """
    mainpath = mcg.mainpath
    ECGCoil = mcg.ECGCoil
    data = np.float64(np.load(os.path.join(mainpath,key,"TotalRaw.npy")))
    invertECG = mcg.scanDataFrame.loc[key,'invertECG']
    print invertECG

    print "CreateFiles key = ",key
    leftlimit = 1000
    rightlimit = 2000
    sec = 60
    MinuteDataRange = mcg.scanDataFrame.loc[key, "Minutelist"]
    ECGth = mcg.scanDataFrame.loc[key, 'ECG-Threshold']



    ECGAve = []
    if mcg.deviceID == 'alphaPlus':
        rwaveTriggers = np.float64(np.load(os.path.join(mainpath,key,"rwaveTriggers.npy")))
        print "alphaPlus: using rwaveTriggers.npy"
#   else:
#       ECG = Coil[ECGCoil]


    for minute in MinuteDataRange:
        print "Minute", minute

        Coil = []
        for i in range(mcg.numcoils+1):
            Coil.append(data[i][minute*2000*sec:(minute+1)*2000*sec])

        if invertECG == True:
            print "inverting ECG"
            Coil[ECGCoil] = Coil[ECGCoil]*-1

        if mcg.deviceID == 'alphaPlus':
            print "using rwaveTriggers..."
            ECG = rwaveTriggers[minute*2000*sec:(minute+1)*2000*sec]
        else:
            ECG = Coil[ECGCoil]

        Trigger, count = TriggerFinder(ECG, ECGth)
        print "len(Trigger);", len(Trigger)


        if minute == min(MinuteDataRange):
            ECGAve = Averager(Coil,ECGCoil,leftlimit,rightlimit,Trigger,1)/10000
        else:
            ECGAve = np.add(ECGAve,Averager(Coil,ECGCoil,leftlimit,rightlimit,Trigger,1)/10000)

        CoilInput = [] # Data representing 1 minute - reset every minute
        for i in range(0, mcg.numcoils):
            CoilInput.append(Averager(Coil,i,leftlimit,rightlimit,Trigger,40))

        if minute == min(MinuteDataRange):
            CoilData = CoilInput
        else:
            CoilData = np.add(CoilData,CoilInput)
        ##print 'Minute number '+ str(minute)
    np.save(os.path.join(mainpath,key,'CoilData.npy'), CoilData)   # x,y,z equal sized 1D arrays
    np.save(os.path.join(mainpath,key,'ECGData.npy'), ECGAve)   # x,y,z equal sized 1D arrays

#
#
#

def RTinterval():
    """RT interval calculated from TwaveZC - RwaveZC.
        First DF columns are sanitised; setting any "not found" strings
        to the default R zero crossing position, 1000.
        Then RTinterval is populated.
    """
    mcg.scanDataFrame['RpeakZC'] = mcg.scanDataFrame['RpeakZC'].convert_objects(convert_numeric=True)
    mcg.scanDataFrame['TpeakZC'] = mcg.scanDataFrame['TpeakZC'].convert_objects(convert_numeric=True)
    for num,item in enumerate(mcg.scanDataFrame['RpeakZC']):
        if np.isnan(item) == True:
            item = 1000
    mcg.scanDataFrame['RTinterval'] = mcg.scanDataFrame['TpeakZC'] - mcg.scanDataFrame['RpeakZC']
 [ { _default: { indent_size: 1, indent_char: '\t', indent_with_tabs: true } },
  { cs: { configPath: '' },
    c: { configPath: '' },
    cpp: { configPath: '' },
    css: 
     { indent_size: 2,
       indent_char: ' ',
       selector_separator_newline: false,
       newline_between_rules: false,
       preserve_newlines: false,
       wrap_line_length: 0,
       indent_comments: true,
       force_indentation: false,
       convert_quotes: 'none',
       align_assignments: false },
    d: { configPath: '' },
    fortran: { emacs_path: '', emacs_script_path: '' },
    html: 
     { indent_inner_html: false,
       indent_size: 2,
       indent_char: ' ',
       brace_style: 'collapse',
       indent_scripts: 'normal',
       wrap_line_length: 250,
       wrap_attributes: 'auto',
       wrap_attributes_indent_size: 2,
       preserve_newlines: true,
       max_preserve_newlines: 10,
       unformatted: [Object],
       end_with_newline: false },
    java: { configPath: '' },
    js: 
     { indent_size: 2,
       indent_char: ' ',
       indent_level: 0,
       indent_with_tabs: false,
       preserve_newlines: true,
       max_preserve_newlines: 10,
       space_in_paren: false,
       jslint_happy: false,
       space_after_anon_function: false,
       brace_style: 'collapse',
       break_chained_methods: false,
       keep_array_indentation: false,
       keep_function_indentation: false,
       space_before_conditional: true,
       eval_code: false,
       unescape_strings: false,
       wrap_line_length: 0,
       end_with_newline: false },
    objectivec: { configPath: '' },
    pawn: { configPath: '' },
    perl: { perltidy_profile: '' },
    php: { cs_fixer_path: '', fixers: '', level: '' },
    python: { max_line_length: 79, indent_size: 2, ignore: [Object] },
    ruby: { indent_size: 2, indent_char: ' ' },
    rust: { rustfmt_path: '' },
    sql: { indent_size: 2, keywords: 'upper', identifiers: 'lower' },
    vala: { configPath: '' } },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} },
  { _default: {} } ] Python /home/john/MCG/AnalysisPrograms/MCG/mcg/dsp.py undefined
2015-06-25T23:19:12.131Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee]  indent_size=1, indent_char= , indent_with_tabs=true, configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, configPath=, emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=2, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=2, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, configPath=, indent_size=2, indent_char= , indent_level=0, indent_with_tabs=false, preserve_newlines=true, max_preserve_newlines=10, space_in_paren=false, jslint_happy=false, space_after_anon_function=false, brace_style=collapse, break_chained_methods=false, keep_array_indentation=false, keep_function_indentation=false, space_before_conditional=true, eval_code=false, unescape_strings=false, wrap_line_length=0, end_with_newline=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, indent_char= , rustfmt_path=, indent_size=2, keywords=upper, identifiers=lower, configPath=, , , , , , , , 
2015-06-25T23:19:12.132Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] [ { name: 'Python',
    namespace: 'python',
    grammars: [ 'Python' ],
    extensions: [ 'py' ],
    options: 
     { max_line_length: [Object],
       indent_size: [Object],
       ignore: [Object] },
    beautifiers: [ 'autopep8' ] } ] 'Python' 'py'
2015-06-25T23:19:12.132Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] Language Python supported
2015-06-25T23:19:12.133Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] getOptions selections [ 'python' ] indent_size=1, indent_char=   , indent_with_tabs=true, configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, configPath=, emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=2, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=2, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, configPath=, indent_size=2, indent_char= , indent_level=0, indent_with_tabs=false, preserve_newlines=true, max_preserve_newlines=10, space_in_paren=false, jslint_happy=false, space_after_anon_function=false, brace_style=collapse, break_chained_methods=false, keep_array_indentation=false, keep_function_indentation=false, space_before_conditional=true, eval_code=false, unescape_strings=false, wrap_line_length=0, end_with_newline=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, indent_char= , rustfmt_path=, indent_size=2, keywords=upper, identifiers=lower, configPath=, , , , , , , , 
2015-06-25T23:19:12.133Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true indent_size=1, indent_char= , indent_with_tabs=true
2015-06-25T23:19:12.133Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined
2015-06-25T23:19:12.133Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python indent_size=1, indent_char=   , indent_with_tabs=true
2015-06-25T23:19:12.133Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, configPath=, emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=2, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=2, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, configPath=, indent_size=2, indent_char= , indent_level=0, indent_with_tabs=false, preserve_newlines=true, max_preserve_newlines=10, space_in_paren=false, jslint_happy=false, space_after_anon_function=false, brace_style=collapse, break_chained_methods=false, keep_array_indentation=false, keep_function_indentation=false, space_before_conditional=true, eval_code=false, unescape_strings=false, wrap_line_length=0, end_with_newline=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, indent_char= , rustfmt_path=, indent_size=2, keywords=upper, identifiers=lower, configPath=
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python max_line_length=79, indent_size=2, ignore=[E24]
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python max_line_length=79, indent_size=2, ignore=[E24]
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true 
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true 
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true 
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true 
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined
2015-06-25T23:19:12.134Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true 
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true 
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true 
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true 
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] Python name=Python, namespace=python, grammars=[Python], extensions=[py], type=integer, default=79, description=set maximum allowed line length (Supported by autopep8), title=Python - Max line length, beautifiers=[autopep8], type=integer, default=2, minimum=0, description=Indentation size/length (Supported by autopep8), title=Python - Indent size, beautifiers=[autopep8], type=array, default=[E24], type=string, description=do not fix these errors/warnings (Supported by autopep8), title=Python - Ignore, beautifiers=[autopep8], beautifiers=[autopep8]
2015-06-25T23:19:12.135Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options indent_size=2, indent_char=  , indent_with_tabs=true, max_line_length=79, ignore=[E24]
2015-06-25T23:19:12.136Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] beautifiers silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, languages=[Python], XDG_VTNR=7, XDG_SESSION_ID=c2, XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/john, CLUTTER_IM_MODULE=xim, GIO_LAUNCHED_DESKTOP_FILE_PID=18627, SESSION=ubuntu, GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1, SHELL=/bin/bash, UPSTART_SESSION=unix:abstract, GNOME_KEYRING_CONTROL=, GTK_MODULES=overlay-scrollbar:unity-gtk-module, ATOM_HOME=/home/john/.atom, USER=john, LS_COLORS=, XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, SSH_AUTH_SOCK=/run/user/1000/keyring/ssh, DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path, GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/atom.desktop, XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg, GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q, DESKTOP_SESSION=ubuntu, PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games, QT_QPA_PLATFORMTHEME=appmenu-qt5, QT_IM_MODULE=ibus, JOB=unity-settings-daemon, XDG_SESSION_TYPE=x11, PWD=/home/john, XMODIFIERS=@im, GNOME_KEYRING_PID=, LANG=en_GB.UTF-8, GDM_LANG=en_GB, MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path, NODE_PATH=/usr/share/atom/resources/app.asar/exports, CHROME_DESKTOP=Atom.desktop, COMPIZ_CONFIG_PROFILE=ubuntu, IM_CONFIG_PHASE=1, NODE_ENV=production, JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar , GDMSESSION=ubuntu, SESSIONTYPE=gnome-session, HOME=/home/john, XDG_SEAT=seat0, SHLVL=1, LANGUAGE=en_GB:en, GNOME_DESKTOP_SESSION_ID=this-is-deprecated, UPSTART_INSTANCE=, UPSTART_EVENTS=xsession started, LOGNAME=john, XDG_SESSION_DESKTOP=ubuntu, COMPIZ_BIN_PATH=/usr/bin/, DBUS_SESSION_BUS_ADDRESS=unix:abstract, XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/, QT4_IM_MODULE=xim, LESSOPEN=| /usr/bin/lesspipe %s, UPSTART_JOB=unity7, INSTANCE=, DISPLAY=:0, XDG_RUNTIME_DIR=/run/user/1000, XDG_CURRENT_DESKTOP=Unity, GTK_IM_MODULE=ibus, LESSCLOSE=/usr/bin/lesspipe %s %s, XAUTHORITY=/home/john/.Xauthority, _=/usr/bin/env, _envCacheDate=Fri Jun 26 2015 00:18:48 GMT+0100 (BST)
2015-06-25T23:19:12.136Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] Python /home/john/MCG/AnalysisPrograms/MCG/mcg/dsp.py { indent_size: 2,
  indent_char: '\t',
  indent_with_tabs: true,
  max_line_length: 79,
  ignore: [ 'E24' ] } indent_size=1, indent_char=   , indent_with_tabs=true, configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, configPath=, emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=2, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=2, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, configPath=, indent_size=2, indent_char= , indent_level=0, indent_with_tabs=false, preserve_newlines=true, max_preserve_newlines=10, space_in_paren=false, jslint_happy=false, space_after_anon_function=false, brace_style=collapse, break_chained_methods=false, keep_array_indentation=false, keep_function_indentation=false, space_before_conditional=true, eval_code=false, unescape_strings=false, wrap_line_length=0, end_with_newline=false, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, indent_char= , rustfmt_path=, indent_size=2, keywords=upper, identifiers=lower, configPath=, , , , , , , , 
2015-06-25T23:19:12.137Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/index.coffee] beautifier autopep8 silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, silly=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, debug=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, verbose=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, info=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, warn=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, error=function (msg) {
      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])
      var args = [level].concat(Array.prototype.slice.call(arguments));
      target.log.apply(target, args);
    }, onLogging=function (handler) {
        var subscription;
        subscription = emitter.on('logging', handler);
        return subscription;
      }, languages=[Python], XDG_VTNR=7, XDG_SESSION_ID=c2, XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/john, CLUTTER_IM_MODULE=xim, GIO_LAUNCHED_DESKTOP_FILE_PID=18627, SESSION=ubuntu, GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1, SHELL=/bin/bash, UPSTART_SESSION=unix:abstract, GNOME_KEYRING_CONTROL=, GTK_MODULES=overlay-scrollbar:unity-gtk-module, ATOM_HOME=/home/john/.atom, USER=john, LS_COLORS=, XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, SSH_AUTH_SOCK=/run/user/1000/keyring/ssh, DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path, GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/atom.desktop, XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg, GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q, DESKTOP_SESSION=ubuntu, PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games, QT_QPA_PLATFORMTHEME=appmenu-qt5, QT_IM_MODULE=ibus, JOB=unity-settings-daemon, XDG_SESSION_TYPE=x11, PWD=/home/john, XMODIFIERS=@im, GNOME_KEYRING_PID=, LANG=en_GB.UTF-8, GDM_LANG=en_GB, MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path, NODE_PATH=/usr/share/atom/resources/app.asar/exports, CHROME_DESKTOP=Atom.desktop, COMPIZ_CONFIG_PROFILE=ubuntu, IM_CONFIG_PHASE=1, NODE_ENV=production, JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar , GDMSESSION=ubuntu, SESSIONTYPE=gnome-session, HOME=/home/john, XDG_SEAT=seat0, SHLVL=1, LANGUAGE=en_GB:en, GNOME_DESKTOP_SESSION_ID=this-is-deprecated, UPSTART_INSTANCE=, UPSTART_EVENTS=xsession started, LOGNAME=john, XDG_SESSION_DESKTOP=ubuntu, COMPIZ_BIN_PATH=/usr/bin/, DBUS_SESSION_BUS_ADDRESS=unix:abstract, XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/, QT4_IM_MODULE=xim, LESSOPEN=| /usr/bin/lesspipe %s, UPSTART_JOB=unity7, INSTANCE=, DISPLAY=:0, XDG_RUNTIME_DIR=/run/user/1000, XDG_CURRENT_DESKTOP=Unity, GTK_IM_MODULE=ibus, LESSCLOSE=/usr/bin/lesspipe %s %s, XAUTHORITY=/home/john/.Xauthority, _=/usr/bin/env, _envCacheDate=Fri Jun 26 2015 00:18:48 GMT+0100 (BST)
2015-06-25T23:19:12.159Z - debug: [/home/john/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] tempFile input null path=/tmp/input115526-18660-1yk8x7z, fd=72
2015-06-25T23:19:12.162Z - debug: [/home/john/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] exeName, args: autopep8 0=/tmp/input115526-18660-1yk8x7z, 1=--max-line-length, 2=79, 3=--indent-size, 4=2, 5=--ignore, 6=E24
2015-06-25T23:19:12.387Z - debug: [/home/john/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] exePath, env: /usr/bin/autopep8 XDG_VTNR=7, XDG_SESSION_ID=c2, XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/john, CLUTTER_IM_MODULE=xim, GIO_LAUNCHED_DESKTOP_FILE_PID=18627, SESSION=ubuntu, GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1, SHELL=/bin/bash, UPSTART_SESSION=unix:abstract, GNOME_KEYRING_CONTROL=, GTK_MODULES=overlay-scrollbar:unity-gtk-module, ATOM_HOME=/home/john/.atom, USER=john, LS_COLORS=, XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0, SSH_AUTH_SOCK=/run/user/1000/keyring/ssh, DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path, GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/atom.desktop, XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg, GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q, DESKTOP_SESSION=ubuntu, PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games, QT_QPA_PLATFORMTHEME=appmenu-qt5, QT_IM_MODULE=ibus, JOB=unity-settings-daemon, XDG_SESSION_TYPE=x11, PWD=/home/john, XMODIFIERS=@im, GNOME_KEYRING_PID=, LANG=en_GB.UTF-8, GDM_LANG=en_GB, MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path, NODE_PATH=/usr/share/atom/resources/app.asar/exports, CHROME_DESKTOP=Atom.desktop, COMPIZ_CONFIG_PROFILE=ubuntu, IM_CONFIG_PHASE=1, NODE_ENV=production, JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar , GDMSESSION=ubuntu, SESSIONTYPE=gnome-session, HOME=/home/john, XDG_SEAT=seat0, SHLVL=1, LANGUAGE=en_GB:en, GNOME_DESKTOP_SESSION_ID=this-is-deprecated, UPSTART_INSTANCE=, UPSTART_EVENTS=xsession started, LOGNAME=john, XDG_SESSION_DESKTOP=ubuntu, COMPIZ_BIN_PATH=/usr/bin/, DBUS_SESSION_BUS_ADDRESS=unix:abstract, XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/, QT4_IM_MODULE=xim, LESSOPEN=| /usr/bin/lesspipe %s, UPSTART_JOB=unity7, INSTANCE=, DISPLAY=:0, XDG_RUNTIME_DIR=/run/user/1000, XDG_CURRENT_DESKTOP=Unity, GTK_IM_MODULE=ibus, LESSCLOSE=/usr/bin/lesspipe %s %s, XAUTHORITY=/home/john/.Xauthority, _=/usr/bin/env
2015-06-25T23:19:12.387Z - debug: [/home/john/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] spawn /usr/bin/autopep8 0=/tmp/input115526-18660-1yk8x7z, 1=--max-line-length, 2=79, 3=--indent-size, 4=2, 5=--ignore, 6=E24
2015-06-25T23:19:12.525Z - debug: [/home/john/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] spawn done 2 Usage: autopep8 [options] [filename [filename ...]]
Use filename '-'  for stdin.

autopep8: error: no such option: --indent-size

2015-06-25T23:19:12.525Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] spawn result 2  Usage: autopep8 [options] [filename [filename ...]]
Use filename '-'  for stdin.

autopep8: error: no such option: --indent-size

2015-06-25T23:19:12.526Z - verbose: [/home/john/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] Usage: autopep8 [options] [filename [filename ...]]
Use filename '-'  for stdin.

autopep8: error: no such option: --indent-size
 is not recognized as an internal or external command

invalid linux question

Most helpful comment

Still happens with a fresh Ubuntu 16.04 (autopep8 0.9.1).

Would be nice to detect this older version, and ignore the indent-size parameter.

All 10 comments

This is strange. indent-size is most definitely an option.

$ autopep8 --help
usage: autopep8 [-h] [--version] [-v] [-d] [-i] [--global-config filename]
                [--ignore-local-config] [-r] [-j n] [-p n] [-a]
                [--experimental] [--exclude globs] [--list-fixes]
                [--ignore errors] [--select errors] [--max-line-length n]
                [--range line line] [--indent-size n]
                [files [files ...]]

Automatically formats Python code to conform to the PEP 8 style guide.

positional arguments:
  files                 files to format or '-' for standard in

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -v, --verbose         print verbose messages; multiple -v result in more
                        verbose messages
  -d, --diff            print the diff for the fixed source
  -i, --in-place        make changes to files in place
  --global-config filename
                        path to a global pep8 config file; if this file does
                        not exist then this is ignored (default:
                        /Users/glavin/.config/pep8)
  --ignore-local-config
                        don't look for and apply local config files; if not
                        passed, defaults are updated with any config files in
                        the project's root directory
  -r, --recursive       run recursively over directories; must be used with
                        --in-place or --diff
  -j n, --jobs n        number of parallel jobs; match CPU count if value is
                        less than 1
  -p n, --pep8-passes n
                        maximum number of additional pep8 passes (default:
                        infinite)
  -a, --aggressive      enable non-whitespace changes; multiple -a result in
                        more aggressive changes
  --experimental        enable experimental fixes
  --exclude globs       exclude file/directory names that match these comma-
                        separated globs
  --list-fixes          list codes for fixes; used by --ignore and --select
  --ignore errors       do not fix these errors/warnings (default: E24)
  --select errors       fix only these errors/warnings (e.g. E4,W)
  --max-line-length n   set maximum allowed line length (default: 79)
  --range line line     only fix errors found within this inclusive range of
                        line numbers (e.g. 1 99); line numbers are indexed at
                        1
  --indent-size n       number of spaces per indent level (default 4)

Could you check your version?

$ autopep8 --version
autopep8 1.1.1

$ autopep8 --version
autopep8 0.9.1

I will update autopep8 and try again...

It works with 1.5.7
Ubuntu 15.04 repo has 0.9.1 version. Needed to apt-get remove it then install through pip:
pip install autopep8

Thanks for your help.

Great! Now other users will have this issue to help them if the encounter it as well.

I had the same issue here but in my case I needed to use sudo permissions

$ sudo apt-get install autopep8

Then checked that the system could find it

$ which autopep8
/usr/local/bin/autopep8

Otherwise it was listed in the pip packages (pip list) but not found with which autopep8

Still happens with a fresh Ubuntu 16.04 (autopep8 0.9.1).

Would be nice to detect this older version, and ignore the indent-size parameter.

not able to get it working. Tried all approaches mentioned

$ sudo apt-get install autopep8

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package autopep8
$ sudo apt-get install python-autopep8

Install old version 0.9.1-2 which is buggy
pip install --upgrade autopep8

Install but running which autopep8 throws error
autopep8 not found

got it working.
First search for the installation location of autopep8 using

 find ~ -name autopep8

for me it was /home/USER_NAME/.local/bin/autopep8

next set a symlink in usr/bin

sudo ln -s /home/USER_NAME/.local/bin/autopep8 /usr/bin/autopep8

now which autopep8 will work and the plugin too

AWESOME!! Thanks for providing your solution @harryi3t

@harryi3t Thanks your solution still works!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

suienzan picture suienzan  路  3Comments

opikhidayat picture opikhidayat  路  4Comments

callmeyesh picture callmeyesh  路  3Comments

philippelesaux picture philippelesaux  路  4Comments

seanoldfield picture seanoldfield  路  5Comments