anaconda-navigator won't launch with UnicodeDecodeError
Problem description:
After a reboot, the command $ anaconda-navigator will no longer launch the Anaconda Navigator.
Instead the following tracestack is generated:
Traceback (most recent call last):
File "/home/penguin/anaconda3/bin/anaconda-navigator", line 11, in <module>
sys.exit(main())
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/app/main.py", line 99, in main
from anaconda_navigator.utils.logs import clean_logs
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/utils/logs.py", line 18, in <module>
from anaconda_navigator.config import (LOG_FILENAME, LOG_FOLDER,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/__init__.py", line 27, in <module>
from anaconda_navigator.config.main import CONF
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/main.py", line 67, in <module>
raw_mode=True,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 221, in __init__
self.load_from_ini()
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 279, in load_from_ini
self.read(self.filename(), encoding='utf-8')
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/home/penguin/anaconda3/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 3: invalid continuation byte
Troubleshooting attempts
First, I have tried:
source ~/anaconda3/bin/activate root
anaconda-navigator
Based on comments at:
https://github.com/ContinuumIO/anaconda-issues/issues/1580
Next, I have tried:
$ anaconda-navigator --reset
However that results in:
Anaconda Navigator configuration reset...
Traceback (most recent call last):
File "/home/penguin/anaconda3/bin/anaconda-navigator", line 11, in <module>
sys.exit(main())
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/app/main.py", line 75, in main
from anaconda_navigator.config import CONF_PATH
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/__init__.py", line 27, in <module>
from anaconda_navigator.config.main import CONF
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/main.py", line 67, in <module>
raw_mode=True,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 221, in __init__
self.load_from_ini()
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 279, in load_from_ini
self.read(self.filename(), encoding='utf-8')
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/home/penguin/anaconda3/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 3: invalid continuation byte
anaconda conda
add a comment |
Problem description:
After a reboot, the command $ anaconda-navigator will no longer launch the Anaconda Navigator.
Instead the following tracestack is generated:
Traceback (most recent call last):
File "/home/penguin/anaconda3/bin/anaconda-navigator", line 11, in <module>
sys.exit(main())
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/app/main.py", line 99, in main
from anaconda_navigator.utils.logs import clean_logs
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/utils/logs.py", line 18, in <module>
from anaconda_navigator.config import (LOG_FILENAME, LOG_FOLDER,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/__init__.py", line 27, in <module>
from anaconda_navigator.config.main import CONF
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/main.py", line 67, in <module>
raw_mode=True,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 221, in __init__
self.load_from_ini()
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 279, in load_from_ini
self.read(self.filename(), encoding='utf-8')
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/home/penguin/anaconda3/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 3: invalid continuation byte
Troubleshooting attempts
First, I have tried:
source ~/anaconda3/bin/activate root
anaconda-navigator
Based on comments at:
https://github.com/ContinuumIO/anaconda-issues/issues/1580
Next, I have tried:
$ anaconda-navigator --reset
However that results in:
Anaconda Navigator configuration reset...
Traceback (most recent call last):
File "/home/penguin/anaconda3/bin/anaconda-navigator", line 11, in <module>
sys.exit(main())
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/app/main.py", line 75, in main
from anaconda_navigator.config import CONF_PATH
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/__init__.py", line 27, in <module>
from anaconda_navigator.config.main import CONF
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/main.py", line 67, in <module>
raw_mode=True,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 221, in __init__
self.load_from_ini()
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 279, in load_from_ini
self.read(self.filename(), encoding='utf-8')
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/home/penguin/anaconda3/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 3: invalid continuation byte
anaconda conda
1
@Cœur Done. Thank you!
– n8k
Jan 3 at 20:39
add a comment |
Problem description:
After a reboot, the command $ anaconda-navigator will no longer launch the Anaconda Navigator.
Instead the following tracestack is generated:
Traceback (most recent call last):
File "/home/penguin/anaconda3/bin/anaconda-navigator", line 11, in <module>
sys.exit(main())
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/app/main.py", line 99, in main
from anaconda_navigator.utils.logs import clean_logs
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/utils/logs.py", line 18, in <module>
from anaconda_navigator.config import (LOG_FILENAME, LOG_FOLDER,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/__init__.py", line 27, in <module>
from anaconda_navigator.config.main import CONF
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/main.py", line 67, in <module>
raw_mode=True,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 221, in __init__
self.load_from_ini()
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 279, in load_from_ini
self.read(self.filename(), encoding='utf-8')
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/home/penguin/anaconda3/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 3: invalid continuation byte
Troubleshooting attempts
First, I have tried:
source ~/anaconda3/bin/activate root
anaconda-navigator
Based on comments at:
https://github.com/ContinuumIO/anaconda-issues/issues/1580
Next, I have tried:
$ anaconda-navigator --reset
However that results in:
Anaconda Navigator configuration reset...
Traceback (most recent call last):
File "/home/penguin/anaconda3/bin/anaconda-navigator", line 11, in <module>
sys.exit(main())
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/app/main.py", line 75, in main
from anaconda_navigator.config import CONF_PATH
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/__init__.py", line 27, in <module>
from anaconda_navigator.config.main import CONF
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/main.py", line 67, in <module>
raw_mode=True,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 221, in __init__
self.load_from_ini()
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 279, in load_from_ini
self.read(self.filename(), encoding='utf-8')
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/home/penguin/anaconda3/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 3: invalid continuation byte
anaconda conda
Problem description:
After a reboot, the command $ anaconda-navigator will no longer launch the Anaconda Navigator.
Instead the following tracestack is generated:
Traceback (most recent call last):
File "/home/penguin/anaconda3/bin/anaconda-navigator", line 11, in <module>
sys.exit(main())
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/app/main.py", line 99, in main
from anaconda_navigator.utils.logs import clean_logs
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/utils/logs.py", line 18, in <module>
from anaconda_navigator.config import (LOG_FILENAME, LOG_FOLDER,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/__init__.py", line 27, in <module>
from anaconda_navigator.config.main import CONF
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/main.py", line 67, in <module>
raw_mode=True,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 221, in __init__
self.load_from_ini()
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 279, in load_from_ini
self.read(self.filename(), encoding='utf-8')
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/home/penguin/anaconda3/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 3: invalid continuation byte
Troubleshooting attempts
First, I have tried:
source ~/anaconda3/bin/activate root
anaconda-navigator
Based on comments at:
https://github.com/ContinuumIO/anaconda-issues/issues/1580
Next, I have tried:
$ anaconda-navigator --reset
However that results in:
Anaconda Navigator configuration reset...
Traceback (most recent call last):
File "/home/penguin/anaconda3/bin/anaconda-navigator", line 11, in <module>
sys.exit(main())
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/app/main.py", line 75, in main
from anaconda_navigator.config import CONF_PATH
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/__init__.py", line 27, in <module>
from anaconda_navigator.config.main import CONF
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/main.py", line 67, in <module>
raw_mode=True,
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 221, in __init__
self.load_from_ini()
File "/home/penguin/anaconda3/lib/python3.6/site-packages/anaconda_navigator/config/user.py", line 279, in load_from_ini
self.read(self.filename(), encoding='utf-8')
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/home/penguin/anaconda3/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/home/penguin/anaconda3/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 3: invalid continuation byte
anaconda conda
anaconda conda
edited Jan 1 at 8:48
Cœur
18.3k9109148
18.3k9109148
asked Sep 25 '18 at 18:08
n8kn8k
164
164
1
@Cœur Done. Thank you!
– n8k
Jan 3 at 20:39
add a comment |
1
@Cœur Done. Thank you!
– n8k
Jan 3 at 20:39
1
1
@Cœur Done. Thank you!
– n8k
Jan 3 at 20:39
@Cœur Done. Thank you!
– n8k
Jan 3 at 20:39
add a comment |
1 Answer
1
active
oldest
votes
Troubleshooting
First, try resetting Navigator.
$ anaconda-navigator --reset
The above command should remove corrupted log files at ~/.anaconda, but if this does not work or results in an error, try removing the log files manually.
$ rm -rf /home/$USER/.anaconda
Finally if that doesn't work try:
$ conda install anaconda-clean
$ conda-clean --yes
Reference
@goanpeca and @jeethjoseph's comments at: https://github.com/ContinuumIO/anaconda-issues/issues/7256
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52504360%2fanaconda-navigator-wont-launch-with-unicodedecodeerror%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Troubleshooting
First, try resetting Navigator.
$ anaconda-navigator --reset
The above command should remove corrupted log files at ~/.anaconda, but if this does not work or results in an error, try removing the log files manually.
$ rm -rf /home/$USER/.anaconda
Finally if that doesn't work try:
$ conda install anaconda-clean
$ conda-clean --yes
Reference
@goanpeca and @jeethjoseph's comments at: https://github.com/ContinuumIO/anaconda-issues/issues/7256
add a comment |
Troubleshooting
First, try resetting Navigator.
$ anaconda-navigator --reset
The above command should remove corrupted log files at ~/.anaconda, but if this does not work or results in an error, try removing the log files manually.
$ rm -rf /home/$USER/.anaconda
Finally if that doesn't work try:
$ conda install anaconda-clean
$ conda-clean --yes
Reference
@goanpeca and @jeethjoseph's comments at: https://github.com/ContinuumIO/anaconda-issues/issues/7256
add a comment |
Troubleshooting
First, try resetting Navigator.
$ anaconda-navigator --reset
The above command should remove corrupted log files at ~/.anaconda, but if this does not work or results in an error, try removing the log files manually.
$ rm -rf /home/$USER/.anaconda
Finally if that doesn't work try:
$ conda install anaconda-clean
$ conda-clean --yes
Reference
@goanpeca and @jeethjoseph's comments at: https://github.com/ContinuumIO/anaconda-issues/issues/7256
Troubleshooting
First, try resetting Navigator.
$ anaconda-navigator --reset
The above command should remove corrupted log files at ~/.anaconda, but if this does not work or results in an error, try removing the log files manually.
$ rm -rf /home/$USER/.anaconda
Finally if that doesn't work try:
$ conda install anaconda-clean
$ conda-clean --yes
Reference
@goanpeca and @jeethjoseph's comments at: https://github.com/ContinuumIO/anaconda-issues/issues/7256
answered Jan 3 at 20:37
n8kn8k
164
164
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52504360%2fanaconda-navigator-wont-launch-with-unicodedecodeerror%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
@Cœur Done. Thank you!
– n8k
Jan 3 at 20:39