Giter Site home page Giter Site logo

autotab-starter's People

Contributors

alexi avatar jonasalexander avatar jsteel2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autotab-starter's Issues

ModuleNotFoundError: 'distutils' on M1 following `make install`

I followed the install steps in the readme which all seem to have worked, but when I run autotab I get a ModuleNotFoundError.

I'm using Python 3.12.0 on an M1 MacBook Pro.

Edit: after looking into this, I found that distutils was deprecated in 3.12 so you'll need to upgrade from this in the future

https://docs.python.org/3.12/whatsnew/3.12.html
https://peps.python.org/pep-0632/#migration-advice

Error:

(.venv) edd@mbp autotab-starter % autotab     
Traceback (most recent call last):
  File "/Users/edd/Github/autotab-starter/.venv/bin/autotab", line 5, in <module>
    from main import main
  File "/Users/edd/Github/autotab-starter/src/main.py", line 4, in <module>
    from record import record
  File "/Users/edd/Github/autotab-starter/src/record.py", line 5, in <module>
    from utils.driver import get_driver
  File "/Users/edd/Github/autotab-starter/src/utils/driver.py", line 7, in <module>
    import undetected_chromedriver as uc  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/edd/Github/autotab-starter/.venv/lib/python3.12/site-packages/undetected_chromedriver/__init__.py", line 44, in <module>
    from .patcher import IS_POSIX
  File "/Users/edd/Github/autotab-starter/.venv/lib/python3.12/site-packages/undetected_chromedriver/patcher.py", line 4, in <module>
    from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'

Output of make install:

[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
Obtaining file:///Users/edd/Github/autotab-starter
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Building wheels for collected packages: autotab
  Building editable for autotab (pyproject.toml) ... done
  Created wheel for autotab: filename=autotab-0.1.0-0.editable-py3-none-any.whl size=2291 sha256=282f066c93c1d32085a9621c33c9289f6acd54b028fc880d4bfcd5b2c30df8a6
  Stored in directory: /private/var/folders/fp/8cvg04y578x5ry20n5zb4qr00000gn/T/pip-ephem-wheel-cache-w0z8aya5/wheels/b8/8d/e6/dadf5177bedff7e81ed486fbb2e9bb60f88de4b1f2428391fc
Successfully built autotab
Installing collected packages: autotab
  Attempting uninstall: autotab
    Found existing installation: autotab 0.1.0
    Uninstalling autotab-0.1.0:
      Successfully uninstalled autotab-0.1.0
Successfully installed autotab-0.1.0

[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip

Failing to authenticate on "Couldn't sign you in".

Hi - I've followed the docs, and after running autotab record on Mac I get the following.
image

  • I've tried both adding creds in the yaml and omitting them. No change.
  • Javascript is enabled.

Am I missing something?

Server error: 401

I've just installed it - disabled record_mode (as per here).

Any action I do, seemingly regardless the url, results in Server error: 401 in the sidebar.
Is there any way I should debug further?

LE: console gives me:
../autotab-starter/src/record.py(27)record()->None

AttributeError: module 'main' has no attribute 'main'

After following Quickstart guide, here is what I get trying to run autotab record.

autotab record
Traceback (most recent call last):
  File "/usr/local/bin/autotab", line 33, in <module>
    sys.exit(load_entry_point('autotab', 'console_scripts', 'autotab')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/autotab", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/metadata/__init__.py", line 204, in load
    return functools.reduce(getattr, attrs, module)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'main' has no attribute 'main'

Docker + Browserless ?

Hello there, this project is a very neat idea and i think has great potential for automating tasks, beyond testing too !

Any plans for containerizing this and using and embedded (container) browser or browserless or etc ?
Browserless might even add the benefit of abstracting away multiple browser support for you ?

For repeatable testing, a container based solution would be a necessity and using the generated files to performing the actions will be a easy way to get the most out of repeatability and scalability. Also removes complexities related to users individual set-up

Couldn't run on Mac M1

Couldn't run this on M1 computer. I know this is not the issue of your product but rather dependencies. But FYI, it was a blocker for me since i'm not a Python developer, and couldn't solve that quickly.

I followed Quickstart section and on autotab record I got the following error:

/Users/pavel/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
Traceback (most recent call last):
  File "/Users/pavel/Library/Python/3.9/bin/autotab", line 33, in <module>
    sys.exit(load_entry_point('autotab', 'console_scripts', 'autotab')())
  File "/Users/pavel/Library/Python/3.9/bin/autotab", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/Users/pavel/projects/autotab-starter/src/main.py", line 4, in <module>
    from record import record
  File "/Users/pavel/projects/autotab-starter/src/record.py", line 8, in <module>
    from mirror.mirror import mirror
  File "/Users/pavel/projects/autotab-starter/src/mirror/mirror.py", line 7, in <module>
    from server.server import run_server
  File "/Users/pavel/projects/autotab-starter/src/server/server.py", line 13, in <module>
    class Session(BaseModel):
  File "/Users/pavel/projects/autotab-starter/src/server/server.py", line 61, in Session
    def run(self, code: str | List[str]):
TypeError: unsupported operand type(s) for |: 'type' and '_GenericAlias'

Couldn't install on Linux properly

What am I doing wrong here? Please help if possible

lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ 
lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ poetry shell
Creating virtualenv autotab-starter-TsNpBWR3-py3.10 in /home/lovestaco/.cache/pypoetry/virtualenvs
Spawning shell within /home/lovestaco/.cache/pypoetry/virtualenvs/autotab-starter-TsNpBWR3-py3.10
. /home/lovestaco/.cache/pypoetry/virtualenvs/autotab-starter-TsNpBWR3-py3.10/bin/activate
lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ . /home/lovestaco/.cache/pypoetry/virtualenvs/autotab-starter-TsNpBWR3-py3.10/bin/activate
(autotab-starter-py3.10) lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ make install
python3 -m pip install -r requirements.txt &&\
python3 -m pip install -r requirements-dev.txt &&\
python3 -m pip install -e .
Collecting selenium==4.9.* (from -r requirements.txt (line 1))
  Downloading selenium-4.9.1-py3-none-any.whl (6.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 3.5 MB/s eta 0:00:00
Collecting beautifulsoup4==4.12.2 (from -r requirements.txt (line 2))
  Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting python-dotenv==1.0.* (from -r requirements.txt (line 3))
  Downloading python_dotenv-1.0.0-py3-none-any.whl (19 kB)
Collecting requests==2.31.* (from -r requirements.txt (line 4))
  Obtaining dependency information for requests==2.31.* from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata
  Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting pyyaml==6.0.* (from -r requirements.txt (line 5))
  Obtaining dependency information for pyyaml==6.0.* from https://files.pythonhosted.org/packages/29/61/bf33c6c85c55bc45a29eee3195848ff2d518d84735eb0e2d8cb42e0d285e/PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting pyvirtualdisplay==3.0 (from -r requirements.txt (line 6))
  Downloading PyVirtualDisplay-3.0-py3-none-any.whl (15 kB)
Collecting pydantic==2.4.* (from -r requirements.txt (line 7))
  Obtaining dependency information for pydantic==2.4.* from https://files.pythonhosted.org/packages/73/66/0a72c9fcde42e5650c8d8d5c5c1873b9a3893018020c77ca8eb62708b923/pydantic-2.4.2-py3-none-any.whl.metadata
  Downloading pydantic-2.4.2-py3-none-any.whl.metadata (158 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.6/158.6 kB 3.1 MB/s eta 0:00:00
Collecting pyautogui==0.9.* (from -r requirements.txt (line 8))
  Downloading PyAutoGUI-0.9.54.tar.gz (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 2.1 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting urllib3[socks]<3,>=1.26 (from selenium==4.9.*->-r requirements.txt (line 1))
  Obtaining dependency information for urllib3[socks]<3,>=1.26 from https://files.pythonhosted.org/packages/d2/b2/b157855192a68541a91ba7b2bbcb91f1b4faa51f8bae38d8005c034be524/urllib3-2.0.7-py3-none-any.whl.metadata
  Downloading urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
Collecting trio~=0.17 (from selenium==4.9.*->-r requirements.txt (line 1))
  Obtaining dependency information for trio~=0.17 from https://files.pythonhosted.org/packages/a3/dd/b61fa61b186d3267ef3903048fbee29132963ae762fb70b08d4a3cd6f7aa/trio-0.22.2-py3-none-any.whl.metadata
  Downloading trio-0.22.2-py3-none-any.whl.metadata (4.7 kB)
Collecting trio-websocket~=0.9 (from selenium==4.9.*->-r requirements.txt (line 1))
  Obtaining dependency information for trio-websocket~=0.9 from https://files.pythonhosted.org/packages/48/be/a9ae5f50cad5b6f85bd2574c2c923730098530096e170c1ce7452394d7aa/trio_websocket-0.11.1-py3-none-any.whl.metadata
  Downloading trio_websocket-0.11.1-py3-none-any.whl.metadata (4.7 kB)
Collecting certifi>=2021.10.8 (from selenium==4.9.*->-r requirements.txt (line 1))
  Obtaining dependency information for certifi>=2021.10.8 from https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl.metadata
  Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting soupsieve>1.2 (from beautifulsoup4==4.12.2->-r requirements.txt (line 2))
  Obtaining dependency information for soupsieve>1.2 from https://files.pythonhosted.org/packages/4c/f3/038b302fdfbe3be7da016777069f26ceefe11a681055ea1f7817546508e3/soupsieve-2.5-py3-none-any.whl.metadata
  Downloading soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB)
Collecting charset-normalizer<4,>=2 (from requests==2.31.*->-r requirements.txt (line 4))
  Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/5d/42/9d11cb5f3326501d7e913d2581a4e3b237ef7ee3e121b2faa89c1676125b/charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Using cached charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (32 kB)
Collecting idna<4,>=2.5 (from requests==2.31.*->-r requirements.txt (line 4))
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting annotated-types>=0.4.0 (from pydantic==2.4.*->-r requirements.txt (line 7))
  Obtaining dependency information for annotated-types>=0.4.0 from https://files.pythonhosted.org/packages/28/78/d31230046e58c207284c6b2c4e8d96e6d3cb4e52354721b944d3e1ee4aa5/annotated_types-0.6.0-py3-none-any.whl.metadata
  Downloading annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB)
Collecting pydantic-core==2.10.1 (from pydantic==2.4.*->-r requirements.txt (line 7))
  Obtaining dependency information for pydantic-core==2.10.1 from https://files.pythonhosted.org/packages/86/67/d36e2237d84ac96f400e29586da1e21eabf9aa227fc9c3e4410fbc6408de/pydantic_core-2.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading pydantic_core-2.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.5 kB)
Collecting typing-extensions>=4.6.1 (from pydantic==2.4.*->-r requirements.txt (line 7))
  Obtaining dependency information for typing-extensions>=4.6.1 from https://files.pythonhosted.org/packages/24/21/7d397a4b7934ff4028987914ac1044d3b7d52712f30e2ac7a2ae5bc86dd0/typing_extensions-4.8.0-py3-none-any.whl.metadata
  Downloading typing_extensions-4.8.0-py3-none-any.whl.metadata (3.0 kB)
Collecting pymsgbox (from pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading PyMsgBox-1.0.9.tar.gz (18 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pytweening>=1.0.4 (from pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading pytweening-1.0.7.tar.gz (168 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.2/168.2 kB 4.4 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting pyscreeze>=0.1.21 (from pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading PyScreeze-0.1.29.tar.gz (25 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pygetwindow>=0.0.5 (from pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading PyGetWindow-0.0.9.tar.gz (9.7 kB)
  Preparing metadata (setup.py) ... done
Collecting mouseinfo (from pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading MouseInfo-0.1.3.tar.gz (10 kB)
  Preparing metadata (setup.py) ... done
Collecting python3-Xlib (from pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading python3-xlib-0.15.tar.gz (132 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.8/132.8 kB 2.3 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting pyrect (from pygetwindow>=0.0.5->pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading PyRect-0.2.0.tar.gz (17 kB)
  Preparing metadata (setup.py) ... done
Collecting pyscreenshot (from pyscreeze>=0.1.21->pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading pyscreenshot-3.1-py3-none-any.whl (28 kB)
Collecting Pillow>=9.2.0 (from pyscreeze>=0.1.21->pyautogui==0.9.*->-r requirements.txt (line 8))
  Obtaining dependency information for Pillow>=9.2.0 from https://files.pythonhosted.org/packages/e5/b9/5c6ad3241f1ccca4b781dfeddbab2dac4480f95aedc351a0e60c9f4c8aa9/Pillow-10.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.metadata
  Downloading Pillow-10.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (9.5 kB)
Collecting attrs>=20.1.0 (from trio~=0.17->selenium==4.9.*->-r requirements.txt (line 1))
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting sortedcontainers (from trio~=0.17->selenium==4.9.*->-r requirements.txt (line 1))
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting outcome (from trio~=0.17->selenium==4.9.*->-r requirements.txt (line 1))
  Obtaining dependency information for outcome from https://files.pythonhosted.org/packages/fa/63/0807d3bc1742adffd2bac458829f3f71ce3aa29bec44a8ac008aed2b467c/outcome-1.3.0-py2.py3-none-any.whl.metadata
  Downloading outcome-1.3.0-py2.py3-none-any.whl.metadata (2.4 kB)
Collecting sniffio (from trio~=0.17->selenium==4.9.*->-r requirements.txt (line 1))
  Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting exceptiongroup>=1.0.0rc9 (from trio~=0.17->selenium==4.9.*->-r requirements.txt (line 1))
  Obtaining dependency information for exceptiongroup>=1.0.0rc9 from https://files.pythonhosted.org/packages/ad/83/b71e58666f156a39fb29417e4c8ca4bc7400c0dd4ed9e8842ab54dc8c344/exceptiongroup-1.1.3-py3-none-any.whl.metadata
  Downloading exceptiongroup-1.1.3-py3-none-any.whl.metadata (6.1 kB)
Collecting wsproto>=0.14 (from trio-websocket~=0.9->selenium==4.9.*->-r requirements.txt (line 1))
  Downloading wsproto-1.2.0-py3-none-any.whl (24 kB)
Collecting pysocks!=1.5.7,<2.0,>=1.5.6 (from urllib3[socks]<3,>=1.26->selenium==4.9.*->-r requirements.txt (line 1))
  Downloading PySocks-1.7.1-py3-none-any.whl (16 kB)
Collecting pyperclip (from mouseinfo->pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading pyperclip-1.8.2.tar.gz (20 kB)
  Preparing metadata (setup.py) ... done
Collecting h11<1,>=0.9.0 (from wsproto>=0.14->trio-websocket~=0.9->selenium==4.9.*->-r requirements.txt (line 1))
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 2.3 MB/s eta 0:00:00
Collecting EasyProcess (from pyscreenshot->pyscreeze>=0.1.21->pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading EasyProcess-1.1-py3-none-any.whl (8.7 kB)
Collecting entrypoint2 (from pyscreenshot->pyscreeze>=0.1.21->pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading entrypoint2-1.1-py2.py3-none-any.whl (9.9 kB)
Collecting mss (from pyscreenshot->pyscreeze>=0.1.21->pyautogui==0.9.*->-r requirements.txt (line 8))
  Downloading mss-9.0.1-py3-none-any.whl (22 kB)
Collecting jeepney (from pyscreenshot->pyscreeze>=0.1.21->pyautogui==0.9.*->-r requirements.txt (line 8))
  Using cached jeepney-0.8.0-py3-none-any.whl (48 kB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.5/705.5 kB 3.3 MB/s eta 0:00:00
Downloading pydantic-2.4.2-py3-none-any.whl (395 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 395.8/395.8 kB 2.9 MB/s eta 0:00:00
Downloading pydantic_core-2.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 3.2 MB/s eta 0:00:00
Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB)
Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Using cached charset_normalizer-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (138 kB)
Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
Downloading trio-0.22.2-py3-none-any.whl (400 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 400.2/400.2 kB 3.5 MB/s eta 0:00:00
Downloading trio_websocket-0.11.1-py3-none-any.whl (17 kB)
Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 2.6 MB/s eta 0:00:00
Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Downloading Pillow-10.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 3.5 MB/s eta 0:00:00
Downloading outcome-1.3.0-py2.py3-none-any.whl (10 kB)
Building wheels for collected packages: pyautogui, pygetwindow, pyscreeze, pytweening, mouseinfo, pymsgbox, python3-Xlib, pyperclip, pyrect
  Building wheel for pyautogui (pyproject.toml) ... done
  Created wheel for pyautogui: filename=PyAutoGUI-0.9.54-py3-none-any.whl size=37578 sha256=b07da0c48e7025f6fecf4e85416086322c361aaa982b4e8cd0284ab3010189b5
  Stored in directory: /home/lovestaco/.cache/pip/wheels/23/a7/1c/5a51aaff3bbe110be4ddf766d429cc9d2fae7a72fc1b843e56
  Building wheel for pygetwindow (setup.py) ... done
  Created wheel for pygetwindow: filename=PyGetWindow-0.0.9-py3-none-any.whl size=11064 sha256=3920bf7c0ac1be56c6b5072647dfe12042a00d9989e8b6eddf0645021459585f
  Stored in directory: /home/lovestaco/.cache/pip/wheels/02/f6/64/c5d427819f80553df2398bfecc351e94e00371c1dcb6edb24e
  Building wheel for pyscreeze (pyproject.toml) ... done
  Created wheel for pyscreeze: filename=PyScreeze-0.1.29-py3-none-any.whl size=13466 sha256=35a03969b01e19f2817293602d7b9a8f1febc8034ea59ab376c8303b04d5ffb4
  Stored in directory: /home/lovestaco/.cache/pip/wheels/43/aa/46/e91ba85339451aeec47733e4038d7ed73c0b4b633c6270a2ba
  Building wheel for pytweening (setup.py) ... done
  Created wheel for pytweening: filename=pytweening-1.0.7-py3-none-any.whl size=6197 sha256=ed9b7178300179e00374772340fd7444c0896cd2d3436cfcae268f2d8c1d7636
  Stored in directory: /home/lovestaco/.cache/pip/wheels/ae/a3/d7/36c45539416215425b3247e37b691a98a03b1db7b13b7f9632
  Building wheel for mouseinfo (setup.py) ... done
  Created wheel for mouseinfo: filename=MouseInfo-0.1.3-py3-none-any.whl size=10890 sha256=47ce66b0fe73815b5f3f6e78aef4006c0e3313b8e3a9a802caad2b619fa57833
  Stored in directory: /home/lovestaco/.cache/pip/wheels/6e/d5/27/2f1be84b3e6ccee99c82f50e3fe7fe6360dd30417109b49a72
  Building wheel for pymsgbox (pyproject.toml) ... done
  Created wheel for pymsgbox: filename=PyMsgBox-1.0.9-py3-none-any.whl size=7406 sha256=f66a14d2b2f8020c5c7e2b73b54f92f4c26334893cdcba1d082b103adcac15eb
  Stored in directory: /home/lovestaco/.cache/pip/wheels/b9/6a/ba/be2d7d78166ec8018c21d07241dffa54446c09652a267759ae
  Building wheel for python3-Xlib (setup.py) ... done
  Created wheel for python3-Xlib: filename=python3_xlib-0.15-py3-none-any.whl size=109501 sha256=b7a0fa93ac2a9f480fd01fa649449ee78a516406d6dba6408c4e7738f66feecf
  Stored in directory: /home/lovestaco/.cache/pip/wheels/9c/8e/c5/8a93a3415a4a2065f31750a3244db61482b9e508f04ee56e82
  Building wheel for pyperclip (setup.py) ... done
  Created wheel for pyperclip: filename=pyperclip-1.8.2-py3-none-any.whl size=11125 sha256=eefaae37ec1ee08b7a87ad30206233ff74679ced2534c0c02b0615a1167d67e7
  Stored in directory: /home/lovestaco/.cache/pip/wheels/04/24/fe/140a94a7f1036003ede94579e6b4227fe96c840c6f4dcbe307
  Building wheel for pyrect (setup.py) ... done
  Created wheel for pyrect: filename=PyRect-0.2.0-py2.py3-none-any.whl size=11179 sha256=8de6c70e2e3026582cd0192980d6fcbeec62afdfc586e13f2ba18cfce0aa81b2
  Stored in directory: /home/lovestaco/.cache/pip/wheels/d5/4c/bd/42e4e23641afcd185d4e932784da37e6e04505da0cf3f7b832
Successfully built pyautogui pygetwindow pyscreeze pytweening mouseinfo pymsgbox python3-Xlib pyperclip pyrect
Installing collected packages: sortedcontainers, pyvirtualdisplay, pytweening, python3-Xlib, pyrect, pyperclip, pymsgbox, entrypoint2, EasyProcess, urllib3, typing-extensions, soupsieve, sniffio, pyyaml, python-dotenv, pysocks, pygetwindow, Pillow, mss, mouseinfo, jeepney, idna, h11, exceptiongroup, charset-normalizer, certifi, attrs, annotated-types, wsproto, requests, pyscreenshot, pydantic-core, outcome, beautifulsoup4, trio, pyscreeze, pydantic, trio-websocket, pyautogui, selenium
Successfully installed EasyProcess-1.1 Pillow-10.1.0 annotated-types-0.6.0 attrs-23.1.0 beautifulsoup4-4.12.2 certifi-2023.7.22 charset-normalizer-3.3.0 entrypoint2-1.1 exceptiongroup-1.1.3 h11-0.14.0 idna-3.4 jeepney-0.8.0 mouseinfo-0.1.3 mss-9.0.1 outcome-1.3.0 pyautogui-0.9.54 pydantic-2.4.2 pydantic-core-2.10.1 pygetwindow-0.0.9 pymsgbox-1.0.9 pyperclip-1.8.2 pyrect-0.2.0 pyscreenshot-3.1 pyscreeze-0.1.29 pysocks-1.7.1 python-dotenv-1.0.0 python3-Xlib-0.15 pytweening-1.0.7 pyvirtualdisplay-3.0 pyyaml-6.0.1 requests-2.31.0 selenium-4.9.1 sniffio-1.3.0 sortedcontainers-2.4.0 soupsieve-2.5 trio-0.22.2 trio-websocket-0.11.1 typing-extensions-4.8.0 urllib3-2.0.7 wsproto-1.2.0

[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
Collecting black==23.3.0 (from -r requirements-dev.txt (line 1))
  Downloading black-23.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 3.0 MB/s eta 0:00:00
Collecting isort==5.12.* (from -r requirements-dev.txt (line 2))
  Downloading isort-5.12.0-py3-none-any.whl (91 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.2/91.2 kB 2.4 MB/s eta 0:00:00
Collecting flake8==6.0.* (from -r requirements-dev.txt (line 3))
  Downloading flake8-6.0.0-py2.py3-none-any.whl (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.8/57.8 kB 3.0 MB/s eta 0:00:00
Collecting mypy==1.3.* (from -r requirements-dev.txt (line 4))
  Downloading mypy-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.2/12.2 MB 3.4 MB/s eta 0:00:00
Collecting types-requests==2.31.* (from -r requirements-dev.txt (line 5))
  Obtaining dependency information for types-requests==2.31.* from https://files.pythonhosted.org/packages/1d/d6/1281c1d7b03a127562d6644ebff081e85045f0025b1fe26dcdd82811ad1a/types_requests-2.31.0.10-py3-none-any.whl.metadata
  Downloading types_requests-2.31.0.10-py3-none-any.whl.metadata (1.8 kB)
Collecting types-pyyaml==6.0.* (from -r requirements-dev.txt (line 6))
  Obtaining dependency information for types-pyyaml==6.0.* from https://files.pythonhosted.org/packages/9d/df/aabb870a04254ceb8a406b0a4222c1b14f7fdf3d2d7633ba49364aca27f3/types_PyYAML-6.0.12.12-py3-none-any.whl.metadata
  Downloading types_PyYAML-6.0.12.12-py3-none-any.whl.metadata (1.4 kB)
Collecting types-PyAutoGUI==0.9.* (from -r requirements-dev.txt (line 7))
  Obtaining dependency information for types-PyAutoGUI==0.9.* from https://files.pythonhosted.org/packages/23/4c/cf1a8cd2349646c1c08f1bfea9ffaaeae504a546335592d8713f5647f4ed/types_PyAutoGUI-0.9.3.7-py3-none-any.whl.metadata
  Downloading types_PyAutoGUI-0.9.3.7-py3-none-any.whl.metadata (1.4 kB)
Collecting click>=8.0.0 (from black==23.3.0->-r requirements-dev.txt (line 1))
  Obtaining dependency information for click>=8.0.0 from https://files.pythonhosted.org/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl.metadata
  Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting mypy-extensions>=0.4.3 (from black==23.3.0->-r requirements-dev.txt (line 1))
  Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Collecting packaging>=22.0 (from black==23.3.0->-r requirements-dev.txt (line 1))
  Obtaining dependency information for packaging>=22.0 from https://files.pythonhosted.org/packages/ec/1a/610693ac4ee14fcdf2d9bf3c493370e4f2ef7ae2e19217d7a237ff42367d/packaging-23.2-py3-none-any.whl.metadata
  Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pathspec>=0.9.0 (from black==23.3.0->-r requirements-dev.txt (line 1))
  Obtaining dependency information for pathspec>=0.9.0 from https://files.pythonhosted.org/packages/b4/2a/9b1be29146139ef459188f5e420a66e835dda921208db600b7037093891f/pathspec-0.11.2-py3-none-any.whl.metadata
  Downloading pathspec-0.11.2-py3-none-any.whl.metadata (19 kB)
Collecting platformdirs>=2 (from black==23.3.0->-r requirements-dev.txt (line 1))
  Obtaining dependency information for platformdirs>=2 from https://files.pythonhosted.org/packages/56/29/3ec311dc18804409ecf0d2b09caa976f3ae6215559306b5b530004e11156/platformdirs-3.11.0-py3-none-any.whl.metadata
  Using cached platformdirs-3.11.0-py3-none-any.whl.metadata (11 kB)
Collecting tomli>=1.1.0 (from black==23.3.0->-r requirements-dev.txt (line 1))
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting mccabe<0.8.0,>=0.7.0 (from flake8==6.0.*->-r requirements-dev.txt (line 3))
  Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
Collecting pycodestyle<2.11.0,>=2.10.0 (from flake8==6.0.*->-r requirements-dev.txt (line 3))
  Downloading pycodestyle-2.10.0-py2.py3-none-any.whl (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.3/41.3 kB 2.4 MB/s eta 0:00:00
Collecting pyflakes<3.1.0,>=3.0.0 (from flake8==6.0.*->-r requirements-dev.txt (line 3))
  Downloading pyflakes-3.0.1-py2.py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 2.6 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions>=3.10 in /home/lovestaco/.cache/pypoetry/virtualenvs/autotab-starter-TsNpBWR3-py3.10/lib/python3.10/site-packages (from mypy==1.3.*->-r requirements-dev.txt (line 4)) (4.8.0)
Requirement already satisfied: urllib3>=2 in /home/lovestaco/.cache/pypoetry/virtualenvs/autotab-starter-TsNpBWR3-py3.10/lib/python3.10/site-packages (from types-requests==2.31.*->-r requirements-dev.txt (line 5)) (2.0.7)
Collecting types-Pillow (from types-PyAutoGUI==0.9.*->-r requirements-dev.txt (line 7))
  Obtaining dependency information for types-Pillow from https://files.pythonhosted.org/packages/9a/02/98c995c4b0bbc72836085a3b010bb4c7ef66709681bc281898ea553b5f89/types_Pillow-10.1.0.0-py3-none-any.whl.metadata
  Downloading types_Pillow-10.1.0.0-py3-none-any.whl.metadata (1.6 kB)
Collecting types-PyScreeze (from types-PyAutoGUI==0.9.*->-r requirements-dev.txt (line 7))
  Obtaining dependency information for types-PyScreeze from https://files.pythonhosted.org/packages/f0/78/a40e408b6a504d662388f685c5be1c424ce8eee18ae9705b1f06d06ddfa7/types_PyScreeze-0.1.0.10-py3-none-any.whl.metadata
  Downloading types_PyScreeze-0.1.0.10-py3-none-any.whl.metadata (1.4 kB)
Downloading types_requests-2.31.0.10-py3-none-any.whl (14 kB)
Downloading types_PyYAML-6.0.12.12-py3-none-any.whl (14 kB)
Downloading types_PyAutoGUI-0.9.3.7-py3-none-any.whl (3.8 kB)
Downloading click-8.1.7-py3-none-any.whl (97 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 4.4 MB/s eta 0:00:00
Using cached packaging-23.2-py3-none-any.whl (53 kB)
Downloading pathspec-0.11.2-py3-none-any.whl (29 kB)
Using cached platformdirs-3.11.0-py3-none-any.whl (17 kB)
Downloading types_Pillow-10.1.0.0-py3-none-any.whl (51 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.5/51.5 kB 3.1 MB/s eta 0:00:00
Downloading types_PyScreeze-0.1.0.10-py3-none-any.whl (3.3 kB)
Installing collected packages: types-pyyaml, types-requests, types-Pillow, tomli, pyflakes, pycodestyle, platformdirs, pathspec, packaging, mypy-extensions, mccabe, isort, click, types-PyScreeze, mypy, flake8, black, types-PyAutoGUI
Successfully installed black-23.3.0 click-8.1.7 flake8-6.0.0 isort-5.12.0 mccabe-0.7.0 mypy-1.3.0 mypy-extensions-1.0.0 packaging-23.2 pathspec-0.11.2 platformdirs-3.11.0 pycodestyle-2.10.0 pyflakes-3.0.1 tomli-2.0.1 types-Pillow-10.1.0.0 types-PyAutoGUI-0.9.3.7 types-PyScreeze-0.1.0.10 types-pyyaml-6.0.12.12 types-requests-2.31.0.10

[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
Obtaining file:///home/lovestaco/repos/meta/autotab-starter
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing editable metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      Traceback (most recent call last):
        File "/home/lovestaco/.cache/pypoetry/virtualenvs/autotab-starter-TsNpBWR3-py3.10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/lovestaco/.cache/pypoetry/virtualenvs/autotab-starter-TsNpBWR3-py3.10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/lovestaco/.cache/pypoetry/virtualenvs/autotab-starter-TsNpBWR3-py3.10/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 181, in prepare_metadata_for_build_editable
          return hook(metadata_directory, config_settings)
        File "/tmp/pip-build-env-lyeqfbon/overlay/lib/python3.10/site-packages/poetry/core/masonry/api.py", line 42, in prepare_metadata_for_build_wheel
          builder = WheelBuilder(poetry)
        File "/tmp/pip-build-env-lyeqfbon/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/wheel.py", line 61, in __init__
          super().__init__(poetry, executable=executable)
        File "/tmp/pip-build-env-lyeqfbon/overlay/lib/python3.10/site-packages/poetry/core/masonry/builders/builder.py", line 85, in __init__
          self._module = Module(
        File "/tmp/pip-build-env-lyeqfbon/overlay/lib/python3.10/site-packages/poetry/core/masonry/utils/module.py", line 69, in __init__
          raise ModuleOrPackageNotFound(
      poetry.core.masonry.utils.module.ModuleOrPackageNotFound: No file/folder found for package autotab-starter
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

[notice] A new release of pip is available: 23.2.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
make: *** [makefile:4: install] Error 1
(autotab-starter-py3.10) lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ brew install --cask chromedriver
Error: Invalid `--cask` usage: Casks do not work on Linux
(autotab-starter-py3.10) lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ brew install  chromedriver
Warning: No available formula with the name "chromedriver". Did you mean chrome-cli?
==> Searching for similarly named formulae...
Error: No formulae found for chromedriver.
(autotab-starter-py3.10) lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ autotab
autotab: command not found
(autotab-starter-py3.10) lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ source ~/.bashrc
lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ source ~/.bashrc
lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ autotab
autotab: command not found
lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ 


windows installation

          windows installation is also a pain. Quickstart and installation guides are horrific, didn't know what to do after installing all the requirements and changing api key. There is nowhere that tells you what to run after. Just ohh "autotabrecord" which is not even a file. Seems like a great project couldnt try it tho.

Originally posted by @Quantbrinx in #10 (comment)

Running autotab record throws python error

I went through the quickstart steps, and when i run autotab record (in my venv) i get the following error

autotab record
Traceback (most recent call last):
  File "/Users/michaelfeldstein/Source/autotab-starter/autotab-env/bin/autotab", line 5, in <module>
    from main import main
ModuleNotFoundError: No module named 'main'

MacOS 14.0
Python 3.11.5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.