-
Notifications
You must be signed in to change notification settings - Fork 29
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
Analysis Failure with Unreadable Data Files if a Language is selected #1312
Comments
Hi @PrajjwalDatir, thanks for the extensive report. There is no need to mention developers, this might come over as pushy and could have an adverse effect. The reason for the current behavior is because the
I do agree that the difference in how files are selected might be confusing, especially in the web server. I see two options:
I think the last option is the least confusing, since I think it will seldomly occur where someone wants to analyze files with a language that does not match its extension. What is your opinion on this? Which change would fit your use case best? |
Description:
When selecting a specific programming language and uploading a zip file that contains unreadable data files such as PDFs or videos, the analysis process fails. However, the analysis successfully passes when the language is set to automatic.
Error logs:
in console :
Uncaught TypeError: Cannot read properties of undefined (reading 'data')
in UI:
An error occurred while analyzing the dataset (out-of-memory)
Steps to Reproduce:
Select Python as the programming language.
Upload a zip file such as PDF files.
Observe the analysis failure.
Expected Behavior:
The analysis should read or skip PDF files in the zip without causing failure.
Additional Information:
Workaround: Removing the PDF files and re-zipping the contents allows for successful analysis.
Environment: https://dolos.ugent.be/server/#/
Note
you can assign this issue to me & connect me with a person with whom I can discuss the approach to solve this.
The text was updated successfully, but these errors were encountered: