Leapp crashes on startup (SyntaxError: Unexpected end of JSON input)
See original GitHub issueDescribe the bug
The app crashes when starting up.
Have tried reinstall, restart the computer and deleted both ~/.Leapp
and /opt/Leapp
Leapp Version Happens on both 0.12.2 and 0.12.1
To Reproduce Steps to reproduce the behavior: Run the app from the terminal or from the desktoop
Expected behavior Expected the app to start
Desktop (please complete the following information):
- OS: Ubuntu
- OS Version 21.10
- Leapp Version 0.12.2
Additional context
> leapp
[13331:0601/093309.534427:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is swiftshader, ANGLE is
Checking for update
Logs:
[2022-06-01 09:22:07.161] [error] [renderer] [vg] SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at b.deserialize (file:///opt/Leapp/resources/app.asar/dist/leapp-client/main.0b104184584da49c.js:1:2290314)
at ee (file:///opt/Leapp/resources/app.asar/dist/leapp-client/main.0b104184584da49c.js:1:2292215)
at h.reloadWorkspace (file:///opt/Leapp/resources/app.asar/dist/leapp-client/main.0b104184584da49c.js:1:1985730)
at h.getWorkspace (file:///opt/Leapp/resources/app.asar/dist/leapp-client/main.0b104184584da49c.js:1:1985790)
at h.getSessions (file:///opt/Leapp/resources/app.asar/dist/leapp-client/main.0b104184584da49c.js:1:1986300)
at new p (file:///opt/Leapp/resources/app.asar/dist/leapp-client/main.0b104184584da49c.js:1:1971959)
at or.get behaviouralSubjectService [as behaviouralSubjectService] (file:///opt/Leapp/resources/app.asar/dist/leapp-client/main.0b104184584da49c.js:1:679611)
at new mp (file:///opt/Leapp/resources/app.asar/dist/leapp-client/main.0b104184584da49c.js:1:1825866)
at Object.mp.ɵfac [as factory] (file:///opt/Leapp/resources/app.asar/dist/leapp-client/main.0b104184584da49c.js:1:1828137)
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
How to fix "SyntaxError: Unexpected token < in JSON at ...
This error occurs when you are trying to parse a string to JSON and the string is not parsable. In other words, it...
Read more >Unexpected end of JSON input : SyntaxError - Stack Overflow
The error is likely coming from the client side. Do check the format of your data from the client side. For example, if...
Read more >LutronPro Caseta v1.0 - #139 by BHO - Projects & Stories ...
SyntaxError : Unexpected end of JSON input at JSON.parse () at TLSSocket. ... Leap Data was recieved and sent to parser false data...
Read more >Bug listing with status UNCONFIRMED as at 2022/12/24 17 ...
... Bug:307401 - "media-gfx/xsane crashes during startup if xinerama is ... GUI front-end to krpano from Kolor" status:UNCONFIRMED resolution: severity: ...
Read more >Node.js v19.3.0 Documentation
readUIntLE(offset, byteLength); buf.subarray([start[, end]]); buf.slice([start[, ... Modules loaders; package.json and file extensions; --input-type flag.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi guys, try to rename your Leapp-lock.json file located in .leapp in your home directory in something with bkp in the name and try restart the app, see if the app is working.
I have the same issue on my mac. I tried different versions 0.12.0, 0.12.1 for x64 and arm64 but got the same error screen.