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

open failed: ENOTDIR (Not a directory) when calling zeep.unzip #1

Open
carlsonad opened this issue Feb 24, 2017 · 5 comments
Open

open failed: ENOTDIR (Not a directory) when calling zeep.unzip #1

carlsonad opened this issue Feb 24, 2017 · 5 comments
Assignees

Comments

@carlsonad
Copy link

HI, I am getting the following error when calling zeep.unzip in an android cordova application:

/data/user/0/com.testApp.test/cache/1.0.0.0/www/test/test.html: open failed: ENOTDIR (Not a directory)"

I've been able to use this on an emulator with no problem. However, when attempting to use it on a physical Samsung Galaxy Tab3 I get the above exception message.

Any idea, what would cause this or how to work around it?

@carlsonad
Copy link
Author

I figured out the difference. If I create the archive from windows explorer's Send To -> Compressed (zipped) folder context menu zeep will throw the exception above. Is this expected?

@FortuneN
Copy link
Owner

FortuneN commented Mar 1, 2017

I understand the issue. I'll run it through with a Window Explorer created zip

@FortuneN FortuneN self-assigned this Mar 1, 2017
@GuillermoOdone
Copy link

Hi,
I'm using winrar to generate zip, and also throws ENOTDIR.
How do you create the zip file to not get the ENOTDIR?

Thnx.

@FortuneN
Copy link
Owner

@GuillermoOdone also on android, correct?

@khatridev
Copy link

@carlsonad even I am facing the same issue....please respond if it is solved..

FortuneN pushed a commit that referenced this issue Jul 9, 2018
Fix unzip on windows (fixes issue #16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants