Page 5 of 11
Re: Earliest Release Date v4.0.0 (2014-01-13)
Posted: Mon Jan 20, 2014 1:37 pm
by zuilserip
Hi wxdude - one more clue to what is generating the error. It seems like titles that have quotation marks (i.e. " ) are causing the error. I am not sure if this is the only case when the error occurs, but if I take a title that works fine and add a quotation mark, I can get the error consistently.
Thanks.
Re: Earliest Release Date v4.0.0 (2014-01-13)
Posted: Tue Jan 21, 2014 5:04 pm
by wxdude
zuilserip wrote:Error executing script event.
Object required: 'oXMLDoc.getElementsByTagName(...)(...)'

Thanks for reporting the bug. The double quotes were causing my API searches to be malformed.
Link for latest download
http://www3.telus.net/sowiakj/EarliestD ... 1.184.mmip.
Re: Earliest Release Date v4.0.0 (2014-01-13)
Posted: Thu Jan 23, 2014 9:11 am
by zuilserip
wxdude wrote:zuilserip wrote:Error executing script event.
Object required: 'oXMLDoc.getElementsByTagName(...)(...)'

Thanks for reporting the bug. The double quotes were causing my API searches to be malformed.
Link for latest download
http://www3.telus.net/sowiakj/EarliestD ... 1.184.mmip.
Thanks - it is working great now!
Re: Earliest Release Date v4.0.1 (2014-01-21)
Posted: Thu Jan 23, 2014 12:31 pm
by cryptus
Hi
This script looks like exactly what I'm looking for, but it won't install for me. Every time I try and install, I get an error stating, "Error #424- Microsoft VBScript runtime error. Object required: 'oLblGrpBoxResults'. File: 'C:\Users\Stuart\AppData\Roaming\Mediamonkey\Scripts\Auto\EarliestDate.vbs', Line: 450, Column: 2.", followed by another error stating that the installation failed due to 'oLblGrpBoxResults' being required. I'd really like to get this working, any ideas what the problem is?
Re: Earliest Release Date v4.0.1 (2014-01-21)
Posted: Thu Jan 23, 2014 1:16 pm
by wxdude
cryptus wrote:I'd really like to get this working, any ideas what the problem is?
To be honest I have no idea. The object in question is created and saved well before the script gets to the point that is giving you an error. I would try to first close MM and remove C:\Users\Stuart\AppData\Roaming\Mediamonkey\Scripts\Auto\EarliestDate.vbs from your system. Restart MM, re-download the mmip file, and re-install.
What version of Windows are you running and is it a portable installation of MM or not?
Re: Earliest Release Date v4.0.1 (2014-01-21)
Posted: Thu Jan 23, 2014 2:05 pm
by cryptus
Deleting and reinstalling did the trick, thanks!
Re: Earliest Release Date v4.1.0 (2014-02-09)
Posted: Sun Feb 09, 2014 5:23 pm
by wxdude
New release available that fixes one minor bug and updates the options page. Download link on first page.
Re: Earliest Release Date v4.1.0 (2014-02-09)
Posted: Sun Jun 01, 2014 1:17 pm
by roboyle3
WXdude, Love this script! I just installed today and it was running pretty well for a couple of hours then I received this error. I removed and reinstalled and I'm still getting this error. Any suggestions?
Error # 8732
Expected { to begin object
File C;\users\....\scripts\auto\earliestrelease.vbs line 1799 column 3
Re: Earliest Release Date v4.1.0 (2014-02-09)
Posted: Mon Jun 02, 2014 12:23 pm
by wxdude
The error you are getting is caused by the JSON decoder failing.
Is there a specific release that is causing problems or does this error happen for all releases?
Did you try restarting MM?
Re: Earliest Release Date v4.1.0 (2014-02-09)
Posted: Mon Jun 02, 2014 1:39 pm
by roboyle3
I'm using MM 4.1.1.1703 and ERD version 4.1.0.185.
I've not seen the big error in a day but I'm consistently seeing
Expected { to begin object
I see it randomly after running for a while and I need to restart the search skipping the track that the search stalled on. I'm not sure if its a problem the discogs query on certain tracks but there aren't any special formatting or characters.
Re: Earliest Release Date v4.1.0 (2014-02-09)
Posted: Mon Jun 02, 2014 2:52 pm
by wxdude
Can you see if it fails repeatedly on a specific track and let me know the details (Artist - Album - Song Title). If is repeatable I may be able to find out why it fails and fix. If it is simply random, I'll have to do some more error checking in the code.
Re: Earliest Release Date v4.1.0 (2014-02-09)
Posted: Mon Jun 02, 2014 4:53 pm
by roboyle3
It appears random but can reproduced on the same tracks that it fails.
Drake - The Ride, 2011, it's on the album Take Care
is the most recent in my collection but it doesn't fail on all Drake tracks. I can't seem to find the root.
Re: Earliest Release Date v4.1.0 (2014-02-09)
Posted: Mon Jun 02, 2014 6:12 pm
by wxdude
Interesting. That Artist-Title works no problem for me and returns a single date of 2011-11-14 from 5 releases and 1 master.
Somehow you are not recieivng properly formatted JSON text from Discogs or you've been temporarily blocked. There are a few places where I can improve the error checking so that the script doesn't fail.
Re: Earliest Release Date v4.1.0 (2014-02-09)
Posted: Mon Jun 02, 2014 6:17 pm
by roboyle3
Thank you for looking at this. Should I try to use another setting besides Discogs?
Re: Earliest Release Date v4.1.0 (2014-02-09)
Posted: Mon Jun 02, 2014 9:08 pm
by wxdude
Under Tools -> Options -> Library -> Earliest Date set the option to use "Search earliest date using:" to Musicbrainz instead of Discogs. Musicbrainz is much faster too.