Project

Profile

Help

Bug #5298

closed

TypeError: __str__ returned non-string (type NoneType)

Added by O'Neil Delpratt about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Python
Start date:
2022-02-09
Due date:
% Done:

100%

Estimated time:
Found in version:
11.1
Fixed in version:
11.2
Platforms:

Description

Reported by user here: https://saxonica.plan.io/boards/4/topics/8476

The property PyXdmItem.head fails to return the underlying PyXdmMap object and throws the following error:

Traceback (most recent call last):
  File "C:\Users\marti\OneDrive\Documents\xslt\blog-xslt-3-by-example\saxonc-11.1-python\arrays-and-maps\returnXdmMapFromXsltTest1.py", line 48, in <module>
    print(result1)
TypeError: __str__ returned non-string (type NoneType)

Please register to edit this issue

Also available in: Atom PDF