Skip to content
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

back-to-monitor@nathan818fr - Extension Bug #513

Open
StLeoX opened this issue Nov 16, 2023 · 6 comments
Open

back-to-monitor@nathan818fr - Extension Bug #513

StLeoX opened this issue Nov 16, 2023 · 6 comments
Labels

Comments

@StLeoX
Copy link

StLeoX commented Nov 16, 2023

Extension version/Build date

default

Cinnamon version

5.4.12

Distribution

Mint 21

Graphics hardware and driver used

No response

Extension name and maintainer

back-to-monitor@nathan818fr @nathan818fr

What happened?

Error No module named requests.
2023-11-16_10-49-58

Other information

I have set a http_proxy

@nathan818fr
Copy link
Contributor

This error does not come from my extension, but probably from the Cinnamon extension downloader.
Have you tried downloading other extensions, I think the same problem will occur too?

@rcalixte rcalixte changed the title Extension Bug back-to-monitor@nathan818fr - Extension Bug Nov 16, 2023
@rcalixte rcalixte added the BUG label Nov 16, 2023
@rcalixte
Copy link
Member

@StLeoX The download code uses the requests Python module. Have you modified your system's stock Python environment that could impact this module? That is likely the issue here.

@StLeoX
Copy link
Author

StLeoX commented Nov 16, 2023

@StLeoX The download code uses the requests Python module. Have you modified your system's stock Python environment that could impact this module? That is likely the issue here.

pip3 show requests
Name: requests
Version: 2.22.0
apt show python3-requests
Package: python3-requests
Version: 2.25.1+dfsg-2ubuntu0.1

There exist two requests, maybe that's the problem?

@rcalixte
Copy link
Member

What happens when you do this in a terminal?

$ python3
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> 

@StLeoX
Copy link
Author

StLeoX commented Nov 16, 2023

>>> import requests
>>> print(requests.__version__)
2.22.0
>>> 

it works

@rcalixte
Copy link
Member

But it looks like your Python path is inconsistent. Something in your environment is unfortunately broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants