Comments (10)
I'm hitting the same issue. Is there a work around?
from pelican-themes.
This is how I worked around this issue. Its ugly, but it did work:
$ git clone https://github.com/getpelican/pelican-themes
$ cd pelican-themes
$ git clone [email protected]:mawenbao/niu-x2.git niu-x2
$ git submodule update --init --recursive
For complete output, see:
https://gist.github.com/ae81fb341294e7ca3bda
from pelican-themes.
Will git clone --recursive https://github.com/getpelican/pelican-themes
work?
from pelican-themes.
Interesting you ask....
When I use my mac, it works fine. When I use my Centos 6.5 VM I'm not as
lucky.... maybe something to do with the
git version. :/
** Works:
$ git --version
git version 1.8.5.2 (Apple Git-48)
** Does not work:
$ git --version
git version 1.7.1
$ uname -a
Linux blog2.localdomain 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7
23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
On Fri, May 16, 2014 at 12:58 PM, Ma Wenbao [email protected]:
Will git clone --recursive https://github.com/getpelican/pelican-themeswork?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/207#issuecomment-43354660
.
from pelican-themes.
This is really strange. Never seen that before. Maybe you can use the strace
command to see what is git doing when it's stalling.
# get the pid of git first
ps aux | grep git | grep -v grep
strace -p ${pid of git}
from pelican-themes.
not sure if this will help, but here it is:
$ for x in strace.*.txt ; do echo $x ; cat $x ; echo ; done
strace.3830.txt
wait4(3836, <unfinished ...>
strace.3836.txt
wait4(3837, <unfinished ...>
strace.3837.txt
wait4(-1, <unfinished ...>
strace.4235.txt
wait4(-1, <unfinished ...>
strace.4867.txt
read(3, <unfinished ...>
strace.4868.txt
read(8, <unfinished ...>
strace.4870.txt
read(0, <unfinished ...>
https://gist.github.com/527731a039d03b3ba3d1
(pelican)[ffernand@blog2 ~]$
(pelican)[ffernand@blog2 ~]$ ps auxww | grep git
ffernand 3830 0.1 0.8 26720 15416 pts/0 S+ 22:39 0:00 git clone
--recursive https://github.com/getpelican/pelican-themes
ffernand 3836 0.0 0.0 9756 700 pts/0 S+ 22:39 0:00 git
submodule update --init --recursive
ffernand 3837 0.0 0.0 106360 1508 pts/0 S+ 22:39 0:00 /bin/sh
/usr/libexec/git-core/git-submodule update --init --recursive
ffernand 4235 0.0 0.0 106364 1000 pts/0 S+ 22:39 0:00 /bin/sh
/usr/libexec/git-core/git-submodule update --init --recursive
ffernand 4867 0.0 0.0 9764 1116 pts/0 S+ 22:40 0:00 git-clone
-n http://github.com/wilbur-ma/niu-x2 niu-x2
ffernand 4868 0.2 0.3 91548 6724 pts/0 S+ 22:40 0:00
git-remote-http http://github.com/wilbur-ma/niu-x2
http://github.com/wilbur-ma/niu-x2
ffernand 4870 0.0 0.0 9756 976 pts/0 S+ 22:40 0:00 git
fetch-pack --stateless-rpc --lock-pack --thin
http://github.com/wilbur-ma/niu-x2 efs/heads/master efs/heads/sidebar
efs/heads/sidebar-toc
ffernand 4877 0.0 0.0 103252 824 pts/1 S+ 22:40 0:00 grep git
(pelican)[ffernand@blog2 ~]$
(pelican)[ffernand@blog2 ~]$
(pelican)[ffernand@blog2 ~]$
(pelican)[ffernand@blog2 ~]$ for x in 3830 3836 3837 4235 4867 4868 4870 ;
do echo "Looking at ${X}" ; sudo strace -p ${x} ; echo ; done
Looking at
Process 3830 attached - interrupt to quit
wait4(3836,
^C <unfinished ...>
Process 3830 detached
Looking at
Process 3836 attached - interrupt to quit
wait4(3837, ^C <unfinished ...>
Process 3836 detached
Looking at
Process 3837 attached - interrupt to quit
wait4(-1, ^C <unfinished ...>
Process 3837 detached
Looking at
Process 4235 attached - interrupt to quit
wait4(-1, ^C <unfinished ...>
Process 4235 detached
Looking at
Process 4867 attached - interrupt to quit
read(3, ^C <unfinished ...>
Process 4867 detached
Looking at
Process 4868 attached - interrupt to quit
read(8, ^C <unfinished ...>
Process 4868 detached
Looking at
Process 4870 attached - interrupt to quit
read(0, ^C <unfinished ...>
Process 4870 detached
(pelican)[ffernand@blog2 ~]$
(pelican)[ffernand@blog2 ~]$ for x in 3830 3836 3837 4235 4867 4868 4870 ;
do echo "Looking at ${X}" ; sudo strace -p ${x} -o strace.${x}.txt ; echo ;
done
Looking at
Process 3830 attached - interrupt to quit
^CProcess 3830 detached
Looking at
Process 3836 attached - interrupt to quit
^CProcess 3836 detached
Looking at
Process 3837 attached - interrupt to quit
^CProcess 3837 detached
Looking at
Process 4235 attached - interrupt to quit
^CProcess 4235 detached
Looking at
Process 4867 attached - interrupt to quit
^CProcess 4867 detached
Looking at
Process 4868 attached - interrupt to quit
^CProcess 4868 detached
Looking at
Process 4870 attached - interrupt to quit
^CProcess 4870 detached
(pelican)[ffernand@blog2 ~]$
(pelican)[ffernand@blog2 ~]$ ls
bin git junk2 pelican-blog.git strace.3830.txt strace.3837.txt
strace.4867.txt strace.4870.txt x
dave junk my-lisp site strace.3836.txt strace.4235.txt
strace.4868.txt venv
On Fri, May 16, 2014 at 2:15 PM, Ma Wenbao [email protected] wrote:
This is really strange. Never seen that before. Maybe you can use the
strace command to see what is git doing when it's stalling.get the pid of git first
ps aux | grep git | grep -v grep
strace -p ${pid of git}—
Reply to this email directly or view it on GitHubhttps://github.com//issues/207#issuecomment-43362514
.
from pelican-themes.
strace.4870.txt
read(0, <unfinished ...>
It seemed that one of the git child processes was trying to read something from the standard input. Don't know why. Besides, I checked the .submodules
file of pelican-themes, and niu-x2
is the only submodule with a http url.
from pelican-themes.
I'm having the same problem. Any suggestion?
$ git --version
git version 2.1.0
$ uname -a
NetBSD iceland 6.1_STABLE NetBSD 6.1_STABLE (GENERIC) #0: *** amd64
$ git clone --recursive https://github.com/getpelican/pelican-themes
[ some output telling it cloned everything OK ]
Initialized empty Git repository in ./pelican-themes/niu-x2/.git/
It hang here. There is something with the "niu-x2" repo that it doesn't like.
$ git clone [email protected]:mawenbao/niu-x2.git niu-x2
Initialized empty Git repository in ./pelican-themes/niu-x2/.git/
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
from pelican-themes.
chr: yes. Update your git, if you can. I noticed that if I used Centos 6.5 with git 1.7.1 it did not work.
from pelican-themes.
@flavio-fernandes Thanks! In my previous post I actually messed up things: with git version 2.1.0 on the NetBSD machine it works fine. The problem I was having was on a CentOS machine which has git version 1.7.1: I'll ask the sysadmin to upgrade git.
from pelican-themes.
Related Issues (20)
- Feature Request: Add notion theme template.
- Internal server error on http://www.pelicanthemes.com/ HOT 2
- Can't add social links
- "bricks" theme: can't add social links HOT 3
- http://www.pelicanthemes.com/ not working HOT 4
- Lab theme is broken HOT 3
- bootstrap3 theme integrates tipue_search which is abandoned
- pelican-bootstrap3: add support of `LINKS_WIDGET_NAME` and `SOCIAL_WIDGET_NAME`
- Pure theme repo is not exists anymore. HOT 1
- pelican-striped-html5up: TypeError: not all arguments converted during string formatting
- 'pure' repository does not exist HOT 1
- pelicanthemes.com website throwing 500s HOT 19
- Alternate themes preview using Github Pages HOT 13
- Seeking sample content for theme dev/testing HOT 2
- Application error HOT 2
- What is the name of this theme? HOT 1
- "[Errno 13] Permission denied ,install themes HOT 1
- Live Version is down HOT 1
- Pelican Themes site down HOT 1
- the live site is down HOT 1
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 pelican-themes.