Open PushkarOP opened 1 year ago
Hey! Thanks for reporting this. What browser do you have installed?
I am running it on ubuntu vps And i install chromium using command: sudo apt install chromium-browser
Could you try it with firefox?
Could you try it with firefox?
root@v754205187:~# python3 -m ClipDropSDXL --headless --prompt "golden retriever" --style neonpunk
/usr/local/lib/python3.10/dist-packages/ClipDropSDXL.py:34: DeprecationWarning: headless property is deprecated, instead use add_argument('-headless')
options.headless = args.headless
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/dist-packages/ClipDropSDXL.py", line 110, in
Would you mind trying it with:
python3 -m ClipDropSDXL --headless --prompt "golden retriever" --style neonpunk --browser firefox
img) root@v754205187:~# python3 -m ClipDropSDXL --headless --prompt "golden retriever" --style neonpunk /root/img/lib/python3.10/site-packages/ClipDropSDXL.py:34: DeprecationWarning: headless property is deprecated, instead use add_argument('--headless') or add_argument('--headless=new') options.headless = args.headless The version of chrome cannot be detected. Trying with latest driver version Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/root/img/lib/python3.10/site-packages/ClipDropSDXL.py", line 110, in
main()
File "/root/img/lib/python3.10/site-packages/ClipDropSDXL.py", line 37, in main
driver = webdriver.Chrome(options=options)
File "/root/img/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 49, in init
super().init(
File "/root/img/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 54, in init
super().init(
File "/root/img/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 206, in init
self.start_session(capabilities)
File "/root/img/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 291, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
File "/root/img/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 346, in execute
self.error_handler.check_response(response)
File "/root/img/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /snap/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
0 0x55746e2b84e3
1 0x55746dfe7c76
2 0x55746e010d78
3 0x55746e00d029
4 0x55746e04bccc
5 0x55746e04b47f
6 0x55746e042de3
7 0x55746e0182dd
8 0x55746e01934e
9 0x55746e2783e4
10 0x55746e27c3d7
11 0x55746e286b20
12 0x55746e27d023
13 0x55746e24b1aa
14 0x55746e2a16b8
15 0x55746e2a1847
16 0x55746e2b1243
17 0x7f3c6f32ab43