1286 Unfound script Sub gives misleading error [6355]

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

1286 Unfound script Sub gives misleading error [6355]

Post by chrisjj »

Upon launching a script having no Sub corresponding to the ProcName declared in scripts.ini, MM gives a misleading error message e.g.:
Error #13 - Microsoft VBScript runtime error
Type mismatch: 'TDJsetlist'
File: "C:\Program Files\MediaMonkey\Scripts\TDJ setlist.vbs", Line: 1, Column: 0
OK
In this case script.ini contained:
[TDJsetlist]
FileName=TDJ setlist.vbs
ProcName=TDJsetlist
Order=50
DisplayName=TDJ se&tlist
Description=Creates a setlist of selected tracks
Language=VBScript
ScriptType=1
and TDJ setlist.vbs failed to contain Sub TDJsetlist

Tracked at http://www.ventismedia.com/mantis/view.php?id=6355
Chris
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: 1286 Unfound script Sub gives misleading error [-----]

Post by rovingcowboy »

i sometimes get the same type of error?

monkey will play the script no trouble. but every now and then the same script tosses an alert saying vbsscript error.
can not create sdbplaylist... same script that worked earlier but now gets an error alert.

makes no sense to me. i'm glad you posted you got an error alert also.
8)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: 1286 Unfound script Sub gives misleading error [-----]

Post by chrisjj »

No variability seen here, RC.

> makes no sense to me.

Agreed - I think yours must be a different cause.
Chris
gk
Posts: 35
Joined: Mon Apr 23, 2007 7:01 pm

Re: 1286 Unfound script Sub gives misleading error [6355]

Post by gk »

Thanks very much for reporting this bug.

It just bit me (my first time working with VBScript in MM) and really had me baffled (and wasting time) until I found this report.

Too bad its been 5 years since you reported it and is still a problem!

MM v. 4.1.7.1741
chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: 1286 Unfound script Sub gives misleading error [6355]

Post by chrisjj »

gk wrote:Too bad its been 5 years since you reported it and is still a problem!
One wonders what is meant by "new" in "Status new" :)
Chris
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: 1286 Unfound script Sub gives misleading error [6355]

Post by rovingcowboy »

I remember posting in a thread somewhere on scripts that I found the erro to be a blank space was at 0.0 in the script and it was not ms liking that space that causes the error. Now what forum or community I posted that in some yrs back is unknown to me now. Thought it was here sorry if it wasn't.
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
Post Reply