Project

Profile

Help

Bug #6327

closed

TypeError: __str__ returned non-string (type NoneType)

Added by O'Neil Delpratt 4 months ago. Updated 4 months ago.

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

100%

Estimated time:
Found in version:
12.4.1
Fixed in version:
Platforms:

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