Compiling Audacity (2.1.2) with local help does not work

Hello,

I’m compiling Audacity with ASIO support and the local manual for quite some time now and it always worked fine.

Today I have tried to compile Audacity 2.1.2 with the local manual and got the following Error-Message:

23>------ Erstellen gestartet: Projekt: help, Konfiguration: Release Win32 ------
(23>------ Building started: Project: help, Configuration: Release Win32 ------)
23>  connection established to: manual.audacityteam.org
23>  Status 403 SORRY, but for performance reasons, HTTP clients that do not present a User-Agent are not permitted. Please, disable your browser security settings, or user-agent-blocking feature of your antivirus. This is a temporary measure the Audacity-Team is testing. Sorry for any inconvenience. accessing /man
23>     that shouldn't happen, but let's try again anyway.
23>     reconnecting...
23>  Status 403 SORRY, but for performance reasons, HTTP clients that do not present a User-Agent are not permitted. Please, disable your browser security settings, or user-agent-blocking feature of your antivirus. This is a temporary measure the Audacity-Team is testing. Sorry for any inconvenience. accessing /man
23>     that shouldn't happen, but let's try again anyway.
23>     reconnecting...
23>  Status 403 SORRY, but for performance reasons, HTTP clients that do not present a User-Agent are not permitted. Please, disable your browser security settings, or user-agent-blocking feature of your antivirus. This is a temporary measure the Audacity-Team is testing. Sorry for any inconvenience. accessing /man
23>     that shouldn't happen, but let's try again anyway.
23>     reconnecting...
23>  it was not possible to recover this error.
23>  connection to manual.audacityteam.org closed.
23>  0 files saved
23>  3 httplib requests done
23>  1 errors not recovered
23>  Das System kann die angegebene Datei nicht finden.
(23> The System was not able to find the specified file)
23>  Datei manual.audacityteam.org nicht gefunden
(23> File manual.audacityteam.org not found)
23>  0 Datei(en) kopiert
(23> 0 File(s) copied)
23>  Das System kann die angegebene Datei nicht finden.
(23> The System was not able to find the specified file)
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: Der Befehl "set SRC="C:\Prg\Audacity\Source\win\\..\help\manual"
(23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: The Command "set SRC="C:\Prg\Audacity\Source\win\\..\help\manual")
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set DEST="C:\Prg\Audacity\Source\win\Release\help\manual"
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: 
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: cd ..\..\..\scripts\mw2html_audacity
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: 
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: if EXIST %SRC% goto built
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: 
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: wiki2htm.bat
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: 
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: :built
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: 
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: xcopy /I /E /C /Y /Q %SRC% %DEST%
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: 
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: :VCEnd" wurde mit dem Code 2 beendet.
(23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: :VCEnd" was terminated with Code 2.)

In the brackets are the English translations for the German messages.

I’m using the following environment for compiling:

  • Windows 10 64bit (German version)
  • Microsoft Visual Studio Express 2013 for Windows Desktop (v 12.0.31101.00 Update 4, German version)
  • Python 2.7.11
  • wxWidgets 3.0.2

Maybe someone can tell me if the “Status 403” is really a “temporary measure the Audacity-Team is testing” or if there is something wrong with my environment. If I try to manually download the manual using the script wiki2htm.bat I get the same Status 403. Is there anything I can do about this problem?

My compile of Audacity 2.1.2 runs fine with the exception of the local Manual of course.

Thank you for your help!

Cheers,
Christian

This security precaution is likely to be made permanent.

Either compile Audacity HEAD rather than 2.1.2, or make these changes to scripts/mw2html_audacity/mw2html.py: https://github.com/audacity/audacity/commit/cfcb876.


Gale

Hello Gale,

I made the changes to the mw2htm.py script and it worked perfectly. Thank you for your quick reply!

If I understand you correctly, only Audacity version 2.1.2 and older will have issues with the mentioned security precaution?

Cheers
Christian

Correct.

Gale