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

Unable to open export zip: /export.zip is not a zip file #13

Closed
GeraldPape opened this issue Jul 6, 2023 · 2 comments
Closed

Unable to open export zip: /export.zip is not a zip file #13

GeraldPape opened this issue Jul 6, 2023 · 2 comments

Comments

@GeraldPape
Copy link

first, thanks for doing a fix for the previous issue and for the cool tool!

So I removed everything and started from scratch again, according to the readme.

I have a new issue:

Attaching to apple-health-grafana-ingester-1
apple-health-grafana-ingester-1  | Unzipping the export file...
apple-health-grafana-ingester-1  | Unable to open export zip: /export.zip is not a zip file
apple-health-grafana-ingester-1 exited with code 1

I tried different ways (one at a time) to define the location of the file:

    - C:/temp/ap/apple-health-grafana:/export.zip
    - C:\temp\ap\apple-health-grafana:/export.zip
    - C:\\temp\\ap\\apple-health-grafana:/export.zip

I can confirm the export.zip is a zip file. I even unzipped and rezipped with 7zip as zip. Same result. But I guess it just can't find the path. So how do I need to specify it on Windows?

Thank you!

@k0rventen
Copy link
Owner

k0rventen commented Jul 6, 2023

Hi,

I've just tried on a Windows machine, and it worked by specifying the relative path of the export file as such (I tried with the test-export2.zip file from the tests folder):

  volumes:
    - ./export.zip:/export.zip 

I think your issue is that you are specifying the whole directory to be mapped in the container, rather than the export.zip file ( - C:/temp/ap/apple-health-grafana)

Please test with either the relative path or the absolute export.zip path (which might be C:/temp/ap/apple-health-grafana/export.zip ?) and tell me how it went !

Regards :)

@GeraldPape
Copy link
Author

That worked, thank you!

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

2 participants