Project

Profile

Help

Bug #6327

closed

TypeError: __str__ returned non-string (type NoneType)

Added by O'Neil Delpratt 10 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Python API
Start date:
2024-01-19
Due date:
2024-01-19
% Done:

100%

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

Description

Reported by user:

A newly created, but empty PyXdmValue gives a TypeError.

E.g.

    xdm_value = PyXdmValue()

    print(xdm_value)

It appears to still give an error

Traceback (most recent call last):
  File "C:\Users\marti\PycharmProjects\SaxonC12PyXdmValueTest1\main.py", line 6, in <module>
    print(xdm_value)
TypeError: __str__ returned non-string (type NoneType)

Related issues

Related to SaxonC - Bug #6333: Representing empty sequenceIn ProgressO'Neil Delpratt2024-01-29

Actions
Follows SaxonC - Bug #6324: PyXdmValue toString causes SIGSEGV, Segmentation faultClosedO'Neil Delpratt2024-01-18

Actions

Please register to edit this issue

Also available in: Atom PDF