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
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:
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 language of the files was detected as <language> but <n> files were ignored because they did not have a matching extension.
You can override this behavior by setting the language explicitly.
I do agree that the difference in how files are selected might be confusing, especially in the web server.
I see two options:
Adding a CLI option in addition to -l <language> option to filter out files not matching the program's extension (for example --filter-extension)
Harmonizing the default behavior to always filter out files that do not match the extension, unless an option --ignore-extension is given.
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: