miku / metha

Command line OAI-PMH harvester and client with built-in cache.

Home Page:https://lab.ub.uni-leipzig.de/metha/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

MW3000 opened this issue · comments

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

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.

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.

More telling Error-Messages would be nice.

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