Running : > python2.7 /usr/bin/griffith gave me this error: Traceback (most recent call last): File "/usr/bin/griffith", line 86, in <module> import add File "/usr/lib64/griffith/add.py", line 31, in <module> import quick_filter File "/usr/lib64/griffith/quick_filter.py", line 25, in <module> import db File "/usr/lib64/griffith/db/__init__.py", line 30, in <module> from _objects import * File "/usr/lib64/griffith/db/_objects.py", line 33, in <module> import validators File "/usr/lib64/griffith/db/validators.py", line 26, in <module> from sqlalchemy.orm.interfaces import AttributeExtension, InstrumentationManager ImportError: cannot import name InstrumentationManager I solved it by downloading validators.py from here[1] and replacing this : >/usr/lib64/griffith/db/validators.py [1]http://bazaar.launchpad.net/~piotr/griffith/trunk/view/head:/lib/db/validators.py Just for reference : https://bugs.launchpad.net/ubuntu/+source/griffith/+bug/1212397
Created attachment 545748 [details] validators.py
Created attachment 545750 [details, diff] fix_griffith-0.13-validators.patch >>> Emerging (1 of 1) media-video/griffith-0.13-r2::gentoo * griffith-0.13.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * griffith-extra-artwork-0.9.4.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking griffith-0.13.tar.gz to /tmp/portage/media-video/griffith-0.13-r2/work >>> Unpacking griffith-extra-artwork-0.9.4.tar.gz to /tmp/portage/media-video/griffith-0.13-r2/work >>> Source unpacked in /tmp/portage/media-video/griffith-0.13-r2/work * Applying user patches from /etc/portage/patches//media-video/griffith-0.13-r2 ... * fix_griffith-0.13-validators.patch ... [ ok ] * Done with patching >>> Preparing source in /tmp/portage/media-video/griffith-0.13-r2/work/griffith-0.13 ... * Applying 0.10-fix_lib_path.patch ... [ ok ] >>> Source prepared. Fixed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a9a636ab45726aac3c466af1f447c02e369d81c commit 8a9a636ab45726aac3c466af1f447c02e369d81c Author: Petros Siligkounas <petross404@gmail.com> AuthorDate: 2019-02-17 21:16:59 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-02-19 17:46:54 +0000 media-video/griffith: fixes cannot import name InstrumentationManager Closes: https://bugs.gentoo.org/665068 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Πέτρος Σιλιγκούνας <petross404@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/9763 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../griffith/files/griffith-0.13-validators.patch | 17 +++++++++++++++++ media-video/griffith/griffith-0.13-r2.ebuild | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-)