MM4 Scripting Issue: "cannot find path specified"

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

LikeMM
Posts: 142
Joined: Sat Feb 02, 2008 5:29 pm

MM4 Scripting Issue: "cannot find path specified"

Post 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
Eyal
Posts: 3119
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

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

Post 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
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
Dreadlau
Posts: 1967
Joined: Sun Nov 25, 2007 6:49 am

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

Post 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.
Seven Ultimate X64 SP1 / Sansa Clip 2go (with RockBox)
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

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

Post 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?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
LikeMM
Posts: 142
Joined: Sat Feb 02, 2008 5:29 pm

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

Post 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.
jiri
Posts: 5429
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

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

Post 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
Dreadlau
Posts: 1967
Joined: Sun Nov 25, 2007 6:49 am

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

Post by Dreadlau »

Thx for the info jiri.
Seven Ultimate X64 SP1 / Sansa Clip 2go (with RockBox)
Post Reply