Dear Ross:
   The combined Python package hosted by Active State is convenient, but
does not always stay up to date. The current build of pywin32 is 214. Many
bug fixes have happened in that time.  I just tried the build 214 COM
browser on my Vista Basic and it works correctly.

You may want to try re-installing python from the official sources:
http://python.org/
and
http://sourceforge.net/projects/pywin32/

If that does not fix the problem, please let us know here.
--
Vernon Cole

On Wed, Dec 16, 2009 at 1:37 AM, Ross Boylan
<rossboy...@stanfordalumni.org>wrote:

> The Python COM browser (pywin32 build 211.1), available from the Tools menu
> of the PythonWin GUI (downloaded yesterday from active state) doesn't seem
> to be working so well on Vista.  I went to the type libraries, selected one
> (any one , apparently) and clicked on it's "+".  This expands to an IID and
> a Type Library.  The latter has a "+"; when I click on it the console shows
> <quote>
> Traceback (most recent call last):
>  File "C:\Python26\Lib\site-packages\pythonwin\pywin\tools\hierlist.py",
> line 123, in OnTreeItemExpanding
>   self.AddSubList(itemHandle, self.GetSubList(item))
>  File "C:\Python26\Lib\site-packages\pythonwin\pywin\tools\hierlist.py",
> line 137, in AddSubList
>   self.AddItem(parentHandle, item)
>  File "C:\Python26\Lib\site-packages\pythonwin\pywin\tools\hierlist.py",
> line 149, in AddItem
>   hitem = self.list.InsertItem(parentHandle, hInsertAfter, (None, None,
> None, text, bitmapCol, bitmapSel, cItems, 0))
> TypeError: The text item must be a string or None (got unicode)
> </quote>
> The "+" expands to an item that says "The type info can not be loaded."
>
> I don't have MSVC, and so don't have another tool handy to do this.
>
> Ross Boylan
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to