Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/jwalls/music21/music21/prebase.py", line 236, in __repr__

strRepr = self._reprInternal()


 "/Users/jwalls/music21/music21/key.py", line 378, in _reprInternal

return 'of ' + self._strDescription()


 "/Users/jwalls/music21/music21/key.py", line 352, in _strDescription

output = 'pitches: [' + ', '.join([str(p) for p in self.alteredPitches]) + ']'


 "/Users/jwalls/music21/music21/common/decorators.py", line 171, in inner

instance._cache[funcName] = method(instance, *args, **kwargs)


 "/Users/jwalls/music21/music21/key.py", line 443, in alteredPitches

if self.sharps > 0:
TypeError: '>' not supported between instances of 'NoneType' and 'int'

Traceback (most recent call last):


 "/data/golem/golem_git/golem/docker/task_thread.py", line 105, in run

self.task_computer.task_computed(self)


 "/data/golem/golem_git/golem/task/taskcomputer.py", line 218, in task_computed

task_thread.result,


 "/data/golem/golem_git/golem/task/taskserver.py", line 228, in send_results

value=value,


 "/data/golem/golem_git/golem/transactions/incomeskeeper.py", line 86, in expect

value=value


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 4977, in create

inst.save(force_insert=True)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 5170, in save

pk_from_cursor = self.insert(**field_dict).execute()


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 3584, in execute

cursor = self._execute()


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 2938, in _execute

sql, params = self.sql()


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 3552, in sql

return self.compiler().generate_insert(self)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 2140, in generate_insert

return self.build_query(clauses, alias_map)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1929, in build_query

return self.parse_node(Clause(*clauses), alias_map)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1882, in parse_node

sql, params, unknown = self._parse(node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1848, in _parse

sql, params = self._parse_map[node_type](node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1774, in _parse_clause

node.nodes, alias_map, conv, node.glue)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1907, in parse_node_list

node_sql, node_params = self.parse_node(node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1882, in parse_node

sql, params, unknown = self._parse(node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1848, in _parse

sql, params = self._parse_map[node_type](node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1774, in _parse_clause

node.nodes, alias_map, conv, node.glue)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1907, in parse_node_list

node_sql, node_params = self.parse_node(node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1882, in parse_node

sql, params, unknown = self._parse(node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1848, in _parse

sql, params = self._parse_map[node_type](node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1774, in _parse_clause

node.nodes, alias_map, conv, node.glue)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1907, in parse_node_list

node_sql, node_params = self.parse_node(node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1882, in parse_node

sql, params, unknown = self._parse(node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1848, in _parse

sql, params = self._parse_map[node_type](node, alias_map, conv)


 "/data/golem/golem_git/venv/lib/python3.6/site-packages/peewee.py", line 1761, in _parse_param

return self.parse_node(node.adapt(node.value), alias_map, conv)


 "/data/golem/golem_git/golem/model.py", line 77, in db_value

raise TypeError("Value {} is not an integer".format(value))
TypeError: Value None is not an integer
