c:\SciELO_XPM\xml>python xml_package_maker.py
Processing...
Making package...
......
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Aline\AppData\Local\Programs\Python\Python311\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "c:\SciELO_XPM\xml\app_modules\app\interface.py", line 116, in run_xml_package_maker
msg, color = self.function(self.selected_folder, self.generate_pmc_package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\SciELO_XPM\xml\app_modules\app\xpm.py", line 130, in call_make_package
normalized_pkgfiles, outputs = pkg_processors.normalize_xml_packages(xml_list, 'remote', self.proc.stage)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\SciELO_XPM\xml\app_modules\app\pkg_processors\pkg_processors.py", line 93, in normalize_xml_packages
xmlcontent = sps_pkgmaker.SPSXMLContent(fs_utils.read_file(src.filename))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\SciELO_XPM\xml\app_modules\app\pkg_processors\sps_pkgmaker.py", line 15, in __init__
xml_utils.XMLContent.__init__(self, content)
File "c:\SciELO_XPM\xml\app_modules\generics\xml_utils.py", line 70, in __init__
xml = xml.strip()
^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'strip'