question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Leapp crashes on startup (SyntaxError: Unexpected end of JSON input)

See original GitHub issue

Describe 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:closed
  • Created a year ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
urz9999commented, Jun 7, 2022

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.

2reactions
devnohcommented, Jun 2, 2022

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.

  • masOS Monteray 12.4
  • Macbook Pro Apple M1 Max
  • Leapp Version 0.12.2
Screen Shot 2022-06-02 at 9 23 26 AM
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found