martinjina / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

Repo sync fails when git cookie file does not have "# Netscape HTTP Cookie File" header #207

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Affected Version: v1.12.31
Environment: Ubuntu

What steps will reproduce the problem?
1. go to android.googlesource.com
2. click "Generate Password"
3. run the command to generate .gitcookies file
4. run repo sync with smart sync against a manifest server

What is the expected output? What do you see instead?

It fails with:

  error: cannot connect to manifest server http://path/to/my/manifest/server:
  '/tmp/tmpJkmG2s' does not look like a Netscape format cookies file

According to [1] this is caused because the .gitcookies file does not have the 
line:

 # Netscape HTTP Cookie File

After adding that line, the sync works again.

[1] 
http://stackoverflow.com/questions/11529428/why-does-python-say-this-netscape-co
okie-file-isnt-valid

Original issue reported on code.google.com by david.pu...@sonymobile.com on 30 Sep 2015 at 1:47

GoogleCodeExporter commented 8 years ago
https://gerrit-review.googlesource.com/#/c/71182/

Original comment by david.pu...@sonymobile.com on 30 Sep 2015 at 1:48

GoogleCodeExporter commented 8 years ago

Original comment by david.pu...@sonymobile.com on 2 Oct 2015 at 2:59

GoogleCodeExporter commented 8 years ago
https://gerrit-review.googlesource.com/#/c/71254/

Original comment by david.pu...@sonymobile.com on 2 Oct 2015 at 3:00

GoogleCodeExporter commented 8 years ago

Original comment by david.pu...@sonymobile.com on 25 Nov 2015 at 10:04