|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
What does "Script is outside ProTools repository." mean?
I am attempting to run the initial build script, using:
Code:
>python build_cpp_ptsl_sdk.py ptsl.client.cpp Debug Code:
Initializing CMake from the command: Code:
Access Denied You don't have permission to access "http://duc.avid.com/newthread.php?" on this server. This is, that during the running of the script, the output tells me: Code:
Script is outside ProTools repository. -When run in MINGW: Code:
getting dependencies '.venv' is not recognized as an internal or external command, operable program or batch file. Code:
getting dependencies The system cannot find the path specified. |
#2
|
||||
|
||||
Re: What does "Script is outside ProTools repository." mean?
It looks like there may be a problem setting up the SDK's virtual environment (.venv), either it has not been created at all or there is a problem with the file path that causes it to not be found.
Another possibility is that there could be an issue with the current working directory file path that causes the script to have problems setting its own paths. We have just released an updated version of the SDK, so I first recommend that you try the new version to see if it resolves this issue. If not, then try moving your copy of the SDK to a different location. If neither of those solve your problem then please respond here with a full log from the script as well as information about which SDK working directories you have tried. The "Script is outside ProTools repository" is a benign error, but in any case we have fixed that issue in the latest SDK update so it should no longer be a distraction. Best, Rob
__________________
Rob Majors Avid Software Engineering |
#3
|
|||
|
|||
Re: What does "Script is outside ProTools repository." mean?
The forum is not allowing me to post the entire output, as the forum seems to be not allowing certain character sequences to be posted. The forum responds with an "Access Denied" error.
I have written the question on a pastebin. https://pastebin.com/SMufdz10 |
#4
|
||||
|
||||
Re: What does "Script is outside ProTools repository." mean?
In the text you uploaded to pastebin it looks like you weren't running in a CMD shell. If that's correct, could you post a full log from a run within a CMD shell? There are known issues running the build script from within other shells on Windows currently.
|
#5
|
|||
|
|||
Re: What does "Script is outside ProTools repository." mean?
Thanks for your reply!
I made sure to run it in Windows CMD Shell under Administrator. This is the output I received. https://pastebin.com/xdrc3dSY |
#6
|
||||
|
||||
Re: What does "Script is outside ProTools repository." mean?
From what I'm seeing virtual environment doesn't download all needed dependencies from PyPi(Conan and CMake), it only gets standard setuptools and pip(line 17 at your link). Is your requirements.txt files at it's place? It should be at Config/requirements.txt. Another thing to try is to manually delete your Conan cache, which is located at usr/.conan/data. Let us know if this helps, or if you need any other assistance!
Thanks! |
#7
|
|||
|
|||
Re: What does "Script is outside ProTools repository." mean?
The install requirements doesn't get called until line 46 of the setup file. That appears to be after the "Installing collected packages: setuptools, pip" line.
Code:
def call_script(command, cwd): print(f"Initializing CMake from the command: {command},\ngetting dependencies") if platform.system() == "Windows": cmd = f"{os.path.join('.venv', 'Scripts', 'activate.bat')} && pip install -r requirements.txt && {' '.join(command)}" elif platform.system() == "Darwin": cmd = f"source .venv/bin/activate && pip install -r requirements.txt && {' '.join(command)}" subprocess.Popen(cmd, cwd=cwd, shell=True).wait() Code:
pip list Code:
pip install -r requirements.txt Code:
conan remove * |
#8
|
||||
|
||||
Re: What does "Script is outside ProTools repository." mean?
If you have already installed requirements.txt into your base Python env manually, and not in the virtual environment, I can suggest you try and remove this:
Code:
{os.path.join('.venv', 'Scripts', 'activate.bat')} && pip install -r requirements.txt && Code:
cmd = f"{' '.join(command)}" |
#9
|
|||
|
|||
Re: What does "Script is outside ProTools repository." mean?
That worked! Well almost -- I had to upgrade conan to 1.55 from 1.54, but after that, everything went well.
Thanks. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A script for "Show/hide automation lanes" ? | liquidshock | Tips & Tricks | 3 | 01-17-2022 04:23 PM |
AutoHotKey Script for "Cut Time..."/"Insert Time" | SquishTurner | Windows | 1 | 11-12-2019 09:50 AM |
"Digidesign Midi I/О" in "ProTools 10HD" in "OSX Maverics" | electra1006 | MIDI | 0 | 06-18-2018 05:46 AM |
I can't install Pro Tools 8. Freezes during "installations script" | lray-spring | 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Mac) | 1 | 06-29-2009 02:59 PM |
McDSP Revolver - Quickeys "Import Foreign IRs Script" | Acousticas | Pro Tools TDM Systems (Mac) | 0 | 03-15-2009 07:01 AM |