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

Unhandled 'error' event in 0.3.0 #52

Closed
amesga opened this issue Oct 4, 2017 · 2 comments
Closed

Unhandled 'error' event in 0.3.0 #52

amesga opened this issue Oct 4, 2017 · 2 comments
Assignees
Milestone

Comments

@amesga
Copy link

amesga commented Oct 4, 2017

Ace -v: 0.3.0
Node -v: 8.6.0
NPM -v: 5.3.0

Running Ace 0.3.0 on books previously validated by 0.2.0 gives the following error:

BOML105215:~ games$ ace -o /Users/games/Documents/daisy-ace /Users/games/Downloads/9781351946841.epub
info: Processing /Users/games/Downloads/9781351946841.epub
events.js:182
throw er; // Unhandled 'error' event
^
Error: EACCES: permission denied, open '/usr/local/lib/node_modules/ace-core/dist/ace.log'

When I navigate to the directory specified, there is no ace.log to check.

Running the command with sudo and --verbose completes but does not generate a report. Instead the following error appears:

info: Saving JSON report
info: Saving HTML report
error: Unexpected error: this.json.data.images.forEach is not a function
debug: TypeError: this.json.data.images.forEach is not a function
at fs.pathExists.then.then (/usr/local/lib/node_modules/ace-core/dist/report/report.js:88:35)
at <anonymous>

No report is output at the specified directory. log file attached.
ace.log

@rdeltour rdeltour added the bug label Oct 4, 2017
@rdeltour rdeltour self-assigned this Oct 4, 2017
@rdeltour rdeltour added this to the Beta 1 milestone Oct 4, 2017
@rdeltour
Copy link
Member

rdeltour commented Oct 4, 2017

Thanks for the feedback!

Error: EACCES: permission denied, open '/usr/local/lib/node_modules/ace-core/dist/ace.log'

This is tracked at #50

Unexpected error: this.json.data.images.forEach is not a function

This is tracked at #53

@rdeltour
Copy link
Member

rdeltour commented Oct 5, 2017

Closing as duplicate since both issues are tracked elsewhere. Feel free to subscribe to the other issues to get notifications on their statuses.

@rdeltour rdeltour closed this as completed Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants