Error: Traceback (most recent call last):


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/__main__.py", line 120, in main

cli(None, None, None)


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 700, in __call__

return self.main(*args, **kwargs)


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 680, in main

rv = self.invoke(ctx)


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 1027, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 873, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/click/core.py", line 508, in invoke

return callback(*args, **kwargs)


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/click/decorators.py", line 16, in new_func

return f(get_current_context(), *args, **kwargs)


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/commands/init.py", line 102, in cli

pg = ProjectGenerator(project_dir, ide, env_name)


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/ide/projectgenerator.py", line 35, in __init__

self._gather_tplvars()


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/ide/projectgenerator.py", line 150, in _gather_tplvars

self._tplvars.update(self.get_project_env())


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/util.py", line 126, in wrapper

self.cache[key] = (time.time(), func(*args, **kwargs))


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/ide/projectgenerator.py", line 53, in get_project_env

for k, v in config.items(section):


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/util.py", line 51, in items

items.append((option, self.get(section, option)))


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/util.py", line 58, in get

return self.VARTPL_RE.sub(self._re_sub_handler, value)


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/util.py", line 64, in _re_sub_handler

return self.get(section, option)


 "/Users/marc/.platformio/penv/lib/python2.7/site-packages/platformio/util.py", line 55, in get

value = ConfigParser.get(self, section, option, **kwargs)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 618, in get

raise NoOptionError(option, section)
NoOptionError: No option 'upload_port' in section: 'common'

Traceback (most recent call last):


 "/Users/USERNAME/Scripts/sickbeard_mp4_automator/postSonarr.py", line 106, in <module>

log.info("Sonarr response: ID %d %s." % (rstate['id'], rstate['state']))
TypeError: list indices must be integers, not str
