View Issue Details

IDProjectCategoryView StatusLast Update
0020666MMW 5Otherpublic2024-04-17 14:45
Reportermichal Assigned To 
PriorityimmediateSeverityblockReproducibilityunable to reproduce
Status closedResolutionfixed 
Product Version5.1 
Target Version5.0.5Fixed in Version5.0.5 
Summary0020666: Artwork lookup sometimes stops working for some users
DescriptionSome users have problem with artwork lookup, it stops working suddenly. It seems to be related to some wrong data in Chromium cache files, we currently do not know how this happens and how to at least simulate this state.
Workaround for this problem, which seems to work for all users - delete folder C:\Users\<username>\AppData\Local\Temp\GPUCache
This is temporary folder, where Chromium stores its data including result of cookies consent dialog.
For now we need at least KB article describing this workaround.
Additional Informationhttps://www.mediamonkey.com/forum/viewtopic.php?p=517351
https://www.mediamonkey.com/forum/viewtopic.php?t=105748
Ticket 7008, 7009, 7011, 7012

https://github.com/electron/electron/issues/40366#issuecomment-1789075486
TagsNo tags attached.
Fixed in build2695

Relationships

related to 0020816 closedpetr New image lookup addon for MediaMonkey 5.0.4 
related to 0020808 closedLudek Installing addon: Compatibility checking is not working correctly 
related to 0020789 assignedrusty Unknown Error - Clean Cache error 
related to 0020834 assignedpetr Album Art Lookup Memory Leak 

Activities

michal

2024-02-26 12:46

developer   ~0074363

Seems to be Chromium issue and deleting GPUCache is only workaround, until they fix it.
https://issues.chromium.org/issues/40267041

Ludek

2024-02-26 17:43

developer   ~0074368

So shouldn't we clean the GPUCache folder whenever we detect that image lookup isn't working?

michal

2024-02-26 18:22

developer   ~0074372

We cannot reproduce it, so detection of this is problematic (lookup can fail for multiple reasons, not only this). Also app has to be restarted after the folder remove.
The issue should be fixed in Chromium 121. Unfortunately, we use 120. We should consider to upgrade at least this one version up.

petr

2024-02-26 19:34

developer   ~0074373

I've implemented chromium commit https://chromium-review.googlesource.com/c/angle/angle/+/5197906 (should contain fix of this issue) into chromium 120.

michal

2024-03-13 09:23

developer   ~0074611

User reports, that the fix did not help :-/
https://www.mediamonkey.com/forum/viewtopic.php?p=517835#p517835

rusty

2024-03-21 02:42

administrator   ~0074723

Last edited: 2024-03-21 14:27

I just experienced this, but can't figure out how to replicate. It's a really serious issue, though, as it's not even obvious that MM is broken, and the current workaround is overly technical.

If we can't fix this OR detect this state automatically and automatically clear the cache as Ludek suggested at 0020666:0074372, perhaps a workaround would be to:
- Halt the lookup if no results appear after ?30?s.
- Then display something like. Unknown error: _Clean cache_ (a link)
- If the user clicks the _Clean cache_ link, then MM should clear the cache and after doing so, prompt the user to "MediaMonkey needs to be restarted to apply the changes" [[Restart]] [Cancel]

Note: all of these strings already exist.

jiri

2024-03-22 10:28

administrator   ~0074742

This seems to be the best what we can offer right now. In order to not show the error message too often and in situations when it shouldn't be shown, we could e.g. try to find out whether the internet connection works well or anything else that would narrow down the cause of why search doesn't work at the moment.

petr

2024-03-22 17:18

developer   ~0074752

I've added callback to loadError, implemented method to restart with cache cleanup. Assiging to Michal to apply in artwork lookup.

michal

2024-03-22 18:43

developer   ~0074760

Fixed in build 3007. We now detect known network errors and display toast message in such cases (typically existing string "There is a problem with your internet connection."). In case of some unknown problem, in case result is not known for 30s, we display suggested error message with possibility to restart app with cleaning cache.

michal

2024-03-25 18:06

developer   ~0074807

Last edited: 2024-03-25 18:37

The dialog "Unknown error" can be displayed sometimes unintentionally, especially when automatic lookup in grid is on and user scrolls through items without artwork.
Dialog should also have some title, as it can be shown outside image lookup dialog, e.g. title "Lookup image" (existing string), so context of the message will be more clear.

michal

2024-03-25 18:37

developer   ~0074808

Fixed in build 3008.

rusty

2024-04-02 15:11

administrator   ~0074922

Album Art lookup is failing regularly in 3010.

Using the 'Clean cache' function / restart has no effect. See the attached log showing a lookup for 'The Beatles' 'Abbey Road' and subsequent failure after cleaning the cache/restarting.

michal

2024-04-02 15:20

developer   ~0074925

For me, it worked, but I had to clean cache again and again and experienced also crashes during closing app. Logs sent to Petr.

petr

2024-04-05 10:36

developer   ~0074979

Fixed

michal

2024-04-05 16:25

developer   ~0075000

Fixed in build 3012.

michal

2024-04-08 13:23

developer   ~0075020

Script made more universal and stable, it currently disables Google search in older versions, where it cannot work (before 2024.0.0.3012), and displays standard addon not compatible message, if used in older not supported versions.

michal

2024-04-09 05:41

developer   ~0075035

Fixed in 2024.0.0.3013, merged to 5.0.5.2695.

lowlander

2024-04-09 15:16

developer   ~0075041

Verified on 5.0.5 Artwork is found in Preview (Playing/Selected), Info Panel (Artist/Album), Playing node (Artist/Album/Lyrics), Properties (Artwork lookup) and Auto-Tag.