Giter Site home page Giter Site logo

Comments (10)

jonasalexander avatar jonasalexander commented on June 22, 2024 1

Hey @lovestaco this is fixed in the most recent version on main! See also #12

from autotab-starter.

jonasalexander avatar jonasalexander commented on June 22, 2024

Hi, this looks like an issue due to using poetry which we don't support (yet). Can you try creating the virtualenv using python3 -m venv .venv instead of with poetry shell? Looks like the error is a lack of a pyproject.toml file. @lovestaco

from autotab-starter.

lovestaco avatar lovestaco commented on June 22, 2024

Hey @jonasalexander,
Thanks for clarifying.
Installation worked with venv.

  1. python3 -m venv .venv
  2. source .venv/bin/activate
  3. make install
  4. sudo apt install chromium-chromedriver
  5. sudo apt-get install python3-tk python3-dev
  6. cp .example.autotab.yaml .autotab.yaml
  7. which chromium-browser
  8. vim .autotab.yaml
  9. autotab record
    I get this popup first
Failed to load extension from: /tmp/.org.chromium.Chromium.GJpFr9/extension_mmpelkkmepoejopbpkgpijboigchadnh. Could not find key specification for 'command[1].suggested_key': Either specify a key for 'linux', or specify a default key.

Autotab is trying to Google log in after starting but its not able to do so
image
So Ive removed the Google creds from yaml

default_email: [email protected]
chrome_binary_location: /usr/bin/chromium-browser

Now the problem is I'm not able to open the auto tab in the browser, I'm in Ubuntu.

from autotab-starter.

lingster avatar lingster commented on June 22, 2024

I have the same issue, running on arch linux. Looks like the key specification error comes from:
https://chromium.googlesource.com/experimental/chromium/src/+/6b414c236a472dcae02bf9535d2bc71eb4f43ea4/chrome/common/extensions/extension_manifest_constants.cc

I haven't been able to determine how to fix this error, yet...
(kInvalidKeyBindingMissingPlatform)

from autotab-starter.

jonasalexander avatar jonasalexander commented on June 22, 2024

Hi @lingster should be fixed hopefully! Can you please try again?

from autotab-starter.

lovestaco avatar lovestaco commented on June 22, 2024

Hey @jonasalexander,
I'm getting a new error.

z lovestaco@i3nux-whiz:~$ z auto
lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ source .venv/bin/activate
(.venv) lovestaco@i3nux-whiz:~/repos/meta/autotab-starter$ autotab record
Traceback (most recent call last):
  File "/home/lovestaco/repos/meta/autotab-starter/.venv/bin/autotab", line 33, in <module>
    sys.exit(load_entry_point('autotab', 'console_scripts', 'autotab')())
  File "/home/lovestaco/repos/meta/autotab-starter/src/main.py", line 20, in main
    record(args.agent, autotab_ext_path=args.autotab_ext_path)
  File "/home/lovestaco/repos/meta/autotab-starter/src/record.py", line 13, in record
    raise Exception(f"Agent with name {agent_name} already exists")
Exception: Agent with name agent already exists

from autotab-starter.

alexi avatar alexi commented on June 22, 2024

autotab record automatically attempts to create a new agent.py script on each run. You can add the —agent=new-agent command line argument, or you can always delete the existing agent/agent.py file.

autotab record —agent=agent-2

from autotab-starter.

lovestaco avatar lovestaco commented on June 22, 2024

It's working thanks :)

from autotab-starter.

lingster avatar lingster commented on June 22, 2024

from autotab-starter.

Quantbrinx avatar Quantbrinx commented on June 22, 2024

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.

from autotab-starter.

Related Issues (12)

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.