You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure we can do anything about the dropbox api not handling endashes, except maybe trap & handle/report the error (if we rename the file prior to the dropbox-api running, it renders the submitter info moot).
But it looks like something in the tmparchive script's file-rename-and-move is failing and crashing egalleymaker, and that we should be able to fix.
Problem file: https://www.dropbox.com/s/iw6yn300y2ehi53/Caddyshack_Final%20MS_06-29-17%E2%80%939781250105950.docx?dl=0
The text was updated successfully, but these errors were encountered:
For an un-handleable character like this, it would be good to give feedback in the folder (since we can't capture the submitter). I think we should be getting an api-failure anyways so can manually look up the submitter and email them as well regardless (provided we've handled tmparchive crash)
This happened again with this file. It could also be an issue with endash encoding in python (as the filename is passed form ruby to python) and not dropbox at all, merits review. Because the convert_to_docx.py script is crashing too. Subsequent itms in temparchive.rb crash too, I think b/c they presume there will be a .docx file, and the file move out of the IN folder fails as a result too.
Anyways, we should look at this sooner rather than later, since it's basically failing silently.
I'm not sure we can do anything about the dropbox api not handling endashes, except maybe trap & handle/report the error (if we rename the file prior to the dropbox-api running, it renders the submitter info moot).
But it looks like something in the tmparchive script's file-rename-and-move is failing and crashing egalleymaker, and that we should be able to fix.
Problem file: https://www.dropbox.com/s/iw6yn300y2ehi53/Caddyshack_Final%20MS_06-29-17%E2%80%939781250105950.docx?dl=0
The text was updated successfully, but these errors were encountered: