aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/bugs/git-annex_adds_unicode_characters_at_end_of_checksum/comment_6_c39d87c005f82da6424064f61b8ccd58._comment33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/bugs/git-annex_adds_unicode_characters_at_end_of_checksum/comment_6_c39d87c005f82da6424064f61b8ccd58._comment b/doc/bugs/git-annex_adds_unicode_characters_at_end_of_checksum/comment_6_c39d87c005f82da6424064f61b8ccd58._comment
new file mode 100644
index 000000000..a6b40418f
--- /dev/null
+++ b/doc/bugs/git-annex_adds_unicode_characters_at_end_of_checksum/comment_6_c39d87c005f82da6424064f61b8ccd58._comment
@@ -0,0 +1,33 @@
+[[!comment format=mdwn
+ username="i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9"
+ nickname="i"
+ avatar="http://cdn.libravatar.org/avatar/661785c9bf4c87cc795f130b47a1c4ae"
+ subject="thanks for the quick response!"
+ date="2018-03-05T17:19:19Z"
+ content="""
+That was really quick, thanks. I had no idea that the E in SHA256E stands for adding extensions. That makes the fix much easier, and much neater than adding spaces to filenames. Although it does make me wonder, what's the advantage of having the file extension in the key?
+
+And yes, the python glacier-cli is failing with:
+
+[[!format sh \"\"\"
+% git annex copy 12.\ Change\ The\ World\ \(feat.\ 웅산\).mp3 --to glacier
+copy 12. Change The World (feat. 웅산).mp3 (checking glacier...) Traceback (most recent call last):
+ File \"/usr/local/bin/glacier\", line 737, in <module>
+ main()
+ File \"/usr/local/bin/glacier\", line 733, in main
+ App().main()
+ File \"/usr/local/bin/glacier\", line 719, in main
+ self.args.func()
+ File \"/usr/local/bin/glacier\", line 600, in archive_checkpresent
+ self.args.vault, self.args.name)
+ File \"/usr/local/bin/glacier\", line 161, in get_archive_last_seen
+ result = self._get_archive_query_by_ref(vault, ref).one()
+ File \"/usr/local/bin/glacier\", line 136, in _get_archive_query_by_ref
+ if ref.startswith('id:'):
+UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 83: ordinal not in range(128)
+(user error (glacier [\"--region=eu-west-1\",\"archive\",\"checkpresent\",\"music\",\"--quiet\",\"SHA256E-s7479642--957208748ae03fe4fc8d7877b2c9d82b7f31be0726e4a3dec9063b84cc64cf09.\50885\49328.mp3\"] exited 1)) failed
+git-annex: copy: 1 failed
+\"\"\"]]
+
+I'll open an issue in their GitHub in a moment since now I can give them some more context. Cheers!
+"""]]