[pywin32-bugs] [ pywin32-Bugs-3613297 ] Gencache throws excpeption running as restricted user
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2013-05-14 13:57:41
|
Bugs item #3613297, was opened at 2013-05-14 06:57 Message generated for change (Tracker Item Submitted) made by sschukat You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3613297&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Stefan Schukat (sschukat) Assigned to: Nobody/Anonymous (nobody) Summary: Gencache throws excpeption running as restricted user Initial Comment: If the installation location is in a restricted area. and if a directory gen_py exists in the win32com directory, working as restricted user throws an exception, either while - generating the default __init__.py if not existing during "from win32com import client" - rebuilding the gencache cache (dicts.dat) during "from win32com.client import gencache" - generating an on demand wrapper (gencache.EnsureDispatch) This fix checks the accessibility of the directory and remaps the gencache path to the temp directory. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3613297&group_id=78018 |