Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: must be str, not NoneType #18

Open
lukehutch opened this issue Mar 8, 2018 · 0 comments
Open

TypeError: must be str, not NoneType #18

lukehutch opened this issue Mar 8, 2018 · 0 comments

Comments

@lukehutch
Copy link

Before saving the file, getmyancestor throws the following exception:

Traceback (most recent call last):
  File "getmyancestors.py", line 943, in <module>
    tree.print(args.o)
  File "getmyancestors.py", line 827, in print
    self.indi[fid].print(file)
  File "getmyancestors.py", line 600, in print
    file.write('1 OCCU ' + o.value + '\n')
TypeError: must be str, not NoneType

May have been caused by a 204 return code from FamilyTree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant