By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 679 - Build issue: Koffice FTBFS (python problem) under Fedora 16
Summary: Build issue: Koffice FTBFS (python problem) under Fedora 16
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: 3.5.12 [Trinity]
Hardware: amd64 Other
: P5 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-11-22 15:30 CST by Francois Andriot
Modified: 2013-12-08 20:22 CST (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Fix python compilation error (1.22 KB, patch)
2011-11-23 16:08 CST, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Andriot 2011-11-22 15:30:22 CST
Hello, during RPM package creation, the rpmbuild tool automatically compiles all python scripts.

Then it fails with the following error:

SyntaxError: ('invalid syntax', ('/opt/trinity/share/apps/kross/python
/RestrictedPython/Utilities.py', 49, 19, 'def reorder(s, with=None, without=()):\n'))

Python version is 2.7.2
Comment 1 Francois Andriot 2011-11-23 16:08:07 CST
Created attachment 156 [details]
Fix python compilation error

This patch modifies the faulty script syntax so that it compiles under Fedora 16.
Comment 2 Timothy Pearson 2012-01-08 03:24:20 CST
Committed to GIT in hash 5ec453c.

Thanks for reporting, and for the patch!