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

HistoryUndo crashes #30

Open
anaselli opened this issue Nov 26, 2019 · 6 comments
Open

HistoryUndo crashes #30

anaselli opened this issue Nov 26, 2019 · 6 comments
Labels

Comments

@anaselli
Copy link
Contributor

running dnfdragora history undo i got the following error:

File "/usr/lib64/python3.8/site-packages/dbus/service.py", line 711, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3.8/site-packages/dnfdaemon/server/__init__.py", line 68, in newFunc
    rc = func(*args, **kwargs)
  File "/usr/share/dnfdaemon/dnfdaemon-system", line 305, in HistoryUndo
    value = self.history_undo(tid)
  File "/usr/lib/python3.8/site-packages/dnfdaemon/server/__init__.py", line 656, in history_undo
    history = dnf.history.open_history(self.base.history)
AttributeError: module 'dnf.history' has no attribute 'open_history'
@anaselli anaselli added the bug label Nov 26, 2019
@Conan-Kudo
Copy link
Member

@j-mracek, @dmach: Did this API get ripped out or something? I don't recall seeing something remove it...

@j-mracek
Copy link
Contributor

I believe that the issue is from dnf-4.0.4. Sorry for that

@Conan-Kudo
Copy link
Member

That was with DNF 4.2.6 in Mageia Cauldron... @anaselli, did the upgrade to DNF 4.2.17 fix this for you?

@j-mracek
Copy link
Contributor

The problem is that there is no API for history available and never was. Also sorry for that.

@Conan-Kudo
Copy link
Member

Oh, welp... So what do we do? We need an API to access history information...

@j-mracek
Copy link
Contributor

Yes, we need it. This is bad situation and even worst timing. I will think about.

@HollowMan6 HollowMan6 mentioned this issue Dec 28, 2020
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