-
-
Notifications
You must be signed in to change notification settings - Fork 0
Errors on program
Some errors may not display because anything happened and it auto reverts back to the default ones
This section explains some errors of the program itself, cuz i mean
This error means that on anywhere on the language ini file you removed the line break inside any of the strings, this is required to the program to read the language otherwise it may fail, this is fixed by adding it back in
The language you were using was deleted, this reverts your language choice to English (US)
The style you were using was deleted, this reverts your choice to Default Dark
This error is caused by your host file or network DNS blocking access to github.com, which is where the program checks for updates (specifically at https://github.com/huhuhuhuheh/ehclipboard/releases.atom).
This may be fixed on some ways:
- On your host file (at
%SYSTEMDRIVE%\Windows\System32\drivers\etc\hosts) make sure it doesn't have blocked any of these:
0.0.0.0 github.com
0.0.0.0 www.github.com
0.0.0.0 raw.githubusercontent.com
0.0.0.0 api.github.com
0.0.0.0 gist.github.com
After changing your host file, reload it by opening a elevated command prompt and running ipconfig /flushdns
- On your dns provider, make sure it doesn't have blocked any of these:
0.0.0.0 github.com
0.0.0.0 www.github.com
0.0.0.0 raw.githubusercontent.com
0.0.0.0 api.github.com
0.0.0.0 gist.github.com
If the program is installed in a public or VDI environment where you cannot access GitHub, you will need to ask your organization to grant you access, otherwise, your organization will have to compile the program from source by changing the line 81 on about_qt.py to their update url endpoint (making sure it is an .atom file) (on with urlopen(f"https://github.com/huhuhuhuheh/ehclipboard/releases.atom")), compiling instructions here
def run(self):
result = {}
try:
with urlopen(f"https://github.com/huhuhuhuheh/ehclipboard/releases.atom") as response:
xml_data = response.read()
root = ET.fromstring(xml_data)
ns = {"atom": "http://www.w3.org/2005/Atom"}
entries = root.findall("atom:entry", ns)
if not entries:
result["error"] = "No releases found."
self.finished.emit(result)
return
latest = entries[0]
title = latest.find("atom:title", ns).text
result["latest_tag"] = title.strip()
result["release_url"] = latest.find("atom:link", ns).attrib.get("href", STUPID_REPO)
result["body"] = (latest.find("atom:content", ns).text or "").strip()
behind_count = 0
current_version_clean = get_current_version().lstrip('v')
for entry in entries:
tag = entry.find("atom:title", ns).text.strip()
if tag.lstrip('v') == current_version_clean:
break
behind_count += 1
result["behind"] = behind_count
except Exception as e:
result["error"] = str(e)
self.finished.emit(result)
You are not connected to the internet, or anything like a VPN/Cloudfare WARP changed your connection