MSWord Document fails with Zope251?
Hi all, I have Win95 Czech, Zope 2.51, Python 2.1.3, Win32all 1.47, M$Word97 Czech, Locale CZ in p2.py This error appear after upload DOC document via web interface and file was not uploaded. With unpatched NullResource.py publishing via FTP it does not report any error in console and uploaded successfully, but I dont know how to call that converted page. If I call it as http://localhost:8080/www/www.k-net.cz/cs2/11mb.doc then Zope put 11mb.doc. If I dont use .doc extension, nothing or any .htm*, _htm* ext, URL not found. It fails both with patched NullResource.py and original version. What is wrong? Many thanks, J. Lukesh ------------------------------------------------- Site Error An error was encountered while publishing this resource. AttributeError Sorry, a site error occurred. Traceback (innermost last): File C:\Program Files\zope-web\lukesh251\lib\python\ZPublisher\Publish.py, line 150, in publish_module File C:\Program Files\zope-web\lukesh251\lib\python\ZPublisher\Publish.py, line 114, in publish File C:\Program Files\zope-web\lukesh251\lib\python\Zope\__init__.py, line 159, in zpublisher_exception_hook File C:\Program Files\zope-web\lukesh251\lib\python\ZPublisher\Publish.py, line 98, in publish File C:\Program Files\zope-web\lukesh251\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: manage_add) File C:\Program Files\zope-web\lukesh251\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: manage_add) File C:\Program Files\zope-web\lukesh251\lib\python\Products\MSWordDocument\MSWordDocument.p y, line 142, in manage_add File C:\Program Files\zope-web\lukesh251\lib\python\Products\MSWordDocument\MSWordDocument.p y, line 133, in __init__ (Object: 11mb) File C:\Program Files\zope-web\lukesh251\lib\python\Products\MSWordDocument\MSWordDocument.p y, line 191, in update_data (Object: 11mb) File C:\Program Files\zope-web\lukesh251\lib\python\Products\MSWordDocument\MSWordWin.py, line 25, in Convert File C:\PROGS\PYTHON21\win32com\client\__init__.py, line 131, in __getattr__ AttributeError: wdFormatHTML -----------------------------------------------------
participants (1)
-
Jaroslav Lukesh