caltechlibrary / handprint

Apply different text recognition services to images of handwritten documents.
https://caltechlibrary.github.io/handprint
BSD 3-Clause "New" or "Revised" License
172 stars 18 forks source link

Error in 1.5.3 installing service credentials for the first time #30

Closed mhucka closed 3 years ago

mhucka commented 3 years ago

Due to having missed updating a call to log in the credentials module, first-time users will hit an error trying to install credentials for a service:

...
 File "/home/parallels/.shiv/handprint_8aaa095b0627e5378d25107a0bc0bd8839387521aad95eafce5ffa5a0e6e18bb/site-packages/handprint/credentials/base.py", line 50, in save_credentials
    if __debug__: log('creating credentials dir: {}.', Credentials.creds_dir)
TypeError: log() takes 1 positional argument but 2 were given
mhucka commented 3 years ago

Fixed in version 1.5.4.