On Wed, Dec 10, 2003 at 03:08:20PM -0800, Kayvan A. Sylvan wrote: > lyx2lyx is not working for an old document of mine and it does > not seem like a format error. I know lyx2lyx just got changed, so I > am reporting this: > > $ /usr/local/share/lyx/lyx2lyx/lyx2lyx markpassion.lyx > Traceback (most recent call last): > File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 197, in ? > main(sys.argv) > File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 171, in main > fmt = read_file(opt.input, header, body) > File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 147, in read_file > fmt = lyxformat(result.group(1)) > File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 118, in lyxformat > opt.err.write(fmt + ": " + error.format_not_supported) > TypeError: unsupported operand type(s) for +: 'int' and 'str' > > The document is attached.
I changed the "222" to "221" and the document was successfully translated. This seems to still be a bug in the way lyx2lyx works, though. I should have gotten a better error message than the above traceback. I am using python-2.3 ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)