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

[BUG] start failed on colab #77

Open
thinking-and-coding opened this issue Jul 24, 2024 · 7 comments
Open

[BUG] start failed on colab #77

thinking-and-coding opened this issue Jul 24, 2024 · 7 comments

Comments

@thinking-and-coding
Copy link

thinking-and-coding commented Jul 24, 2024

The error messages are below:
Traceback (most recent call last): File "/content/omniparse/server.py", line 62, in <module> main() File "/content/omniparse/server.py", line 48, in main load_omnimodel(args.documents, args.media, args.web) File "/content/omniparse/omniparse/__init__.py", line 58, in load_omnimodel shared_state.crawler = WebCrawler(verbose=True) File "/content/omniparse/omniparse/web/web_crawler.py", line 34, in __init__ self.crawler_strategy = crawler_strategy or LocalSeleniumCrawlerStrategy(verbose=verbose) File "/content/omniparse/omniparse/web/crawler_strategy.py", line 94, in __init__ self.driver = webdriver.Chrome(service=self.service, options=self.options) File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__ super().__init__( File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/chromium/webdriver.py", line 55, in __init__ self.service.start() File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/common/service.py", line 98, in start self._start_process(self._path) File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/common/service.py", line 208, in _start_process self.process = subprocess.Popen( File "/usr/lib/python3.10/subprocess.py", line 971, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: '/root/.wdm/drivers/chromedriver/linux64/127.0.6533.72/chromedriver-linux64/THIRD_PARTY_NOTICES.chromedriver'

it seems like chromedriver format mismatch the platform?

@vane0912
Copy link

Hey i am getting the same issue, any advances on it yet? it was working for me before but now i get that same error

@RaccoonWang
Copy link

RaccoonWang commented Jul 25, 2024

@Abdul37611
Copy link

I get this error only when I run the application with Docker, If I run it normally I'm not facing this issue

@thinking-and-coding
Copy link
Author

I successfully ran it by just removing the '--web' parameter at startup ceil. However, this obviously doesn't resolve the problem. :(
image

@vane0912
Copy link

I get this error only when I run the application with Docker, If I run it normally I'm not facing this issue

i have it when i run it with docker too not sure if maybe the latest chromedriver that is downloading is damaged or something because i previously didn't got the error

@vane0912
Copy link

i found this that might help you guys, i haven't tried it but take a look i case you want to give it a shot
https://stackoverflow.com/questions/78789819/issue-with-selenium-and-webdriver

@reegan-anne
Copy link

Ultimately the fix for me was to update webdriver-manager package to v4.0.2

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

No branches or pull requests

5 participants