FelipeFTN / Emoji-Copy

😄 Emoji copy is a versatile extension designed to simplify emoji selection and clipboard management.
https://extensions.gnome.org/extension/6242/emoji-copy/
GNU General Public License v3.0
95 stars 10 forks source link

One category button does crash the extension #54

Open jasursadikov opened 1 month ago

jasursadikov commented 1 month ago

Bug Report

Current Behavior The highlighted button does crash the extension: image

Expected behavior/code I am not sure how what it is supposed to do.

Environment

image

FelipeFTN commented 1 month ago

Hello @jasursadikov! Thank you for reporting this bug!

I'm sorry for taking too long to see this issue :sweat_smile: I'm not pretty sure what may be causing it, is this still happening? :eyes:

If yes, can you take a look at the logs, please? I recommend you to run the Emoji Copy in debug mode by doing the following steps:

  1. Clone this repo
  2. cd into it
  3. run make debug in some cases, you might need to remove the extension from Gnome Extensions first. Just to make sure you will be using the locally installed version of Emoji Copy
  4. This should open a debugging session in a window, and the logs will be shown in the terminal.
  5. Then just try to reproduce the crash and see what the console prints out. Don't forget to share your results with us!
jasursadikov commented 3 weeks ago

Hi! Sorry for long pause. I do not see anything valuable comming to the logs when I run the debug session. I can do the screen recording and share with you if you want to.

image

You can see that I do not have the extension on my main session and I do have it on my debug session. I've tried to reproduce the issue, but nothing really happened in the log :)

FelipeFTN commented 3 weeks ago

Hi, buddy! Yeah it's running, and I think I can see some error messages in your terminal from the Screen Shot. Can you please take another screenshot, only showing the terminal after you make debug? I can see the text "Stack trace error" right below the gnome session window (you might need to scroll up a little bit to see, or close the session to look only the terminal with all the logs).

jasursadikov commented 1 week ago

Here is the log:

[-] COMPILING SCHEMA...
[+] SCHEMA COMPILED
[+] Fetching unicode data from https://unicode.org/Public/emoji/15.1/emoji-test.txt
[+] Parsing and loading emojis into database... 🍳
[+] Finished loading emojis into database! 🎉
[!] Emoji Count: 3773
[!] run `du -ah ./emoji-copy@felipeftn/data/` to get the DBs current size.
[-] ZIPPING EMOJI COPY...
  adding: data/ (stored 0%)
  adding: data/emojis.db (deflated 77%)
  adding: emojiButton.js (deflated 69%)
  adding: emojiCategory.js (deflated 64%)
  adding: emojiOptionsBar.js (deflated 69%)
  adding: emojiSearchItem.js (deflated 68%)
  adding: extension.js (deflated 71%)
  adding: handlers/ (stored 0%)
  adding: handlers/files.js (deflated 43%)
  adding: handlers/sql.js (deflated 61%)
  adding: icons/ (stored 0%)
  adding: icons/emoji-activities-symbolic.svg (deflated 50%)
  adding: icons/emoji-body-symbolic.svg (deflated 69%)
  adding: icons/emoji-flags-symbolic.svg (deflated 67%)
  adding: icons/emoji-food-symbolic.svg (deflated 51%)
  adding: icons/emoji-nature-symbolic.svg (deflated 67%)
  adding: icons/emoji-objects-symbolic.svg (deflated 64%)
  adding: icons/emoji-people-symbolic.svg (deflated 41%)
  adding: icons/emoji-symbols-symbolic.svg (deflated 68%)
  adding: icons/emoji-travel-symbolic.svg (deflated 54%)
  adding: libs/ (stored 0%)
  adding: libs/sql/ (stored 0%)
  adding: libs/sql/sql.js (deflated 66%)
  adding: locale/ (stored 0%)
  adding: locale/ar/ (stored 0%)
  adding: locale/ar/LC_MESSAGES/ (stored 0%)
  adding: locale/ar/LC_MESSAGES/emoji-copy.mo (deflated 46%)
  adding: locale/cs/ (stored 0%)
  adding: locale/cs/LC_MESSAGES/ (stored 0%)
  adding: locale/cs/LC_MESSAGES/emoji-copy.mo (deflated 43%)
  adding: locale/de/ (stored 0%)
  adding: locale/de/LC_MESSAGES/ (stored 0%)
  adding: locale/de/LC_MESSAGES/emoji-copy.mo (deflated 44%)
  adding: locale/eo/ (stored 0%)
  adding: locale/eo/LC_MESSAGES/ (stored 0%)
  adding: locale/eo/LC_MESSAGES/emoji-copy.mo (deflated 33%)
  adding: locale/es_ES/ (stored 0%)
  adding: locale/es_ES/LC_MESSAGES/ (stored 0%)
  adding: locale/es_ES/LC_MESSAGES/emoji-copy.mo (deflated 44%)
  adding: locale/fr/ (stored 0%)
  adding: locale/fr/LC_MESSAGES/ (stored 0%)
  adding: locale/fr/LC_MESSAGES/emoji-copy.mo (deflated 44%)
  adding: locale/gl/ (stored 0%)
  adding: locale/gl/LC_MESSAGES/ (stored 0%)
  adding: locale/gl/LC_MESSAGES/emoji-copy.mo (deflated 46%)
  adding: locale/it/ (stored 0%)
  adding: locale/it/LC_MESSAGES/ (stored 0%)
  adding: locale/it/LC_MESSAGES/emoji-copy.mo (deflated 46%)
  adding: locale/nl/ (stored 0%)
  adding: locale/nl/LC_MESSAGES/ (stored 0%)
  adding: locale/nl/LC_MESSAGES/emoji-copy.mo (deflated 44%)
  adding: locale/oc/ (stored 0%)
  adding: locale/oc/LC_MESSAGES/ (stored 0%)
  adding: locale/oc/LC_MESSAGES/emoji-copy.mo (deflated 45%)
  adding: locale/pl/ (stored 0%)
  adding: locale/pl/LC_MESSAGES/ (stored 0%)
  adding: locale/pl/LC_MESSAGES/emoji-copy.mo (deflated 40%)
  adding: locale/pt_BR/ (stored 0%)
  adding: locale/pt_BR/LC_MESSAGES/ (stored 0%)
  adding: locale/pt_BR/LC_MESSAGES/emoji-copy.mo (deflated 35%)
  adding: locale/tr/ (stored 0%)
  adding: locale/tr/LC_MESSAGES/ (stored 0%)
  adding: locale/tr/LC_MESSAGES/emoji-copy.mo (deflated 44%)
  adding: locale/zh_Hans/ (stored 0%)
  adding: locale/zh_Hans/LC_MESSAGES/ (stored 0%)
  adding: locale/zh_Hans/LC_MESSAGES/emoji-copy.mo (deflated 36%)
  adding: metadata.json (deflated 41%)
  adding: prefs.js (deflated 67%)
  adding: schemas/ (stored 0%)
  adding: schemas/org.gnome.shell.extensions.emoji-copy.gschema.xml (deflated 67%)
  adding: schemas/gschemas.compiled (deflated 38%)
  adding: stylesheet.css (deflated 67%)
  adding: LICENSE (deflated 65%)
[+] EMOJI COPY BUILT
gnome-extensions install emoji-copy@felipeftn.zip --force
Extension installed successfully! Now restart the Shell ('Alt'+'F2', then 'restart').
dbus-run-session -- gnome-shell --nested --wayland
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gtk.vfs.Daemon' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gtk.vfs.Daemon'
fusermount3: failed to access mountpoint /run/user/1000/gvfs: Permission denied
libmutter-Message: 19:27:34.554: Running GNOME Shell (using mutter 46.2) as a Wayland display server
libmutter-Message: 19:27:34.554: Enabling experimental feature 'scale-monitor-framebuffer'
** Message: 19:27:34.640: Obtained a high priority EGL context
** Message: 19:27:34.641: Obtained a high priority EGL context
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.a11y.Bus' requested by ':1.2' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.a11y.Bus'
Policy to allow eavesdropping in /usr/share/defaults/at-spi2/accessibility.conf +15: Eavesdropping is deprecated and ignored
Policy to allow eavesdropping in /usr/share/defaults/at-spi2/accessibility.conf +17: Eavesdropping is deprecated and ignored
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.freedesktop.systemd1' requested by ':1.4' (uid=1000 pid=14406 comm="/usr/bin/dbus-broker-launch --config-file=/usr/sha")
dbus-daemon[14365]: [session uid=1000 pid=14365] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
libmutter-Message: 19:27:34.661: Using public X11 display :2, (using :3 for managed services)

(gnome-shell:14366): libmutter-WARNING **: 19:27:34.661: WL: unable to lock lockfile /run/user/1000/wayland-0.lock, maybe another compositor is running

libmutter-Message: 19:27:34.661: Using Wayland display name 'wayland-1'
Window manager warning: Failed to set environment variable GNOME_SETUP_DISPLAY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
Window manager warning: Failed to set environment variable DISPLAY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
Window manager warning: Failed to set environment variable XAUTHORITY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
Window manager warning: Failed to set environment variable WAYLAND_DISPLAY for gnome-session: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.SessionManager" does not exist
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.freedesktop.systemd1' requested by ':1.4' (uid=1000 pid=14406 comm="/usr/bin/dbus-broker-launch --config-file=/usr/sha")
dbus-daemon[14365]: [session uid=1000 pid=14365] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
GNOME Shell-Message: 19:27:34.803: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
GNOME Shell-Message: 19:27:34.803: Will monitor session 3
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gnome.Shell.Screencast' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='ca.desrt.dconf' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gnome.evolution.dataserver.Sources5' requested by ':1.7' (uid=1000 pid=14430 comm="/usr/lib/gnome-shell-calendar-server")
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'ca.desrt.dconf'
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gnome.Shell.Notifications' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")

(gnome-shell:14366): GNOME Shell-CRITICAL **: 19:27:34.859: Could not load extension Emoji-Copy: Error: Missing metadata.json

Stack trace:
  createExtensionObject@resource:///org/gnome/shell/ui/extensionSystem.js:384:19
  _loadExtensions/extensionObjects<@resource:///org/gnome/shell/ui/extensionSystem.js:771:34
  _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:755:49
  async*_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:792:48
  _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:827:20
  async*init@resource:///org/gnome/shell/ui/extensionSystem.js:76:14
  _initializeUI@resource:///org/gnome/shell/ui/main.js:303:22
  start@resource:///org/gnome/shell/ui/main.js:175:11
  @resource:///org/gnome/shell/ui/init.js:12:47
  @resource:///org/gnome/shell/ui/init.js:21:20

GNOME Shell-Message: 19:27:34.859: Extension user-theme@gnome-shell-extensions.gcampax.github.com already installed in /home/jsd/.local/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com will not be loaded
Xlib:  extension "DRI2" missing on display ":0".
GNOME Shell-Message: 19:27:34.872: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)

** (gnome-shell:14366): WARNING **: 19:27:34.872: AT-SPI: Could not obtain desktop path or name

dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.freedesktop.systemd1' requested by ':1.4' (uid=1000 pid=14406 comm="/usr/bin/dbus-broker-launch --config-file=/usr/sha")
dbus-daemon[14365]: [session uid=1000 pid=14365] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gnome.Shell.Notifications'
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gnome.OnlineAccounts' requested by ':1.9' (uid=1000 pid=14447 comm="/usr/lib/evolution-source-registry")

** (gnome-shell:14366): WARNING **: 19:27:34.896: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (gnome-shell:14366): WARNING **: 19:27:34.896: atk-bridge: get_device_events_reply: unknown signature
GNOME Shell-Message: 19:27:34.896: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gtk.vfs.UDisks2VolumeMonitor' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
goa-daemon-Message: 19:27:34.909: goa-daemon version 3.50.2 starting
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gnome.Identity' requested by ':1.12' (uid=1000 pid=14487 comm="/usr/lib/goa-daemon")
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor'
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gtk.vfs.MTPVolumeMonitor' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gnome.OnlineAccounts'
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gnome.Identity'
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor'
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gtk.vfs.GPhoto2VolumeMonitor' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gtk.vfs.Metadata' requested by ':1.9' (uid=1000 pid=14447 comm="/usr/lib/evolution-source-registry")
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gtk.vfs.Metadata'
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor'
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gtk.vfs.GoaVolumeMonitor' requested by ':1.0' (uid=1000 pid=14366 comm="gnome-shell --nested --wayland")
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor'
GNOME Shell-Message: 19:27:34.963: Failed to register AuthenticationAgent
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gnome.evolution.dataserver.Sources5'
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.freedesktop.secrets' requested by ':1.12' (uid=1000 pid=14487 comm="/usr/lib/goa-daemon")
discover_other_daemon: 1GNOME_KEYRING_CONTROL=/run/user/1000/keyring
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gnome.evolution.dataserver.Calendar8' requested by ':1.7' (uid=1000 pid=14430 comm="/usr/lib/gnome-shell-calendar-server")
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gnome.Shell.CalendarServer'
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gnome.evolution.dataserver.Calendar8'
dbus-daemon[14365]: [session uid=1000 pid=14365] Activating service name='org.gnome.evolution.dataserver.AddressBook10' requested by ':1.19' (uid=1000 pid=14550 comm="/usr/lib/evolution-calendar-factory")

(gnome-shell:14366): GLib-GIO-CRITICAL **: 19:27:35.036: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed

(gnome-shell:14366): GLib-GIO-CRITICAL **: 19:27:35.041: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook10'
GNOME Shell-Message: 19:27:35.135: loading default theme (Adwaita)

(gnome-shell:14366): libmutter-WARNING **: 19:27:35.514: (../mutter/src/backends/meta-barrier.c:258):init_barrier_impl: runtime check failed: (priv->impl)
Xlib:  extension "DRI2" missing on display ":0".

(gnome-shell:14366): libmutter-WARNING **: 19:27:35.623: (../mutter/src/backends/meta-barrier.c:258):init_barrier_impl: runtime check failed: (priv->impl)
dbus-daemon[14365]: [session uid=1000 pid=14365] Successfully activated service 'org.gnome.Shell.Screencast'
GNOME Shell-Message: 19:27:35.833: GNOME Shell started at Tue Jun 25 2024 19:27:34 GMT+0200 (Central European Summer Time)
GNOME Shell-Message: 19:27:35.833: Registering session with GDM
Archive:  /tmp/TBATP2.shell-extension.zip
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/extension.js  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/emojiOptionsBar.js  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/data/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/data/emojis.db  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/LICENSE  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/emojiButton.js  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/emojiCategory.js  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/stylesheet.css  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/emoji-activities-symbolic.svg  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/emoji-flags-symbolic.svg  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/emoji-food-symbolic.svg  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/emoji-nature-symbolic.svg  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/emoji-symbols-symbolic.svg  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/emoji-travel-symbolic.svg  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/emoji-objects-symbolic.svg  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/emoji-body-symbolic.svg  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/icons/emoji-people-symbolic.svg  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/schemas/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/schemas/gschemas.compiled  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/schemas/org.gnome.shell.extensions.emoji-copy.gschema.xml  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/zh_Hans/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/zh_Hans/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/zh_Hans/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/gl/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/gl/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/gl/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/nl/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/nl/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/nl/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/de/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/de/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/de/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/ar/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/ar/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/ar/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/it/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/it/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/it/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/pl/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/pl/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/pl/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/es_ES/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/es_ES/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/es_ES/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/cs/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/cs/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/cs/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/fr/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/fr/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/fr/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/tr/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/tr/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/tr/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/pt_BR/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/pt_BR/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/pt_BR/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/oc/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/oc/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/oc/LC_MESSAGES/emoji-copy.mo  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/eo/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/eo/LC_MESSAGES/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/locale/eo/LC_MESSAGES/emoji-copy.mo  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/prefs.js  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/libs/
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/libs/sql/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/libs/sql/sql.js  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/emojiSearchItem.js  
   creating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/handlers/
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/handlers/files.js  
  inflating: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/handlers/sql.js  
 extracting: /home/jsd/.local/share/gnome-shell/extension-updates/emoji-copy@felipeftn/metadata.json  
FelipeFTN commented 5 days ago

Hello, buddy! Thanks for sending the complete logs! :mag:

Well, that's pretty strange, the second missing file error just today! hahaha Same thing seems to be happening with #60 but this time with file metadata.json.

Let's investigate this: :thinking: Can you take a look to see if the missing file, is truly missing? This should do the job: file ~/.local/share/gnome-shell/extensions/emoji-copy@felipeftn/metadata.json If it is, well, just reinstalling the extension should do the job :pray:

But that still seems strange, this file should not be missing like that...

Taking a look at these lines:

(gnome-shell:14366): GNOME Shell-CRITICAL **: 19:27:34.859: Could not load extension Emoji-Copy: Error: Missing metadata.json

Stack trace:
  createExtensionObject@resource:///org/gnome/shell/ui/extensionSystem.js:384:19
  _loadExtensions/extensionObjects<@resource:///org/gnome/shell/ui/extensionSystem.js:771:34
  _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:755:49
  async*_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:792:48
  _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:827:20
  async*init@resource:///org/gnome/shell/ui/extensionSystem.js:76:14
  _initializeUI@resource:///org/gnome/shell/ui/main.js:303:22
  start@resource:///org/gnome/shell/ui/main.js:175:11
  @resource:///org/gnome/shell/ui/init.js:12:47
  @resource:///org/gnome/shell/ui/init.js:21:20

This line tells us that the extension is not even loading, and this error seems to be directly from the Extensions application. createExtensionObject@resource:///org/gnome/shell/ui/extensionSystem.js

This doesn't seems to be linked with the original error you reported, because this time, the extension is not even being loaded :confused:

So, can you try pulling the latest changes from the master branch? Then re-run the command? If it keeps returning the same error, check if the metadata.json file exists then try these commands:

  1. make uninstall
  2. make clean
  3. make install

I'll be happy to know the results! :pray: