Author Topic: Cannot sync with LastFM  (Read 151 times)

barlet

  • Jr. Member
  • **
  • Posts: 75
Trying to sync with LastFM I got the following error (copied from the error log)

12/02/2020 00:28:23 - 10.0.18363.0 - 3.3.7346.39560P - System.ArgumentOutOfRangeException: Value to add was out of range.
Parameter name: value
   at System.DateTime.Add(Double value, Int32 scale)
   at #=z4VG3kz3_stZJTXCKz7012M0OBsFLWvVVeQ==.#=zuVypi0dGIfQTHCjWnQ==()
   at #=z0hU1t27NCSdDuEFG2i9wmLbFI3ZV.#=zUc8xydUFs3Rk(List`1 #=zmm7SkLN6RqHrAHNazD0R1jM=, Boolean #=z8hkV05OmHM1E, Boolean #=zxkrrWAWoHcP5xXED1$HnL5VHUAoa)
   at #=z0hU1t27NCSdDuEFG2i9wmLbFI3ZV.#=z5tv6vW9asliD(Object #=zUcT$s2I=)

Again the portable version is the offending version. The version on the desktop works fine but the one on my portable ssd produces the above error.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 30222
I dont think its anything to do with the version. Last.fm simply returned some invalid data. I have put in some handling for the invalid date

https://getmusicbee.com/patches/MusicBee33_Patched.zip
unzip and replace the existing musicbee application files

barlet

  • Jr. Member
  • **
  • Posts: 75
I installed the patch but I regret there is no joy! I hope to have time soon to look into it, maybe it is a bug at my end. Thanks all the same!

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 30222
i cant believe you are getting the same error. Can you confirm the latest error message from the error log

barlet

  • Jr. Member
  • **
  • Posts: 75
The error message in the message box is the same. The error log reports as such;

15/02/2020 03:30:25 - 10.0.18363.0 - 3.3.7347.37375P - System.ArgumentOutOfRangeException: Value to add was out of range.
Parameter name: value
   at System.DateTime.Add(Double value, Int32 scale)
   at #=zmXrd_5kIMTFeMvS$JHoOrA5aNcE4TAV$8Q==.#=zr0ObD9_7RzHAxB_1bQ==()
   at #=ziRngJbVwyIGONvsoUmibFnOC8_yH.#=zFRZlVJjsjC$k(List`1 #=zaNE_SnYSk7Bct4VN2ohh1QY=, Boolean #=z$FIGF7mo6Wnp, Boolean #=zdKUqkyWyn3Sn0w_loXRIF57Lod1a)
   at #=ziRngJbVwyIGONvsoUmibFnOC8_yH.#=zJG7MDn2hixuW(Object #=zW2QYQYs=)


Thanks Steve. i use the programme virtually everyday and it is a very important tool for me.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 30222
This version should work
https://getmusicbee.com/patches/MusicBee33_Patched.zip

i think in likelyhood, your last.fm cache file is corrupted so I recommend you delete AppData/LastFmPlayCountCache.dat - expect it to take a long time to resync though
Last Edit: February 15, 2020, 04:40:28 AM by Steven

barlet

  • Jr. Member
  • **
  • Posts: 75
Thanks. Deleting the cache did the trick. Thanks for your help and the best audio programme on the net.