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

bpyutils.exception.PopenError #145

Open
NicolasMICAUX opened this issue Dec 2, 2022 · 3 comments
Open

bpyutils.exception.PopenError #145

NicolasMICAUX opened this issue Dec 2, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@NicolasMICAUX
Copy link

Description

While doing a simple pipupgrade on Ubuntu22.04, python3.10, in normal console (not in a venv). Nothing else running on my PC at the same moment.

Screenshot

No response

Console errors

Updating 10 of 83 packages: dbus-python

Traceback (most recent call last):
  File "/home/xxxxxx/.local/lib/python3.10/site-packages/pipupgrade/commands/__init__.py", line 79, in command
    return _command(**ARGUMENTS)
  File "/home/xxxxxx/.local/lib/python3.10/site-packages/pipupgrade/commands/__init__.py", line 258, in _command
    update_registry(registry, yes = a.yes, user = a.user, check = a.check,
  File "/home/xxxxxx/.local/lib/python3.10/site-packages/pipupgrade/commands/helper.py", line 301, in update_registry
    _pip.call("install", package.name,
  File "/home/xxxxxx/.local/lib/python3.10/site-packages/pipupgrade/_pip.py", line 79, in call
    output = popen(*params, output = output, raise_err = raise_err)
  File "/home/xxxxxx/.local/lib/python3.10/site-packages/bpyutils/util/system.py", line 126, in popen
    raise PopenError(code, command)
bpyutils.exception.PopenError: Command '/home/xxxxxx/.local/bin/pip install dbus-python --no-cache-dir --upgrade' returned non-zero exit status 1.

An error occured while performing the above command. This could be an issue with
"pipupgrade". Kindly post an issue at https://github.com/achillesrasquinha/pipupgrade/issues
@NicolasMICAUX NicolasMICAUX added the bug Something isn't working label Dec 2, 2022
@falko
Copy link

falko commented Feb 28, 2023

I have the same error and I'm also on Ubuntu 22.04.2 with Python 3.10.6.
@NicolasMICAUX did you find any workaround?

@NicolasMICAUX
Copy link
Author

Not really. Now I'm just using --ignore-error option of pipupgrade. But I don't know what consequences it might have. I've been doing this for 4 months without problems, but might cause some in the future.

@ricperry
Copy link

Same error:

Do you wish to update 95 packages? [Y/n/q]: y
Updating 1 of 95 packages: breezy

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pipupgrade/commands/__init__.py", line 79, in command
    return _command(**ARGUMENTS)
  File "/usr/local/lib/python3.10/dist-packages/pipupgrade/commands/__init__.py", line 258, in _command
    update_registry(registry, yes = a.yes, user = a.user, check = a.check,
  File "/usr/local/lib/python3.10/dist-packages/pipupgrade/commands/helper.py", line 301, in update_registry
    _pip.call("install", package.name,
  File "/usr/local/lib/python3.10/dist-packages/pipupgrade/_pip.py", line 79, in call
    output = popen(*params, output = output, raise_err = raise_err)
  File "/usr/local/lib/python3.10/dist-packages/bpyutils/util/system.py", line 126, in popen
    raise PopenError(code, command)
bpyutils.exception.PopenError: Command '/usr/bin/pip install breezy --no-cache-dir --upgrade' returned non-zero exit status 1.

An error occured while performing the above command. This could be an issue with
"pipupgrade". Kindly post an issue at https://github.com/achillesrasquinha/pipupgrade/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants