Noovolari / leapp

Leapp is the DevTool to access your cloud
https://www.leapp.cloud/
Mozilla Public License 2.0
1.61k stars 146 forks source link

Error popup after v0.18.3 update #454

Open icholy opened 1 year ago

icholy commented 1 year ago

Describe the bug

I updated from v0.18.1 to v0.18.3 this morning and started getting a recurring popup containing the following stacktrace:

[2023-07-31 13:33:12.238] [error] [renderer] [ErrorService] Error: Could not call remote method 'buildFromTemplate'. Check that the method signature is correct. Underlying error: TypeError: Error processing argument at index 1, conversion failure from /opt/Leapp/resources/app.asar/dist/leapp-client/assets/images/home-online.pngUnderlying stack: TypeError: Error processing argument at index 1, conversion failure from /opt/Leapp/resources/app.asar/dist/leapp-client/assets/images/home-online.png
    at a.insert (node:electron/js2c/browser_init:2:37139)
    at a.append (node:electron/js2c/browser_init:2:36692)
    at node:electron/js2c/browser_init:2:38577
    at Array.forEach (<anonymous>)
    at a.buildFromTemplate (node:electron/js2c/browser_init:2:38526)
    at /opt/Leapp/resources/app.asar/node_modules/@electron/remote/dist/src/main/server.js:465:71
    at IpcMainImpl.<anonymous> (/opt/Leapp/resources/app.asar/node_modules/@electron/remote/dist/src/main/server.js:323:27)
    at IpcMainImpl.emit (node:events:513:28)
    at EventEmitter.<anonymous> (node:electron/js2c/browser_init:2:81723)
    at EventEmitter.emit (node:events:513:28)

    at /opt/Leapp/resources/app.asar/node_modules/@electron/remote/dist/src/main/server.js:468:25
    at IpcMainImpl.<anonymous> (/opt/Leapp/resources/app.asar/node_modules/@electron/remote/dist/src/main/server.js:323:27)
    at IpcMainImpl.emit (node:events:513:28)
    at EventEmitter.<anonymous> (node:electron/js2c/browser_init:2:81723)
    at EventEmitter.emit (node:events:513:28)

Leapp Version

v0.18.3

To Reproduce Steps to reproduce the behavior:

  1. Open Leapp

Expected behavior

No error popup

Screenshots

image

Desktop (please complete the following information):

Additional context

The application is still functional, however the popup re-appears for every action I perform.

pethron commented 1 year ago

Thanks for reporting this bug; it seems to be a missing asset on the Linux distribution but we need to verify. Meanwhile, I suggest downgrading to v 0.18.1 if the popup becomes too annoying.

icholy commented 1 year ago

Is there a way to disable the update prompt?

pethron commented 1 year ago

It should prompt for the update only once; if you're experiencing multiple prompts after you close, it isn't the correct behavior. I'll check that as well!

afolarin commented 10 months ago

On Ubuntu 22.04.3 using linux version -- I'm seeing this prompt from Leapp version 0.21.0 and above, downgrading to 0.20.2 we don't see the prompt.

milldr commented 10 months ago

Getting the same error here. Everything else seems to be working fine, but this message pops up every few minutes and/or flashes a few times

leapp: Version 0.22.2 (0.22.2)
macOS 14.2
andreacavagna01 commented 10 months ago

Sad to hear that! We will understand the issue and get back to you

andreacavagna01 commented 10 months ago

This is a problem with the contextual menu, I'm checking if is there a way to fix it

andreacavagna01 commented 10 months ago

Is it possible that you all have a LocalStack Session in Leapp, I could have found the problem

afolarin commented 9 months ago

Just to report back, the issue seems resolved for me in 0.24.1 (although I didn't test in 0.24.0).

milldr commented 6 months ago

Checking back in and I am still getting this same error message pop up whenever starting or stopping a session. I am now on Version 0.25.2 (0.25.2). And I am not using LocalStack

chrisvoo commented 3 months ago

I'm getting this as well:

ericvilla commented 2 months ago

@chrisvoo what version of Leapp Desktop App are you using?