Open kfeaginsiii opened 5 years ago
Additional Troubleshooting notes: Moving off network (that was behind a proxy) to a hotspot allows Navigator to open.
Disconnecting from all network connections allows Navigator to open.
Reconnecting to network (that is behind a proxy) fails to open again.
Reverting to Anaconda 5.3.1 does not resolve.
Adding proxy_servers to .condarc causes the below error:
followed this guide: https://conda.io/docs/user-guide/configuration/use-condarc.html#configure-conda-for-use-behind-a-proxy-server-proxy-servers
Error: Traceback (most recent call last): File "C:\Users\KFeagins\AppData\Local\Continuum\anaconda3\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler return_value = func(*args, **kwargs) File "C:\Users\KFeagins\AppData\Local\Continuum\anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 150, in start_app window = run_app(splash) File "C:\Users\KFeagins\AppData\Local\Continuum\anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 65, in run_app window = MainWindow(splash=splash, tab_project=False) File "C:\Users\KFeagins\AppData\Local\Continuum\anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 168, in init self.api = AnacondaAPI() File "C:\Users\KFeagins\AppData\Local\Continuum\anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 2294, in AnacondaAPI ANACONDA_API = _AnacondaAPI() File "C:\Users\KFeagins\AppData\Local\Continuum\anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 91, in init self._conda_api = CondaAPI() File "C:\Users\KFeagins\AppData\Local\Continuum\anaconda3\lib\site-packages\anaconda_navigator\api\conda_api.py", line 1767, in CondaAPI CONDA_API = _CondaAPI() File "C:\Users\KFeagins\AppData\Local\Continuum\anaconda3\lib\site-packages\anaconda_navigator\api\conda_api.py", line 353, in init self.sys_rc_path = join(self.ROOT_PREFIX, '.condarc') File "C:\Users\KFeagins\AppData\Local\Continuum\anaconda3\lib\ntpath.py", line 76, in join path = os.fspath(path) TypeError: expected str, bytes or os.PathLike object, not NoneType
Discussed with a co-worker. Apparently it will open, but takes a really long time (>10 minutes) if left alone. I was clicking the splash screen, which is where I was encountering the error. That said, it looks like the issue should be closed/renamed, as it is likely some of our security software stepping on it.
Thanks for the detail explanations!
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
I've been using Anaconda Navigator without issue for a while, but today it hung at 'loading applications.' This suggestion did the trick for me.
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
That worked for me too.
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
Worked for me. Thank you :)
Only one comment since December and then four within minutes. Crazy. And it worked for me too.
After an hour of updates and installs this little nugget sorted it!! Think its a windows update thing - well done Bill!
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
Thx dude.
Worked for me too. Thanks!
No probs – maybe a defender thing.
Cheers
Martyn Wimpenny 07977 456003
From: TheJB2001 Sent: Tuesday, April 16, 2019 23:33 To: ContinuumIO/anaconda-issues Cc: MartynWimpenny; Comment Subject: Re: [ContinuumIO/anaconda-issues] Navigator hangs at loadingapplications (#10461)
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f) Thx dude. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
Worked for me too! Thank you so much for sharing =)
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
Had to restart my PC, but this solution worked. Thank you!
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
You are awesome!
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
I do not seem to have a site-package folder in my Anaconda version (Mac). Any ideas?
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
I do not seem to have a site-package folder in my Anaconda version (Mac). Any ideas?
I couldn't find it either but then I searched for it in finder and it came up
Tried Anaconda for the first time with Windows 10 and exact same problem. Exact same solution.
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
This solution also works for Ubuntu 18.04. Thank you so much!
awesome.. worked for me .. MAC one
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
Thank you it worked for me also 👍
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
wow.. it worked like a charm!
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
That was awesome. It worked very well. Thanks!
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
This worked for me too. Great suggestion.
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
That worked for me too ! Many thanks !
Discussed with a co-worker. Apparently it will open, but takes a really long time (>10 minutes) if left alone. I was clicking the splash screen, which is where I was encountering the error. That said, it looks like the issue should be closed/renamed, as it is likely some of our security software stepping on it.
Seems like you were right. I fixed the issue just by changing firewall zone on my Fedora 30, no changes to the file were necessary.
Slightly ironic that dev tool hangs on load. Wait though, and eventually it should dig itself out after looking unresponsive for around 10 min.
aint nobody got time for dat... keep the issue open
load > "safeload" works for me. Thank you...
"data = yaml.safeload(f)" worked for me too. Thank you :)
Had the same issue, seemingly caused by limitations in corporate internet settings. Loading Anaconda Navigator took a lot of time, staying at "loading applications...". Furthermore, updating package index from the Environments page in the Anaconda Navigator would hang (without any timeout).
using the solution helped in my case as well! thanks!
"load > safeload" worked for me as well on rhel7.
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
Excellent !!
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
This doesn't work for me. On Windows 10, Ubuntu installed on WSL. After updating Anaconda this issue started (haven't updated in a while). 1) I uninstalled and reinstalled Anaconda, did the updates, but this did not fix it. Seems to have made thing worse lol, now I get a "conda: command not found" error before the command line appears. 2) Changed file as suggested saved then restarted computer. Confirmed file was still with the update but the problem persists.
What other ways can I try to solve this? Attached photo, I hope it helps!
The change from data = yaml.load(f)
to data = yaml.safeload(f)
did the trick for me as well.
It's strange, I edited the code as shown below but the error keeps arriving showing yaml.load(f) not yaml.safeload(f). I only found one instance of the code. Is there something else I need to do, aside from adding "safe" to the line of code to make this edit active?
I noticed that this section of code seems to be in between these "" "". Could this be the problem?
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
The fix worked like a charm for me. Thx!
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
Solved my issue on win10. Seems like this should be the way it comes.
Awesome. changing it to safeload(f) did the trick.
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
worked for me too! brilliant! thank you!
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
This didn't work for me but running the navigator as admin solve the problem for me.
I found an solution for freezing at "Loading applications". Try change the file at anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py at line 1364 from data = yaml.load(f) to data = yaml.safeload(f)
Great! Thanks, this worked for me after weeks of trying other solutions.
If somebody didn't find the code line above, for me under win10 the line was:
data = yaml.full_load(f)
in the line 1391 on the same path as mentioned above.
Changing it to:
data = yaml.safe_load(f)
solved my issue as well.
Try first the followings lines, if it doesn't work then try the above code line. conda update conda conda update anaconda-navigator
I have got the same problem, but no solution is working for me!
I use ubuntu 18.04 and the latest anaconda.
conda version : 4.8.3
conda-build version : 3.18.11
python version : 3.7.6.final.0
I changed yaml.load(f) to yaml.safe_load(f) within two files:
~/anaconda3/lib/python3.7/site-packages/navigator_updater/api/conda_api.py
and
~/anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/conda_api.py
without any result.
Does anybody have any ideas? Thanks for your help
@faberfred try to update the navigator by typing: ~$ conda update conda ~$ conda update anaconda-navigator
conda update conda conda update anaconda-navigator
@ eljitall: thanks for your quick reply. I did that already but it didn't work! It is really strange: it works perfectly if I am offline. But it always freezes if I start anaconda navigator if my computer is online.
Well. I am a mac user. Anaconda and other Coda commands hangs too until ... I found my security network monitor (Little Snitch, Hands Off!, etc) block conda and anaconda. Solution: I stop those monitor and Anaconda-Navigator and Coda works fine! Then I stop Anaconda, run those monitor again, run again Anaconda-Navigator and set up the permissions on my security network monitor (for python 2.7 or 3.7). From then all is ok. No more hangs.
I've tried all suggestions on this thread and still having an issue. Like @faberfred it loads fine if I'm offline. Does anyone have any other suggestions? I'll have to stop using Anaconda if I have to disconnect from the internet every time I want to launch the navigator.
Try this in anaconda prompt: ··· chcp 65001 anaconda-navigator ··· This finishes my problem.
Actual Behavior
Anaconda hangs at splash screen, 'loading applications' Clicking on the splash screen triggers a 'Python is not responding' windows message
Cmd window output: (base) C:\Users\KFeagins>anaconda-navigator <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>
Expected Behavior
Anaconda Navigator should load.
Steps to Reproduce
Open Anaconda Navigator. Note, I am behind a proxy. I add this as the output suggest a connection issue.
Anaconda or Miniconda version: 2018.12
Operating System: Windows 10
conda info
conda list --show-channel-urls