ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

14 November 2022
2022-11-14×
14 November 2022
import resources_rc ValueError: source code string cannot contain null bytes
L
can anyone help with this error
L
pyside6-rcc file.qrc -o file.py
I
Feel free to share the contents of resources_rc.py with us so we can have a look. Do make sure we get it exactly as it is on your file system, though.
I can confirm the problem with the files you sent me but when I generate the resources_rc.py myself it works fine. The difference comes down to encoding: My version is encoded with UTF-8, while your version is encoded with UTF-16 LE, which uses two-byte characters instead of one. For normal ASCII characters, this results in one of those two bytes being a null byte.
I
Where did you run the command? Did you open the resulting Python file in an editor and saved it afterwards?
Calendar: November 2022
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog