[Q] CM Jellybean Repo Sync - HTC Rezound

Hello everyone, Im trying to sync the repo for CM 10 and running into some issues. When i run the repo sync command i get this
Code:
[email protected]:~/android/source$ repo sync
... A new repo command ( 1.18) is available.
... You should upgrade soon:
cp /home/mowers/android/source/.repo/repo/repo /home/mowers/bin/repo
Fetching projects: 9% (29/319) fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
Fetching projects: 10% (32/319) fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
Fetching projects: 30% (96/319) fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused
Fetching projects: 46% (147/319) error: Cannot fetch CyanogenMod/android_packages_apps_Contacts
Fetching projects: 47% (150/319)
error: Exited sync due to fetch errors
[email protected]:~/android/source$
I also tried to run the repo sync -f and ended up with the same errors...any ideas?

That's a network error connecting to github.com. According to https://status.github.com/, they are currently having issues.

shrike1978 said:
That's a network error connecting to github.com. According to https://status.github.com/, they are currently having issues.
Click to expand...
Click to collapse
That would explain it then..Thanks shrike

99.9852% DAT percentage. O.O

Shrike...the site is saying that they are up and on normal status but I'm getting that error still. Could it be something with chads repo ?
Sent from my Infectious Rezound using Tapatalk 2

OK I got it to work. I just change it from git:// to HTTPS:// and it was able to sync
Sent from my Infectious Rezound using Tapatalk 2

Related

[Q] CM9 repo sync error help!!

well i had been trying to download CM9 source (ICS) to build for my device but when i did repo sync i got stuck
here's the error...
Fetching projects: 95% (231/243) fatal: The remote end hung up unexpectedly
Fetching projects: 99% (241/243) fatal: The remote end hung up unexpectedly
error: Cannot fetch CyanogenMod/android_prebuilt
error: Exited sync due to fetch errors
i did repo sync -j16, repo sync etc... also tries rebooting but nothing helps..
chaitanyakaul said:
well i had been trying to download CM9 source (ICS) to build for my device but when i did repo sync i got stuck
here's the error...
Fetching projects: 95% (231/243) fatal: The remote end hung up unexpectedly
Fetching projects: 99% (241/243) fatal: The remote end hung up unexpectedly
error: Cannot fetch CyanogenMod/android_prebuilt
error: Exited sync due to fetch errors
i did repo sync -j16, repo sync etc... also tries rebooting but nothing helps..
Click to expand...
Click to collapse
Check here
http://forum.cyanogenmod.com/topic/39528-cant-dl-source/
editing repo did it work.
Sent from my Galaxy Nexus using Tapatalk
well no it isn't working for me....
I can't get this to work either. repo sync -j16 fails, repo sync fails. I attempted to edit manifest.xml in .repo but it already has https instead of git, so no ****ing idea what to do here.
Here's my errors:
Code:
Fetching projects: 55% (134/243) error: The requested URL returned error: 504 while accessing https://github.com/CyanogenMod/android_external_tinyxml/info/refs
fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://github.com/CyanogenMod/android_external_tinyxml/info/refs
fatal: HTTP request failed
error: Cannot fetch CyanogenMod/android_external_tinyxml
error: Exited sync due to fetch errors
[email protected]:~/android/system$ repo sync
Fetching projects: 27% (66/243) error: The requested URL returned error: 403 while accessing https://github.com/CyanogenMod/android_build/info/refs
fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://github.com/CyanogenMod/android_device_samsung_tuna/info/refs
**** you for wasting 2 days of my life, github.
I tried to completely redownload the source, but now instead of that one error I get multiple "fatal: HTTP request failed".
edit .repo/manifest.xml
<remote name="github"
fetch="git://github.com/"
review="review.cyanogenmod.com" />
<remote name="github_https"
fetch="https://github.com/"
review="review.cyanogenmod.com" />
<project path="prebuilt" name="CyanogenMod/android_prebuilt" remote="github_https" />
make sure your router is opening git ports, try DMZ mode,
if on ubuntu oneiric python 2.7.2 causes repo to die slowly
use sync -j1
or download and install pypy and edit repo to call that instead of /usr/bin/python
this is currently working for me
Seems like they modified the manifest.xml to look like kfazz one. Now it works fine.
I have inserted these lines in the beginning of the file but I have got the following errors
File "/home/husam/android/system/.repo/repo/main.py", line 366, in <module>
_Main(sys.argv[1:])
File "/home/husam/android/system/.repo/repo/main.py", line 346, in _Main
result = repo._Run(argv) or 0
File "/home/husam/android/system/.repo/repo/main.py", line 121, in _Run
copts, cargs = cmd.OptionParser.parse_args(argv)
File "/home/husam/android/system/.repo/repo/command.py", line 42, in OptionParser
self._Options(self._optparse)
File "/home/husam/android/system/.repo/repo/subcmds/sync.py", line 120, in _Options
self.jobs = self.manifest.default.sync_j
File "/home/husam/android/system/.repo/repo/manifest_xml.py", line 215, in default
self._Load()
File "/home/husam/android/system/.repo/repo/manifest_xml.py", line 255, in _Load
self._ParseManifest(True)
File "/home/husam/android/system/.repo/repo/manifest_xml.py", line 342, in _ParseManifest
(project.name, self.manifestFile))
error.ManifestParseError: duplicate project CyanogenMod/android_prebuilt in /home/husam/android/system/.repo/manifest.xml
which line should be changed?
---------- Post added at 04:23 AM ---------- Previous post was at 04:03 AM ----------
to avoid this erros I have remove this tag from the ./repo/mainfest.xml
<project path="prebuilt" name="CyanogenMod/android_prebuilt" />
because it coused that errors
kfazz said:
make sure your router is opening git ports, try DMZ mode,
if on ubuntu oneiric python 2.7.2 causes repo to die slowly
use sync -j1
or download and install pypy and edit repo to call that instead of /usr/bin/python
this is currently working for me
Click to expand...
Click to collapse
Thanks. İt is very helpful.
I have received the following error after issuing repo sync -j1
Fetching projects: 100% (221/221), done.
Syncing work tree: 3% (7/221) fatal: This operation must be run in a work tree
Syncing work tree: 4% (9/221) fatal: This operation must be run in a work tree
fatal: This operation must be run in a work tree
Syncing work tree: 6% (14/221) fatal: This operation must be run in a work tree
Traceback (most recent call last):
File "/home/christian/Documents/WORKING_ICS/.repo/repo/main.py", line 366, in <module>
_Main(sys.argv[1:])
File "/home/christian/Documents/WORKING_ICS/.repo/repo/main.py", line 346, in _Main
result = repo._Run(argv) or 0
File "/home/christian/Documents/WORKING_ICS/.repo/repo/main.py", line 137, in _Run
result = cmd.Execute(copts, cargs)
File "/home/christian/Documents/WORKING_ICS/.repo/repo/subcmds/sync.py", line 443, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/christian/Documents/WORKING_ICS/.repo/repo/project.py", line 975, in Sync_LocalHalf
self._InitWorkTree()
File "/home/christian/Documents/WORKING_ICS/.repo/repo/project.py", line 1758, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
to solve it run the same command without -j1
afilopou said:
Check here
http://forum.cyanogenmod.com/topic/39528-cant-dl-source/
editing repo did it work.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
How did you fix the problem can you please tell me ? The link that you provided is not working.

Sync issues with new mint install [question]

So I've installed java 6 and other requried packages for android, and the android repo & tools. As well as preformed the inital sync of 10~ GBs of files. But now that I'm changing things in my source folders and trying to re-sync I'm getting this:
Code:
Fetching projects: 13% (48/362) From https://github.com/UnicornButter/external_openssl
* [new branch] jb-mr1 -> pub/jb-mr1
Fetching projects: 80% (290/362) error: Failed connect to github.com:443; Connection refused while accessing https://github.com/CyanogenMod/android_hardware_qcom_bt/info/refs
fatal: HTTP request failed
Fetching projects: 87% (315/362) error: Failed connect to github.com:443; Connection refused while accessing https://github.com/CyanogenMod/android_external_guava/info/refs
fatal: HTTP request failed
Fetching projects: 96% (348/362) error: Failed connect to github.com:443; Connection refused while accessing https://github.com/CyanogenMod/android_external_ipsec-tools/info/refs
fatal: HTTP request failed
I can view all the above repos in my web browser so I'm confused as to why git is being refused. My machine is running linux mint 14 nadia following the JB on ubuntu tut

[FIX] Repo Sync Failed Due To Fetch Errors!

If Repo Sync Fails due to Fetch Errors
Use This Command ->
Code:
repo sync -f
"-f" Means to (continue sync even if a project fails to sync)
Happy Developing​
not working for me as I am trying to do an initial sync from Liquid Smooth Lollipop repo ... without -f flag this error stops me:
error: Cannot fetch android_packages_inputmethods_LatinIME
With the -f flag another error relating to same package stops me a step further LOL:
Fetching projects: 98% (447/456) Fetching project CyanogenMod/android_external_ebtables
Fetching projects: 99% (452/456) fatal: Invalid refspec '+refs/heads/lollipop :refs/remotes/ls/lollipop '
error: Cannot fetch android_packages_inputmethods_LatinIME
warn: --force-broken, continuing to sync
Fetching projects: 100% (456/456), done.
Syncing work tree: 87% (397/456) error: in `sync -j2 -f`: revision lollipop in android_packages_inputmethods_LatinIME not found

[Q] Repo Sync Error Failed to connect to github.com port 443: Connection timed out

I have probelms with updating the source since a few days, everytime I repo sync i get mutiple errors of this type:
Code:
fatal: unable to access 'https://github.com/Team-UB/android_packages_apps_Settings/': Failed to connect to github.com port 443: Connection timed out
The packages which give the errors are not the same every time I start a new repo sync. I tried to sync with the option
Code:
-j1
, but this didnt helped. Iam experiencing this probelm with multiple sources of diffrent roms..

repo error

so i was compiling TWRP for A50s... on repo sync i got this:
Aborting
error: prebuilts/clang/host/linux-x86/: platform/prebuilts/clang/host/linux-x86 checkout bbb7fad7b6c38a9b4581873bbb78a063bded00c7
error: Cannot checkout platform/prebuilts/clang/host/linux-x86
Checking out projects: 79% (177/223) platform/prebuilts/gcc/linux-x86/aarch64/aChecking out projects: 79% (178/223) platform/prebuilts/gcc/linux-x86/arm/arm-lChecking out projects: 80% (179/223) platform/prebuilts/gcc/linux-x86/host/x86_Checking out projects: 80% (180/223) platform/prebuilts/gcc/linux-x86/x86/x86_6Checking out projects: 82% (185/223) platform/prebuilts/maven_repo/google-play-Checking out projects: 99% (222/223), done.
error: Unable to fully sync the tree.
error: Checking out local projects failed.
Failing repos:
prebuilts/clang/host/linux-x86
Try re-running with "-j1 --fail-fast" to exit at the first error.
any ideas?
Did you find out how to fix it? I'm having the same probelm.
I fixed it by removing the folder that was causing trouble. For example if "prebuilts/clang/host/linux-x86" failed, then I removed prebuilts with rm -rf prebuilts.

Categories

Resources