Project

Profile

Help

Bug #5298

closed

TypeError: __str__ returned non-string (type NoneType)

Added by O'Neil Delpratt almost 3 years ago. Updated almost 3 years ago.

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

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
11.1
Fixed in version:
11.2
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

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