On Wednesday 28 August 2002 09:26, Andre Poenitz wrote: > On Wed, Aug 28, 2002 at 09:24:55AM +0100, José Abílio Oliveira Matos wrote: > > lyx2lyx is returning the 221 fileformat. The error you describe would > > happen if lyx2lyx return 220. > > > > What does the 40th line of lyx2lyx says? > > Line 40: > lst_ft = ["210", "215", "216", "217", "218", "220", "221"]
Then it is updated. > > If no other LyX program is active, please delete the pipe by hand and try > again. > format: 221 > Traceback (most recent call last): > File "/usr/local/bin/lyx2lyx", line 180, in ? > main(sys.argv) > File "/usr/local/bin/lyx2lyx", line 173, in main > __import__("lyxconvert_" + fmt).convert(header,body) > File "/usr/src/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_220.py", line 78, in > convert > change_insetgraphics(body) > File "/usr/src/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_220.py", line 47, in > change_insetgraphics > size_type = string.split(lines[k])[1] > IndexError: list index out of range It appears that your graphic does not have neither size_type neither size_kind. Could you send me the offending file, please. :-) > Bye. -- José Abílio