statutes.py fdsys legacy, calls to nonexistent files, and invalid function calls
gochristoph opened this issue · 1 comments
Hi there,
In the wiki, commands are still based on fdsys instead of govinfo. In my case, the command will be
./run govinfo --collections=STATUTE --extract=mods,pdf,text,xml,premis --granules
When subsequently running
./run statutes --volumes=65-126 --textversions --extracttext
There are a bunch of errors. First, in line 68 import bill_versions
, this file does not exist in the current repository. Second, the file still uses fdsys
instead of govinfo
, including the path defined in root_dir
. Then there is bill_info.latest_status(...)
in line 218, with one argument only, while the current definition in bill_info expects two arguments.
Thanks for looking into it!
Best,
Christoph
I too have run into ./run statutes not working because bill_versions does not exist. I will look back to see when it last existed.
Ah yes, bill_versions was deleted here