mnylc / islandora_multi_importer

This is a flexible, twig based, all cmodel, tabular data to islandora Object importer with optional ZeroMQ processing
GNU General Public License v3.0
16 stars 15 forks source link

IMI and plupload #79

Closed petermacdonald closed 5 years ago

petermacdonald commented 6 years ago

I've been using the multi_importer often without a problem. Yesterday I tried to get the islandora_plupload working on the server, but the IMI module wouldn't let me upload CSV files, so I removed the plupload module and library.

Now the IMI lets me upload CSV files again, but it won't let me access Google Sheets anymore. So I removed the IMI module and cloned it again from its repo.

Fortunately, I can now ingest CSV files again, but when I try processing a Google Sheet (even ones I've successfully processed in the pass) I get this access denied error:

Google API Error: { "error": { "code": 403, "message": "The caller does not have permission", "errors": [ { "message": "The caller does not have permission", "domain": "global", "reason": "forbidden" } ], "status": "PERMISSION_DENIED" } } Seems like your Google Spreadsheet has no data, no headers or we are having trouble fetching it. Check your ID, and try again URL or Range. Wrong Google Sheet info provided

Could my fiddling around with the islandora_plupload module messed up some IMI setting?

DiegoPino commented 6 years ago

Hi, plupload should work perfectly out of the box, we use it a lot here, with CSV but also with huge ZIP files. Permission denied on AWS is probably because something got messed with your AWS Client settings (drupal saved settings= when you removed the IMI module and you re installed it again. I would suggest you setup, via the IMI admin interface your AWS credentials/tokens, etc correctly. If you need help with plupload we can go step by step tomorrow? Since i added in one of the latest commits a higher level of AWS credential based security, your old tokens are not longer valid? In any case, you can also reset the settings and start from scratch. See https://github.com/mnylc/islandora_multi_importer/blob/master/docs/Configuring%20Google%20API.md

DiegoPino commented 5 years ago

Closing this for lack of activity. If issue persists feel free to reopen. Thanks!