ulauncher-clipboard icon indicating copy to clipboard operation
ulauncher-clipboard copied to clipboard

Loading...dont shows any item

Open hxss opened this issue 7 months ago • 4 comments

Hello. I just installed your extension and cant figure out how to use it. I'm on gnome(wayland), tried gpaste and clipster. Every time I type c in ulauncher its shows Loading... and nothing else and the error in terminal:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/ulauncher/api/client/Client.py", line 54, in on_message
    self.extension.trigger_event(event)
  File "/usr/lib/python3.11/site-packages/ulauncher/api/client/Extension.py", line 52, in trigger_event
    action = listener.on_event(event, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hxss/.local/share/ulauncher/extensions/com.github.friday.ulauncher-clipboard/main.py", line 114, in on_event
    lines += max(1, (result.name.count('\n') + 1) * 0.85)
                     ^^^^^^^^^^^
AttributeError: 'ExtensionSmallResultItem' object has no attribute 'name'

hxss avatar Nov 27 '23 15:11 hxss