"Download files referenced in the table" fails
Summary
execute select photograph FROM guitar
in the demo instance and click "Download files referenced in the table" in the menu of the "Export" button.
Expected Behavior
download files as zip
Actual Behavior
ERROR:
Error! Please help to make CaosDB better! Copy this message and send it via email to info@indiscale.com.
An error occurred during execution of the server-side script:
<script code="1">
<call>ext_file_download/zip_files.py 132,135 ID Version URI Path Name RecordType
132 1dcd4eaa1af8121587557f003163037fdda20aeb https://demo.indiscale.com/Entity/132@1dcd4eaa1af8121587557f003163037fdda20aeb /images/my_first_guitar.png my_first_guitar.png Photograph
135 efe7460846a63a010a30fa6f1f4ccfcd3b69ef81 https://demo.indiscale.com/Entity/135@efe7460846a63a010a30fa6f1f4ccfcd3b69ef81 /images/john_lennon_guitar.png john_lennon_guitar.png Photograph</call>
<stdout/>
<stderr>Traceback (most recent call last):
File "/opt/caosdb/git/caosdb-server/caosdb-webui/sss_bin/ext_file_download/zip_files.py", line 112, in <module>
main()
File "/opt/caosdb/git/caosdb-server/caosdb-webui/sss_bin/ext_file_download/zip_files.py", line 106, in main
zip_file = collect_files_in_zip(id_list, args.table)
File "/opt/caosdb/git/caosdb-server/caosdb-webui/sss_bin/ext_file_download/zip_files.py", line 74, in collect_files_in_zip
tmp = db.execute_query("FIND {a:} WITH ID={a:}".format(
File "/usr/local/lib/python3.9/dist-packages/caosdb/common/models.py", line 4394, in execute_query
return query.execute(unique=unique,
File "/usr/local/lib/python3.9/dist-packages/caosdb/common/models.py", line 4350, in execute
raise EmptyUniqueQueryError(
caosdb.exceptions.EmptyUniqueQueryError: Query 'FIND 132 WITH ID=132' found no results.</stderr>
</script>
Specifications
- Version: 0.13.0
Edited by Quazgar