Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: syntaxError: invalid syntax File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/tables/ttProgram.py", line 397 as = p.getAssembly()
https://bugzilla.redhat.com/show_bug.cgi?id=512504
Summary: syntaxError: invalid syntax File "/usr/lib64/python2.6/site-packages/FontTools/fontTool s/ttLib/tables/ttProgram.py", line 397 as = p.getAssembly() Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: low Component: fonttools AssignedTo: roozbeh@gmail.com ReportedBy: nicolas.mailhot@laposte.net QAContact: extras-qa@fedoraproject.org CC: roozbeh@gmail.com, fedora-fonts-bugs-list@redhat.com Blocks: 473302 Classification: Fedora
Description of problem:
While building latest heuristica snapshot
rm Heuristica-Regular.gen.ttx rm: cannot remove `Heuristica-Regular.gen.ttx': No such file or directory ttx Heuristica-Regular.gen.ttf make: [Heuristica-Regular.gen.ttx] Error 1 (ignored) Dumping "Heuristica-Regular.gen.ttf" to "Heuristica-Regular.gen.ttx"... Dumping 'GlyphOrder' table... Dumping 'head' table... Dumping 'hhea' table... Dumping 'maxp' table... Dumping 'OS/2' table... Dumping 'hmtx' table... Dumping 'cmap' table... Traceback (most recent call last): File "/usr/bin/ttx", line 11, in <module> ttx.main(sys.argv[1:]) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttx.py", line 288, in main process(jobs, options) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttx.py", line 273, in process action(input, output, options) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttx.py", line 170, in ttDump disassembleInstructions=options.disassembleInstructions) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/__init__.py", line 267, in saveXML self._tableToXML(tableWriter, tag, progress) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/__init__.py", line 282, in _tableToXML table = self[tag] File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/__init__.py", line 366, in __getitem__ tableClass = getTableClass(tag) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/__init__.py", line 774, in getTableClass module = getTableModule(tag) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/__init__.py", line 763, in getTableModule __import__("fontTools.ttLib.tables." + pyTag) File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/tables/_f_p_g_m.py", line 3, in <module> import ttProgram File "/usr/lib64/python2.6/site-packages/FontTools/fontTools/ttLib/tables/ttProgram.py", line 397 as = p.getAssembly() ^ SyntaxError: invalid syntax make: *** [Heuristica-Regular.gen.ttx] Error 1 make: *** Waiting for unfinished jobs....
Version-Release number of selected component (if applicable):
fonttools x86_64 2.2-5.fc11
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=512504
--- Comment #1 from Akira TAGOH tagoh@redhat.com 2009-09-29 23:06:40 EDT --- Created an attachment (id=363113) --> (https://bugzilla.redhat.com/attachment.cgi?id=363113) simple patch to fix this
I see the same issue with ttx. just attached a simple patch. modified ttx works fine for me.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=512504
--- Comment #2 from M.R. Beauchamp marc@beauchamp.de 2010-01-16 18:47:47 EST --- The patch works for me, too. Now we need packages to fix ttx.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=512504
Parag pnemade@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |pnemade@redhat.com Resolution| |NEXTRELEASE
--- Comment #4 from Parag pnemade@redhat.com 2010-07-29 01:50:22 EDT --- This looks fixed long ago
fonts-bugs@lists.fedoraproject.org