> -----Original Message-----
> From: python-win32-bounces+graham.bloice=trihedral....@python.org
> [mailto:python-win32-bounces+graham.bloice=trihedral....@python.org]
> On Behalf Of Kurt Munson
> Sent: 17 July 2012 17:08
> To: python-win32@python.org
> Subject: Re: [python-win32] new Pywin32 errors stating 'object has no
> attribute' - and the code worked previously
>
> Graham,
>
> Thanks for the suggestion - deleting the \win32com\gen_py .py and .pyc
files
> solved the problem!
>
> It appears that my dispatch (whether static or dynamic) was using old
> generated py instead of regenerating.  Why would this be?
>
> Either way, deleting the folder under \win32com\gen_py solved this
> problem.  Thanks again for the help.
>
[Graham Bloice said]

I don't know of a way to force regeneration, maybe the gencache module can
do that, or possibly ComMakePy.
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to