metha icon indicating copy to clipboard operation
metha copied to clipboard

"FATA[0000] illegal base64 data at input byte 0" for metha-ls and metha-cat

Open MW3000 opened this issue 6 years ago • 3 comments

When running metha-ls or metha-cat, I only get this output: FATA[0000] illegal base64 data at input byte 0

MW3000 avatar Oct 17 '18 12:10 MW3000

I can reproduce this:

$ METHA_DIR=/tmp metha-ls
FATA[0000] illegal base64 data at input byte 0

This suggests, that the directory contains dirs and files not managed by metha. For the moment, it is best to use a fresh directory without any other file.

$ METHA_DIR=/tmp metha-cat http://www.vse.cz/oai
FATA[0000] illegal base64 data at input byte 0          

Here, the error message is misleading. There is no harvest, but the message suggests, there is one.

miku avatar Oct 28 '18 22:10 miku

Thank you for the clarifications, @miku. I started over with a fresh base directory since, but I can reproduce your suggestions. More telling Error-Messages would be nice. Unfortunately I don't know Go yet, so I cannot contribute at the moment.

MW3000 avatar Nov 01 '18 12:11 MW3000

More telling Error-Messages would be nice.

Very good point. I try to prepare something for the next release.

miku avatar Nov 01 '18 13:11 miku