kimtore / pms

Practical Music Search is an interactive Vim-like console client for the Music Player Daemon.
https://ambientsound.github.io/pms/
MIT License
249 stars 23 forks source link

PMS hangs sporadically on startup while opening index #95

Closed kimtore closed 6 years ago

kimtore commented 7 years ago

The last thing seen in the debug log is similar to:

[0.39133] Sync(): opening search index

Workaround is to delete PMS' cache files:

rm -rf ~/.cache/pms/<mpd_host>/<mpd_port>
tremby commented 7 years ago

I had another hang just now at Sync(): opening search index. Waited a long while and nothing appears to be happening. Killed the process and tried again, same thing.

Deleted its cache directory, tried again, it worked.

Loaded again, working.

kimtore commented 6 years ago

This bug might be fixed in #106. @tremby, care to give it a try?

tremby commented 6 years ago

Hope so! Due to the sporadic nature I can't be sure just yet, but I will report back if I still get these kind of hangs.

kimtore commented 6 years ago

Thanks. I'll close the issue. Feel free to re-open if if occurs again.