stmasterio » 13 мар 2017, 16:01
Помогите не запускается OPZ. Скачал тестовую версию да бы проверить , пишет вот такое!!
Проверка системных объектов:
Scripting.FileSystemObject Shell.Application WScript.Shell
Сведения о системе:
64 битная Windows 7 (Windows Server 2008 R2, Windows Home Server 2011)
Проверка объектов MSXML:
MSXML2.DomDocument.4.0 Msxml2.XSLTemplate.4.0 Msxml2.FreeThreadedDOMDocument.4.0
Папка запуска:
c:\opz
Ассоциация hta:
htafile HTML Application C:\Windows\SysWOW64\mshta.exe "%1" %*
Проверка папок
bin controls Doc fo fop htc images log !output request script !send spr !xml xsd xsl
!Не все папки, требуемые для работы существуют. Переустановите программу.
Проверка прав на запись в папки
bin controls Doc fo fop htc images log !output request script !send spr !xml xsd xsl
Проверка файлов
main.hta (linked scripts: htc\toolbar.htc htc\menu.htc htc\multipage.htc htc\tabstrip.htc script\declar.js script\jquery-1.4.2.js script\uplogic.js ) spr\settings.xml spr\version.xml fop\build\fop.jar fop\conf\userconfig.xml bin\zip32.exe
Проверка структуры settings.xml
Все в порядке
Проверка JAVA:
java version "1.5.0_22" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03) Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)
Проверка FOP:
[DEBUG] Input mode: [DEBUG] FO [DEBUG] fo input file: .\examples\fo\basic\fonts.fo [DEBUG] Output mode: [DEBUG] pdf [DEBUG] output file: .\test.pdf [DEBUG] OPTIONS [DEBUG] user configuration file: .\conf\userconfig.xml [DEBUG] debug mode on [DEBUG] dump configuration [DEBUG] quiet mode on [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] base directory: file:/C:/OPZ/fop/./examples/fo/basic/ [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [ERROR] Failed to read a font metrics file: Invalid font metrics file: C:\fop\conf\fonts\arial.xml (unknown protocol: c) [ERROR] Failed to read a font metrics file: Invalid font metrics file: C:\fop\conf\fonts\arialbd.xml (unknown protocol: c) [ERROR] Failed to read a font metrics file: Invalid font metrics file: C:\fop\conf\fonts\ariali.xml (unknown protocol: c) [ERROR] Failed to read a font metrics file: Invalid font metrics file: C:\fop\conf\fonts\arialbi.xml (unknown protocol: c) [ERROR] Failed to read a font metrics file: Invalid font metrics file: C:\fop\conf\fonts\times.xml (unknown protocol: c) [ERROR] Failed to read a font metrics file: Invalid font metrics file: C:\fop\conf\fonts\timesbd.xml (unknown protocol: c) [ERROR] Failed to read a font metrics file: Invalid font metrics file: C:\fop\conf\fonts\timesi.xml (unknown protocol: c) [ERROR] Failed to read a font metrics file: Invalid font metrics file: C:\fop\conf\fonts\timesbi.xml (unknown protocol: c) [INFO] [1] [DEBUG] Last page-sequence produced 1 pages. [INFO] Parsing of document complete, stopping renderer [DEBUG] Initial heap size: 679Kb [DEBUG] Current heap size: 980Kb [DEBUG] Total memory used: 301Kb [DEBUG] Memory use is indicative; no GC was performed [DEBUG] These figures should not be used comparatively [DEBUG] Total time used: 314ms [DEBUG] Pages rendered: 1 [DEBUG] Avg render time: 314ms/page
Проверка меню и кнопок. Должны нажиматься:
!Ошибка TypeError:Не удалось получить свойство "add" ссылки, значение которой не определено или является NULL TypeError: Не удалось получить свойство "add" ссылки, значение которой не определено или является NULL at PageLoad (file:///C:/OPZ/test.hta:262:5) at onload (file:///C:/OPZ/test.hta:23:1)