cannot create PyString with non-byte value
Hello, I am learning nodebox on a university course.
The phrase 'cannot create PyString with non-byte value' keeps popping up.
I don't know where it went wrong.
I tried reinstalling the program, but It couldn't solve the problem. The last time before saving everything worked, but now an error always appears. I sent the same file and dataset to another computer (Mac OS), and everything works there. But I use Windows.
-
Снимок.JPG 53.1 KB
-
photo_2025-01-27_14-16-37.jpg 20.3 KB
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by john on 27 Jan, 2025 05:01 PM
Hi, sorry hear you’re having this problem. I don’t currently have access to a PC, but will try to help.
Does this error occur whenever you try to open any NodeBox file, only a particular file, or only when you render a particular node in that file? Does it occur with one dataset but not with another?
Please include a zipped copy of your NodeBox file and the dataset so that I may test it. If the data is confidential perhaps you could send a small subset of it (just enough to trigger the error).
I hope I can help!
John
Support Staff 2 Posted by Frederik De Ble... on 30 Jan, 2025 08:40 AM
Hi,
This looks like it has something to do with Unicode characters or spaces in your path. NodeBox sometimes has issues with non-western characters in the path, specifically on Windows.
What could you try: the NodeBox folder is in Users\your_username\AppData\Local\NodeBox. (I think). You could try copying this folder and moving it somewhere else (e.g. just your C drive) and then try double-clicking the app from there.
Let me know if that works!
Best,
F