Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Stuck downloading when downloading an archived and completed document #275

Open
jacobburrell opened this issue May 21, 2024 · 2 comments

Comments

@jacobburrell
Copy link

image image

When attempting to download an archived and completed document, the download process gets stuck and does not complete.

Additionally, is there any way to unarchive a document from the web interface? Non-archived documents of different Submissions
download just fine from the same document.

@sunshine69
Copy link

I saw the same issues here, completed doc can nto be downloaded. The error logs is like

E, [2024-05-22T22:01:05.428390 #1] ERROR -- : [49f6d004-f5c3-4020-896d-15148d0b18ea]   
[49f6d004-f5c3-4020-896d-15148d0b18ea] NoMethodError (undefined method `[]' for nil):
[49f6d004-f5c3-4020-896d-15148d0b18ea]   
[49f6d004-f5c3-4020-896d-15148d0b18ea] lib/submissions/generate_result_attachments.rb:312:in `build_pdf_attachment'
[49f6d004-f5c3-4020-896d-15148d0b18ea] lib/submissions/generate_result_attachments.rb:269:in `block in call'
[49f6d004-f5c3-4020-896d-15148d0b18ea] lib/submissions/generate_result_attachments.rb:266:in `map'
[49f6d004-f5c3-4020-896d-15148d0b18ea] lib/submissions/generate_result_attachments.rb:266:in `call'
[49f6d004-f5c3-4020-896d-15148d0b18ea] lib/submissions/ensure_result_generated.rb:27:in `call'
[49f6d004-f5c3-4020-896d-15148d0b18ea] app/controllers/submissions_download_controller.rb:22:in `index'
[49f6d004-f5c3-4020-896d-15148d0b18ea] lib/api_path_consider_json_middleware.rb:15:in `call'

@omohokcoj
Copy link
Contributor

@sunshine69 could you please share the PDF that resulted in this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants