You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m pretty sure I fixed this one, that StopIteration was old code leftover from
when tolines was a generator, and I’ve removed it in the new getsource method
Version: 0.8rc6
Bug #79 solved the compaction of pretty printed spaces. However merging back
seems to be a problem now:
Here is a traceback:
[dwayne@laptop-wifi convert]$ python po2dtd.py -t incompatible.dtd
incompatible.dtd.po incompatible.dtd.tn —errorlevel=traceback
processing 1 files…
po2dtd.py: warning: Error processing: input incompatible.dtd.po, output
File “/usr/lib/python2.4/site-packages/translate/misc/optrecurse.py”, lineincompatible.dtd.tn, template incompatible.dtd: Traceback (most recent call last):
418, in recursiveprocess
File “/usr/lib/python2.4/site-packages/translate/misc/optrecurse.py”, linesuccess = self.processfile(fileprocessor, options, fullinputpath,
fulloutputpath, fulltemplatepath)
471, in processfile
File “po2dtd.py”, line 262, in convertdtd outputdtdsrc = str(outputdtd) File “/usr/lib/python2.4/site-packages/translate/storage/dtd.py”, line 276, inif fileprocessor(inputfile, outputfile, templatefile, **passthroughoptions):
str
File “/usr/lib/python2.4/site-packages/translate/storage/dtd.py”, line 283, insource = self.getsource()
getsource
File “/usr/lib/python2.4/site-packages/translate/storage/dtd.py”, line 209, insources = [str(dtd) for dtd in self.dtdelements]
str
File “/usr/lib/python2.4/site-packages/translate/storage/dtd.py”, line 220, insource = self.getsource()
getsource
raise StopIteration()
StopIteration
The text was updated successfully, but these errors were encountered: