Comments (3)
I had the same problem. Ran GloriousEgg version of Proton with waitandrun
instead of run
option and it printed a log made mostly of:
Threads getting "403 forbidden"
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/username/Proton-6.0-GE-1/protonfixes/corefonts.py", line 48, in download_file
with urllib.request.urlopen(url, files) as font:
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
For some reason, calling urllib.request.urlopen(url, files)
gets a 403 on github links. This reproduces outside of the protonfixes script, with just:
import urllib.request
url = "https://github.com/pushcx/corefonts/raw/master/andale32.exe"
files = []
font = urllib.request.urlopen(url, files)
Changing the files
from []
to None
seems to have fixed it - the fonts downloaded properly and extracted into some ttf
files.
from protonfixes.
The url https://github.com/pushcx/corefonts/raw/master/ is a 404 and can't be browsed, but corefonts.py downloads the url + font name + 32.exe
which is still working from the pushcx/corefonts
repo as far as I can tell. For example, it would try https://github.com/pushcx/corefonts/raw/master/andale32.exe first which still downloads for me. Is it possible there's something else blocking the download?
from protonfixes.
Yeah that makes sense looking at the urllib docs, I'm surprised Github wasn't throwing 403's before. Thanks!
from protonfixes.
Related Issues (20)
- Wiki is outdated HOT 3
- kdialog splash not working HOT 1
- Typo in the Mafia 2 DE fix
- Typo in Mafia 2 DE fix HOT 1
- Smite Gamefix HOT 2
- autoimport (most) of your gamefixes into my stl HOT 3
- No module named 'protonfixes' HOT 2
- Space Engineers support HOT 2
- Dragon ball FighterZ help HOT 3
- No module named 'protonfixes' HOT 1
- No module named 'protonfixes' HOT 2
- Ubuntu 20.04 and 21.04 HOT 1
- Better logging when `from protonfixes import debug` fails HOT 1
- `from protonfixes import debug` fails HOT 1
- `module '__main__' has no attribute 'env'` HOT 4
- Merge fixes from GloriousEggroll/protonfixes HOT 3
- soldier_protonfixify fails with "No such file or directory" HOT 1
- no protonfixes modue user_settings HOT 4
- Log to more file with more descriptive name HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protonfixes.