You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered an issue occurring when trying to parse an empty string as a date. I am not sure whether this is a problem with the OAI-PMH endpoint doing something illegal or metha itself (not sure if the OAI-PMH specs allow for empty strings as dates).
This is what I got for metha-sync -base-dir . -format marcxml "https://zentralgut.ch/oai":
INFO[0000] https://zentralgut.ch/oai?verb=Identify
INFO[0000] harvest: &{BaseURL:https://zentralgut.ch/oai Format:marcxml Set: From: Until: Client:0xc00010c640 MaxRequests:1048576 DisableSelectiveHarvesting:false CleanBeforeDecode:true IgnoreHTTPErrors:false MaxEmptyResponses:10 SuppressFormatParameter:false HourlyInterval:false DailyInterval:false ExtraHeaders:map[] KeepTemporaryFiles:false Delay:0 Identify:0xc000488938 Started:0001-01-01 00:00:00 +0000 UTC Mutex:{state:0 sema:0}}
FATA[0000] parsing time "" as "2006-01-02T15:04:05Z": cannot parse "" as "2006"
I am using metha 0.2.57.
I could make it work providing the -from option. 2006-01-02 occurs as a sample for -from date in the docs. So that's maybe which this is mentioned in the error message?
Thanks for your feedback and kind regards,
Tobias
The text was updated successfully, but these errors were encountered:
Hi @miku,
I have encountered an issue occurring when trying to parse an empty string as a date. I am not sure whether this is a problem with the OAI-PMH endpoint doing something illegal or metha itself (not sure if the OAI-PMH specs allow for empty strings as dates).
This is what I got for
metha-sync -base-dir . -format marcxml "https://zentralgut.ch/oai"
:I am using metha 0.2.57.
I could make it work providing the
-from
option.2006-01-02
occurs as a sample for -from
date in the docs. So that's maybe which this is mentioned in the error message?Thanks for your feedback and kind regards,
Tobias
The text was updated successfully, but these errors were encountered: