This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients BreamoreBoy, Cemal.Duman, roger.serwy, terry.reedy
Date 2014-10-05.02:30:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412476227.81.0.269789419235.issue15862@psf.upfronthosting.co.za>
In-reply-to
Content
This is one of multiple  reports about problems with finding and reading HOME/.idlerc/*.*.  I believe that if nothing else, Idle should issue a warning message (that not not crash Idle), set a flag, and continue. The configuration dialog should also warn that changes will not be saved.

This particular situation is about a Windows system with HOME set but pointing to a directory on a drive that is not currently mounted.  The user could create a .bat file that resets HOME, but Idle could also try harder to find a usable directory (so that the installed version specific icons work).  Currently USERPROFILE is used (in os.expanduser) as a backup if HOME does not exist.  It could also be used as a backup is HOME exists buts is not usable.  Dittle for HOMEDRIVE and HOMEPATH used to backup USERPROFILE.  Or Idle could change 'x:somepath', where x is not 'c', to 'c:somepath'.

Or maybe Idle should recognize an IDLE_RC env var so a user like Cemal can run idle with the same set of user config files regardless of whether connected to a corporate network or not.  This would also help someone (like me) who wants to use the same config files regardless of whether logged in and running as admin or normal user.
History
Date User Action Args
2014-10-05 02:30:27terry.reedysetrecipients: + terry.reedy, roger.serwy, BreamoreBoy, Cemal.Duman
2014-10-05 02:30:27terry.reedysetmessageid: <1412476227.81.0.269789419235.issue15862@psf.upfronthosting.co.za>
2014-10-05 02:30:27terry.reedylinkissue15862 messages
2014-10-05 02:30:26terry.reedycreate