-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guake suddenly not starting any more due to ModuleNotFoundError: No module named 'importlib_metadata' #1962
Comments
The same for me |
What version of python is default/does Guake run on on your system? Does It looks like you're using the PPA. Did this issue begin when you upgraded from a a PPA version, or from the repo version to the PPA? |
hello,
I have multiple versions of python, but assuming guake uses python3 (as per
/usr/bin/guake), here is the version:
[ste ~] =)o python3
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
I do not have pip installed as it was not required to install guake and I'd
like to keep away from manual fixes and stick to the distribution.
Ste
…On Mon, Nov 1, 2021 at 6:37 AM David Yang ***@***.***> wrote:
What version of python is default on your system? Does pip install
importlib_metadata resolve the issue for you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1962 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAKRAR5MBPTCJ3BAPDDSW3UJYRSZANCNFSM5HA5JB6A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
importlib_metadata is a pip package to provide the functionality of importlib.metadata to python versions below 3.8. For now, solutions would be to either have Guake use python 3.8 or higher, or to get importlib_metadata. Can add a fallback as well for cases where neither can be done, for next release. |
Resolves Guake#1962
Resolves Guake#1962
Resolves Guake#1962
Hello,
When I run it I get:
let me know if I can be of further help. |
Regarding this line:
Has Guake been installed via pypi before on this machine? Potential colliding installations |
No I would say never, for sure not after it stopped to work. I have purged and reinstalled it once, just to see if improved, and installed python3.8 through normal apt install python-3.8 |
I suspect something hasn't been linked properly to python 3.8, and it can't find the files provided by python-gi. The solution would be to install pygobject via pip, but if we can't use pip then the patch adding a fallback for the original issue should make Guake runnable on your system's default python version, and should be part of Guake 3.8.2 |
Downgrade in ubuntu for reference: # get previous available versions from cache
apt-cache showpkg guake
# install previous version (mine was 3.0.5-1)
sudo apt install guake=3.0.5-1
# turn off automatic updates for guake for now
sudo apt-mark hold guake |
Thanks! I will wait for the upgrade.
…On Tue, Nov 2, 2021 at 5:01 AM David Yang ***@***.***> wrote:
I suspect something hasn't been linked properly to python 3.8, and it
can't find the files provided by python-gi. The solution would be to
install pygobject via pip, but if we can't use pip then the patch adding a
fallback for the original issue should make Guake runnable on your system's
default python version, and should be part of Guake 3.8.2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1962 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAKRATN55FZK3VGR4SLUODUJ5PCVANCNFSM5HA5JB6A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
For those using the Guake Linux Uprising PPA: on Ubuntu, Guake now needs to depend on |
Great! I confirm it works now on Ubuntu 18.04. |
Oh, should we be adding |
Resolves Guake#1962
Guake stopped to start. Launching it from the command line, it provides the following output, complaining it can not find the module import_metadata:
I tried to reinstall but no luck...
Guake Version: see in about box.
3.8.1-1
ppabionic0Please describe your system (Linux distribution and GNOME version).
The text was updated successfully, but these errors were encountered: