MarkHedleyJones / dmenu-extended

An extension to dmenu for quickly opening files and folders.
MIT License
390 stars 33 forks source link

Plugin systemPackageManager failing #137

Closed MarkHedleyJones closed 2 years ago

MarkHedleyJones commented 2 years ago

Fails with:

  File "/home/mark/.local/bin/dmenu_extended_run", line 8, in <module>
    sys.exit(run())
  File "/home/mark/.local/lib/python3.8/site-packages/dmenu_extended/main.py", line 1797, in run
    plugin_hook[0].run(out[len(plugin_hook[1]) :].strip())
  File "/home/mark/.config/dmenu-extended/plugins/plugin_systemPackageManager.py", line 260, in run
    self.install_package()
  File "/home/mark/.config/dmenu-extended/plugins/plugin_systemPackageManager.py", line 61, in install_package
    self.build_package_cache()
  File "/home/mark/.config/dmenu-extended/plugins/plugin_systemPackageManager.py", line 115, in build_package_cache
    packages = self.availablePackages_aptget()
  File "/home/mark/.config/dmenu-extended/plugins/plugin_systemPackageManager.py", line 175, in availablePackages_aptget
    packages = self.command_output(self.command_listAvailable)
  File "/home/mark/.local/lib/python3.8/site-packages/dmenu_extended/main.py", line 822, in command_output
    return out.split("\n")
TypeError: a bytes-like object is required, not 'str'

This will be caused by changes when dropping Python2 support