Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

[BUG] App crashes on pfp command #31

Closed
TMUniversal opened this issue Jul 27, 2020 · 2 comments
Closed

[BUG] App crashes on pfp command #31

TMUniversal opened this issue Jul 27, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@TMUniversal
Copy link
Owner

Describe the bug
Profile picture command is broken. No reaction whatsoever from the bot. Errors in logs.

To Reproduce
Steps to reproduce the behavior:

  1. Entered command >pfp @user
  2. Bot doesn't respond.
  3. Logs show error.

Expected behavior
Upload profile picture of mentioned user.

@TMUniversal TMUniversal added bug Something isn't working invalid This doesn't seem right and removed bug Something isn't working labels Jul 27, 2020
@TMUniversal
Copy link
Owner Author

TMUniversal commented Jul 27, 2020

Has to do with the image compression applied when uploading a profile picture.

@TMUniversal TMUniversal changed the title [BUG] Title [BUG] App crashes on pfp command Jul 27, 2020
@TMUniversal TMUniversal added bug Something isn't working and removed invalid This doesn't seem right labels Jul 27, 2020
@TMUniversal
Copy link
Owner Author

This is a dependency issue that occurred on Ubuntu Server

How to fix:

Manually reinstall imagemin and dependencies.

Requires automake: sudo apt-get install automake

rm -rf node_modules/
npm install
npm install imagemin && \
npm install imagemin-gifsicle && \
npm install imagemin-jpegtran && \
npm install imagemin-pngquant

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant