I am upgrading an old windows application from Python 2.4 to Python 2.6.
The application is written in portable Python.  A GUI interface was
created by using Visual Basic (VB 6) and a Python module that wraps the
application as a COM object.

With python 2.4 (and pywin32-210) exceptions resulted in a VB ERR object
where the description was the text from the Python exception.

With python 2.6 (and pywin-217) the description includes the traceback
making the error messages hopelessly confusing to the user.

I could not find any documentation describing the change or offering any
configuration clues.  Comparing the win32com source trees has not
helped.  I could not find a change in the Python code relating to the
traceback appearing in the descriptions.

I am hoping one of you can point me in the right direction.  My
alternative appears to be (painfully) writing some VB code to discard
the traceback lines from  Err.Description.

-- 
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/catalog/dlslug&sort=stamp
http://www.librarything.com/rss/recent/dlslug

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to