abrt detected a crash. How to reproduce ----- 1. 2. 3. Comment ----- cp /usr/share/fonts/sazanami/gothic/sazanami-gothic.ttf /tmp cd /tmp ttx sazanami-gothic.ttf Additional information ====== Attached files ---- backtrace cmdline ----- /usr/bin/python /usr/bin/ttx sazanami-gothic.ttf component ----- fonttools executable ----- /usr/bin/ttx kernel ----- 2.6.31-2.fc12.x86_64 package ----- fonttools-2.2-6.fc12 uuid ----- 3b17aec5
Created attachment 362481 [details] File: backtrace
Created attachment 362482 [details] here the fix for this "as" is a reserved keyword in python The rpmbuild process also lists the same error: SyntaxError: ('invalid syntax', ('/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/tables/ttProgram.py', 397, 3, '\tas = p.getAssembly()\n'))
abrt attached the wrong backtrace, so ignore the content of that. The crash is real though and the fix attached is good. Upstreamed now as well as https://sourceforge.net/tracker/?func=detail&aid=2865692&group_id=29196&atid=395374
Seeing as ttx simply doesn't work in F-12/rawhide is there any objection if I go ahead and backport the trivial fix from fonttools svn to fix this ?
(In reply to comment #4) > Seeing as ttx simply doesn't work in F-12/rawhide is there any objection if I > go ahead and backport the trivial fix from fonttools svn to fix this ? No objection. I don't have the time to do anything about this in the next week or so, so please feel free to fix it yourself.
oky doky, committed and built as fonttools-2.2-7.fc12.src.rpm
done