linuxmint / mintupdate

The Linux Mint Update Manager
324 stars 157 forks source link

Improve visibility #666

Closed clefebvre closed 3 years ago

clefebvre commented 3 years ago

5.3.7.zip

kelebek333 commented 3 years ago

The cache is refreshing but cannot be listed and gives "Could not refresh the list of updates" error.

(mintUpdate.py:59848): dbind-WARNING **: 00:30:18.425: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:1126: DeprecationWarning: Gdk.threads_init is deprecated
  Gdk.threads_init()
Gtk-Message: 00:30:18.661: Failed to load module "unity-gtk-module"
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:1272: DeprecationWarning: Gtk.ImageMenuItem.set_image is deprecated
  menuItem3.set_image(image)
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:649: DeprecationWarning: Gdk.threads_enter is deprecated
  Gdk.threads_enter()
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:656: DeprecationWarning: Gdk.threads_leave is deprecated
  Gdk.threads_leave()
-- Exception occurred in the refresh thread:
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintUpdate/Classes.py", line 236, in __init__
    with open(self.path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/username/.linuxmint/mintupdate/updates.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 754, in run
    tracker = UpdateTracker(self.application.settings, self.application.logger)
  File "/usr/lib/linuxmint/mintUpdate/Classes.py", line 248, in __init__
    self.logger.write("Tracker exception: " + e)
TypeError: can only concatenate str (not "FileNotFoundError") to str

mintupdate-new

clefebvre commented 3 years ago

Thanks @kelebek333, this is fixed now https://github.com/linuxmint/mintupdate/commit/7af56509599ac50559d0fd39c507f88f254c409c.

All commits are in master now. Closing this PR.