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

submissions json data error #78

Open
danbjoseph opened this issue Jun 30, 2016 · 6 comments
Open

submissions json data error #78

danbjoseph opened this issue Jun 30, 2016 · 6 comments

Comments

@danbjoseph
Copy link
Member

danbjoseph commented Jun 30, 2016

http://omkserver.com/omk/odk/submissions/gn_buildings.json returns

{
  "status": 500,
  "msg": "Problem reading data.json file in submission directory. dataFile: \/opt\/omk\/OpenMapKitServer\/data\/submissions\/gn_buildings\/35659135-894b-45db-98ec-3dfecefe1949\/data.json",
  "err": {
    "errno": -24,
    "code": "EMFILE",
    "syscall": "open",
    "path": "\/opt\/omk\/OpenMapKitServer\/data\/submissions\/gn_buildings\/35659135-894b-45db-98ec-3dfecefe1949\/data.json"
  }
}

and http://omkserver.com/omk/pages/submissions/?form=gn_buildings doesn't work

@ahmedOpeyemi
Copy link
Contributor

@danbjoseph Any fix for this yet or any work being done on this? Currently having this issue on a locally deployed instance.
From what i have seen so far, using graceful-fs (https://github.com/isaacs/node-graceful-fs) to access filesystem works better than using nodes default fs module.

@hallahan
Copy link
Contributor

@ahmedOpeyemi - has this been resolved?

@ahmedOpeyemi
Copy link
Contributor

@hallahan this was fixed in #85
@danbjoseph can test the http://omkserver.com/omk/odk/submissions/gn_buildings.json endpoint from his end to confirm & close the issue.

@danbjoseph
Copy link
Member Author

I don't think the code has been deployed to the server yet. Still receiving the error message.

@hallahan
Copy link
Contributor

hallahan commented Dec 6, 2016

@danbjoseph - Can you check the latest version? I think this was resolved.

@danbjoseph
Copy link
Member Author

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

3 participants