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

Unexpected end of json input #292

Closed
suryasidd opened this issue Jun 27, 2019 · 6 comments
Closed

Unexpected end of json input #292

suryasidd opened this issue Jun 27, 2019 · 6 comments

Comments

@suryasidd
Copy link

suryasidd commented Jun 27, 2019

Unable to run netron on Ubuntu 16.04 machine. I get the following error when launching netron.

Uncaught Exception:
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at ConfigurationService.load (/opt/Netron/resources/app.asar/src/app.js:808:39)
    at Application._ready (/opt/Netron/resources/app.asar/src/app.js:91:29)
    at App.<anonymous> (/opt/Netron/resources/app.asar/src/app.js:57:18)
    at App.emit (events.js:199:15)
@lutzroeder
Copy link
Owner

lutzroeder commented Jun 27, 2019

Can you share the content of ~/.config/Netron/configuration.json?

Deleting this file should avoid the error.

@suryasidd
Copy link
Author

Its empty should i delete it ?

@lutzroeder
Copy link
Owner

Yes

@suryasidd
Copy link
Author

suryasidd commented Jun 27, 2019

I'm getting a

Unhandled rejection Error: ENOENT: no such file or directory, open '/opt/Netron/resources/app-update.yml'
    at /opt/Netron/resources/app.asar/node_modules/electron-updater/src/AppUpdater.ts:460:27
    at Generator.next (<anonymous>)

@lutzroeder
Copy link
Owner

lutzroeder commented Jun 27, 2019

This doesn't block the app from running -- right?

See #166, electron-userland/electron-builder#2364 and electron-userland/electron-builder#1138.

@suryasidd
Copy link
Author

For me the app flashes and closes immediately. When i try to run it from the terminal, it shows me this error.

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