Skip to content

Can't open browser on linux #1605

Open
Open
@gitwittidbit

Description

@gitwittidbit

Describe the bug

So, I'm not sure whether this is a bug or due to my incompetence...

I have installed open interpreter locally and it seems to work as such.

But when I ask it to open a website in my browser, it creates two lines of code, asks me whether to run the code and when I confirm, it throws an error message:

An error occurred while setting up the WebDriver: Message: unknown error: csnnot find Chrome binary
Stacktrace
...

The weird thing is that it than just loops and tries to do the same over and over again.

Now, I don't know whether this error is due to the fact that I don't have Chrome installed (I would prefer to keep it that way). It also happens when I ask it to open the page in Firefox. Maybe the pyautogui module only works with Chrome?

But should it not at least acknowledge the error and stop trying in vain what can't be accomplished?

Thanks!

Reproduce

  1. Ask open interpreter to open a web page in the browser (while no Chrome is installed)
  2. Confirm the execution of the code
  3. Behold a loop of madness

Expected behavior

Either actually open the web page in the browser or, if that isn't possible, acknowledge the error and explain what the problem is.

Screenshots

No response

Open Interpreter version

0.4.2

Python version

3.11.2

Operating System name and version

Debian 12

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions