Describe the bug
Tried to import a dataset from Zenodo to renku. Metadata about dataset was printed and user asked if they wanted to continue with download. Confirmed download, but file lock could not be acquired
To Reproduce
renku dataset import -n meteorology-quality-checked https://zenodo.org/record/3379590
Type y when asked if want to continue with download.
Expected behavior
Expected dataset to be imported to renku locally.
Screenshots
renku dataset import -n meteorology-quality-checked https://zenodo.org/record/3379590
CHECKSUM NAME SIZE (MB) TYPE
8cf14afea3e6fe33f5b1b0ce921d73c0 ACE_filtered_meteorological_data_1min.csv 45.006 csv
07d2be0d7e9dfe24e7ded5b4af28b627 ace_verified_meteorological_data_change_log.txt 0.000425 txt
8ce786ee54191f2541a4a6b088e03aec data_file_header.txt 0.00527 txt
8c89ca1a6e0908946507de47cd6e3cad diff_TA1_TA3_WDR2_5min.png 0.070755 png
5681303afb9ca28c64acf1b5f6be2d49 ratio_SR1_SR3_solangle_5min.png 0.070922 png
1e4ac544b66ac78cbd218702e052232a README.txt 0.030742 txt
Do you wish to download this version? [y/N]: y
Ahhhhhhhh! You have found a bug. 🐞
Traceback
Traceback (most recent call last):
File "[...]/renku/cli/_exc.py", line 100, in main
result = super().main(*args, **kwargs)
File "[...]/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "[...]/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "[...]/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "[...]/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "[...]/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "[...]/renku/cli/_client.py", line 86, in new_func
result = ctx.invoke(method, client, *args, **kwargs)
File "[...]/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "[...]/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "[...]/renku/cli/dataset.py", line 842, in import_
force=True
File "[...]/renku/cli/_client.py", line 83, in new_func
stack.enter_context(client.lock)
File "[...]/contextlib.py", line 426, in enter_context
result = _cm_type.__enter__(cm)
File "[...]/site-packages/filelock.py", line 323, in __enter__
self.acquire()
File "[...]/site-packages/filelock.py", line 278, in acquire
raise Timeout(self._lock_file)
filelock.Timeout: The file lock '/home/jen/projects/ace_data_management/renku-projects/meteorology-quality-checked/.renku.lock' could not be acquired.
Desktop (please complete the following information):
Renku version: 0.6.1.dev3
OS: Linux (#1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20))
Python: 3.7.3
Additional context
The import was tested before and after creating the dataset locally on renku. Both times the bug report was the same and occurred at the same point.
Describe the bug
Tried to import a dataset from Zenodo to renku. Metadata about dataset was printed and user asked if they wanted to continue with download. Confirmed download, but file lock could not be acquired
To Reproduce
renku dataset import -n meteorology-quality-checked https://zenodo.org/record/3379590
Type y when asked if want to continue with download.
Expected behavior
Expected dataset to be imported to renku locally.
Screenshots
renku dataset import -n meteorology-quality-checked https://zenodo.org/record/3379590CHECKSUM NAME SIZE (MB) TYPE
8cf14afea3e6fe33f5b1b0ce921d73c0 ACE_filtered_meteorological_data_1min.csv 45.006 csv
07d2be0d7e9dfe24e7ded5b4af28b627 ace_verified_meteorological_data_change_log.txt 0.000425 txt
8ce786ee54191f2541a4a6b088e03aec data_file_header.txt 0.00527 txt
8c89ca1a6e0908946507de47cd6e3cad diff_TA1_TA3_WDR2_5min.png 0.070755 png
5681303afb9ca28c64acf1b5f6be2d49 ratio_SR1_SR3_solangle_5min.png 0.070922 png
1e4ac544b66ac78cbd218702e052232a README.txt 0.030742 txt
Do you wish to download this version? [y/N]: y
Ahhhhhhhh! You have found a bug. 🐞
Traceback
Desktop (please complete the following information):
Renku version: 0.6.1.dev3
OS: Linux (#1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20))
Python: 3.7.3
Additional context
The import was tested before and after creating the dataset locally on renku. Both times the bug report was the same and occurred at the same point.