Comments (11)
[Update] after reading several issues, somehow similar, I modified my user name (Pedro Velez) to avoid any space but I still get the same fatal: Invalid raw date
It seems related to the way the date from the commit is used, but I am not able to fix it.
from ghp-import.
This looks similar to #60. Could you report what the following command returns for you?
import time
print(time.strftime('%z'))
from ghp-import.
Resolving in favor of #60 as this seems to be the same root cause. Please add any additional questions or follow-up to that other issue. Thanks!
from ghp-import.
This has been released in 0.6.0.
from ghp-import.
I'm using version 2.0.2
of ghp-import and Python 3.8.10. Still getting this error. Any idea what's wrong @c-w ?
I'm getting the following output from the code you mentioned above.
>>> import time
>>> print(time.strftime('%z'))
+0530
>>>
from ghp-import.
Could you provide me with the full stack trace @imdeepmind? Also, what OS and git version are you on?
from ghp-import.
Here are the details @c-w
Stacktrace:
fatal: Invalid raw date "<[email protected]> 1638984718 +0530" in ident: Abhishek Chatterjee <imdeepmind> <[email protected]> 1638984718 +0530
fast-import: dumping crash report to .git/fast_import_crash_19516
Traceback (most recent call last):
File "/home/imdeepmind/Desktop/workspace/hocrox/env/bin/ghp-import", line 8, in <module>
sys.exit(main())
File "/home/imdeepmind/Desktop/workspace/hocrox/env/lib/python3.8/site-packages/ghp_import.py", line 278, in main
ghp_import(args[0], **opts.__dict__)
File "/home/imdeepmind/Desktop/workspace/hocrox/env/lib/python3.8/site-packages/ghp_import.py", line 257, in ghp_import
run_import(git, srcdir, **opts)
File "/home/imdeepmind/Desktop/workspace/hocrox/env/lib/python3.8/site-packages/ghp_import.py", line 192, in run_import
pipe.stdin.close()
BrokenPipeError: [Errno 32] Broken pipe
OS Version: OS: Linux Mint 20.1 x86_64
Git Version: git version 2.25.1
from ghp-import.
Looks like this is an unrelated issue. Could you provide the output of git config --list
too, thanks!
from ghp-import.
Here it is @c-w
(env) imdeepmind@imdeepmind:~/Desktop/workspace/hocrox(enhancement/add-doc-site)$ git config --list
[email protected]
user.name=Abhishek Chatterjee <imdeepmind>
alias.add-commit=!git add -A && git commit
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
[email protected]:imdeepmind/hocrox.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.main.remote=origin
branch.main.merge=refs/heads/main
from ghp-import.
Could you try removing the <imdeepmind>
from the user name: git config user.name "Abhishek Chatterjee"
? I wonder if that's throwing off the fast-import date parser.
from ghp-import.
Thanks @c-w, changing the name user.name fixed the issue
from ghp-import.
Related Issues (20)
- expected "data- n" command, found... HOT 7
- Wheels on pypi.org HOT 1
- ident nonsense HOT 8
- opt `--no-jekyll` should place `.nojekyll` under `--prefix` directory HOT 3
- Use `rfc2822` date format
- Davisp HOT 1
- Authentication to GitHub fails execting ghp-import HOT 2
- Local branch vs remote branch HOT 3
- Alternative to --no-history HOT 4
- How to use ghp-import and the full repository HOT 2
- Allow deployment to a specific folder, keeping others HOT 9
- Is it possible to ignore certain files? HOT 2
- use with Circle-CI HOT 4
- skip deploy if no update HOT 1
- Problem installing ghp-import into Gradle project HOT 2
- Problem adding file with CJK punctuation HOT 4
- ghp-import with two users? HOT 5
- Add a --no-history optin to avoid growing branch weight HOT 6
- Irregular "error: Failed to rebase gh-pages branch" with --no-history HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghp-import.