[python-win32] Overlay Icon Question and network drives
Andrea Gavana
andrea.gavana at gmail.com
Wed Apr 16 14:29:09 CEST 2008
Hi Jurgen & All,
On Wed, Apr 16, 2008 at 12:07 PM, <python at kareta.de> wrote:
> the code in my first link was from the mercurial extension TortoiseHG. They
> found some issues that the icon overlay slows down network devices. See here:
>
> https://sourceforge.net/tracker/index.php?func=detail&aid=1892791&group_id=199155&atid=968354
>
> Could you please tell if you have the same issues with the code Roger posted ?
I am still having some problem with this class... it's an incredible
amount of time/work spent on a very small issue, but that is what the
users want :-). Anyway, on my computer, Roger's version doesn't slow
down anything. Our 4 network drives are as fast as usual. However, I
am not able to make it work from a compiled py2exe COM server. It
works only from a python script. For the compiled py2exe COM server, I
have looked into the file c:/comerror.txt, which says:
PATH is ['D:\\ResWizard\\KSVR_COMServer.exe']
Registered: K-SVR.IShellIconOverlayIdentifier
The registry keys are correctly written but there is no icon overlay,
nothing has changed visually :-( :-( . If I run it from a Python
script, the icon overlay works fine but every time I open a file
dialog from one of my applications I get this nice error in the
app.exe.log file created by py2exe:
pythoncom error: PythonCOM Server - The 'win32com.server.policy'
module could not be loaded.
<type 'exceptions.ImportError'>: No module named server.policy
pythoncom error: CPyFactory::CreateInstance failed to create instance.
(80004005)
Which, as usual, doesn't mean anything to me...
So, I don't see any slowdown but I can't make this little sweet thing
play nice :-( :-(
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
More information about the python-win32
mailing list