- Joined
- Jan 23, 2026
- Messages
- 5,054
Dang, cargo is Christpilled now?Jesus fellas, cool it with the suggestions. One at a time! Yeesh.
Dang, cargo is Christpilled now?Jesus fellas, cool it with the suggestions. One at a time! Yeesh.
Hmm. I'll see to it shortly. As we speak I'm building my current iteration into an .exe so I'll implement your request later.how about adding a second page slider to the top
average conversation according to chatlgbt, after feeding him an archived threadUser1: why is everyone still awake
User2: because sleep is a government psyop
User3: i tried sleeping and then remembered that penguins exist
User1: what does that have to do with anything
User3: everything
User4: has anyone seen that video where the guy puts a traffic cone on a statue
User2: no but i need it immediately
User5: wait i have it
User5: [sends completely unrelated image]
User1: this is not the traffic cone
User5: close enough
User3: why does this actually look like something you'd see in a dream
User2: bro the statue looks disappointed
User4: he knows what you did
User1: i didn't do anything
User4: that's exactly what someone who did something would say
User6: anyway does anyone know if CachyOS is actually good
User2: we're discussing statues
User6: yes but answer the question
User3: linux users when someone asks them a normal question: 47 paragraphs about package managers
User6: i hate all of you
User1: update: i found the traffic cone video
User2: SEND
User1: it's literally just a traffic cone on a statue
User3: cinema
User5: absolute cinema
User4: humanity peaked here
User6: can we go back to talking about linux
User2: no
I can confirm GNU/Linux support does work with both Chrome and Chromium, albeit with the following fix:Forgot to post this. Toggleable themes, user banners (Moderator, TOP POSTER OF THE WEEK, etc), signatures and usertitles.
View attachment 171156
def make_driver(PROFILE_DIR):
PROFILE_DIR = os.path.abspath(PROFILE_DIR.replace("\\", "/"))
os.makedirs(PROFILE_DIR, exist_ok=True)
options_uc = uc.ChromeOptions()
options_uc.add_argument("--disable-gpu")
options_uc.add_argument("--disable-smooth-scrolling")
options_uc.add_argument("--disable-backgrounding-occluded-windows")
options_uc.add_argument("--disable-background-timer-throttling")
options_uc.add_argument("--disable-background-networking")
options_uc.add_argument("--disable-component-update")
options_uc.add_argument("--disable-domain-reliability")
options_uc.add_argument("--disable-sync")
options_uc.add_argument("--disable-preconnect")
options_uc.add_argument("--dns-prefetch-disable")
options_uc.add_argument("--no-first-run")
options_uc.add_argument("--no-default-browser-check")
options_uc.add_argument("--autoplay-policy=user-gesture-required")
options_uc.add_argument("--no-sandbox")
options_uc.add_argument("--disable-dev-shm-usage")
prefs = {
"profile.default_content_setting_values.notifications": 2,
"profile.default_content_setting_values.geolocation": 2,
"profile.default_content_setting_values.media_stream": 2,
}
options_uc.add_experimental_option("prefs", prefs)
if sys.platform.startswith("linux"):
for candidate in (
"/usr/bin/google-chrome-stable",
"/usr/bin/google-chrome",
"/usr/bin/chromium-browser",
"/usr/bin/chromium",
):
if os.path.isfile(candidate) and os.access(candidate, os.X_OK):
options_uc.binary_location = candidate
print(f"Using Chrome binary: {candidate}")
break
else:
print("WARNING: no Chrome/Chromium binary found on PATH/common locations")
major = get_chrome_major_version()
print(f"Detected Chrome major version: {major}")
last_exc = None
try:
kwargs = {
"options": options_uc,
"headless": False,
"use_subprocess": True,
"user_data_dir": PROFILE_DIR,
}
if major is not None and major < 200:
kwargs["version_main"] = major
return uc.Chrome(**kwargs)
except Exception as e:
last_exc = e
m = re.search(r"only supports Chrome version\s+(\d+)", str(e), re.I)
if m:
try:
kwargs["version_main"] = int(m.group(1))
return uc.Chrome(**kwargs)
except Exception as e2:
last_exc = e2
raise last_exc
Yeesh. Current codebase can hang Chromium due to how fast it goes and for whatever reason it always assumes the working directory is /home/"USERNAME" regardless of where it is ran. I'll see to these at some stage.I can confirm GNU/Linux support does work with both Chrome and Chromium, albeit with the following fix:
Python:def make_driver(PROFILE_DIR): PROFILE_DIR = os.path.abspath(PROFILE_DIR.replace("\\", "/")) os.makedirs(PROFILE_DIR, exist_ok=True) options_uc = uc.ChromeOptions() options_uc.add_argument("--disable-gpu") options_uc.add_argument("--disable-smooth-scrolling") options_uc.add_argument("--disable-backgrounding-occluded-windows") options_uc.add_argument("--disable-background-timer-throttling") options_uc.add_argument("--disable-background-networking") options_uc.add_argument("--disable-component-update") options_uc.add_argument("--disable-domain-reliability") options_uc.add_argument("--disable-sync") options_uc.add_argument("--disable-preconnect") options_uc.add_argument("--dns-prefetch-disable") options_uc.add_argument("--no-first-run") options_uc.add_argument("--no-default-browser-check") options_uc.add_argument("--autoplay-policy=user-gesture-required") options_uc.add_argument("--no-sandbox") options_uc.add_argument("--disable-dev-shm-usage") prefs = { "profile.default_content_setting_values.notifications": 2, "profile.default_content_setting_values.geolocation": 2, "profile.default_content_setting_values.media_stream": 2, } options_uc.add_experimental_option("prefs", prefs) if sys.platform.startswith("linux"): for candidate in ( "/usr/bin/google-chrome-stable", "/usr/bin/google-chrome", "/usr/bin/chromium-browser", "/usr/bin/chromium", ): if os.path.isfile(candidate) and os.access(candidate, os.X_OK): options_uc.binary_location = candidate print(f"Using Chrome binary: {candidate}") break else: print("WARNING: no Chrome/Chromium binary found on PATH/common locations") major = get_chrome_major_version() print(f"Detected Chrome major version: {major}") last_exc = None try: kwargs = { "options": options_uc, "headless": False, "use_subprocess": True, "user_data_dir": PROFILE_DIR, } if major is not None and major < 200: kwargs["version_main"] = major return uc.Chrome(**kwargs) except Exception as e: last_exc = e m = re.search(r"only supports Chrome version\s+(\d+)", str(e), re.I) if m: try: kwargs["version_main"] = int(m.group(1)) return uc.Chrome(**kwargs) except Exception as e2: last_exc = e2 raise last_exc
Yeesh. Current codebase can hang Chromium due to how fast it goes and for whatever reason it always assumes the working directory is /home/"USERNAME" regardless of where it is ran. I'll see to these at some stage.
========================================================================
THREAD 23/1151
https://soyjak.forum/threads/are-mres-good-for-malnutrition.4676
========================================================================
No existing pages found. Starting from page 1.
Loading thread start URL: https://soyjak.forum/threads/are-mres-good-for-malnutrition.4676
✗ Failed thread 23/1151: ReadTimeoutError: HTTPConnectionPool(host='localhost', port=37875): Read timed out. (read timeout=120)
Traceback (most recent call last):
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 534, in _make_request
response = conn.getresponse()
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connection.py", line 571, in getresponse
httplib_response = super().getresponse()
File "/usr/lib64/python3.9/http/client.py", line 1377, in getresponse
response.begin()
File "/usr/lib64/python3.9/http/client.py", line 320, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python3.9/http/client.py", line 281, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib64/python3.9/socket.py", line 716, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/run/media/wobbles/SHROOM/_Shroomchiver2.py", line 1937, in _archive_worker
print(target_url)
File "/run/media/wobbles/SHROOM/_Shroomchiver2.py", line 1385, in archive_thread
f"Browser tab verification failed for {TARGET_URL}"
File "/home/wobbles/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 665, in get
return super().get(url)
File "/home/wobbles/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 483, in get
self.execute(Command.GET, {"url": url})
File "/home/wobbles/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 455, in execute
response = cast(RemoteConnection, self.command_executor).execute(driver_command, params)
File "/home/wobbles/.local/lib/python3.9/site-packages/selenium/webdriver/remote/remote_connection.py", line 405, in execute
return self._request(command_info[0], url, body=data)
File "/home/wobbles/.local/lib/python3.9/site-packages/selenium/webdriver/remote/remote_connection.py", line 429, in _request
response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout)
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/_request_methods.py", line 143, in request
return self.request_encode_body(
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/_request_methods.py", line 278, in request_encode_body
return self.urlopen(method, url, **extra_kw)
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/poolmanager.py", line 457, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 841, in urlopen
retries = retries.increment(
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 490, in increment
raise reraise(type(error), error, _stacktrace)
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/util/util.py", line 39, in reraise
raise value
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
response = self._make_request(
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 536, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 367, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', port=37875): Read timed out. (read timeout=120)
Peculiar. I can't recreate it.Code:======================================================================== THREAD 23/1151 https://soyjak.forum/threads/are-mres-good-for-malnutrition.4676 ======================================================================== No existing pages found. Starting from page 1. Loading thread start URL: https://soyjak.forum/threads/are-mres-good-for-malnutrition.4676 ✗ Failed thread 23/1151: ReadTimeoutError: HTTPConnectionPool(host='localhost', port=37875): Read timed out. (read timeout=120) Traceback (most recent call last): File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 534, in _make_request response = conn.getresponse() File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connection.py", line 571, in getresponse httplib_response = super().getresponse() File "/usr/lib64/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/lib64/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/lib64/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/lib64/python3.9/socket.py", line 716, in readinto return self._sock.recv_into(b) socket.timeout: timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/run/media/wobbles/SHROOM/_Shroomchiver2.py", line 1937, in _archive_worker print(target_url) File "/run/media/wobbles/SHROOM/_Shroomchiver2.py", line 1385, in archive_thread f"Browser tab verification failed for {TARGET_URL}" File "/home/wobbles/.local/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 665, in get return super().get(url) File "/home/wobbles/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 483, in get self.execute(Command.GET, {"url": url}) File "/home/wobbles/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 455, in execute response = cast(RemoteConnection, self.command_executor).execute(driver_command, params) File "/home/wobbles/.local/lib/python3.9/site-packages/selenium/webdriver/remote/remote_connection.py", line 405, in execute return self._request(command_info[0], url, body=data) File "/home/wobbles/.local/lib/python3.9/site-packages/selenium/webdriver/remote/remote_connection.py", line 429, in _request response = self._conn.request(method, url, body=body, headers=headers, timeout=self._client_config.timeout) File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/_request_methods.py", line 143, in request return self.request_encode_body( File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/_request_methods.py", line 278, in request_encode_body return self.urlopen(method, url, **extra_kw) File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/poolmanager.py", line 457, in urlopen response = conn.urlopen(method, u.request_uri, **kw) File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 841, in urlopen retries = retries.increment( File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 490, in increment raise reraise(type(error), error, _stacktrace) File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/util/util.py", line 39, in reraise raise value File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen response = self._make_request( File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 536, in _make_request self._raise_timeout(err=e, url=url, timeout_value=read_timeout) File "/home/wobbles/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 367, in _raise_timeout raise ReadTimeoutError( urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', port=37875): Read timed out. (read timeout=120)![]()
Unfocusing the Chromium window on GNU/Linux causes it.Peculiar. I can't recreate it.