jsfenfen / 990-xml-database

Django app to consume and store 990 data and metadata
BSD 2-Clause "Simplified" License
23 stars 16 forks source link

SysCallError when loading_files #29

Closed Georg-coder closed 4 years ago

Georg-coder commented 4 years ago

There is a problem that keeps occurring, when I command: python manage.py load_filings 2015

... run_filing 201510199349200201 Traceback (most recent call last):

File "/Users/Georg/PycharmProjects/990-xml-database/venv/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 485, in wrap_socket cnx.do_handshake()

File "/Users/Georg/PycharmProjects/990-xml-database/venv/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1934, in do_handshake self._raise_ssl_error(self._ssl, result)

File "/Users/Georg/PycharmProjects/990-xml-database/venv/lib/python3.6/site-packages/OpenSSL/SSL.py", line 1663, in _raise_ssl_error raise SysCallError(errno, errorcode.get(errno))

OpenSSL.SSL.SysCallError: (54, 'ECONNRESET') During handling of the above exception, another exception occurred: .....

--> It might have to do with a few installments I made to resolve problems I had before. I also added to the load_filings.py: import urllib3.contrib.pyopenssl urllib3.contrib.pyopenssl.inject_into_urllib3()

When the files before run, does that mean the 990-data (2015) is downloaded to my PC? I dont remember choosing/creating a location folder for it. I did connect a posgresql database (showing in the right upper corner of the screenshot) but dont really know how that works/what that is. I dont think I actually have server space there, but instead it is just a web-browser interface to do SQL queries... (https://www.postgresqltutorial.com/load-postgresql-sample-database/)

Screenshot 2020-01-30 at 9 46 50 PM