FS#21061 - [Python3] Gramps cannot be run with python3
Attached to Project:
Community Packages
Opened by Frederic Bezies (fredbezies) - Monday, 04 October 2010, 17:41 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 October 2010, 05:41 GMT
Opened by Frederic Bezies (fredbezies) - Monday, 04 October 2010, 17:41 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 05 October 2010, 05:41 GMT
|
Details
Description: Another broken software, gramps.
Cannot be run after python3 update. Here is the error log I get in terminal : gramps & [1] 25852 [fred@fredo-arch ~]$ File "/usr/share/gramps/gramps.py", line 75 print 'No translation in some gtk.Builder strings, ' ^ SyntaxError: invalid syntax Additional info: [fred@fredo-arch ~]$ pacman -Si gramps Dépôt : community Nom : gramps Version : 3.2.3-1 Steps to reproduce: Related to gnome-python-extras update ?! Just upgrade to python 3 :) |
This task depends upon
exec /usr/bin/python -O $GRAMPSDIR/gramps.py "$@"
by
exec /usr/bin/python2 -O $GRAMPSDIR/gramps.py "$@"
But spellcheck won't work :
"Mise en garde : la vérification orthographique est désactivée; installez pyenchant/python-enchant pour l'activer."
=> Warning : spellcheck is deactivated ; please install pyenchant/python-enchant in order to activate it.
EDIT: Probably other file in the package needs to be adapted to use python2.