getmyancestors icon indicating copy to clipboard operation
getmyancestors copied to clipboard

TypeError: must be str, not NoneType

Open lukehutch opened this issue 6 years ago • 0 comments

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.

lukehutch avatar Mar 08 '18 02:03 lukehutch