don't work with wine-- Ákos97 ( talk) 13:29, 28 October 2015 (UTC)
AWB is working under wine on Mint in a VirtualBox - and "successfully" runs an external script (Tools->external processing) however there is a problem with the Output file. AWB doesn't see or pick it up after the script exits. I've tried many different things but not luck. Here's the relevant section from my AWB settings xml:
<ExternalProgram>
<Program>/home/adminuser/wi/wi.csh</Program>
<Parameters>%%title%%</Parameters>
<PassAsFile>true</PassAsFile>
<OutputFile>Z:\home\adminuser\wi\article.txt</OutputFile>
</ExternalProgram>
When running, AWB gives a pop-up box error: the top label says "External processing error" and the message in the box body says "Object reference not set to an instance of an object". The script nonetheless runs successfully and deposits the updated article.txt in the right place, but AWB doesn't read it back in. -- Green C 16:28, 11 January 2016 (UTC)
Apart from WebBrowser, shouldn't it be easy to port this to Mono? Shouldn't it be easy to port most of the functionality to Mono? Most of the other errors come from MediaWiki C# assemblies (DLLs), and not the Mono standard library. Is there a MediaWiki dev page explaining that non-Windows versions of C# code should target Wine and not Mono? The Mono standard library can do almost all of this. It's possible all of this MediaWiki C# code is really old, I don't know. I like C#, and making a polyglot project that builds on Microsoft Visual Studio and also Mono is usually really easy if it is pure C# and if you write just a few conditionals for the target platform (such as turning off WebBrowser in a graceful way, for AWB). I may have seen a Bing-related error that was also going to be hard to port. Fluoborate ( talk) 12:08, 22 June 2018 (UTC)
After several failed attempts to get AWB to run on Linux Mint 19.2 with Wine 5.2 installed (it crashed on start-up), I selected several extra components in Winetricks as a last-ditch effort. That got AWB up and running properly. Since I selected several in one go, I'm not sure exactly what is the bare minimum, but this is what I have currently, in a win32 (32-bit) prefix:
With all this installed, it finally succeeded to start AWB without it instantly crashing while the process bar was loading, with a zillion error messages in Terminal.
If this is useful, please put it into the main article (I don't want to step on any toes). If not, it can stand here so others can find it when they have similar start-up issues. Pangaearocks ( talk) 09:34, 20 February 2020 (UTC)
don't work with wine-- Ákos97 ( talk) 13:29, 28 October 2015 (UTC)
AWB is working under wine on Mint in a VirtualBox - and "successfully" runs an external script (Tools->external processing) however there is a problem with the Output file. AWB doesn't see or pick it up after the script exits. I've tried many different things but not luck. Here's the relevant section from my AWB settings xml:
<ExternalProgram>
<Program>/home/adminuser/wi/wi.csh</Program>
<Parameters>%%title%%</Parameters>
<PassAsFile>true</PassAsFile>
<OutputFile>Z:\home\adminuser\wi\article.txt</OutputFile>
</ExternalProgram>
When running, AWB gives a pop-up box error: the top label says "External processing error" and the message in the box body says "Object reference not set to an instance of an object". The script nonetheless runs successfully and deposits the updated article.txt in the right place, but AWB doesn't read it back in. -- Green C 16:28, 11 January 2016 (UTC)
Apart from WebBrowser, shouldn't it be easy to port this to Mono? Shouldn't it be easy to port most of the functionality to Mono? Most of the other errors come from MediaWiki C# assemblies (DLLs), and not the Mono standard library. Is there a MediaWiki dev page explaining that non-Windows versions of C# code should target Wine and not Mono? The Mono standard library can do almost all of this. It's possible all of this MediaWiki C# code is really old, I don't know. I like C#, and making a polyglot project that builds on Microsoft Visual Studio and also Mono is usually really easy if it is pure C# and if you write just a few conditionals for the target platform (such as turning off WebBrowser in a graceful way, for AWB). I may have seen a Bing-related error that was also going to be hard to port. Fluoborate ( talk) 12:08, 22 June 2018 (UTC)
After several failed attempts to get AWB to run on Linux Mint 19.2 with Wine 5.2 installed (it crashed on start-up), I selected several extra components in Winetricks as a last-ditch effort. That got AWB up and running properly. Since I selected several in one go, I'm not sure exactly what is the bare minimum, but this is what I have currently, in a win32 (32-bit) prefix:
With all this installed, it finally succeeded to start AWB without it instantly crashing while the process bar was loading, with a zillion error messages in Terminal.
If this is useful, please put it into the main article (I don't want to step on any toes). If not, it can stand here so others can find it when they have similar start-up issues. Pangaearocks ( talk) 09:34, 20 February 2020 (UTC)