Open aquestionx opened 3 years ago
I am encountering exactly the same issue when starting Anaconda Navigator:
WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings.
When this happens, (a) I can't maximize or resize the Anaconda Navigator window, and (b) the content within the Anaconda Navigator window is twice as large as it should be (large fonts, large graphics). This is shown in the attached screenshot.
This occurs after installing Anaconda3-2020.07-Linux-x86_64.sh on Linux Mint 20. My laptop has a 4K (Hi-DPI) display. In the Display control panel, I have "User Interface Scale" set to "automatic (2x)."
Details below. Thanks!
active environment : base
active env location : /home/rob/anaconda3
shell level : 1
user config file : /home/rob/.condarc
populated config files : /home/rob/.condarc
conda version : 4.9.1
conda-build version : 3.18.11
python version : 3.8.3.final.0
virtual packages : __glibc=2.31=0
__unix=0=0
__archspec=1=x86_64
base environment : /home/rob/anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/rob/anaconda3/pkgs
/home/rob/.conda/pkgs
envs directories : /home/rob/anaconda3/envs
/home/rob/.conda/envs
platform : linux-64
user-agent : conda/4.9.1 requests/2.24.0 CPython/3.8.3 Linux/5.4.0-52-generic linuxmint/20 glibc/2.31
UID:GID : 1000:1000
netrc file : None
offline mode : False
An update: In the screenshot above, Navigator seems to be rendering itself at 4x zoom. This would be consistent with "2x automatic" zoom in the system settings, and an additional 2x zoom within Navigator itself.
I tried disabling the "enable high-DPI scaling" setting in Navigator's Preferences menu. The result is that Navigator renders itself without any scaling -- i.e., at 1x scale. In the screenshot below, the text is so small that it's almost illegible on a high-DPI monitor. It's the opposite problem as before! 😀
Ideally, Navigator shouldn't need its own setting to "enable high-DPI scaling." Instead, it would just recognize the "2x automatic" scaling in the system settings and render itself appropriately (like most Linux apps).
I confirm this problem.
Confirmo este problema
Same problem with Linux Mint, Change in ~/.anaconda/navigator/anaconda-navigator.ini :
Same problem with Linux Mint, Change in ~/.anaconda/navigator/anaconda-navigator.ini :
to and now it's ok.
Doesn't work for me. (Kubuntu 20.04 https://github.com/ContinuumIO/anaconda-issues/issues/12133#issuecomment-739328651)
Same problem with Linux Mint, Change in ~/.anaconda/navigator/anaconda-navigator.ini :
to and now it's ok.
Thanks! works in Linux Lite 5.4
I'm having a similar error but get the code WARNING linux_scaling.get_primary_monitor_name:50 An exception occurred during fetching list of active monitors. Setting
Debian Buster, same error message
WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings.
Same issue Manjaro KDE with 4k or 1080P monitors but I can Maximize and Minimize so no noticeable issues
I am having same issue on Kubuntu 20.04, for me it does not even open.
Reporting here the same problem in Linux Mint 20.1
I waited to open the navigator and it took 13 minutes to open.
When it happened I also saw these errors:
WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings.
<urlopen error [Errno -2] Name or service not known> 2021-01-22 19:00:30,247 - ERROR client_api._get_api_info:665 HTTPSConnectionPool(host='api.anaconda.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc400057df0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
2021-01-22 19:00:30,251 - ERROR download_api._download:231 HTTPSConnectionPool(host='www.anaconda.com', port=443): Max retries exceeded with url: /api/videos (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc402715940>: Failed to establish a new connection: [Errno -2] Name or service not known'))
2021-01-22 19:00:30,251 - ERROR download_api._download:231 HTTPSConnectionPool(host='www.anaconda.com', port=443): Max retries exceeded with url: /api/webinars (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc40270b640>: Failed to establish a new connection: [Errno -2] Name or service not known'))
2021-01-22 19:00:30,251 - ERROR download_api._download:231 HTTPSConnectionPool(host='www.anaconda.com', port=443): Max retries exceeded with url: /api/events (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fc400116460>: Failed to establish a new connection: [Errno -2] Name or service not known'))
I had the same warning in Linux Mint 20: "WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings" But the navigator window opened immediately and I can scale it anyway I want. But the warning appears every time I start the navigator
I'm having the same problem with anaconda on Linux Mint 20. Anaconda3-2020.11 64 bits.
_WARNING linux_scaling.get_scaling_factor_usingdbus:27 An exception occurred during fetching list of system display settings.
Also, the navigator has stopped working too. The logo no longer appears on the startup screen and the program does not load.
I'm having the same problem with anaconda on Linux Mint 20. Anaconda3-2020.11 64 bits.
_WARNING linux_scaling.get_scaling_factor_usingdbus:27 An exception occurred during fetching list of system display settings.
Also, the navigator has stopped working too. The logo no longer appears on the startup screen and the program does not load.
The same issue on Linux Mint 20
What about this bug?
WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings.
This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".
Navigator not started. KDE neon 5.21
.log: ../anaconda3/lib/python3.8/site-packages/anaconda_navigator/utils/linux_scaling.py", "message": "An exception occurred during fetching list of system display settings.
Same problem, Ubuntu 18.04 64bit using i3wm. This https://github.com/ContinuumIO/anaconda-issues/issues/12133#issuecomment-754012092 has fixed it for me.
WARNING linux_scaling.get_scaling_factor_using_dbus:27
An exception occurred during fetching list of system display settings.
Same problem in Ubuntu 16.04(installation :Anaconda3-2020.11-Linux-x86_64.sh)
"WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings."
Similar (non-solved) problem with scaling: no scaling on high-DPI screen at all (everything is tiny),
"~$ anaconda-navigator" from terminal: "WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings."
"~$ QT_SCALE_FACTOR=2 anaconda-navigator": same issue Swtich between "enable_high_dpi_scaling = True" or "enable_high_dpi_scaling = False" in ~/.anaconda/navigator/anaconda-navigator.ini ( #12133 (comment)) has no effect, as well as choice in Preferences
Linux Mint 19.3 (Mate) Anaconda3-2020.11-Linux-x86_64.sh
Hi i m having the same issue on Fedora 33 witn anaconda 3 - 2020.11
WARNING linux_scaling.get_scaling_factor_using_dbus:39 Can't detect system scaling factor settings for primary monitor
regards
This solution works for me : https://askubuntu.com/questions/1252036/zoom-and-anaconda-navigator-have-weird-scaling
Go to preferences of anaconda-navigator and uncheck "Enable High DPI Scaling" If the preferences window was too big to save/apply the changes using the GUI.
Then, follow the following steps:
open preference file sudo nano ~/.anaconda/navigator/anaconda-navigator.ini
update enable_high_dpi_scaling = False
restart anaconda-navigator
Many thanks
confirm the same problem:
Anaconda3-2020.11-Linux-x86_64.sh centos8 (kernel version : 4.18.0-240.22.1.el8_3.x86_64)
2021-04-12 02:57:38,070 - WARNING linux_scaling.get_scaling_factor_using_dbus:27
An exception occurred during fetching list of system display settings.
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
Same: conda version : 4.10.1 conda-build version : 3.20.5 python version : 3.8.5.final.0
I am encountering exactly the same issue when starting Anaconda Navigator:
WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings.
This is shown in the attached screenshot. when this happens, there is some delay in resizing of window.
For me the fonts are so small. None of the above worked. Installer: Anaconda3-2020.11-Linux-x86_64.sh OS: Linux Mint 19.3
Same issue, I get "An exception occurred during fetching list of active monitors" and anaconda navigator doesn't open.
Ubuntu 20.04 Desktop x64 Anaconda3-2021.05-Linux-x86_64.sh
1 x 4K + 2 x full HD screens.
Navigator starts and displays at a good size but UI is prone to freezing up. I get this message in the console at startup, not sure if the freezing is related or not.
What about this bug?
WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings.
This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".
Navigator not started. KDE neon 5.21
.log: ../anaconda3/lib/python3.8/site-packages/anaconda_navigator/utils/linux_scaling.py", "message": "An exception occurred during fetching list of system display settings.
also had the same issue, i did the below update and problem was solved conda update anaconda-navigator
Hi everyone, I have the same issue with Mint 20.1, but I have a temporary solution for this. For those who aren't able to move or resize the window, do this:
Right Click on Title Bar and select move Now with out clicking anywhere, just drag the cursor and the window should start to move Plus you can now resize the window by dragging from the borders
I hope it helps :)
Same problem with Linux Mint, Change in ~/.anaconda/navigator/anaconda-navigator.ini :
to and now it's ok.
works fine in linux mint 20.2 thanks
Same problem with Linux Mint 20.2 when running in console. What I've done since day one is running anaconda-navigator
from /home/my_home_folder/anaconda3/bin/ (double click on file) and it works fine.
Same issue, I get "An exception occurred during fetching list of active monitors" and anaconda navigator doesn't open.
Same here, conda 4.10.3. Did you find a solution?
While starting Anaconda Navigator, use this command with reduced dpi scaling QT_SCALE_FACTOR=1 anaconda-navigator
Same problem with Linux Mint, Change in ~/.anaconda/navigator/anaconda-navigator.ini :
to and now it's ok.
This fixed it for me as well, though that said, it still gives:
WARNING linux_scaling.get_scaling_factor_using_dbus:31
An exception occurred during fetching list of system display settings.
But after that the application does start as it should.
On Ubuntu 20, getting these messages when starting up with up-to-date anaconda install, but after the messages navigator starts and works just fine. I've got a 4K monitor (only one, but it is sometimes treated as two side-by-side monitors).
k5:~$ anaconda-navigator 2022-03-03 11:04:55,983 - WARNING linux_scaling.get_primary_monitor_name:61 Can't detect primary monitor.
2022-03-03 11:05:12,910 - ERROR ads._log_errors:22 Tried to load advertisement image from https://optimise2.assets-servd.host/voracious-blesbok/production/api/navigator/Navigator-Commercialv6.png?w=315&auto=compress%2Cformat&fit=crop&dm=1643727003&s=77c3c1e618c897e6f1b9081f29103c53. Data is not fetched with status 522
Similar issue on Linux Mint. Kernel: 5.13.0-39-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.2.7 wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
Error message 2022-04-12 20:24:12,635 - WARNING linux_scaling.get_scaling_factor_using_dbus:31 An exception occurred during fetching list of system display settings.
2022-04-12 20:24:29,498 - ERROR ads._log_errors:23 Tried to load advertisement image from https://optimise2.assets-servd.host/voracious-blesbok/production/api/navigator/Navigator-Commercialv6.png?w=315&auto=compress%2Cformat&fit=crop&dm=1643727003&s=77c3c1e618c897e6f1b9081f29103c53. Data is not fetched with status 522
Works as expected with ~/.anaconda/navigator/anaconda-navigator.ini : <enable_high_dpi_scaling = False
Having similar issues. My computer is a MacBook Pro and connecting via SSH into Linux Server. <<Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-121-generic x86_64)>>
conda info -- see image below
Trying to launch the GUI from the server gives me this error: anaconda-navigator
2022-07-06 11:51:12,962 - WARNING linux_scaling.get_scaling_factor_using_dbus:32 An exception occurred during fetching list of system display settings.
qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display. <<<
Almost a similar problem in Opensuse Leap. Anaconda-navigator is updated to V.2.2.0
(base) mb@localhost:~> anaconda-navigator 2022-07-25 05:19:36,324 - WARNING linux_scaling.get_scaling_factor_using_dbus:32 An exception occurred during fetching list of system display settings. No protocol specified qt.qpa.screen: QXcbConnection: Could not connect to display :0.0 Could not connect to any X display.
As suggested in another post, when I first type xhost +, this is the output:
No protocol specified access control disabled, clients can connect from any host
Now if I run anaconda-navigator, I will get
2022-07-25 09:55:29,997 - WARNING linux_scaling.get_scaling_factor_using_dbus:32 An exception occurred during fetching list of system display settings.
and the program tries to start but freezes at startup. Please see the attached fig.
Any idea how to solve this?
Regards
Same problem with Linux Mint, Change in ~/.anaconda/navigator/anaconda-navigator.ini :
to and now it's ok.
It works for me. Thank you.
I'm on Anaconcda 2.3.2, enable_high_dpi_scaling = True works for me.
export DISPLAY=:0.0
export DISPLAY=:0.0
It's work for me,thanks
Almost a similar problem in Opensuse Leap. Anaconda-navigator is updated to V.2.2.0
(base) mb@localhost:~> anaconda-navigator 2022-07-25 05:19:36,324 - WARNING linux_scaling.get_scaling_factor_using_dbus:32 An exception occurred during fetching list of system display settings. No protocol specified qt.qpa.screen: QXcbConnection: Could not connect to display :0.0 Could not connect to any X display.
As suggested in another post, when I first type xhost +, this is the output:No protocol specified access control disabled, clients can connect from any host
Now if I run anaconda-navigator, I will get2022-07-25 09:55:29,997 - WARNING linux_scaling.get_scaling_factor_using_dbus:32 An exception occurred during fetching list of system display settings.
and the program tries to start but freezes at startup. Please see the attached fig. Any idea how to solve this? Regards
excuse, have you solved this problem ? I just meeting the same truble, and change the 'enable_high_dpi_scaling = False' not works for me, thanks
您好,您发给我的邮件已经收到。This is an automatic reply,confirming that your e-mail was received.Thank you!
Having similar issues. My computer is a MacBook Pro and connecting via SSH into Linux Server. <<Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-121-generic x86_64)>>
conda info -- see image below
Trying to launch the GUI from the server gives me this error: anaconda-navigator
2022-07-06 11:51:12,962 - WARNING linux_scaling.get_scaling_factor_using_dbus:32 An exception occurred during fetching list of system display settings.
qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display. <<< excuse, have you solved this problem ? I just meeting the same truble, and change the 'enable_high_dpi_scaling = False' not works for me, thanks
您好,您发给我的邮件已经收到。This is an automatic reply,confirming that your e-mail was received.Thank you!
I have a similar issue in wsl-ubuntu2204 where when I open anaconda-navigator(version 2.5.1) it prompts "-WARNING linux_scaling.get_scaling_factor_using_dbus:32 An exception occurred during fetching list of system display settings.” Then I use anaconda-navigator --debug display and the not open. What should I do?
For someone experience similar problem particularly there is something wrong with the window. Try setting your resolution from 2K to 1080P. It worked for me to correct the window yet the warning still pops up.
您好,您发给我的邮件已经收到。This is an automatic reply,confirming that your e-mail was received.Thank you!
I'm having the exact same issue, with the added that it never opens, it keeps loading forever.
I eventually found a quick workaround.
so, remember this error message: File "/home/your_user/anaconda3/lib/python3.11/site-packages/anaconda_navigator/widgets/lists/apps.py", line 201, in init icon_height //= self.pixmap.width() ZeroDivisionError: integer division or modulo by zero
I quit literally went to the file, to that line and added an "+10" to the divisor, saved it. And reopen the navigator, it works perfectly fine now.
Notice the + 10 was arbitrary, I think it can be any number, just so the divisor isn't zero.
Actual Behavior
A warning message appears in terminal after launch anaconda-navigator. "WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings." The maximize button is not in titlebar and it's impossible to maximize the window
Expected Behavior
There should be a maximize button in the titlebar
Steps to Reproduce
I just installed Anaconda3-2020.07-Linux-x86_64.sh on Linux Mint 19.3 Tricia with Cinnamon desktop. After installation, the first time I run anaconda-navigator from terminal, I encountered a problem "UnboundLocalError: local variable 'DISTRO_NAME' referenced before assignment". I fix that problem by run "conda update anaconda-navigator" in terminal. Now I can open Anaconda Navigator with the command "anaconda-navigator" but there is a warning in terminal: "WARNING linux_scaling.get_scaling_factor_using_dbus:27 An exception occurred during fetching list of system display settings."
Anaconda or Miniconda version:
Anaconda3-2020.07-Linux-x86_64.sh
Operating System:
Linux Mint 19.3 Tricia
conda info
conda list --show-channel-urls