Prezados, estou com o mesmo problema. Quando tento gerar o XML aparece a mensagem "Generating report...Try to access it again after some seconds".
Python 3.8.10
PIP 25.0.1
Quando rodo o install_requirements.bat tenho o seguinte retorno:
-----
C:\SciELO_XPM_2019\xml>install_requirements.bat
C:\SciELO_XPM_2019\xml>pip install pillow
Requirement already satisfied: pillow in c:\users\dell\appdata\local\programs\python\python38\lib\site-packages (6.2.2)
C:\SciELO_XPM_2019\xml>pip install packtools
Requirement already satisfied: packtools in c:\users\dell\appdata\local\programs\python\python38\lib\site-packages (2.6.4)
Requirement already satisfied: lxml>=4.2.0 in c:\users\dell\appdata\local\programs\python\python38\lib\site-packages (from packtools) (5.3.2)
Requirement already satisfied: picles.plumber>=0.11 in c:\users\dell\appdata\local\programs\python\python38\lib\site-packages (from packtools) (0.11)
Requirement already satisfied: Pillow~=6.2 in c:\users\dell\appdata\local\programs\python\python38\lib\site-packages (from packtools) (6.2.2)
C:\SciELO_XPM_2019\xml>
-----
E quando abro o arquivo cmd.log e rodo a última linha apresenta o seguinte erro:
-----
C:\SciELO_XPM_2019\xml>python C:\scielo_2019\bin\markup\..\xml\xml_package_maker.py D:\Diagramacoes\Revistas\RBEAA\2025\08\markup_xml\work\a01\a01.sgm.xml rbeaa
Traceback (most recent call last):
File "C:\scielo_2019\bin\markup\..\xml\xml_package_maker.py", line 25, in <module>
xpm.call_make_packages(parameters, '1.1')
File "C:\scielo_2019\bin\xml\app_modules\app\xpm.py", line 27, in call_make_packages
xml_generation = sgmlxml2xml(sgm_xml, acron)
File "C:\scielo_2019\bin\xml\app_modules\app\xpm.py", line 113, in sgmlxml2xml
pkg_generation.pack(acron, _sgmlxml2xml)
File "C:\scielo_2019\bin\xml\app_modules\app\pkg_processors\sgmlxml.py", line 598, in pack
self.normalize_sgmxml()
File "C:\scielo_2019\bin\xml\app_modules\app\pkg_processors\sgmlxml.py", line 566, in normalize_sgmxml
sgmxml_content = SGMLXMLContent(
File "C:\scielo_2019\bin\xml\app_modules\app\pkg_processors\sgmlxml.py", line 224, in __init__
xml_utils.XMLContent.__init__(self, self.fix_begin_end(content))
File "C:\scielo_2019\bin\xml\app_modules\app\pkg_processors\sgmlxml.py", line 228, in fix_begin_end
if '<?xml' in s:
TypeError: argument of type 'NoneType' is not iterable
C:\SciELO_XPM_2019\xml>
-----
Como resolver, já que não apresenta erro referente ao PIL?