Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to read non existent folder #2649

Closed
onmyway133 opened this issue Oct 11, 2014 · 7 comments
Closed

Attempt to read non existent folder #2649

onmyway133 opened this issue Oct 11, 2014 · 7 comments

Comments

@onmyway133
Copy link

I encounter this error when trying to use Bolts framework

@orta
Copy link
Member

orta commented Oct 11, 2014

This also sounds like a user problem, report it on the Bolt framework, or provide more information?

@orta orta closed this as completed Oct 11, 2014
@onmyway133
Copy link
Author

@orta I updated to 0.43.2, I see this problem occurs for CardIO, FLEX, .. and many other libraries

@orta
Copy link
Member

orta commented Oct 11, 2014

Then give us a better description of the problem please, inputs & outputs. Run it with --verbose. You have given us very little to work with.

You're a developer, give us an error report you would be happy to receive.

@onmyway133
Copy link
Author

I see that the problem is due to HTTPs clone.

I'm using
git version 1.9.3 (Apple Git-50)
rvm 1.25.28 (stable)
ruby-2.1.3
cocoapods 0.34.2

Updating spec repositories
  $ /usr/bin/git rev-parse  >/dev/null 2>&1
Updating spec repo `master`
  $ /usr/bin/git pull --ff-only
  fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': Failed connect to github.com:443; Operation timed out
  $ /usr/bin/git rev-parse  >/dev/null 2>&1
-> Installing Bolts (1.1.3)
 > Git download
 > Git download
     $ /usr/bin/git clone https://github.com/BoltsFramework/Bolts-iOS.git
     /Volumes/ABC/Projects/TestApp/Pods/Bolts --single-branch
     --depth 1 --branch 1.1.3
     Cloning into '/Volumes/ABC/Projects/TestApp/Pods/Bolts'...
     error: RPC failed; result=7, HTTP code = 0
     fatal: The remote end hung up unexpectedly

[!] Error installing Bolts
[!] Attempt to read non existent folder `/Volumes/ABC/Projects/TestApp/Pods/Bolts`.

@orta
Copy link
Member

orta commented Oct 11, 2014

fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': Failed connect to github.com:443; Operation timed out

does git clone https://github.com/CocoaPods/Specs.git work for you?

@onmyway133
Copy link
Author

It works 1 out of 10 times. I switched from OpenDNS to GoogleDNS but the problem still exists. Sorry for wasting your time, this is not Cocoapods related issue. But it would be great if Cocoapods has SSH mode

I post the question on SO git clone over HTTPs timeout

So in the mean time, I need to pod install a lot of times (there is a git clone failed along the way)

@fallending
Copy link

backup:If the directory where executing 'pod install' has special character, also catch the error: 'Attempt to read non existent folder ...'~^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants