On Wednesday 10 December 2003 18:34, Angus Leeming wrote: [ No time now to comment all the other points, I will do it tomorrow]
> Also, I note that if I move lyxconvert_225.py to lyxconvert_226.py and > then try and convert a 227 format file, I get an error that looks > like a bug to me: > > $ ~/lyx/devel/lib/lyx2lyx/lyx2lyx -t 226 newfile1.lyx > Traceback (most recent call last): > File "/home/angus/lyx/devel/lib/lyx2lyx/lyx2lyx", line 197, in ? > main(sys.argv) > File "/home/angus/lyx/devel/lib/lyx2lyx/lyx2lyx", line 168, in main > parse_options(argv) > File "/home/angus/lyx/devel/lib/lyx2lyx/lyx2lyx", line 91, in > parse_options > opt.end = lyxformat(a) > File "/home/angus/lyx/devel/lib/lyx2lyx/lyx2lyx", line 118, in > lyxformat > opt.err.write(fmt + ": " + error.format_not_supported) > TypeError: unsupported operand types for +: 'int' and 'str' Here where it says fmt it should be str(fmt). This was a latent bug that was not affected by my last patch. So please change line 118 accordingly it is a bug. -- José Abílio LyX and docbook, a perfect match. :-)