Technology and Beyond (TaB)
pull code failed - Printable Version

+- Technology and Beyond (TaB) (http://tab.d-thinker.org)
+-- Forum: Data Thinker (/forumdisplay.php?fid=896)
+--- Forum: Resources (/forumdisplay.php?fid=211)
+---- Forum: Completed work (/forumdisplay.php?fid=275)
+---- Thread: pull code failed (/showthread.php?tid=3795)


pull code failed - zma - 07-13-2015 10:24 PM

It worked well before. But failed today Jul. 13, 2015 22:20:

[zma@home:~/forest/code/code]$ git pull
FATAL: R any code zma DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


RE: pull code failed - lingu - 07-13-2015 10:49 PM

(07-13-2015 10:24 PM)zma Wrote:  It worked well before. But failed today Jul. 13, 2015 22:20:

[zma@home:~/forest/code/code]$ git pull
FATAL: R any code zma DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Strange. There is not any change in the VM except for the network and hostname settings. Could you clone code?


RE: pull code failed - zma - 07-13-2015 11:20 PM

(07-13-2015 10:49 PM)lingu Wrote:  
(07-13-2015 10:24 PM)zma Wrote:  It worked well before. But failed today Jul. 13, 2015 22:20:

[zma@home:~/forest/code/code]$ git pull
FATAL: R any code zma DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Strange. There is not any change in the VM except for the network and hostname settings. Could you clone code?

No luck either:

[zma@home:~]$ forest/code/code.old/cod clone code
The Ground is the directory where all the code trees reside.
The code tree will be cloned in the current Ground: /home/zma/forest
Cloning into 'code'...
FATAL: R any code zma DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


RE: pull code failed - amoners - 07-14-2015 09:16 AM

It works to me.

Code:
[amoners@berners-lee code.bak]$ python cod.py clone code
The Ground is the directory where all the code trees reside.
The code tree will be cloned in the current Ground: /home/amoners/forest
Cloning into 'code'...
remote: Counting objects: 798, done.
remote: Compressing objects: 100% (737/737), done.
remote: Total 798 (delta 404), reused 0 (delta 0)
Receiving objects: 100% (798/798), 96.40 KiB | 0 bytes/s, done.
Resolving deltas: 100% (404/404), done.
Checking connectivity... done.



RE: pull code failed - zma - 07-14-2015 09:52 AM

(07-14-2015 09:16 AM)amoners Wrote:  It works to me.

Code:
[amoners@berners-lee code.bak]$ python cod.py clone code
The Ground is the directory where all the code trees reside.
The code tree will be cloned in the current Ground: /home/amoners/forest
Cloning into 'code'...
remote: Counting objects: 798, done.
remote: Compressing objects: 100% (737/737), done.
remote: Total 798 (delta 404), reused 0 (delta 0)
Receiving objects: 100% (798/798), 96.40 KiB | 0 bytes/s, done.
Resolving deltas: 100% (404/404), done.
Checking connectivity... done.

After some debugging, find its the domain name inconsistency's problem:

commit c97ff623c573b9e14f74ae172ffb544be75b4e09
Author: Lin Gu <lingu@acm.org>
Date: Sat Sep 20 16:43:44 2014 +0800

Update codb address

diff --git a/Globe.py b/Globe.py
index 2adc5f7..8e4bfa5 100644
--- a/Globe.py
+++ b/Globe.py
@@ -12,19 +12,19 @@ def verbosay2(msg):
repos = {"code": {"proto":"git",
"username": "git",
"repository": "code",
- "loc": "codb.lazero.net"},
+ "loc": "codb.d-thinker.org"},


The git domain changed in this commit. The 2 domains pointed to the same address and worked since them until the recent VM moving. A typical like-in-code "same piece of code appearing twice while bugfix applied to one only" problem.

Hope there are not many users that are holding a copy of code as old as me..

But anyway, we should fix this.