

























I don't think I should perform the check:
_checkoutput="$(ELECTRON_OZONE_PLATFORM_HINT='auto' "$srcdir/usr/lib/$_pkgname/MongoDB Compass$_edition" --no-sandbox --version)"
This check prevents you from updating the package if you're not using the graphical environment. For example, I was updating packages on my laptop remotely (ssh) and got an error when trying to update mongodb-compass:
==> Starting check()...
[32469:0804/084051.389218:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:250] Missing X server or $DISPLAY
[32469:0804/084051.389338:ERROR:ui/aura/env.cc:257] The platform failed to initialize. Exiting.
It's not serious. As soon as I have some time, I'll look into whether we can implement another check and recommend it in the repository.
@luanlmd if you dont mind to use previous version.
then you clone this repo and checkout the previous commit then install it.
@dpeukert I'm having the same problem and just tried mongodb-compass-beta-bin
Installing mongodb-compass-beta-bin (1.46.4.beta.0-1)...
mongodb-compass-beta
(process:381520): Gtk-ERROR **: 11:54:59.018: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
zsh: trace trap (core dumped) mongodb-compass-beta
Following my previous comment, I managed to update the package by running yay --mflags "--nocheck". Which is probably not great, but at least it worked.
After that, I did what @datafieber suggested with the flags to force gtk 3 and managed to launch compass without problems, apparently.
Hope this helps anyone else with this issue :)
running mongodb from terminal with this command works for me! mongodb-compass --gtk-version=3 --ignore-additional-command-line-flags
also with the customized gnome startscript unter /usr/share/applications/mongodb-compass.desktop. change the line with "Exec" to Exec=mongodb-compass --gtk-version=3 --ignore-additional-command-line-flags %U
@dpeukert I had a similar issue with Slack some weeks ago and fixed it by following this: https://aur.archlinux.org/packages/slack-desktop#comment-1024447.
But here, I'm getting the error still in the check for the installation of the update, so I don't know how to work around it. Any ideas? :/
By the way, I tried creating a .config/electron-flags.conf with the flag, but it didn't seem to change anything. I'm not sure that already affects the update process.
@dpeukert tried on fresh arch install but same issue
Not found any solution till now
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Im unable to run it normally, sometimes it opens sometimes doesn't
Usually this error pops up:
Managed to get it running using this