R'bot wrote:
> Hi,
>
> A new test build of wxPython has been uploaded.
>
> Version: 2.8.8.0.pre20080608
> URL: http://wxPython.wxcommunity.com/preview/20080608
> Changes: http://wxPython.wxcommunity.com/preview/20080608/CHANGES.html
>
> Have fun!
> R'bot
>
> _______________________________________________
> wxpython-dev mailing list
> [email protected]
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev
>
>
>
The new lean 'n mean wx.lib.pdfwin works fine with both Adobe Reader
version 7 and 8. But if versions 5 or 6 are installed - or if Adobe
Reader is not installed at all, the following error occurs:
File "e:\pydevsrc\dp6_V650\notebooks\reportview.py", line 19, in <module>
from wx.lib.pdfwin import PDFWindow
File "f:/Python25-sp.v650\wx\lib\pdfwin.py", line 20, in <module>
cc.GetModule( ('{05BFD3F1-6319-4F30-B752-C7A22889BCC4}', 1, 0) )
File "C:\Python25\lib\site-packages\comtypes\client\_generate.py",
line 93, in GetModule
tlib = comtypes.typeinfo.LoadRegTypeLib(comtypes.GUID(tlib[0]),
*tlib[1:])
File "C:\Python25\Lib\site-packages\comtypes\typeinfo.py", line 472,
in LoadRegTypeLib
_oleaut32.LoadRegTypeLib(byref(GUID(guid)), wMajorVerNum,
wMinorVerNum, lcid, byref(tlib))
File "\loewis\25\python\Modules\_ctypes\callproc.c", line 754, in
GetResult
WindowsError: [Error 22] Library not registered
Also, as the call to cc.GetModule is conditional on the module not being
frozen, I'm not sure what's intended to happen if running py2exe.
--
Regards,
David Hughes
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
R'bot wrote:
<blockquote cite="mid:20080609072150.13AED152B@cyclops" type="cite">
<pre wrap="">Hi,
A new test build of wxPython has been uploaded.
Version: 2.8.8.0.pre20080608
URL: <a class="moz-txt-link-freetext" href="
http://wxPython.wxcommunity.com/preview/20080608">http://wxPython.wxcommunity.com/preview/20080608</a>
Changes: <a class="moz-txt-link-freetext" href="
http://wxPython.wxcommunity.com/preview/20080608/CHANGES.html">http://wxPython.wxcommunity.com/preview/20080608/CHANGES.html</a>
Have fun!
R'bot
_______________________________________________
wxpython-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wxpython-dev@lists.wxwidgets.org">wxpython-dev@lists.wxwidgets.org</a>
<a class="moz-txt-link-freetext" href="
http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev">http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev</a>
</pre>
</blockquote>
<font size="-1"><font face="Arial">The new lean 'n mean wx.lib.pdfwin
works fine with both Adobe Reader version 7 and 8. But if versions 5 or
6 are installed - or if Adobe Reader is not installed at all, the
following error occurs:<br>
<br>
File "e:\pydevsrc\dp6_V650\notebooks\reportview.py", line 19, in
<module><br>
from wx.lib.pdfwin import PDFWindow<br>
File "f:/Python25-sp.v650\wx\lib\pdfwin.py", line 20, in
<module><br>
cc.GetModule( ('{05BFD3F1-6319-4F30-B752-C7A22889BCC4}', 1, 0) )<br>
File "C:\Python25\lib\site-packages\comtypes\client\_generate.py",
line 93, in GetModule<br>
tlib = comtypes.typeinfo.LoadRegTypeLib(comtypes.GUID(tlib[0]),
*tlib[1:])<br>
File "C:\Python25\Lib\site-packages\comtypes\typeinfo.py", line 472,
in LoadRegTypeLib<br>
_oleaut32.LoadRegTypeLib(byref(GUID(guid)), wMajorVerNum,
wMinorVerNum, lcid, byref(tlib))<br>
File "\loewis\25\python\Modules\_ctypes\callproc.c", line 754, in
GetResult<br>
WindowsError: [Error 22] Library not registered<br>
<br>
Also, as the call to cc.GetModule is conditional on the module not
being frozen, I'm not sure what's intended to happen if running py2exe.<br>
<br>
--<br>
<br>
Regards,<br>
David Hughes<br>
<br>
<br>
<br>
</font></font>
</body>
</html>
_______________________________________________
wxpython-dev mailing list
[email protected]
http://lists.wxwidgets.org/mailman/listinfo/wxpython-dev