Package Details: tradingview 3.3.0-2

Git Clone URL: https://aur.archlinux.org/tradingview.git (read-only, click to copy)
Package Base: tradingview
Description: Charting platform for traders and investors
Upstream URL: https://www.tradingview.com/desktop/
Keywords: binary charting electron finance stocks trading
Licenses: LicenseRef-TradingView
Submitter: inetol
Maintainer: xiota (chaotic-aur)
Last Packager: xiota
Votes: 37
Popularity: 0.060496
First Submitted: 2022-11-18 20:45 (UTC)
Last Updated: 2026-07-14 18:17 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 Next › Last »

roarch commented on 2026-07-14 18:41 (UTC)

Confirming 3.3.0-2 with vendored electron works here (clean launch, session restored). Thanks for the quick turnaround. For the record: my 3.3.0-1 build from Jul 9 did end up with a generic electron dep (pacman -Qi showed Depends On: libsecret electron), so the detection did fail on at least one machine — but with vendored as default that's moot now.

xiota commented on 2026-07-14 18:22 (UTC) (edited on 2026-07-14 18:24 (UTC) by xiota)

Version 3.3.0-2 defaults to vendored electron since electron38 was dropped from the extra repo. Users who prefer system electron, read the PKGBUILD. (Hint: Change a variable before building.)

xiota commented on 2026-07-14 17:30 (UTC)

@roarch That analysis is entirely wrong. In future, please provide actual error messages or supporting evidence.

$ pacman -Qi tradingview | grep -E '^(Name|Version|Depends|Build)'
Name            : tradingview
Version         : 3.3.0-1
Depends On      : libsecret  electron38
Build Date      : Tue 14 Jul 2026 05:26:37 PM

roarch commented on 2026-07-14 09:32 (UTC)

Package (3.3.0-1) crashes on launch with "App has crashed due to problem with your system configuration" — reproducible on a fresh install, no custom flags needed.

Root cause: the Electron-version sniff in package() is broken:

local _electron_version=$(strings "$_pkgsrc/tradingview" | grep -Pom1 'Electron/\K[0-9]+')
depends+=("electron${_electron_version}")
...
exec electron${_electron_version} "${flags[@]}" "/usr/lib/$_pkgname/app.asar" "$@"

The Electron/NN string is no longer present in the current snap's tradingview binary (checked snap rev 72, pkgver 3.3.0), so _electron_version evaluates to empty. Both the dependency and the launcher's exec line silently fall back to plain electron — whatever generic version happens to be installed — instead of the version the snap actually needs.

That matters because the bundled native addon (app.asar.unpacked/native/tvdbridge.node) is built against a specific Node ABI and fails to load under any other Electron major, which is what produces the crash dialog. Confirmed via the snap's own bundled runtime (ELECTRON_RUN_AS_NODE=1 ./tradingview -e "console.log(process.versions)"):

"modules": "139",
"electron": "38.2.2",
"chrome": "140.0.7339.133"

i.e. snap rev 72 needs electron38, not whatever electron currently resolves to (currently electron43/ABI 148 in extra).

Suggested fix — make the detection resilient, e.g. pull the version from the bundled Chromium/Node ABI instead of a strings grep for a string format that's apparently been dropped:

local _electron_version=$(ELECTRON_RUN_AS_NODE=1 "$_pkgsrc/tradingview" -e 'process.stdout.write(process.versions.electron.split(".")[0])')

and ideally fail the build loudly ([[ -n "$_electron_version" ]] || { error "could not detect electron version"; return 1; }) instead of silently degrading to unpinned electron, so this doesn't regress again on the next snap revision.

Note electron38 has already rotated out of extra; electron38-bin in the AUR is a workable stopgap for anyone hitting this now.

oneno commented on 2025-12-12 02:34 (UTC)

Just want to mention version 2.7.2-1 works without problems on linux 6.12.61-1-MANJARO. Recent updates within the container appeared without problems (pinescript button now appears on the right margin for split-window edits to custom script code).

archlinuxbits commented on 2025-11-10 18:04 (UTC)

We have to move to a snap or flatpak solution unless someone knows how to solve for the glibc incompatibility.

archlinuxbits commented on 2025-10-25 02:16 (UTC)

It seems that the new version 2.14 cannot work on current Arch due to glibc incompatibility and its causing segmentation fault in LoggerService.

I am trying to see if there is a way to work around it and will update once I resolve.

brezza commented on 2025-10-24 17:13 (UTC)

a new package of tradingview has arrived. Please update it.

archlinuxbits commented on 2025-06-24 17:42 (UTC)

Had just created an AUR account to bring this up to latest - great to see that its being maintained!