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.
https://bugs.winehq.org/show_bug.cgi?id=40561
--- Comment #1 from godevilove godevilove@ya.ru --- Why I think that it is Scripts plugin's issue and not ToolBar plugin's is because there is another way to call a script: using Hotkeys plugin - I've tried to call scripts using it and it's all the same.
As for 'TextMarker.js' - that script was chosen just as an example, the bug is not limited down to that particular script, other scripts also don't work.
https://bugs.winehq.org/show_bug.cgi?id=40561
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=40561
godevilove godevilove@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|AkelPad: [Scripts plugin] |AkelPad: [Scripts plugin] |some scripts do not work |calling scripts doesn't | |work
https://bugs.winehq.org/show_bug.cgi?id=40561
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to godevilove from comment #0)
- In console run 'wine-development .wine/drive_c/Program\
Files/AkelPad/AkelPad.exe'.
You should cd to the directory first.
- 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)
- 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.
Being in the wrong directory could certainly cause a dll to not be found..
https://bugs.winehq.org/show_bug.cgi?id=40561
--- Comment #3 from godevilove godevilove@ya.ru --- (In reply to Austin English from comment #2)
You should cd to the directory first.
This way I don't get any errors, but the scripts still don't work.
https://bugs.winehq.org/show_bug.cgi?id=40561
godevilove godevilove@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major
https://bugs.winehq.org/show_bug.cgi?id=40561
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=40561
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org