From b32e69ba45d32593668fd1d629427cac337404ce Mon Sep 17 00:00:00 2001 From: thk Date: Sat, 14 Mar 2020 11:52:03 +0000 Subject: [PATCH] --- ..._with_dots_and_spaces_can_not_be_exported.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/filenames_with_dots_and_spaces_can_not_be_exported.mdwn diff --git a/doc/bugs/filenames_with_dots_and_spaces_can_not_be_exported.mdwn b/doc/bugs/filenames_with_dots_and_spaces_can_not_be_exported.mdwn new file mode 100644 index 0000000000..3bdb067e31 --- /dev/null +++ b/doc/bugs/filenames_with_dots_and_spaces_can_not_be_exported.mdwn @@ -0,0 +1,15 @@ +### Please describe the problem. + +The file `Kontoauszug 01.01.2019 - 31.12.2019 - CH1234567890123456789 - 2019-12-31.pdf` can not be exported. The error message is just "failed". + +I added code (pull request underway) to log IOExceptions and saw this exception message: + + /media/thk/thk-sg2/annex-exporttree-sg2/shared/finance/taxes/2019/: openTempFile: invalid argument (Invalid argument) + +After renaming the file to `Kontoauszug 01012019 - 31122019 - CH2480808009412070498 - 2019-12-31.pdf` it could be exported. + +I am not yet sure what exact combinations of dots, spaces and maybe dashes cause the failure. + +### What version of git-annex are you using? On what operating system? + +git-annex version: 8.20200309-05df404212, Debian testing