New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with anaconda-navigator: WARNING linux_scaling.get_scaling_factor_using_dbus:27 #12133
Comments
I am encountering exactly the same issue when starting Anaconda Navigator:
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!
|
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, |
Doesn't work for me. (Kubuntu 20.04 #12133 (comment)) |
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 <enable_high_dpi_scaling = False> did not resolve this. Using Anaconda3-2020.11. linux-64 |
Debian Buster, same error message |
Same issue Manjaro KDE with 4k or 1080P monitors but I can Maximize and Minimize so no noticeable issues <enable_high_dpi_scaling = False> does not work |
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 <urlopen error [Errno -2] Name or service not known> 2021-01-22 19:00:30,251 - ERROR download_api._download:231 2021-01-22 19:00:30,251 - ERROR download_api._download:231 2021-01-22 19:00:30,251 - ERROR download_api._download:231 |
I had the same warning in Linux Mint 20: |
I'm having the same problem with anaconda on Linux Mint 20. WARNING linux_scaling.get_scaling_factor_using_dbus:27 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 This application failed to start because it could not find or load the Qt platform plugin "xcb" Navigator not started. .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 #12133 (comment) 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 |
Similar (non-solved) problem with scaling: no scaling on high-DPI screen at all (everything is tiny), "~$ anaconda-navigator" from terminal: "~$ QT_SCALE_FACTOR=2 anaconda-navigator": same issue Linux Mint 19.3 (Mate) |
Hi WARNING linux_scaling.get_scaling_factor_using_dbus:39 regards This solution works for me : Go to preferences of anaconda-navigator and uncheck "Enable High DPI Scaling" Then, follow the following steps:
Many thanks |
confirm the same problem: Anaconda3-2020.11-Linux-x86_64.sh 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: |
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. |
Ubuntu 20.04 Desktop x64 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. |
also had the same issue, i did the below update and problem was solved |
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 I hope it helps :) |
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 |
While starting Anaconda Navigator, use this command with reduced dpi scaling |
This fixed it for me as well, though that said, it still gives:
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:05:12,910 - ERROR ads._log_errors:22 |
Similar issue on Linux Mint. Error message 2022-04-12 20:24:29,498 - ERROR ads._log_errors:23 Works as expected with ~/.anaconda/navigator/anaconda-navigator.ini : <enable_high_dpi_scaling = False |
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 |
It's work for me,thanks |
您好,您发给我的邮件已经收到。This is an automatic reply,confirming that your e-mail was received.Thank you!
|
您好,您发给我的邮件已经收到。This is an automatic reply,confirming that your e-mail was received.Thank you!
|
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 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. |
您好,您发给我的邮件已经收到。This is an automatic reply,confirming that your e-mail was received.Thank you!
|
I'm having the same error message when I open anaconda from my terminal but not the window's size problem. |
Incompetence |
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
The text was updated successfully, but these errors were encountered: