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

Opening a Data Package that I just created fails gives an error message: ENOENT: no such file or directory #439

Closed
pripley123 opened this issue Feb 5, 2018 · 9 comments
Labels
env:Windows This issue is related to running Data Curator on Windows fn:Open-Data problem:Bug A bug
Milestone

Comments

@pripley123
Copy link

pripley123 commented Feb 5, 2018

Opening a Data Package that I just created fails gives an error message:
ENOENT: no such file or directory, open '<package name>\datapackage.json'

Workaround:
I found a workaround was to extract the Data Package zip first in the same folder as the zip. Once I did that I was able to open the Data Package in Data Curator without error

Current Behaviour (for problems)

When reporting a problem, describe what happens that isn't expected behaviour?
try to open the Data Package I just created I get the following error:
Import Data Package Error
ENOENT: no such file or directory, open '<package name>\datapackage.json'

Expected Behaviour

The Data Package should open without error

Steps to Reproduce

  1. Open Data Curator using the icon
  2. When I successfully export a Data Package and then close Data Curator open it back up and then
  3. Try to open the Data Package I just created

Your Environment

Windows 10 Enterprise, version 1709
64 bit

  • Data Curator version: 0.9
@Stephen-Gates
Copy link
Contributor

Stephen-Gates commented Feb 5, 2018

@pripley123 Thanks for reporting this. It is possible to share the original file you were trying to open?

Did you have a .zip with inside:

|- datapackage.json
|- / data
|      |- data.csv

@pripley123
Copy link
Author

pripley123 commented Feb 5, 2018 via email

@Stephen-Gates
Copy link
Contributor

Stephen-Gates commented Feb 5, 2018

@pripley123 I don't think your .zip got posted in the comment above (or I'm blind as a bat!).

If your .zip isn't on the web, here's a great chance to add it to https://github.com/pripley123/myfirstrepo I can see from your profile that your new to GitHub so let me know if I can help, or you can email it to stephen [at] theodi.org.au

GitHub
Contribute to myfirstrepo development by creating an account on GitHub.

@pripley123
Copy link
Author

ah, I see... I attached it to the email when I responded in outlook ... guess I need to attach files directly here (I edited previous comment to attach the file)

@Stephen-Gates Stephen-Gates added problem:Bug A bug env:Windows This issue is related to running Data Curator on Windows fn:Open-Data labels Feb 6, 2018
@Stephen-Gates
Copy link
Contributor

@pripley123 I got the same error

open-data-package-zip-error

Developer is on holidays at present. We'll pick this up late next week.

@pripley123
Copy link
Author

Sounds good. Thanks.

@Stephen-Gates
Copy link
Contributor

@mattRedBox forgot to mention this today. This was working. Any clues?

@Stephen-Gates Stephen-Gates modified the milestones: v1.x.x, v1.0.0 Feb 8, 2018
@Stephen-Gates Stephen-Gates assigned ghost Feb 10, 2018
@Stephen-Gates
Copy link
Contributor

See also #304

@ghost ghost closed this as completed in 674ee95 Feb 13, 2018
@ghost
Copy link

ghost commented Feb 13, 2018

Will be in upcoming release.

@Stephen-Gates Stephen-Gates modified the milestones: v1.0.0, v0.10.0 Feb 14, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env:Windows This issue is related to running Data Curator on Windows fn:Open-Data problem:Bug A bug
Projects
None yet
Development

No branches or pull requests

2 participants