Execution of the "Anaconda Navigator" freezes while "Loading applications..."

Execution of “Anaconda Navigator” freezes while “Loading applications…”.

Anaconda Navigator launcher freezes Loading applications_400px

Mouse click on the launcher image makes the image disappear but taskmanager shows anaconda-navigator.exe continues to run in the background.

I have removed and installed the latest version for Windows (Anaconda3-2023.03-1-Windows-x86_64). The issue persists.

(base) PS C:\Users\mju> anaconda-navigator
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
QMimeDatabase: Error loading internal MIME data
An error has been encountered at line 1 of <internal MIME data>: Premature end of document.:
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh-pressed.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh-pressed.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh-pressed.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh.svg
Could not create pixmap from C:\Users\mju\anaconda3\Lib\site-packages\anaconda_navigator\static\images\icons\refresh-pressed.svg
2023-07-10 10:50:19,011 - ERROR __init__.global_exception_logger:19
integer division or modulo by zero
Traceback (most recent call last):
  File "C:\Users\mju\anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window\__init__.py", line 486, in setup
    self.post_setup(conda_data=output)
  File "C:\Users\mju\anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window\__init__.py", line 514, in post_setup
    self.tab_home.setup(conda_data)
  File "C:\Users\mju\anaconda3\lib\site-packages\anaconda_navigator\widgets\tabs\home.py", line 253, in setup
    self.update_applications()
  File "C:\Users\mju\anaconda3\lib\site-packages\anaconda_navigator\widgets\tabs\home.py", line 301, in update_applications
    self.list.addItem(ListItemApplication(prefix=self.current_prefix, **application_data))
  File "C:\Users\mju\anaconda3\lib\site-packages\anaconda_navigator\widgets\lists\apps.py", line 202, in __init__
    icon_height //= self.pixmap.width()
ZeroDivisionError: integer division or modulo by zero

Hello,

Can you please attach the ENTIRE output from the failed run below? It looks like the error output is cut off on the right.

Thank you.

Different environment, and error, but same hanging on “Loading applications…”

$ anaconda-navigator
/Users/markmail/anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/conda_api.py:1364: YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
data = yaml.load(f)
2023-10-03 21:40:07,079 - ERROR download_api._get_url:416
Expecting value: line 1 column 1 (char 0)

Traceback (most recent call last):
File “/Users/markmail/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/main_window.py”, line 539, in setup
self.post_setup(conda_data=conda_data)
File “/Users/markmail/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/main_window.py”, line 576, in post_setup
self.tab_home.setup(conda_data)
File “/Users/markmail/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/tabs/home.py”, line 169, in setup
self.set_applications(applications, packages)
File “/Users/markmail/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/tabs/home.py”, line 204, in set_applications
apps = self.api.process_apps(applications, prefix=self.current_prefix)
File “/Users/markmail/anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/anaconda_api.py”, line 888, in process_apps
versions=[vsdata.get(‘productVersion’)],
AttributeError: ‘str’ object has no attribute ‘get’

That will sit there until killed.

This was installed from Anaconda3-2019.10-MacOSX-x86_64.sh

I will try deleting this install, and rolling back a few versions

Same error with Anaconda3-2019.03 :

$ Anaconda-Navigator.app/Contents/MacOS/run.sh

WARNING: The conda.compat module is deprecated and will be removed in a future release.

/Users/markmail/anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/conda_api.py:1364: YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

data = yaml.load(f)

2023-10-04 08:34:16,041 - ERROR download_api._get_url:416

Expecting value: line 1 column 1 (char 0)

I also tried to update Navigator:

$ anaconda3/bin/navigator-updater

and it tries to update 1.9.7 to 2.5.0, but it sits on “Updating package on root…” forever

Same for Anaconda3-5.3.1-MacOSX-x86_64.sh :

$ ./Applications/Anaconda-Navigator.app/Contents/MacOS/run.sh

2023-10-04 09:10:12,328 - ERROR download_api._get_url:417

Expecting value: line 1 column 1 (char 0)

File “/Users/markmail/anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/anaconda_api.py”, line 903, in process_apps
versions=[vsdata.get(‘productVersion’)],
AttributeError: ‘str’ object has no attribute ‘get’