Added a comment: thanks for the quick response!

This commit is contained in:
i@f4fc1d4ed8c7cc91fc284462cb631c270a5195e9 2018-03-05 17:19:19 +00:00 committed by admin
parent f71dc6aa05
commit f4095f7db8

View file

@ -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!
"""]]