Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crunchy will fail if .crpersistent does not exist #19

Closed
enquiring-dog opened this issue Feb 16, 2017 · 2 comments
Closed

Crunchy will fail if .crpersistent does not exist #19

enquiring-dog opened this issue Feb 16, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@enquiring-dog
Copy link

enquiring-dog commented Feb 16, 2017

I recently got your package after finding out DeathSpike's was not working for me. But for some reason whenever I try and download any video I get the following error

fs.js:987
return binding.stat(pathModule._makeLong(path));
^

Error: ENOENT: no such file or directory, stat 'C:\Users\lucas\Videos\Series.crpersistent'
at Error (native)
at Object.fs.statSync (fs.js:987:18)
at Object.statSync (C:\Users\lucas\AppData\Roaming\npm\node_modules\crunchy\node_modules\graceful-fs\polyfills.js:297:22)
at Object.copySync (C:\Users\lucas\AppData\Roaming\npm\node_modules\crunchy\node_modules\fs-extra\lib\copy-sync\copy-sync.js:29:84)
at Object.default_1 [as default] (C:\Users\lucas\AppData\Roaming\npm\node_modules\crunchy\dist\series.js:17:9)
at next (C:\Users\lucas\AppData\Roaming\npm\node_modules\crunchy\dist\batch.js:21:29)
at C:\Users\lucas\AppData\Roaming\npm\node_modules\crunchy\dist\batch.js:28:11
at tasks (C:\Users\lucas\AppData\Roaming\npm\node_modules\crunchy\dist\batch.js:62:16)
at Object.default_1 [as default] (C:\Users\lucas\AppData\Roaming\npm\node_modules\crunchy\dist\batch.js:12:5)
at Object. (C:\Users\lucas\AppData\Roaming\npm\node_modules\crunchy\dist\cli.js:3:16)

I'm running windows 10 I have node installed as well as npm, I have a premium account and I am using a vpn since some series are not available in my country.

EDIT: Creating a .crpersistent folder where i wanted to download the series apparently solved the issue

@Godzil
Copy link
Owner

Godzil commented Feb 16, 2017

I'm I think you may have found an overlook, or at least you made me think about one :)

BTW .crpersistent is a file, not a folder!

@Godzil Godzil changed the title Issue when trying to download Error: "ENOENT: no such file or directory, stat 'C:\Users\lucas\.crpersistent'" Crunchy will fail if .crpersistent does not exist Feb 16, 2017
@Godzil Godzil added the bug label Feb 16, 2017
@Godzil Godzil self-assigned this Feb 16, 2017
@Godzil Godzil added this to the 1.2 milestone Feb 16, 2017
@Godzil Godzil reopened this Feb 16, 2017
@Godzil Godzil closed this as completed in ed4f398 Feb 16, 2017
Godzil added a commit that referenced this issue Feb 16, 2017
@enquiring-dog
Copy link
Author

Oh. But it still fixed the issue creating a folder with the same name. But i guess you already fixed this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants