Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FavoriteMedia]: Crash when loading local database (PTB) #267

Open
LilyBageL opened this issue Jul 31, 2024 · 1 comment
Open

[FavoriteMedia]: Crash when loading local database (PTB) #267

LilyBageL opened this issue Jul 31, 2024 · 1 comment
Labels
TBD To Be Determined : not sure if there is a bug

Comments

@LilyBageL
Copy link

Discord Build

Stable

Discord Version

ptb 314440 (7ee63e1) Host 1.0.1094 x64 (50115) Build Override: N/A Windows 11 64-bit (10.0.22631)

Plugin Version

v1.10.1

Steps To Reproduce

1. Load Discord Test Build
Nothing appears in Ctrl+Shift+I console other than a few warnings for a few of the other 23 plugins I have

2. Open any channel with textbox

3. Open Image, Video, Audio, File tab of FavoriteMedia
Nothing appears in console other than a bunch of:
GET (Media link of media that's not loading) 404 (Not Found)
and
Could not load media: (Media link of media that's not loading)

4. Click on Local database icon

5. Popup of local database shows (custom red outline blocks to cover my unspeakable past)
image

6. After a few seconds (nothing new appears in console) it instantly CTD and the BetterDiscord crash popup shows
config.json as follows (media links removed to hide my unspeakable past):
FavoriteMedia.config.json

Describe the bug

When I open the local database to try and cache or clear cache and re-cache, it doesn't even load the database info in the popup screen, it just crashes. I tried setting allowcaching to false (seen in config attachment) and true several times, doesn't fix the issue. I checked the related issues prior to making this issue post, you mention that the related bugs were fixed in 10.1, but it still continues to manifest in my build, so I reckon the issue I'm encountering is different.

I have ~600 images and ~100 videos saved using the plugin, the amount might be the troublemaker? I have five times the amount of gifs, but I don't use the FavoriteMedia gifs feature because it's bugged and unsynced with my vanilla discord gifs on my build. The saved videos are affected the most out of all the tabs, having almost half of them without a preview.

I removed the media links in the config.json because ninety percent of the things I save are either horrid or horrid or horrid or horrid. But if necessary to diagnose the problem, I will provide the original, thousand-links config.json file.

Screenshots

- Videos with broken previews (image of the local database popup attached in steps to reproduce)
image

- Images with broken previews
image

- My lineup of plugins
"BDFDB": true,
"ZeresPluginLibrary": true,
"AllCallTimeCounter": true,
"BetterAudioPlayer": true,
"BetterFormattingRedux": true,
"BetterVolume": true,
"CharCounter": true,
"CompleteTimestamps": true,
"FavoriteMedia": true,
"FriendNotifications": true,
"GameActivityToggle": true,
"GifVideoPlayer": true,
"ImageUtilities": true,
"AppNotifications": false,
"InvisibleTyping": true,
"MessageUtilities": true,
"PluginRepo": true,
"RemovedConnectionAlerts": true,
"ServerDetails": true,
"SpellCheck": true,
"StaffTag": true,
"ThemeRepo": true,
"Translator": true,
"UrbanDictionary": true,
"VoiceActivity": true

@LilyBageL LilyBageL added the TBD To Be Determined : not sure if there is a bug label Jul 31, 2024
@LilyBageL
Copy link
Author

Using the old 1.9.1 version distributed in another issue post, which had the "refresh urls" option, fixed the problem.
I'll use that version temporarily until a patch or update is pushed out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TBD To Be Determined : not sure if there is a bug
Projects
None yet
Development

No branches or pull requests

1 participant