I'm trying to do a ghp-import into a master branch but I keep getting IOError: [Errno 22] Invalid argument and a crash report:
`
fast-import crash report:
fast-import process: 9124
parent process : 1
at Sat Jun 2 22:11:29 2018
fatal: Invalid raw date "1527973889 GMT Daylight Time" in ident: osisieke
<[email protected]> 1527973889 GMT Daylight Time
Most Recent Commands Before Crash
---------------------------------
commit refs/heads/gh-pages
* committer osisieke <[email protected]> 1527973889 GMT Daylight Time
Active Branch LRU
-----------------
active_branches = 0 cur, 5 max
pos clock name
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Inactive Branches
-----------------
refs/heads/gh-pages:
status : dirty
tip commit : 0000000000000000000000000000000000000000
old tree : 0000000000000000000000000000000000000000
cur tree : 0000000000000000000000000000000000000000
commit clock: 0
last pack :
Marks
-----
-------------------
END OF CRASH REPORT
` I think fast-import tries to parse "osisieke " as a date which of course fails. I'm really confused as how to move forward. Any help please
You could improve your question a great deal by showing what you're actually running. See How do I ask a good question? and in particular How to create a Minimal, Complete, and Verifiable example. (In particular, if I do a Google Search for "ghp-import", the top results include two different variations, and you're not showing the commands you use.)
In any case, the problem is that
1527973889 GMT Daylight Timeis not a valid date format.The valid date formats are listed in the
git fast-importdocumentation as follows:You do not show what options you passed to
git fast-import, but the string1527973889 GMT Daylight Timebegins with a rather promising value (1527973889represents a time during 2 June 2018, specificallySat Jun 2 21:11:29 UTC 2018). In other words, this starts out as a validrawformat. However, the time zone offset, which must have the form shown above, is then given as "GMT Daylight Time", which not only fails to have that form, but is also nonsense: GMT does not have Daylight Saving Time. (The UK goes to BST, British Summer Time, in the summer.)