Page MenuHomePhabricator

When installing, python errors before more helpful ValueError
Closed, ResolvedPublic


I just tried installing OABot locally, and didn't have a zotero_cache_key.txt yet.

The code ( contains a helpful message:

ZOTERO_CACHE_API_KEY = open('zotero_cache_key.txt','r').read().strip()
    raise ValueError('Please provide a Zotero cache API key '+
                    '(email dev @ dissem . in to get one.)')

But the ValueError isn't presented because Python errors ("No such file or directory") trying to open the file first.

Event Timeline

Ocaasi_WMF triaged this task as Low priority.Oct 25 2017, 7:25 PM
Samwalton9 closed this task as Resolved.Oct 31 2017, 1:30 PM
Samwalton9 claimed this task.
Samwalton9 removed a project: Patch-For-Review.