Everything hinges on an environment variable called
PYENV_VERSION which you can set to
3.8.6 (real Python) or
3.9.0 (leading edge). On my Mac, I do:
docker-compose down && PYENV_VERSION=3.8.6 docker-compose up -d && docker-compose logs -f --tail=10
home_1 | Traceback (most recent call last):
home_1 | File "scripts/new-solr-updater.py", line 294, in <module>
home_1 | main()
home_1 | File "scripts/new-solr-updater.py", line 278, in main
home_1 | with open(state_file, "w") as f:
home_1 | IOError: [Errno 13] Permission denied: 'solr-update.offset'
openlibrary_home_1 exited with code 1
docker-compose exec web make jsbut to no avail...
/isbn/1234.json3 API that's the start of import codepath being discussed?
if not works: works = some_rpc_to_find_match(doc)
make_recordis never called?
make_recordis always called. so actually - seems it's this line that defines1
self.docsthat should just already have the right data perhaps ... but from
query_keys2 documentation, i'm guessing (however it's implemented) it's not intended to be a general search but just a 1:1 lookup.