Traceback (most recent call last):

 "/usr/local/flexget/env/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()

 "/usr/local/flexget/env/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)

 "/usr/local/flexget/env/lib/python2.7/site-packages/flask_restful/__init__.py", line 477, in wrapper
resp = resource(*args, **kwargs)

 "/usr/local/flexget/env/lib/python2.7/site-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)

 "/usr/local/flexget/env/lib/python2.7/site-packages/flask_restplus/resource.py", line 42, in dispatch_request
resp = meth(*args, **kwargs)

 "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/utils/database.py", line 34, in wrapper
return func(*args, **kwargs)

 "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api/tvdb_lookup.py", line 85, in get
result = lookup_series(name=search, session=session)

 "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/utils/database.py", line 31, in wrapper
return func(*args, **kwargs)

 "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api_tvdb.py", line 446, in lookup_series
_update_search_strings(series, session, search=name)

 "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/api_tvdb.py", line 378, in _update_search_strings
func.lower(TVDBSearchResult.search) == name).first()

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2634, in first
ret = list(self[0:1])

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2457, in __getitem__
return list(res)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2735, in __iter__
self.session._autoflush()

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1303, in _autoflush
util.raise_from_cause(e)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1293, in _autoflush
self.flush()

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2019, in flush
self._flush(objects)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2137, in _flush
transaction.rollback(_capture_exception=True)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2101, in _flush
flush_context.execute()

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 373, in execute
rec.execute(self)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 532, in execute
uow

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 174, in save_obj
mapper, table, insert)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 767, in _emit_insert_statements
execute(statement, multiparams)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
return meth(self, multiparams, params)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
compiled_sql, distilled_params

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
context)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
exc_info

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)

 "/usr/local/flexget/env/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)OperationalError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (sqlite3.OperationalError) database is locked [SQL: u'INSERT INTO tvdb_series (id, last_updated, expired, name, language, rating, status, runtime, airs_time, airs_dayofweek, content_rating, network, overview, imdb_id, zap2it_id, banner, first_aired, aliases, actors, posters) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: (270633, 1461390623, 0, u'True Detective', u'en', 9.0999999999999996, u'Continuing', 60, u'9:00 PM', u'Sunday', u'TV-MA', u'HBO', u'An anthology series in which police investigations unearth the personal and professional secrets of those involved, both within and outside the law.', u'tt2356777', u'SH01814225', u'graphical/270633-g7.jpg', '2014-01-12 00:00:00.000000', u'[]', None, None)]
: Connect to Evernote...Traceback (most recent call last):

 "/usr/local/lib/python2.7/dist-packages/geeknote-0.2a-py2.7.egg/geeknote/geeknote.py", line 893, in main
Notes().create(**ARGS)

 "/usr/local/lib/python2.7/dist-packages/geeknote-0.2a-py2.7.egg/geeknote/geeknote.py", line 637, in create
inputData = self._parseInput(title, content, tags, notebook, resource)

 "/usr/local/lib/python2.7/dist-packages/geeknote-0.2a-py2.7.egg/geeknote/geeknote.py", line 705, in _parseInput
"resources": resources if resources else [],NameError: global name 'resources' is not defined