Wikipedia talk:AutoWikiBrowser/Sources
Question
[edit]Which command line svn?--93.223.170.90 14:32, 12 August 2010 (UTC)
Compile source section out of date?
[edit]So I downloaded TortoiseSVN and downloaded the AWB source. Having problems compiling the source using SharpDeveloper because I'm having problems installing Microsoft Windows SDK for Windows 7 and .NET Framework 4. (Maybe because I don't have Visual Studio installed?)
So I thought I'd try the Microsoft Visual C# Express Edition instead, but I think the link is outdated. Could someone please check on the link? Thanks! GoingBatty (talk) 00:15, 26 May 2013 (UTC)
- Thanks to Bgwhite for updating these instructions! GoingBatty (talk) 23:59, 14 June 2013 (UTC)
Success!
[edit]Many thanks to Meno25 and Bgwhite for helping me navigate through my issues. Here are the steps I needed to go through to be successful in Windows 7:
- Followed the instructions to install the latest version of TortoiseSVN and got the sources just fine.
- Followed the instructions to install the latest version of SharpDevelop.
- SharpDevelop gave me an error about Windows SDK, so I downloaded it from here and installed.
- Installing Windows SDK gave me an error about .NET framework 4.5, so I downloaded from here and installed successfully.
- Installed Windows SDK successfully. The installation wizard gives options to download several components - it is enough to download the component about .NET framework.
- Ran SharpDevelop, clicked on File -> Open -> Project/Solution, and opened the "AutoWikiBrowser no plugins" solution file.
- Got an error on AWBWebBrowser.cs stating "Error loading code-completion information for Microsoft.mshtml from Microsoft.mshtml: Could not find assembly file."
- Here's where that "slight modification" comes in:
- On the left hand pane in SharpDevelop, I opened the "AutoWikiBrowser 'folder'" and double clicked on "AWBWebBrowser.cs" to open it up in the edit window.
- One line #2, I changed "using mshtml;" to "using MSHTML;" and saved the file.
- On the left pane again under the "AutoWikiBrowser 'folder'", the first folder is "References". Expanded it.
- The first item in the folder is Microsoft.mshtml in the title. I right clicked on it and deleted it.
- Right clicked on the "References" folder and clicked on "Add a reference". A new screen popped up.
- Clicked on the "COM" tab.
- Scrolled down to find "Microsoft HTML Object Library". Clicked on it, clicked the "Select" button and "OK".
- Under the "References" folder, a new line was now there called "MSHTML".
9. Compiled code and ignored errors.
10. Went to ...\AWB\AWB\bin\debug
and copied AutoWikiBrowser.exe, WikiFunctions.dll and Interop.mshtml.dll from the folder to where I run AWB from.
Hope this will help others - thanks again! GoingBatty (talk) 23:59, 14 June 2013 (UTC)
- @Magioladitis: I had the same problem,for a few months now on my W8. But I had to build the project using F9, and not build the solution using F8 as I would normaly do I didn't think of reading this talk page...either something should be fixed and this should be include on the instructions page. (t) Josve05a (c) 13:24, 10 November 2014 (UTC)
Download source section out-of-date?
[edit]Hi -- I am having trouble downloading the AutowikiBrowser source code. I am using http://svn.code.sf.net/p/autowikibrowser/code/AWB/ as the URL.
I get an "Unable to connect to a repository at URL" error.
Also I am having a problem registering WikiFunctions.dll -- Any help would be appreciated Sonofxavier (talk) 16:43, 24 January 2014 (UTC)
- @Sonofxavier: Which software are you using to download the AWB source code? GoingBatty (talk) 13:20, 27 January 2014 (UTC)
@GoingBatty: it was a poxy setting. I didn't set the network poxy in TortoiseSVN -- thanks for that. I have the code know. However I am having problems with registering the WikiFunctions.dll on my Vista machine. Thanks for you attention. — Preceding unsigned comment added by Sonofxavier (talk • contribs) 16:09, 27 January 2014 (UTC)
Problem getting started
[edit]Got sources with my SVN client fine. Won't compile. Tried lots of things. Every effort failed one way or another. Firefox 43, Win7 completely updated x64 system, .NET 4.5.1.
SharpDrop 5 and 3 both failed for different reasons to compile the code.
I followed the instructions and downloaded the latest SharpDp 5.1RC, and got
Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. (MSB3091)
Both "Sharp" 3 and 5 gave occasional errors "Can't read Microsoft Solution file format 13.00."
So I saw something that sounded like that .NET 4 might need the MS SDK, so I installed that because there was a link to it. The part about "may need to modify the AWB code" had no link, so I had to ignore it as "noise". I've tried running sharpie as root and chmod 777. Nothing helps. Best hope I have for sharpness is its earlier errors.
Tried installing the other, not-so-sharpDevelop, used the links to install Express C# and MS SDK, but got "pkg missing" errors, which failed to download from internet or retry local. After gigs of downloads and tons of files missing and errors, decided to go with the version of AWB that simply is like all other Wikipedia Gadgets, javaScript. Want to uninstall all the microsoft development software. After I canceled skipping all the "missing pkgs", got msg 4 of 151 components installed. I really was not paying much attention to all the SW installation, because I only wanted AWB.
I just wanted to get one batch run of 10,000 files edited, half with one error, half with another. Tried the no-install, javacript-only method by User:Joeytje50/AWB and was making the fixes within minutes. I probably won't be developing AWB or Microsoft applications any time soon, so the MediaWiki API and extension for AWB? It just needs something that can compile, and these instructions are either out of date, or out of touch. — CpiralCpiral 07:58, 25 December 2015 (UTC)
- If you just want to run AWB to edit pages you can download the pre-compiled executables. Or do you need to compile from source for another reason? Rjwilmsi 15:52, 25 December 2015 (UTC)
- Thank you, Rjwilmsi. No, I'll download the compiled version. I missed GoingBatty's slog with Meno25 and Bgwhite too. GoingBatty documented their compiling-of-sources success well, so it could be integrated to the current compiling-procedure. — CpiralCpiral 18:20, 25 December 2015 (UTC)
Requesting help with "AutoWikiBrowser no plugins" solution file
[edit]Today's my first day with a new hard drive. I have AWB working again on my Windows 10 machine, and I'm now trying to get the latest AWB SVN. I downloaded the latest version of TortoiseSVN and did the SVN check out, and then installed SharpDevelop 4.4.2. I can open AutoWikiBrowser.sln just fine, but when I try to open AutoWikiBrowser no plugins.sln I get an error stating: "Can't read Microsoft Solution file format 13.00." Any ideas? GoingBatty (talk) 17:05, 26 March 2016 (UTC)
- Edit solution file in notepad, change 13 to 12 in first lines of file. Rjwilmsi 17:43, 26 March 2016 (UTC)
- @Rjwilmsi: That worked - thanks! Now I get the same "Task failed because resgen.exe was not found..." error above for both solutions, even though I installed Windows Standalone SDK for Windows 10. Any suggestions? GoingBatty (talk) 01:44, 27 March 2016 (UTC)
About this page
[edit]Wikipedia:AutoWikiBrowser/Sources is almost identical with Wikipedia:AutoWikiBrowser/Technical. Maybe is necessary to merge these pages, including their talk pages that also are very similar. --XXN, 12:16, 2 April 2016 (UTC)
SharpDevelop archived
[edit]When I go to https://github.com/icsharpcode it appears that SharpDevelop is archived. Is there still an executable available, or do you no longer recommend this software, or something else? Thanks! GoingBatty (talk) 04:17, 25 January 2021 (UTC)