View Issue Details

IDProjectCategoryView StatusLast Update
0007846MMW v4Framework: Scripts/Extensionspublic2011-06-03 00:14
Reporterrusty Assigned To 
PriorityimmediateSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0007846: Cannot install last.fm extension 1.0.0.25
DescriptionI cannot get the last.fm extension installed properly with MM4. Tested last.fm scrobbler 1.0.0.25 with MM 4.0.0.1376.

1) Upon installing as a regular user, it doesn't work at all. Nothing is scrobbled, and nothing appears in the Log File (last 5 Entries) list. When I click the 'Show Log File' the following error results:
Error #-2147024894-
File: "C:\Users\...\Appdata\Roaming\MediaMonkey\Scripts\Auto\!LastFM.Options.vbs", Rine: 404, Column: 0

After clicking 'OK', another dialog appears:
Error happened during script execution: The system cannot find the file specified. This is because the scrobbler general plugin doesn't get installed.

2) Upon installing the plugin Globally, I get the following error during the installation process "Cannot create file C:\Progra~2\MEDIAM~2\Scripts\Auto\!LastFM.Options.vbs. This occurs with all extensions--shouldn't MM prompt to escalate use rights?

3) Upon attempting to uninstall, I get errors that MM can't uninstall because it can't copy files to C:Program Files/MediaMonkey/Trash

The only way to get the plugin to install is to run MM as administrator and then install last fm globally.
TagsNo tags attached.
Fixed in build1379

Relationships

related to 0007829 closedLudek Switching languages --> AV 
related to 0007613 closedLudek Problems when one script is installed twice (in both user locations) 

Activities

Ludek

2011-05-18 23:38

developer   ~0025462

Works fine for me, if I install the addon globally then MM correctly reports error 'To install or remove an add-on you must run MediaMonkey as Administrator', local user installation works fine. Tested on XP, I guesss I will need to test on Win 7 tomorrow.

Ludek

2011-05-19 12:27

developer   ~0025476

Last edited: 2011-05-19 12:28

Fixed issues 2) & 3) in build 1377.
i.e. MM is properly showing 'To install or remove an add-on you must run MediaMonkey as Administrator' whenever user cannot create/delete file in the MM install folder.
Note that MM is elevating the rights only when installed MMIP is double-clicked before MM start. If you run MM first and then double-click the MMIP then it doesn't elevate rights, because the elevating means to run MM as admin.

Issue 1) is related either to a problems with the Last.FM plugin itself or to the problems tracked in issue 0007613 - solving with Peke there

Ludek

2011-05-20 21:03

developer   ~0025537

Last edited: 2011-05-20 21:06

As discussed with Peke over IM, the issue 1) was just consequence of 2 & 3.
i.e. MM shouldn't allow to a non-admin user to install/uninstall a global addon.
Last.FM was partially installed globally that shouldn't happen in 1377.

rusty

2011-05-22 04:33

administrator   ~0025554

Last edited: 2011-05-22 04:38

Note: Tested build 1378 and the first error occurs exactly as with build 1376--I'm still unable to install the addon in a normal fashion.

Note: this occurs on two different Win7 machines that I've tested on, and neither has an earlier version of the last.fm plugin installed (i.e. it would appear that the issue isn't caused by 0007613). Re-opening.

peke

2011-05-22 23:33

developer   ~0025559

Last edited: 2011-05-22 23:38

It looks that winamp plugins are not loaded if installed for user???

like c:\Users\<username>\AppData\Roaming\MediaMonkey\Plugins\gen_LastFMScrobbler.dll

steps to reproduce:
1. Extract scrobbler plugin mmip
2. Copy gen_LastFMScrobbler.dll to c:\Users\<username>\AppData\Roaming\MediaMonkey\Plugins\gen_LastFMScrobbler.dll
3. Copy !LastFM.Options.vbs and *.ico to c:\Users\<username>\AppData\Roaming\MediaMonkey\Scripts\Auto\
4. Start MM and in Tools -> Options -> Player -> General Plugins you will not see gen_LastFMScrobbler.dll listed and Rusty original bug can be easily replicated by Clicking on Show Log File in Last.fm services
5. Close MM
6. Move c:\Users\<username>\AppData\Roaming\MediaMonkey\Plugins\gen_LastFMScrobbler.dll to c:\Program Files\MediaMonkey\Plugins\
7. Start MM and Last.fm will work flawlessly

NOTE: that c:\Users\<username>\AppData\Roaming\MediaMonkey\Plugins\f_aac.dll installed in same folder will be shown in Tools -> Options -> Player -> Input plugins.

Ludek

2011-05-23 10:10

developer   ~0025568

Fixed in build 1379.

peke

2011-06-03 00:14

developer   ~0025884

Verified 1382