Message235179
| Author |
Slion |
| Recipients |
Slion, steve.dower, tim.golden, zach.ware |
| Date |
2015年02月01日.15:58:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1422806320.68.0.990065034592.issue23371@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
On my Windows 7 installation mimetypes.py in read_windows_registry _winreg.OpenKey can throw a TypeError exception which is not handled and interrupts the execution.
To fix it I added:
except TypeError:
continue
To reproduce it I just need to run te following:
c:\python27\python -c "import mimetypes; mimetypes.init()"
This error is obviously due to the content of my registry.
The subkeyname causing issues have names like:
{hexid-hexid-hexid-hexid-hexid} |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年02月01日 15:58:40 | Slion | set | recipients:
+ Slion, tim.golden, zach.ware, steve.dower |
| 2015年02月01日 15:58:40 | Slion | set | messageid: <1422806320.68.0.990065034592.issue23371@psf.upfronthosting.co.za> |
| 2015年02月01日 15:58:40 | Slion | link | issue23371 messages |
| 2015年02月01日 15:58:40 | Slion | create |
|