Re: [python-win32] gencache module and read-only access to python dir

2007-06-21 Thread Mark Hammond
I've noticed that the GetModuleForTypelib always (or at least once per program-run) calls AddModuleToCache (both in win32com.client.gencache). This results in an attempt to write to the pickled dictionary gen_py/dicts.dat. I'm glad you sorted your problem, but the above certainly does

Re: [python-win32] gencache module and read-only access to python dir

2007-06-19 Thread Ross McKerchar
Grzegorz Adam Hankiewicz wrote: Ross McKerchar wrote: b) Let me know if there's a more robust way of preventing the cache write (there appears to be code supporting freezing functionality that should help but I couldn't figure out a neat way of using it) I think you should read

[python-win32] gencache module and read-only access to python dir

2007-06-18 Thread Ross McKerchar
I've noticed that the GetModuleForTypelib always (or at least once per program-run) calls AddModuleToCache (both in win32com.client.gencache). This results in an attempt to write to the pickled dictionary gen_py/dicts.dat. Unfortunately the program I'm writing that uses GetModuleForLib is run

Re: [python-win32] gencache module and read-only access to python dir

2007-06-18 Thread Grzegorz Adam Hankiewicz
Ross McKerchar wrote: I've noticed that the GetModuleForTypelib always (or at least once per program-run) calls AddModuleToCache (both in win32com.client.gencache). This results in an attempt to write to the pickled dictionary gen_py/dicts.dat. Unfortunately the program I'm writing that