-
Notifications
You must be signed in to change notification settings - Fork 48
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
Comments
Using the old 1.9.1 version distributed in another issue post, which had the "refresh urls" option, fixed the problem. |
Still experiencing this problem in 1.10.5, I tried rooting out if it's a plugin conflicting to no avail, loaded with only favorite media, zeres, and BDFDB, but it still crashed when loading the database. Right now the old 1.9.1 crashes the client as well so I have no way to refresh the URL embeds. I'm hoping for a fix or a loophole to bypass this issue at your earliest convenience! |
still experiencing i need the old one updated with this fix too maybe just make a seperate for both people |
Perhaps it's a media issue? I was getting straight crashes when ever I'd open a server with the plugin enabled, even if enabled standalone. However I just reinstalled the plugin, after renaming the extension in the plugins folder, and it's working fine now, albeit all the saved media I had on it is gone, but my client isn't crash looping anymore. btw I'm on stable 347699 (5cba0fe) Host 1.0.9171 x64 (55464) Build Override: N/A Windows 11 64-bit (10.0.22631) running v1.11.1 with 45 Plugins and 1 theme enabled. EDIT: My saved files are NOT gone, I was on the wrong category lol. |
Well I tried troubleshooting it weeks ago by removing the config file which had all the saved media, it crashes like how I pointed out in the OP even with zero things to cache, then I fucked up and lost my saved media but the issue is still there. Strangely enough the images did fix itself I think after the newest update, but the videos are still without embed I think Dastan did give us a way to refresh url without caching in a patch weeks ago now that I'm looking around the notes, I'll test it later |
it do be working doe LETS GOOOOOOO bug is still not fixed but there's a way to refresh URLs manually now. |
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)
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)
- Images with broken previews
- 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
The text was updated successfully, but these errors were encountered: