RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

[Errno 2] No such file or directory: './video_creation/data/videos.json AND [Errno 22] Invalid argument: '.\x0bideo_creation\\data\x0bideos.json'

Open sykeze opened this issue 4 years ago • 9 comments

i get this error whenever i run the code

[Errno 2] No such file or directory: './video_creation/data/videos.json

i saw that and changed the foward slashes to backwards but then after doing that i get this

[Errno 22] Invalid argument: '.\x0bideo_creation\data\x0bideos.json'

anyone know how to fix this?

sykeze avatar Jun 29 '22 03:06 sykeze

Please try to reinstall it, the file exists from beginning, maybe you missed anything.

Cizzl avatar Jun 29 '22 10:06 Cizzl

You need to have two backslashes

JasonLovesDoggo avatar Jun 29 '22 12:06 JasonLovesDoggo

Or else you are just creating a unicode escape character

JasonLovesDoggo avatar Jun 29 '22 12:06 JasonLovesDoggo

You need to have two backslashes

when i do that it just returns with the same error

Please try to reinstall it, the file exists from beginning, maybe you missed anything.

tried this also, same error

sykeze avatar Jun 29 '22 18:06 sykeze

This isn't an error with my code. It's an error with whatever OS you are using. Try double checking the file exists in the file explorer though.

JasonLovesDoggo avatar Jun 29 '22 19:06 JasonLovesDoggo

This isn't an error with my code. It's an error with whatever OS you are using. Try double checking the file exists in the file explorer though.

the file exists and the original release of this works fine it only the most recent one im having this issue with

sykeze avatar Jun 30 '22 05:06 sykeze

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

github-actions[bot] avatar Jul 08 '22 03:07 github-actions[bot]

i get this error whenever i run the code

[Errno 2] No such file or directory: './video_creation/data/videos.json

i saw that and changed the foward slashes to backwards but then after doing that i get this

[Errno 22] Invalid argument: '.\x0bideo_creation\data\x0bideos.json'

anyone know how to fix this?

did you find a fix to this? Also having this issue. Tried altering it to a direct path instead of a ./ path and still cant see it

notcreeperdude avatar Jul 08 '22 08:07 notcreeperdude

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

github-actions[bot] avatar Jul 15 '22 02:07 github-actions[bot]