>>> Traceback (most recent call last):


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


 "/home/carles/Desktop/kindletoanki/test.py", line 30, in <module>

genanki.Package(my_deck).write_to_file('output.apkg')


 "/home/carles/.local/lib/python2.7/site-packages/genanki-0.2.1-py2.7.egg/genanki/__init__.py", line 289, in write_to_file

self.write_to_db(cursor, now_ts)


 "/home/carles/.local/lib/python2.7/site-packages/genanki-0.2.1-py2.7.egg/genanki/__init__.py", line 302, in write_to_db

deck.write_to_db(cursor, now_ts)


 "/home/carles/.local/lib/python2.7/site-packages/genanki-0.2.1-py2.7.egg/genanki/__init__.py", line 271, in write_to_db

note.write_to_db(cursor, now_ts, self.deck_id)


 "/home/carles/.local/lib/python2.7/site-packages/genanki-0.2.1-py2.7.egg/genanki/__init__.py", line 232, in write_to_db

'',
# data
sqlite3.IntegrityError: NOT NULL constraint failed: notes.guid

Traceback (most recent call last):


 "/tmp/GitPython/git/test/lib/helper.py", line 92, in wrapper

return func(self, path)


 "/tmp/GitPython/git/test/test_docs.py", line 197, in test_references_and_objects

repo = git.Repo.clone_from(self._small_repo_url(), osp.join(rw_dir, 'repo'), branch='master')


 "/tmp/GitPython/git/repo/base.py", line 972, in clone_from

return cls._clone(git, url, to_path, GitCmdObjectDB, progress, **kwargs)


 "/tmp/GitPython/git/repo/base.py", line 927, in _clone

finalize_process(proc, stderr=stderr)


 "/tmp/GitPython/git/util.py", line 341, in finalize_process

proc.wait(**kwargs)


 "/tmp/GitPython/git/cmd.py", line 418, in wait

raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd('/usr/pkg/bin/git') failed due to: exit code(128)
