Page 1 of 1

MM4 Scripting Issue: "cannot find path specified"

Posted: Fri Dec 17, 2010 6:27 pm
by LikeMM
I tried to install my own modified version of MonkeyRok on a Windows7 machine and a Windows XP machine. I tried both options in the install confirmation window: checking "install for this user only" button and unchecking it.

In both cases, MM4 is not able to find the path as the "languages" folder seems to be duplicated. My install.ini works ok in MM3. I manually pasted the necessary files to that folder.

Cannot create file "C:\Documents and Settings\userid\Application Data\MediaMonkey\Scripts\MonkeyRokIC\languages\languages\english.txt". The system cannot find the path specified.

After that I got another error, which pretty much stopped MonkeyRok from coming up. Have the DB object names changed?

ActiveX Component can't create object: SongsDB.SDBApplication
file MonkeyRokIC.vbs line 691, col: 12

Re: MM4 Scripting Issue: "cannot find path specified"

Posted: Sat Dec 18, 2010 3:26 am
by Eyal
Hi,

I don't have MM4 nor Win7 but I gess that [C:\Documents and Settings\<USERNAME>..] is XP specific.
In Win7 it's [C:\Users\<USERNAME>...].

See here: http://www.mediamonkey.com/support/inde ... 17&nav=0,2

Re: MM4 Scripting Issue: "cannot find path specified"

Posted: Sat Dec 18, 2010 5:21 am
by Dreadlau
LikeMM wrote:In both cases, MM4 is not able to find the path as the "languages" folder seems to be duplicated.
Yeah I have the same problem with monkeyrok on mm4.
And if you go create that folder and try again.
You'll see that it does that with all the folders.

Maybe Trixmoto can shed some light on this.

Re: MM4 Scripting Issue: "cannot find path specified"

Posted: Sat Dec 18, 2010 6:00 am
by trixmoto
Well I use "SDB.ScriptsPath" to get this location, so if it's wrong then I guess this property is returning the wrong location?

Re: MM4 Scripting Issue: "cannot find path specified"

Posted: Mon Dec 20, 2010 6:27 pm
by LikeMM
Hi trixmoto,

If and when you install 4.0 and monkeyrok, please let me know if it works fine. I am not able to get past "ActiveX Component can't create object: SongsDB.SDBApplication".

I have not modified this part of the code at all.

Re: MM4 Scripting Issue: "cannot find path specified"

Posted: Thu Dec 23, 2010 11:38 am
by jiri
There was a bug introduced recently and so some scripts didn't install correctly. It will be fixed in the next build. From what I've tried, after the fix the script works well, regardless whether installed per-user or per-machine.

Jiri

Re: MM4 Scripting Issue: "cannot find path specified"

Posted: Thu Dec 23, 2010 12:07 pm
by Dreadlau
Thx for the info jiri.