Access Denied_DB out

Hi Ines,

I have a Prodigy license through my company,InMoment. I recently used the textcat manual recipe to label sentiments. I was trying to export the annotated data out of the Prodigy database. I get the following errorProdigy_DB_Out_Error|690x197

I am on version 1.10.0 of Prodigy. I would like to upgrade to the latest version. However, I am don't know how to download the .whl file for the latest version

Thanks for your help in advance!

I think there's a typo in your command: >./ xxx.jsonl should be > ./xxx.jsonl. Also, I think on Windows you might have to add 2>&1 to the end to redirect command line output to a file (see here).

Try running the comnmand with an output directory (the second argument is the path to an output directory):

python -m prodigy db-out senti_trn_mstrV1_ks ./output

Your download link doesn't change, so whenever a new version is available, you'll be able to download it via the same link you received when you first purchased Prodigy :slightly_smiling_face: You should also receive an email notification whenever a new update is available.

1 Like

Hi Ines,

I'm receiving the same error, but only when I'm saving the output to a .jsonl file. I'm able to save to a .json file fine. Not a huge issue, just that the documentation states that the db-out command saves to .jsonl format. Not sure if I've done something wrong my end, though.

I'm using Prodigy version 1.10.8 on Windows 10.

Hmm, this is strange, because the format that's returned here is definitely newline-delimited JSON, i.e. JSONL. So to avoid confusion, you typically want to give that the file extension .jsonl. Maybe your terminal or OS gets confused by the file extension somehow? One simple workaround would be to just manually rename the file from .json to .jsonl.

You can also set an output directory in the command instead of redirecting the output on the command line, which should save a .jsonl file for you in that directory.

1 Like

Thanks :pray:

1 Like