From b75434c9981a21a53959b76bf4c7f1191f52ce46 Mon Sep 17 00:00:00 2001 From: Repository mirror & CI Date: Wed, 31 Mar 2021 08:51:07 +0000 Subject: 2021-03-31T08:45:01Z --- tmacedo.html | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) (limited to 'tmacedo.html') diff --git a/tmacedo.html b/tmacedo.html index f78e11b0467a..750e782b874b 100644 --- a/tmacedo.html +++ b/tmacedo.html @@ -72,7 +72,49 @@ 31
$ pmaint regen --use-local-desc --pkg-desc-index -t 32 tmacedo
 
- 32
 * Cache regenerated successfully
+            32
Failed importing: cannot import name 'WeakValCache' from 'snakeoil.weakrefs' (/usr/lib/python3.8/site-packages/snakeoil/weakrefs.py)!
+
+ 33
Verify that pkgcore and its deps are properly installed and/or PYTHONPATH is set correctly for python 3.8.7.
+
+ 34
+
+ 35
Traceback (most recent call last):
+
+ 36
  File "/usr/lib/python-exec/python3.8/pmaint", line 4, in <module>
+
+ 37
    scripts.run(basename(__file__))
+
+ 38
  File "/usr/lib/python3.8/site-packages/pkgcore/scripts/__init__.py", line 17, in run
+
+ 39
    script = import_module(script_module)
+
+ 40
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
+
+ 41
    return _bootstrap._gcd_import(name[level:], package, level)
+
+ 42
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
+
+ 43
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
+
+ 44
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
+
+ 45
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
+
+ 46
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
+
+ 47
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
+
+ 48
  File "/usr/lib/python3.8/site-packages/pkgcore/scripts/pmaint.py", line 23, in <module>
+
+ 49
    from ..ebuild import repository as ebuild_repo
+
+ 50
  File "/usr/lib/python3.8/site-packages/pkgcore/ebuild/repository.py", line 26, in <module>
+
+ 51
    from snakeoil.weakrefs import WeakValCache
+
+ 52
ImportError: cannot import name 'WeakValCache' from 'snakeoil.weakrefs' (/usr/lib/python3.8/site-packages/snakeoil/weakrefs.py)
+
+ 53
 * Cache regen failed with 1
 
-- cgit v1.2.3-65-gdbad