Created
December 9, 2023 10:49
-
-
Save SerKnight/f8f12d69b8dfbbded9b7966ea3d03c31 to your computer and use it in GitHub Desktop.
macOS OpenAdaptAI install script - debug log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/OpenAdaptAI/OpenAdapt/HEAD/install/install_openadapt.sh)" | |
+ pythonCmd=python3.10 | |
+ pythonVerStr='Python 3.10*' | |
+ pythonInstallerLoc=https://www.python.org/ftp/python/3.10.11/python-3.10.11-macos11.pkg | |
+ BRANCH=main | |
+ REPO=OpenAdaptAI/OpenAdapt.git | |
+ REPO_URL=https://github.com/OpenAdaptAI/OpenAdapt.git | |
+ CheckCMDExists brew | |
+ command=brew | |
+ command -v brew | |
+ return 0 | |
+ CheckCMDExists git | |
+ command=git | |
+ command -v git | |
+ return 0 | |
+ CheckCMDExists tesseract | |
+ command=tesseract | |
+ command -v tesseract | |
+ return 0 | |
+ CheckPythonExists | |
+ CheckCMDExists python3.10 | |
+ command=python3.10 | |
+ command -v python3.10 | |
+ return 0 | |
+ return | |
+ '[' -d OpenAdapt ']' | |
+ RunAndCheck 'git clone https://github.com/OpenAdaptAI/OpenAdapt.git' 'Clone git repo' | |
+ git clone https://github.com/OpenAdaptAI/OpenAdapt.git | |
Cloning into 'OpenAdapt'... | |
remote: Enumerating objects: 4424, done. | |
remote: Counting objects: 100% (519/519), done. | |
remote: Compressing objects: 100% (345/345), done. | |
remote: Total 4424 (delta 279), reused 356 (delta 171), pack-reused 3905 | |
Receiving objects: 100% (4424/4424), 25.77 MiB | 20.99 MiB/s, done. | |
Resolving deltas: 100% (2793/2793), done. | |
+ echo 'Success: Clone git repo' | |
Success: Clone git repo | |
+ cd OpenAdapt | |
+ RunAndCheck 'git checkout main' 'Checkout branch main' | |
+ git checkout main | |
Already on 'main' | |
Your branch is up to date with 'origin/main'. | |
+ echo 'Success: Checkout branch main' | |
Success: Checkout branch main | |
+ RunAndCheck 'pip3.10 install poetry' 'Install Poetry' | |
+ pip3.10 install poetry | |
Requirement already satisfied: poetry in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (1.7.1) | |
Requirement already satisfied: packaging>=20.5 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (23.2) | |
Requirement already satisfied: cachecontrol[filecache]<0.14.0,>=0.13.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (0.13.1) | |
Requirement already satisfied: cleo<3.0.0,>=2.1.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (2.1.0) | |
Requirement already satisfied: virtualenv<21.0.0,>=20.23.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (20.25.0) | |
Requirement already satisfied: poetry-core==1.8.1 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (1.8.1) | |
Requirement already satisfied: fastjsonschema<3.0.0,>=2.18.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (2.19.0) | |
Requirement already satisfied: pexpect<5.0.0,>=4.7.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (4.9.0) | |
Requirement already satisfied: requests<3.0,>=2.26 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (2.31.0) | |
Requirement already satisfied: platformdirs<4.0.0,>=3.0.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (3.11.0) | |
Requirement already satisfied: shellingham<2.0,>=1.5 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (1.5.4) | |
Requirement already satisfied: xattr<0.11.0,>=0.10.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (0.10.1) | |
Requirement already satisfied: tomli<3.0.0,>=2.0.1 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (2.0.1) | |
Requirement already satisfied: trove-classifiers>=2022.5.19 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (2023.11.29) | |
Requirement already satisfied: installer<0.8.0,>=0.7.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (0.7.0) | |
Requirement already satisfied: crashtest<0.5.0,>=0.4.1 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (0.4.1) | |
Requirement already satisfied: pyproject-hooks<2.0.0,>=1.0.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (1.0.0) | |
Requirement already satisfied: tomlkit<1.0.0,>=0.11.4 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (0.12.3) | |
Requirement already satisfied: dulwich<0.22.0,>=0.21.2 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (0.21.7) | |
Requirement already satisfied: pkginfo<2.0.0,>=1.9.4 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (1.9.6) | |
Requirement already satisfied: build<2.0.0,>=1.0.3 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (1.0.3) | |
Requirement already satisfied: keyring<25.0.0,>=24.0.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (24.3.0) | |
Requirement already satisfied: poetry-plugin-export<2.0.0,>=1.6.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (1.6.0) | |
Requirement already satisfied: requests-toolbelt<2,>=0.9.1 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from poetry) (1.0.0) | |
Requirement already satisfied: msgpack>=0.5.2 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from cachecontrol[filecache]<0.14.0,>=0.13.0->poetry) (1.0.7) | |
Requirement already satisfied: filelock>=3.8.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from cachecontrol[filecache]<0.14.0,>=0.13.0->poetry) (3.13.1) | |
Requirement already satisfied: rapidfuzz<4.0.0,>=3.0.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from cleo<3.0.0,>=2.1.0->poetry) (3.5.2) | |
Requirement already satisfied: urllib3>=1.25 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from dulwich<0.22.0,>=0.21.2->poetry) (2.1.0) | |
Requirement already satisfied: jaraco.classes in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from keyring<25.0.0,>=24.0.0->poetry) (3.3.0) | |
Requirement already satisfied: importlib-metadata>=4.11.4 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from keyring<25.0.0,>=24.0.0->poetry) (7.0.0) | |
Requirement already satisfied: ptyprocess>=0.5 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from pexpect<5.0.0,>=4.7.0->poetry) (0.7.0) | |
Requirement already satisfied: idna<4,>=2.5 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from requests<3.0,>=2.26->poetry) (3.6) | |
Requirement already satisfied: certifi>=2017.4.17 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from requests<3.0,>=2.26->poetry) (2023.11.17) | |
Requirement already satisfied: charset-normalizer<4,>=2 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from requests<3.0,>=2.26->poetry) (3.3.2) | |
Requirement already satisfied: distlib<1,>=0.3.7 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from virtualenv<21.0.0,>=20.23.0->poetry) (0.3.7) | |
Requirement already satisfied: cffi>=1.0 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from xattr<0.11.0,>=0.10.0->poetry) (1.16.0) | |
Requirement already satisfied: pycparser in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from cffi>=1.0->xattr<0.11.0,>=0.10.0->poetry) (2.21) | |
Requirement already satisfied: zipp>=0.5 in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from importlib-metadata>=4.11.4->keyring<25.0.0,>=24.0.0->poetry) (3.17.0) | |
Requirement already satisfied: more-itertools in /Users/christopherknight/.asdf/installs/python/3.10.13/lib/python3.10/site-packages (from jaraco.classes->keyring<25.0.0,>=24.0.0->poetry) (10.1.0) | |
[notice] A new release of pip is available: 23.0.1 -> 23.3.1 | |
[notice] To update, run: pip3 install --upgrade pip | |
+ echo 'Success: Install Poetry' | |
Success: Install Poetry | |
+ RunAndCheck 'poetry install' 'Install Python dependencies' | |
+ poetry install | |
Installing dependencies from lock file | |
No dependencies to install or update | |
Installing the current project: openadapt (0.15.0) | |
+ echo 'Success: Install Python dependencies' | |
Success: Install Python dependencies | |
+ RunAndCheck 'poetry run alembic upgrade head' 'Update database' | |
+ poetry run alembic upgrade head | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - STOP_STRS=['oa.stop'] | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - SPECIAL_CHAR_STOP_SEQUENCES=[['ctrl', 'ctrl', 'ctrl']] | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - STOP_SEQUENCES=[['o', 'a', '.', 's', 't', 'o', 'p'], ['ctrl', 'ctrl', 'ctrl']] | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - ENV_FILE_PATH=.env | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - CACHE_DIR_PATH=.cache | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - CACHE_ENABLED=True | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - CACHE_VERBOSITY=0 | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - DB_ECHO=False | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - DB_FNAME=openadapt.db | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - ERROR_REPORTING_ENABLED=True | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - ERROR_REPORTING_DSN=https://[email protected]/3798 | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - ERROR_REPORTING_BRANCH=main | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - OPENAI_API_KEY=<set your api key in .env> | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - OPENAI_MODEL_NAME=gpt-3.5-turbo | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - RECORD_READ_ACTIVE_ELEMENT_STATE=False | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - REPLAY_STRIP_ELEMENT_STATE=True | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - IGNORE_WARNINGS=False | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - MAX_NUM_WARNINGS_PER_SECOND=5 | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - WARNING_SUPPRESSION_PERIOD=1 | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - MESSAGES_TO_FILTER=['Cannot pickle Objective-C objects'] | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - ACTION_TEXT_SEP=- | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - ACTION_TEXT_NAME_PREFIX=< | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - ACTION_TEXT_NAME_SUFFIX=> | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - PLOT_PERFORMANCE=True | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - CAPTURE_DIR_PATH=captures | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - APP_DARK_MODE=False | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - SCRUB_ENABLED=False | |
2023-12-09 03:49:14.889 | INFO | openadapt.config:<module>:233 - SCRUB_CHAR=* | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - SCRUB_LANGUAGE=en | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - SCRUB_FILL_COLOR=255 | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - SCRUB_CONFIG_TRF={'nlp_engine_name': 'spacy', 'models': [{'lang_code': 'en', 'model_name': 'en_core_web_trf'}]} | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - SCRUB_PRESIDIO_IGNORE_ENTITIES=[] | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - SCRUB_KEYS_HTML=['text', 'canonical_text', 'title', 'state', 'task_description', 'key_char', 'canonical_key_char', 'key_vk', 'children'] | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - VISUALIZE_DARK_MODE=False | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - VISUALIZE_RUN_NATIVELY=True | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - VISUALIZE_DENSE_TREES=True | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - VISUALIZE_ANIMATIONS=True | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - VISUALIZE_EXPAND_ALL=False | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - VISUALIZE_MAX_TABLE_CHILDREN=10 | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - SAVE_SCREENSHOT_DIFF=False | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - SPACY_MODEL_NAME=en_core_web_trf | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - PRIVATE_AI_API_KEY=<set your api key in .env> | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - ROOT_DIRPATH=/Users/christopherknight/code/personal/OpenAdapt | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - DB_FPATH=/Users/christopherknight/code/personal/OpenAdapt/openadapt.db | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - DB_URL=sqlite:////Users/christopherknight/code/personal/OpenAdapt/openadapt.db | |
2023-12-09 03:49:14.890 | INFO | openadapt.config:<module>:233 - DIRNAME_PERFORMANCE_PLOTS=performance | |
2023-12-09 03:49:14.892 | INFO | openadapt.config:<module>:237 - active_branch_name='main' | |
2023-12-09 03:49:14.892 | INFO | openadapt.config:<module>:239 - is_reporting_branch=True | |
DB_URL=sqlite:////Users/christopherknight/code/personal/OpenAdapt/openadapt.db | |
INFO [alembic.runtime.migration] Context impl SQLiteImpl. | |
INFO [alembic.runtime.migration] Will assume non-transactional DDL. | |
/bin/bash: line 29: 5125 Killed: 9 $1 | |
+ echo 'Failed: Update database' | |
Failed: Update database | |
+ Cleanup | |
+ '[' -d ../OpenAdapt ']' | |
+ cd .. | |
+ rm -rf OpenAdapt | |
+ echo 'Deleted OpenAdapt directory' | |
Deleted OpenAdapt directory | |
+ exit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment