Cannot load settings from file
Trying to import settings and get the error:
Cannot load settings from file '~\.idea\misc.xml': Unexpected character '' (code 60); expected a name start character at [row,col {unknown-source}]: [7,3] Please correct the file content.
This is the .misc.xml file contents:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
<component name="PyPackaging">
<option name="earlyReleasesAsUpgrades" value="true" />
</component>
</project>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
<component name="PyPackaging">
<option name="earlyReleasesAsUpgrades" value="true" />
</component>
</project>
What is PyCharm complaining about? I deleted the .misc.xml file completely and it still has the same error like the file is cached somewhere and its not reading the actual file at the path location.
Please sign in to leave a comment.
Well it helps in that it does not have that error, but it also does not load the saved settings (obviously).
My goal is to fix the XML file and use my saved settings not re-build the settings from scratch, that is crazy talk. I have some experience in XML docs, It is not corrupt in the sense of an invalid XML file (unclosed tags, illegal characters, etc ...) . Maybe it is missing something that PyCharm is looking for. Why is PyCharm looking for a 'expected a name start character at [row,col {unknown-source}]: [7,3]' at that position?
Also, in the original question, why can I delete this xml file and PyCharm still has this error? Where is it looking if not in the path it says it's looking. Has PyCharm cached this file somewhere in another location.