signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.62k stars 2.66k forks source link

Sticker pack is not uploaded: cannot read property "encryptAttachment" of undefined #4217

Closed moonlies closed 4 years ago

moonlies commented 4 years ago

Bug Description

When trying to create a new Sticker pack, as soon as i want to upload the pack the error "cannot read property 'encryptAttachment' of undefined" appears and no upload seems to happen.

Steps to Reproduce

  1. Open the sticker pack creator
  2. Add stickers from https://gitlab.com/betalars/helpful-recources/-/tree/master/Mental_health_stickerpack/stickers
  3. Assign emojis
  4. Set name, author and icon
  5. Press continue
  6. Press upload

Actual Result:

For a few seconds, a box appears on the right side of the cancel button saying: Error uploading stickers: cannot read property 'encryptAttachment' of undefined. Repeating the process results in the same behavior.

Expected Result:

Stickers are uploaded.

Screenshots

Screenshot_20200426_194357

Platform Info

Signal Version: v1.34.0-beta.1

Operating System: Arch Linux

uname -a Linux hostname 5.6.6-arch1-1 #1 SMP PREEMPT Tue, 21 Apr 2020 10:35:16 +0000 x86_64 GNU/Linux

lsb_release -a LSB Version: 1.4 Distributor ID: Arch Description: Arch Linux Release: rolling Codename: n/a

Linked Device Version:

Android 4.58.5

Link to Debug Log

https://debuglogs.org/4d57fec55b239765116f9d9a0dac9873b82f235e9b11c51728c07c4f2eba2144

Mobile device Log: https://debuglogs.org/c29ccc3d39a58bd7c814c67e75c30205c958ee42254fc705bf926f349fcea8cf

scottnonnenberg-signal commented 4 years ago

Thanks for the bug report. We'll have a fix in the next beta release.

williamvds commented 4 years ago

I had the same issue on v1.34.0-beta.1. On v1.34.0-beta.3 no such error occurs.

scottnonnenberg-signal commented 4 years ago

@williamvds How did you install Signal Desktop?

williamvds commented 4 years ago

@williamvds How did you install Signal Desktop?

Via the Arch User Repository package which pulls builds directly from https://updates.signal.org. I suspect @moonlies did the same.

scottnonnenberg-signal commented 4 years ago

I just tested the sticker creation process on v1.34.2 on Ubuntu 18.04. This appears to be due to the packaging process used in the creation of the Arch package. I'm going to close this.

Tienza commented 3 years ago

I have using KDE Neon and am experiencing the same issue. I followed the instructions to install Signal on Debian from the Signal website

# NOTE: These instructions only work for 64 bit Debian-based
# Linux distributions such as Ubuntu, Mint etc.

# 1. Install our official public software signing key
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null

# 2. Add our repository to your list of repositories
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
  sudo tee -a /etc/apt/sources.list.d/signal-xenial.list

# 3. Update your package database and install signal
sudo apt update && sudo apt install signal-desktop
EvanHahn-Signal commented 3 years ago

@Tienza Sorry you're running into this. We've fixed it in beta which we should release to production this week. See https://github.com/signalapp/Signal-Desktop/issues/5565#issuecomment-940047105 for more details.

Tienza commented 3 years ago

@Tienza Sorry you're running into this. We've fixed it in beta which we should release to production this week. See #5565 (comment) for more details.

@EvanHahn-Signal thank you for getting back to me so quickly! Thank you for the update, love the app overall!

scottnonnenberg-signal commented 2 years ago

@TimestaticYT What version of Signal Desktop do you see in the about screen?

nivaca commented 2 years ago

Same problem in Manjaro Linux. Version 5.19.0

hiqua commented 2 years ago

This version is outdated, please update / ask the maintainer of your package to update it.

nivaca commented 2 years ago

I installed the Flatpak version (5.23) and it works now.