OSX shutdown has messed up config files Follow
My mac shutdown through loss of power and now PyCharm settings are gone - all the preferences and run configurations.
Attached screen dump showing the error messages I get when I open PyCharm 96.115
Is there a way of restoring these configurations as can't work out how to get it running again!
Thanks.
Attachment(s):
Screen shot 2010-04-26 at 20.48.13.png
Please sign in to leave a comment.
Hi Phoebe,
Pycharm stores its settings in:
~/Library/Preferences/PyCharmXX
You can clean this folder to fix the problem.
Regards,
Oleg
All files that it is complaining about seem ok but opened and resaved just to be sure. This is the content of stubindex for example:
<?xml version="1.0" encoding="UTF-8"?>
<application>
<component name="FileBasedIndex">
<option name="registeredIndices">
<list>
<option value="Py.class.shortName" />
<option value="Py.class.super" />
<option value="Py.function.shortName" />
<option value="js.element.qualifiedName" />
<option value="js.qualified.shortName" />
<option value="JS.class.implements" />
<option value="JS.class.super" />
<option value="js.members.shortName" />
</list>
</option>
</component>
</application>
Where I am stuck now is in running a django module. The configuration has been lost seemingly and there is nothing in the modules dropdown to select. Looking for an earlier version to give me a clue as to what should be in here with no luck. Screenshot attached.
Attachment(s):
Screen shot 2010-04-27 at 09.42.32.png
Finally back working again. Deleted application and preferences in library and re-installed. In Preferences/Python Interpreter set the interpreter to /Library/Frameworks/Python.framework/Versions/2.5/Python and that was enough to get going again.
I got bit by the same issue twice this week. I eventually found that "touch"ing the files in the ".idea" folder in my project directory fixed the issue. I also had to "touch" some of the source files in my project. I think PyCharm's internal cache ends up corrupted from the abrupt shutdown. Touching the files forces Python to ignore the (older and corrupted) version in its cache. I just noticed the File/InvalidateCaches menu option today. Maybe that would fix the issue also?
Brien Voorhees