You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently parsing in python does not return error indication if something is wrong with input data or format definition, but it just ignores the error and returns what is available.
In c++ version, errors are printed to stderr.
Idea is to implement errors in python version.
Three possible ways:
Return python exception after first error
That way error will be easily detected, but correct data (if any) will not be returned.
Return special field in return dictionary (e.g. list of erros) where all errors will be listed together with parsed data.
Implement both ways, but activate them by flag in calling function.
e.g. exception=True, errros=True
The text was updated successfully, but these errors were encountered:
I am having this issue too. I cannot have my Python code crash because of this, is there a way to handle the errors? Currently it kill the entire interpreter if the messages is too short for example
Hi,
Does 'something is wrong with input data or format definition' means that the input catxx package itself contains errors, or the module is currently unable to decode all kinds of data item in a catxx package?
Currently parsing in python does not return error indication if something is wrong with input data or format definition, but it just ignores the error and returns what is available.
In c++ version, errors are printed to stderr.
Idea is to implement errors in python version.
Three possible ways:
That way error will be easily detected, but correct data (if any) will not be returned.
e.g. exception=True, errros=True
The text was updated successfully, but these errors were encountered: