Hi, I am facing problem when copy Old imaging report text and insert in new report. It shows error and some times it remove formatting.
TypeError: Unable to marshal str as an array, use .encode() to convert to bytes
Please help
Hi, I am facing problem when copy Old imaging report text and insert in new report. It shows error and some times it remove formatting.
TypeError: Unable to marshal str as an array, use .encode() to convert to bytes
Please help
Please provide the full traceback.
I am using GNU Health 5 with Tryton Client 7.0.43. We are using the Medical Imaging Result module with predefined templates for reporting, as shown in the attached snapshot.
When we copy text from one template to another, an error occurs. In some cases, the formatting of the copied text is also lost, particularly bold, italic, and other formatting styles.
Please advise how we can resolve this issue and ensure that the formatting is preserved when copying text between templates.
developing gnuhealth otf template need know some tips, please read:
The below code is used in template, so maybe some thing wrong:
<for each="line in (interpretation.comment or "").split('\n')">
<line>
</for>
```
I do not understand what is exactly done to raise such error.
Everything is working fine in web client but not for desktop client.