https://bugs.winehq.org/show_bug.cgi?id=40561
Bug ID: 40561 Summary: AkelPad: [Scripts plugin] some scripts do not work Product: Wine Version: 1.9.5 Hardware: x86-64 URL: https://sourceforge.net/projects/akelpad/files/AkelPad %204/4.9.7/x64/ OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: godevilove@ya.ru Distribution: Debian
OS: Debian 8.4 x64 Wine: wine-development (multiarch) 1.9.5-3~bpo8+1 (from jessie-backports) AkelPad: 4.9.7 (x64)
STR: 1. Install AkelPad using the installer. 2. Install 'TextMarker.js' script: a. Either run '.wine/AkelPad/AkelFiles/AkelUpdater.exe' directly or invoke it right from the AkelPad (run AkelPad, in menu bar hit 'Help > Update'). b. Hit 'Scripts' button. You'll get an error [that I don't get on Windows] 'Download error: File Not Found (404) - just close that alert with 'OK' button. c. Find 'TextMarker.js' in the list, check its checkbox and hit 'Update' button. d. You will get a window asking to close AkelPad window first: close AkelPad's window and in AkelUpdater's window hit 'Retry' button. e. This should install the script, all you need is to uncheck 'Run AkelPad' checkbox (because otherwise you won't notice error in the console) and hit 'Close' button. 3. In console run 'wine-development .wine/drive_c/Program\ Files/AkelPad/AkelPad.exe'. 4. In AkelPad open 'Options > Plugins' (or hit Alt+P) and check there 'ToolBar::Main' + double click it to run it now. 5. Now there should appear a new toolbar in AkelPad's window. Right click it and it will open a window where you can configure the contents of the toolbar. Add a new line there (make it the first line, so you'll know where the button is) with the following contents:
-"TextMarker.js" Call("Scripts::Main", 1, "TextMarker.js") Icon("%a\AkelFiles\Plugs\Scripts.dll", 0)
6. Hit 'OK' button and that should add a new button to that toolbar that upon a click will execute 'TextMarker.js' script. Left click that button (with a 'script' icon, leftmost on the toolbar).
Expected Result: There should be no errors in the console and there should appear a window like this: https://i.imgur.com/lZM63RK.png
Actual Result: No window appears and the console contains this error: err:ole:TLB_ReadTypeLib Loading of typelib L"Z:\home\uzer\.wine\drive_c\Program Files\AkelPad\AkelFiles\Plugs\Scripts.dll" failed with error 3 that occurs multiple times. + when you close the AkelPad after that there's another error occurs: err:jscript:interp_memberid failed 80029c4a which is judging by https://support.microsoft.com/en-us/kb/186063 means -2147312566 (80029C4A) Error loading type library/DLL.