"Error in updating source" and "Problem getting file" errors
See original GitHub issueIn the latest version I get a bunch of these errors while running either the updateHostsFile.py script (the first one I tried) or makeHosts.py (which I tried later to see if it would fix the errors):
Updating source extensions/fakenews from https://raw.githubusercontent.com/marktron/fakenews/master/fakenews Problem getting file: https://raw.githubusercontent.com/marktron/fakenews/master/fakenews Error in updating source: https://raw.githubusercontent.com/marktron/fakenews/master/fakenews
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Some update files are missing or have problems. We'll try to ...
When I try to install 2019-02 Cumulative Update for Windows 10 Version 1809 for x64-based Systems (KB4487044) I get the following error:.
Read more >How to fix the "Updating from such a repository can't be done ...
1. Open the sources.list file using a text editor, I will be using the vi editor: 1 · 2. Add the following option...
Read more >source control error: Failed to update file from source control
I am using redgate Source control for Oracle Version: 4.0.10.997. ... local folder and connection establishment , i am getting this error.
Read more >Many project errors after update - Silicon Labs Community
780 If I try to generate my .isc file, I get this error: If I try to open ... 17 C/C++ Problem Fatal...
Read more >Fix Windows errors that occur during Acrobat Reader update
Common error messages ; 1706, No valid source could be found for [product name]. One or more of the installer files that the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This was an issue for me just now on macOS. I added code in the get_file_by_url() method to show the full exception, which was
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>
This was caused by Python not using the OpenSSL certificates from macOS. I ended up
/Applications/Python 3.8/Install Certificates.command
. Do that.Hopefully that solves the issue for you.
I’m getting this message as well, trying to figure out what’s going on - I added some debugging output, and looking at the (type of the) exception that’s thrown in
get_file_by_url
, I’m seeingSo the call to
urlopen
returns with a status of 200, but the subsequent call toBeautifulSoup
must be failing.Running on a raspberry pi, with raspbian stretch, python 3.5.3, and having just pulled and installed the requirements with pip 18.0.
Apparently some requirement or library is missing? Gonna try to investigate further…
And I found a viable solution (for my problem) in this issue on another repo - there it suggests to install some apt packages, as such:
for me it was the first one which had apparently been missing, and it fixed the problem!
I don’t know if that was the OP’s problem as well, but in any case I would suggest adding these requirements (which seem to be hard requirements at least on raspbian-stretch) somewhere in the docs - unless you think that’s too obscure, and this comment might serve as enough documentation ; )