Closed duncandewhurst closed 3 years ago
OCDS Kit gets a temporary file using tempfile.NamedTemporaryFile
. However, it seems to be a limitation of Windows that this file cannot be opened a second time by SQLite. So, we'll need a different cross-platform solution.
Try installing from GitHub pip install -e git+https://github.com/open-contracting/ocdskit.git#egg=ocdskit
You might need to start with a fresh environment.
Thanks for the fix - it's working now!
Noted whilst testing the OCDS Kit Learning Lab on Windows 10.
The
compile
command crashes with the following Traceback:Edit: For reference I used the following command:
type HC1_datos_2020.json | ocdskit compile > honduras_compiled_releases.json
with this data.