Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error unknown flag 'disable-background-networking' while using with Chromium #186

Open
RiddleMan opened this issue Nov 3, 2023 · 1 comment · May be fixed by #200
Open

Error unknown flag 'disable-background-networking' while using with Chromium #186

RiddleMan opened this issue Nov 3, 2023 · 1 comment · May be fixed by #200

Comments

@RiddleMan
Copy link

RiddleMan commented Nov 3, 2023

I experience an error while using chromiumoxide with Chromium 119.0.6045.105 on Ubuntu 22.04. I run the latest version of chromiumoxide from main branch at the moment of writing it's 88470ca.

I get this error:
image

@jloupdef
Copy link

Hi, I encountered the same issue and narrow it down to the canonicalize function of either async_std or tokio, the issue is chromium is installed through snap and the chromium is a symbolic link to /usr/bin/snap. canonicalize follow the symlink to use the real executable which does not work in this case as snap should not be called directly.
chromium identified first as /snap/bin/chromium

Then canonicalize transforms it to /usr/bin/snap

Only way/Easiest way to handle this is to cancel the canonicalize if the final path is targetting snap, needs to be done/fixed in this plugin, there is no workaround I can think of.

I might give it a shot next year as I won't have access to a computer for the next few days.
Have a good New Year's Eve !

@jloupdef jloupdef linked a pull request Jan 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants