ZeroNetX / ZeroNet

ZeroNetX - Decentralized websites using Bitcoin crypto and BitTorrent network
https://zeronet.dev
Other
212 stars 32 forks source link

Content signing error: FileNotFoundError #189

Closed qomhmd closed 1 year ago

qomhmd commented 1 year ago

I am creating a Scribe-like blog with 449 posts and about 60 MB image/pdf/audio data. However, I get this error when I add the folder of images to the website's data folder and try to sign and publish the content:

Content signing error FileNotFoundError: [WinError 3] The system cannot find the path specified: 'E:/Program Files/ZeroNet-win/ZeroNet-win/data/[address]//data/img/--24tGUoTeUc/TpAx4pBeKCI/AAAAAAAAAdA/WhjN229ghyo/s1600/%D8%A7%DA%AF%D8%B1 %D8%AF%D8%B1 %D9%85%D9%88%D9%82%D8%B9%D9%90 %D8%A8%DB%8C %D8%B9%D8%AF%D8%A7%D9%84%D8%AA%DB%8C %D8%A8%DB%8C %D8%B7%D8%B1%D9%81 %D8%A8%D8.jpg' in /src/Ui/UiWebsocket.py line 451 > ... > genericpath.py line 50

qomhmd commented 1 year ago

Probably it is due to the length of the path as it exceeds the ~256 character on MS Windows. I am shortening the paths, then will try again.

P.S. --> yes that's it.