Problem parsing slides from Paxinos and Watson 6 edition atlas
Closed this issue · 0 comments
Katospiegel commented
Hi!
I have this problem parsing the slides from Paxinos and Watson atlas. I only modified the begin of the slides (page 17 in my case) and the end. I have all the svg extracted on the caf folder. Any idea of what is happening?
working on stroked path 49 with 6 elements
working on stroked path 49 with 6 elements
working on stroked path 49 with 6 elements
working on stroked path 49 with 6 elements
page 2 is greater than expected maximum number of pages 1
postprocessing the interpreter output finished
closing dynamic library /usr/lib/x86_64-linux-gnu/pstoedit/libp2edrvmagick++.so
not really closing dynamic library because of pthread problem under Linux - contact author for details or check dynload.cpp from pstoedit source code /usr/lib/x86_64-linux-gnu/pstoedit/libp2edrvmagick++.so
destroying Dynloader for /usr/lib/x86_64-linux-gnu/pstoedit/libp2edrvmagick++.so
closing dynamic library /usr/lib/x86_64-linux-gnu/pstoedit/libp2edrvstd.so
not really closing dynamic library because of pthread problem under Linux - contact author for details or check dynload.cpp from pstoedit source code /usr/lib/x86_64-linux-gnu/pstoedit/libp2edrvstd.so
destroying Dynloader for /usr/lib/x86_64-linux-gnu/pstoedit/libp2edrvstd.so
closing dynamic library /usr/lib/x86_64-linux-gnu/pstoedit/libp2edrvlplot.so
not really closing dynamic library because of pthread problem under Linux - contact author for details or check dynload.cpp from pstoedit source code /usr/lib/x86_64-linux-gnu/pstoedit/libp2edrvlplot.so
destroying Dynloader for /usr/lib/x86_64-linux-gnu/pstoedit/libp2edrvlplot.so
Parsing slide 17
Traceback (most recent call last):
File "parser_pax.py", line 139, in <module>
ap.parse(slide)
File "bin/parsers/paxinos_watson_rbisc/__init__.py", line 221, in parse
svgdom = self._processFromRawSVG(pagenumber)
File "bin/parsers/paxinos_watson_rbisc/__init__.py", line 132, in _processFromRawSVG
svgfix.fixSvgImage(svgdom, pagenumber) # Simplify input file structure
File "bin/parsers/paxinos_watson_rbisc/svgfix.py", line 468, in fixSvgImage
if fixHeader: __fixHeader(svgdoc, pagenumber)
File "bin/parsers/paxinos_watson_rbisc/svgfix.py", line 450, in __fixHeader
for attr in customAttribFix.keys():
UnboundLocalError: local variable 'customAttribFix' referenced before assignment
Creating index file now.
Parsing slide 17
Traceback (most recent call last):
File "parser_pax.py", line 135, in <module>
ap.parseAll()
File "bin/parsers/paxinos_watson_rbisc/__init__.py", line 179, in parseAll
map(self.parse, CONF_CORONAL_PAGE_RANGE)
File "bin/parsers/paxinos_watson_rbisc/__init__.py", line 221, in parse
svgdom = self._processFromRawSVG(pagenumber)
File "bin/parsers/paxinos_watson_rbisc/__init__.py", line 132, in _processFromRawSVG
svgfix.fixSvgImage(svgdom, pagenumber) # Simplify input file structure
File "bin/parsers/paxinos_watson_rbisc/svgfix.py", line 468, in fixSvgImage
if fixHeader: __fixHeader(svgdoc, pagenumber)
File "bin/parsers/paxinos_watson_rbisc/svgfix.py", line 450, in __fixHeader
for attr in customAttribFix.keys():
UnboundLocalError: local variable 'customAttribFix' referenced before assignment```