cannot create PyString with non-byte value

Ekaterina's Avatar

Ekaterina

27 Jan, 2025 11:40 AM

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.

  1. Support Staff 1 Posted by john on 27 Jan, 2025 05:01 PM

    john's Avatar

    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

  2. Support Staff 2 Posted by Frederik De Ble... on 30 Jan, 2025 08:40 AM

    Frederik De Bleser's Avatar

    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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Снимок.JPG 53.1 KB
  • photo_2025-01-27_14-16-37.jpg 20.3 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

06 Feb, 2025 01:37 AM
04 Feb, 2025 06:32 AM
04 Feb, 2025 05:04 AM
30 Jan, 2025 09:31 AM
30 Jan, 2025 09:08 AM

 

30 Jan, 2025 08:40 AM
24 Jan, 2025 07:50 AM
22 Jan, 2025 11:42 PM
21 Jan, 2025 09:43 AM
21 Jan, 2025 09:41 AM
21 Jan, 2025 09:36 AM