Comments (7)
Thanks for the investigation @JudgeGregg. Closing this at it appears to be an upstream dependency's issue. Feel free to reopen if you discover something that ghp-import could be doing better.
from ghp-import.
Thanks for the report. What version of git are you on?
from ghp-import.
sorry for the late reply!
$ git --version
git version 2.25.1
from ghp-import.
oh.. I just tested ghp-import
on a different repo and it works there. So there seems to be an issue with the specific repo I'm working on. Can you give me a clue on how to debug this?
from ghp-import.
Hello, I've just had the very same issue. Cleaning up the output directory and regenerating content solved it. I suspect I had some manually edited file which led to git crashing during file-import.
Displaying the name of files being processed in run import with:
for fn in fnames:
print("fn: ", fn)
fpath = os.path.join(path, fn)
showed:
fn: twisted-development-policy.html
fn: conch-howto
hidden
conch_client.html
fn: developer-guides-pair.html
fn: working-from-twisteds-code-repository.html
fn: twisted-mail-smtp-pop-and-imap.html
fn: scheduling-tasks-for-the-future.html
fn: writing-a-twistd-plugin.html
fatal: Expected 'data n' command, found:
fast-import: dumping crash report to .git/fast_import_crash_734242
And the conch-howto file was indeed a file I had tinkered with. I don't know if that is the precise reason for the crash, but it did work in the end.
Thanks for your work on ghp-import :)
from ghp-import.
Thanks for the report @JudgeGregg. @ratnanil does this information help you? Unfortunately I don't have the bandwidth to look into this right now, but a PR would be very much appreciated if you do trace this down!
from ghp-import.
I think I can reproduce this, and it's probably not ghp-import's fault:
it happens when a filename has a line break in its name:
if you run:
#!/bin/zsh
touch a
cp a $'b\nc'
in your output directory, you will create a file with a line break in its name and git-import will fail.
Now the question is: how does pelican creates such weird filenames. I'm fairly sure it's due to some weird spacing in a rst file, but cannot reproduce it yet.
from ghp-import.
Related Issues (20)
- 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
- fatal: Invalid raw date HOT 11
- 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.