Giter VIP home page Giter VIP logo

openlens's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openlens's Issues

MacOS arm64 version seems to be broken and unusable

I tried downloading the arm64.dmg and the arm64.zip of the new version 6.0.0 release, however in both cases after several downloads and re-downloads the resulting application cannot be opened.

Mac OS version: Ventura Version 13.0 Beta (22A5311f)
Hardware: MacBook Pro Apple M1 Pro

Screenshot of error message:
Screenshot 2022-08-05 at 09 02 31

Crash report:

openlens-crash-report.txt

GitHub Actions build is failing (6.2.0)

Hello,

the badge seems to indicate a failed build for 6.2.0 and the actions has failed. And yet, magically we have the assets produced for 6.2.0 somehow. Can we get a clarification of what is going on here?

Thank you in advance!

Add test strategy for workflows

Currently, it's not possible to verify the workflow which build lens runs successfully before merge into main.

This results into required reverts in the history, atleast by me.

A proposal would be to enable OpenLens builds on pull requests but exclude the push step on them.

README Update

Issue Overview

Context: lensapp/lens#5444 (comment)

Update README.md to address the following

  • Improve formatting
  • Add homebrew install instructions
  • Clarify OpenLens vs Lens IDE

--- Can't submit a PR, so pasting updated README.md below ---

OpenLens Build Repo

Build Lens

Build Repo Only

This is repo only provides binaries for the OpenLens repo. For software issues regarding OpenLens or the Lens IDE, go to the Lens repo and open an issue there. They will be closed if opened on this repo.

Overview

This is the Binary Build Repo for the Lens repository aka OpenLens. This build only includes the open source part of the Lens IDE and does not require login. This repo was created due to lensapp/lens#5444.

Download and use as is. If you have trouble about not seeing pod logs, remove old config files / extensions remaining from old Lens app.

Auto Updater is now live starting with every binary downloaded with the Latest tag or the corresponding release assets.

OpenLens vs Lens IDE

Paraphrasing from the OpenLens README

OpenLens

The OpenLens repository, is where Team Lens (Mirantis) develops the Lens IDE product together with the community. It is backed by a number of Kubernetes and cloud native ecosystem pioneers. This source code is available to everyone under the MIT license.

Lens IDE

The Kubernetes management tool Lens IDE is a distribution of the OpenLens repository with Team Lens specific customizations released under a traditional EULA.

Installation

Manual

Go to Releases and download the relevant binary for your system.

MacOS

Homebrew

brew install --cask openlens

Linux

todo

Windows

todo

brew - unable to install 6.2.3

this has been happening for a couple of days now

==> Upgrading 1 outdated package:
openlens 6.2.1 -> 6.2.3
==> Upgrading openlens
==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.3/OpenLens-6.2.3.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/b9206374-1e79-4d23-afa9-cb90fd621c69?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221128%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221128T130629Z&X-Amz-Expires=300&X-Amz-Signature=b03df67ba274dfed63fe5a6ffdaa409d81c8dfc3fde2ab27f4805df8191e17fd&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=497304002&response-content-disposition=attachment%3B%20filename%3DOpenLens-6.2.3.dmg&response-content-type=application%2Foctet-stream
Error: openlens: SHA256 mismatch
Expected: 3f16ba5def6d239be21b9ff587847ad64f2f845924cc97de395fd033fe6d7542
  Actual: c95def0c10336ae0371670b5f6b14ecdfaa78df04104338b9dcd7c5dfa2cbd2c
    File: /Users/mohamed.arafa/Library/Caches/Homebrew/downloads/efd6c85b749136131c5af637271ea06a6ef879f7cc0d37fdea80bcff281e5ac8--OpenLens-6.2.3.dmg
To retry an incomplete download, remove the file above.
==> Purging files for version 6.2.3 of Cask openlens

i have deleted the download and repeated and i got the same result. any ideas?

Auto Updater MacOS not installing

Since app is not signed, Auto updater notifies and downloads the new release, but can not install when selected Yes from popup.

User needs to manually install the update after receiving the notification for it.

Signed app wont have this issue hopefully

Release notes

It would be nice to have release notes copied from original Lens releases.

"Updater channel file not found"

I get this in the logs when checking for updates:

Checking for update
Error: Error: Cannot find channel "latest-linux.yml" update info: HttpError: 404 
"method: GET url: https://github.com/MuhammedKalkan/OpenLens/releases/download/Latest/latest-linux.yml?noCache=1glke9iuo\n\nPlease double check that your authentication token is correct. Due to security reasons, actual status maybe not reported, but 404.\n"
Headers: {
  "server": "GitHub.com",
  "date": "Sat, 31 Dec 2022 15:55:03 GMT",
  "content-type": "text/plain; charset=utf-8",
  "vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, X-Requested-With",
  "cache-control": "no-cache",
  "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
  "x-frame-options": "deny",
  "x-content-type-options": "nosniff",
  "x-xss-protection": "0",
  "referrer-policy": "no-referrer-when-downgrade",
  "content-security-policy": "default-src 'none'; base-uri 'self'; connect-src 'self'; form-action 'self'; img-src 'self' data:; script-src 'self'; style-src 'unsafe-inline'",
  "content-encoding": "gzip",
  "content-length": "29",
  "x-github-request-id": "CE36:FFC3:BF47F61:C67449A:63B05B43"
}
...
error:   ┃ [32]     at async r (/tmp/.mount_openleJmyQt7/resources/app.asar/static/build/main.js:2:413870)
error:   ┃ [33]     at async /tmp/.mount_openleJmyQt7/resources/app.asar/static/build/main.js:2:416534
error:   ┗ [34] { code: 'ERR_UPDATER_CHANNEL_FILE_NOT_FOUND' }

Create deterministic download/release URLs from version, os, and arch

I have an an automated provisioning tool for populating developer spaces (laptops, VMs, docker images) and it would be nice to provision OpenLens but the URL structure for the current downloads makes that difficult without a lot of conditional logic. Might it be possible to create the standard tar.gz files for the platforms along with what's currently being done?

For example the template URL might look like this:

https://github.com/MuhammedKalkan/OpenLens/releases/download/v{version}/OpenLens-{version}-{os}-{arch}.tar.gz

And specific URLs based on the version, os, and arch might look like the following:

https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-darwin-amd64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-darwin-arm64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-linux-amd64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-linux-arm64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-windows-amd64.tar.gz
https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.0.0/OpenLens-6.0.0-windows-arm64.tar.gz

In this way knowing the version and detecting the os and arch it's very easy to grab the right tar.gz file for a given user.

Thanks!

Jason

Request: ARM version of 5.5.4

Can an ARM version of 5.5.4 please be added to releases?

6.0.0 just has too many bugs (notably infinite spinning on loading helm releases, HPAs showing % usage incorrectly). Some of these are fixed upstream, but I'm not sure when they're going to release 6.0.1.

ARM64 DMG

There is no release for version 6.2.0 for Apple Silicon.

Got issue innerError Error: Cannot find module '../build/Debug/pty.node' on Linux arm64

Hello I got such an issue on arm64, tried a different version, but got the same issue

innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:

  • /opt/OpenLens/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js
  • /opt/OpenLens/resources/app.asar/node_modules/node-pty/lib/index.js
  • /opt/OpenLens/resources/app.asar/static/build/main.js
  • at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
    at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
    at Module._load (node:internal/modules/cjs/loader:785:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (/opt/OpenLens/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:30:15)
    at Module._compile (node:internal/modules/cjs/loader:1118:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:988:32) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/opt/OpenLens/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js',
    '/opt/OpenLens/resources/app.asar/node_modules/node-pty/lib/index.js',
    '/opt/OpenLens/resources/app.asar/static/build/main.js',
    undefined
    ]
    }
    (node:1624) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
    (Use open-lens --trace-deprecation ... to show where the warning was created)
    A JavaScript error occurred in the main process
    Uncaught Exception:
    Error: /tmp/.org.chromium.Chromium.9sDm3X: cannot open shared object file: No such file or directory
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1812)
    at Module._extensions..node (node:internal/modules/cjs/loader:1203:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:5:2039)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (/opt/OpenLens/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:26:11)
    at Module._compile (node:internal/modules/cjs/loader:1118:14)
    MESA-LOADER: failed to retrieve device information
    MESA-LOADER: failed to retrieve device information
    MESA-LOADER: failed to retrieve device information
    [1689:1114/092555.207761:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.216935:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.218071:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.218944:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.219662:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.220357:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.221070:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.223567:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.224873:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.226930:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.228213:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.229024:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.230288:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.230801:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.232001:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.232291:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.232598:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.232859:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.233138:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.233401:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.233623:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.233882:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.234112:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.234377:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.234606:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.234845:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.235043:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.235373:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.235680:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.235953:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.236830:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.237887:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.238234:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.238563:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.250172:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.251620:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.253569:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.255909:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.259720:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1689:1114/092555.262218:ERROR:gbm_wrapper.cc(292)] Failed to export buffer to dma_buf: No such file or directory (2)

Latest release fails to start on M1 MacBook Air

The 6.0.0 release downloads successfully but fails to start (I tried both replacing and clean reinstall, as well as re-downloading. Same result):

image

I'm not sure how to even start debugging this, but will be happy to help...

specfile for rpm?

Where is your spec file? I'd like to build signed packages for openSUSE (and possibly fedora) on OBS.

scoop install fails - bad hash value

PS C:\Users\jyurk> scoop install openlens
Installing '7zip' (22.01) [64bit] from main bucket
7z2201-x64.msi (1.8 MB) [=====================================================================================] 100%
Checking hash of 7z2201-x64.msi ... ok.
Extracting 7z2201-x64.msi ... done.
Linking ~\scoop\apps\7zip\current => ~\scoop\apps\7zip\22.01
Creating shim for '7z'.
Creating shim for '7zFM'.
Creating shim for '7zG'.
Creating shortcut for 7-Zip (7zFM.exe)
Persisting Codecs
Persisting Formats
Running post_install script...
'7zip' (22.01) was installed successfully!
Notes

Add 7-Zip as a context menu option by running: "C:\Users\jyurk\scoop\apps\7zip\current\install-context.reg"
Installing 'openlens' (6.2.0) [64bit] from extras bucket
OpenLens-6.2.0.exe (118.4 MB) [===============================================================================] 100%
Checking hash of OpenLens-6.2.0.exe ... ERROR Hash check failed!
App: extras/openlens
URL: https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.0/OpenLens-6.2.0.exe#/dl.7z
First bytes: 4D 5A 90 00 03 00 00 00
Expected: ef53aec8269084ab07973ec3b4f0b8edc55dfdeb06d1d7c2bc53eaa923d15231
Actual: c761f2db930d239d4e4175eadf07411325e90208d545e2c3515c887e1a5841bf

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=openlens%406.2.0%3a+hash+check+failed

Question: automatic updates

When using this build, will the program check for automatic updates here or in the original Mirantis build, or somewhere else entirely?

brew repos?

Hi
is there any plan to add this to brew for macOS?

Autoupdate shows update and has error in main process (MacOS)

I use OpenLens 6.0.0 on MacOS from your repo. Now it shows an Update and if I click on "Relaunch to Update Lens" it brings an JavaScript error.
Uncaught Exception: Error: Tried to install update but no update was discovered. at /Applications/OpenLens.app/Contents/Resources/app.asar/static/build/main.js:1:298901 at /Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:53225 at /Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:53247 at /Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:53197 at /Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:19214 at S (/Applications/OpenLens.app/Contents/Resources/app.asar/node_modules/@ogre-tools/fp/build/index.js:1:53404) at IpcMainImpl.r (/Applications/OpenLens.app/Contents/Resources/app.asar/static/build/main.js:1:482472) at IpcMainImpl.emit (node:events:394:28) at IpcMainImpl.emit (node:domain:470:12) at Object.<anonymous> (node:electron/js2c/browser_init:165:9959)

Lens Proxy Error, how to reset?

Hi,
I added an invalid proxy by accident, then the app wont start. How can I reset it?

OS: Mac
Version: 6.0.2 / 5.5.4

Thanks

Error message pop:

image

cannot connect to cluster

6.1.19 version cannot connect to AWS EKS cluster running 1.21, it complains about apiVersion:

F1115 16:35:16.837628 5912 main.go:82] failed to initialize proxyexec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

Updating the config file using "aws eks update-config" didn't help.

Kubeectl is 1.23.3.

Is there a way forward?

Thanks for any help.

Add a HomeBrew formula

It would be nice to be able to install openlens as a Cask using brew install openlens on macOS.

So I made a formula at https://github.com/janhoy/homebrew-cask/blob/open-lens/Casks/openlens.rb which works locally. I assume that the .dmg here is UniversalBinary, i.e. will work on both x64 and arm64? I have only tested on arm (M1).

However there are two issues that must be solved for us to submit a PR for it:

  1. The Mac app is not signed, which is a blocker for new users. See #1

  2. This repository needs 30 forks, 30 watchers and 75 stars to be eligible for HomeBrew:

    audit for openlens: failed
     - GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)
    Error: 1 problem in 1 cask detected
    

brew - 6.2.1 SHA256 Mismatch arm64

It looks like there is a SHA mismatch on the latest release for arm64 on brew

$ brew install --cask openlens
==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.1/OpenLens-6.2.1-arm64.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/d1486410-533a-4770-9dde-ccaee67e4ec9?X-Amz-Algorithm=AWS4-HMAC-SH
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 5aad8a7a5e7626921836f434dbdb0678c39f0fb41ea54c94e55417a639cb0e8c
  Actual: 52c287a264b8a0c3c10a3286a22d171e60d079e9c68a316df470b84075398071
    File: /Users/dominicdejacomo/Library/Caches/Homebrew/downloads/2bbef6d137fb3ad3b8a174914056bad468e4a1930e819cb7feb87e6b3de5afef--OpenLens-6.2.1-arm64.dmg
To retry an incomplete download, remove the file above.

OpenLens 6.3.0 Blank UI

I upgraded from OpenLens 6.2.5 to 6.3.0 and now see a blank UI when I connect to any cluster

image

I was not experiencing this issue with 6.2.5. I tried opening and closing the application multiple times, but the same issue persisted. Anyone else having similar issues?

Openlens creates shell history entries on MacOS

I've installed OpenLens and I can observe that my zsh history is flooded with openLens calls like
'/Applications/OpenLens.app/Contents/MacOS/OpenLens' -p '"(someHash)" + JSON.stringify(process.env) + "(ThisSameSomeHash)"'

it's a bit frustrating and I didn't see this in the standard Lens app. What's going on?

extensions support

thanks for this repo !

why openlens is not compatible with the extensions ?

Screenshot from 2022-07-28 18-41-15

Thanks

OpenLens 6.3.0 arm64 brew installation error

OpenLens 6.3.0 arm64 does not install on macOS via brew due to SHA mismatch

~ ❯ brew install --cask openlens                                                                                                                                                                                                                                                                                                                                   
==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.3.0/OpenLens-6.3.0-arm64.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/019dc6d5-ba82-4b3d-800f-5aadb87a39a4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230102%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230102T141506Z&X-Amz-Expires=300&X-Amz-Signature=22bde4ffdc3d5150eb63009a3996860acbb01e76f81
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 71c8a86161d17143251e6a9bf202d7d014573a6c6906c06f5d9ece33c2889f06
  Actual: bd356557c1518f7e2d95166de4d0abfff6e4c49141c060fe7e3eef2a0303a1f5

Unable to install 6.2.5 - SHA256 Mistmatch

Trying to install 6.2.5 via brew results in the error below:

 /tmp brew install --cask openlens                                                                                                                   
==> Downloading https://github.com/MuhammedKalkan/OpenLens/releases/download/v6.2.5/OpenLens-6.2.5.dmg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/497304002/4be95a7a-dc85-4a7c-a3f5-fc23678ad9ae?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=A
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: edb95dd9c105ccdc5e64b94432175ad5812502eb8a1b36fa8a2bb6a2b1f3c00a
  Actual: c606162e05152a2f43b83f5d618a9085d184965fa2e571643d80be1b48664c2c
    File: /Users/rajaiealkorani/Library/Caches/Homebrew/downloads/86950502d2536e660c72e4119b1d034e7b944d44a5d779bd1c9211d6bdc959c8--OpenLens-6.2.5.dmg
To retry an incomplete download, remove the file above.

Is there a way to avoid this issue without manually updating the .sha via brew edit?

Question: How to disable updates.... in the interim

On all my machines windows/mac i have pinned the version of open lens in brew or chocolatey to 6.25.
(Until we have a solution to the removal of pod logs and shell buttons.)
However it still periodically pulls updates and installs them if I restart my machine or lens.

Is there a way to prevent updates being found as its just repulled and installed 6.3.0 ?

KDE desktop menu entry doesn't work

I do have tried this under a hardend stable Gentoo Linux:

$ cat ~/.local/share/applications/openlens.desktop 
[Desktop Entry]
Name=OpenLens
Exec=/usr/local/bin/OpenLens-6.0.0.AppImage %U
Terminal=false
Type=Application
Icon=lens
StartupWMClass=Lens
Comment=OpenLens
MimeType=x-scheme-handler/lens;
Categories=Development;

It worked fine with Lens in the past.
With OpenLens the start up window does not appear. After I removed the %U the app startup window at least appeared - and then KDE hangs.
Starting from the command line works flawlessly.

Build .deb packages for older versions of glibc (e.g. Ubuntu 18.04)

I think that .deb packages were built on Ubuntu 20.04 with a higher version of glibc which is not available on Ubuntu 18.04.

This breaks installation on Ubuntu 18.04.

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.org.chromium.Chromium.V1L3QF)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1800)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1170:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:5:2027)
    at Module.load (node:internal/modules/cjs/loader:982:32)
    at Module._load (node:internal/modules/cjs/loader:823:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1006:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (/opt/OpenLens/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:26:11)
    at Module._compile (node:internal/modules/cjs/loader:1110:14)

GLibc version error on Amazon Linux 2

Hi,

on Amazon Linux 2 (which is closely related to CentOS 7 and shares most of its package versions) I can't get the AppImage version of OpenLens to work, it throws the following error:

[redacted@redacted ~]$ /opt/OpenLens.AppImage 
innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:
- /tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js
- /tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/index.js
- /tmp/.mount_OpenLeuf9S7P/resources/app.asar/static/build/main.js
- 
    at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
    at n._resolveFilename (node:electron/js2c/browser_init:245:1105)
    at Module._load (node:internal/modules/cjs/loader:785:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:30:15)
    at Module._compile (node:internal/modules/cjs/loader:1118:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:988:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js',
    '/tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/index.js',
    '/tmp/.mount_OpenLeuf9S7P/resources/app.asar/static/build/main.js',
    undefined
  ]
}
(node:18882) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `open-lens --trace-deprecation ...` to show where the warning was created)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/.org.chromium.Chromium.U8mC8o)
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1812)
    at Module._extensions..node (node:internal/modules/cjs/loader:1203:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:5:2039)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/tmp/.mount_OpenLeuf9S7P/resources/app.asar/node_modules/node-pty/lib/unixTerminal.js:26:11)
    at Module._compile (node:internal/modules/cjs/loader:1118:14)
[18882:1103/103947.723854:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface 'org.freedesktop.portal.FileChooser'
[18882:1103/103947.723997:ERROR:select_file_dialog_linux_portal.cc(242)] Failed to read portal version property
[19162:1103/103948.077148:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[19181:1103/103948.276636:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[19196:1103/103948.412883:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.

the "official" Lens AppImage build works. Can I do something about this or do I need a system with a newer GLibc?

Thank you!

Mac app is not trusted

The mac .dmg package can easily be installed by dropping the app into /Applications, but then most users won't be able to run it due to lack of trusted signature. Is there a way for the GitHub action to pick up some credential for a Mac developer during build?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.