square / PonyDebugger

Remote network and data debugging for your native iOS app using Chrome Developer Tools
Other
5.86k stars 595 forks source link

Installing ponyd fails due to pybonjour download failure #126

Closed mark-anders closed 8 years ago

mark-anders commented 10 years ago

I'm using OS X 10.10 with the latest tools installed. When using the curl method to install ponyd and removing the -k parameter as per #125, I get the following error:

Downloading/unpacking pybonjour (from ponydebugger)
  Could not find any downloads that satisfy the requirement pybonjour (from ponydebugger)
  Some externally hosted files were ignored (use --allow-external pybonjour to allow).
Cleaning up...
No distributions at all found for pybonjour (from ponydebugger)

I've checked the file ~/Library/PonyDebugger/src/ponydebugger/scripts/_bootstrap_contents.py and it contains '--allow-external'.

Any way to work around it?

gfarrell commented 10 years ago

+1 I have the same issue, I tried installing pybonjour manually but this didn't help. I'm using 10.9 with latest tools installed.

flavianmissi commented 10 years ago

+1 with the same issue, using 10.10. It's really sad that none seems to care even to answer this bug.

MStumpp commented 10 years ago

use this:

source ~/Library/PonyDebugger/bin/activate ... pip install -U -e git+https://github.com/square/PonyDebugger.git#egg=ponydebugger --allow-external pybonjour --allow-unverified pybonjour ... ponyd update-devtools

mark-anders commented 10 years ago

Thank you, Matthias, that works!
For others, since I had to patch together solutions from multiple issues, here are the complete steps I used:

curl -s https://cloud.github.com/downloads/square/PonyDebugger/bootstrap-ponyd.py | python - --ponyd-symlink=/usr/local/bin/ponyd ~/Library/PonyDebugger
source ~/Library/PonyDebugger/bin/activate
pip install -U -e git+https://github.com/square/PonyDebugger.git#egg=ponydebugger --allow-external pybonjour --allow-unverified pybonjour
ponyd update-devtools
alijnclarke commented 10 years ago

+1 many thanks!

peterjenkins commented 9 years ago

@mark-anders Thanks for taking the time to write up those instructions. Very helpful.

zettlunic commented 9 years ago

Thank you very much @mark-anders!

zkirill commented 9 years ago

Thank you @mark-anders!

codesourse commented 9 years ago

when i use "pip install -U -e git+https://github.com/square/PonyDebugger.git#egg=ponydebugger --allow-external pybonjour --allow-unverified pybonjour" i meet following problem ,anyone can help me.

Collecting pybonjour (from ponydebugger) Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(65, 'No route to host'))': /p/pybonjour/ Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(65, 'No route to host'))': /p/pybonjour/ Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(65, 'No route to host'))': /p/pybonjour/

ghost commented 9 years ago

@codesourse, i have the same problem. how to solve it?

yuwen-yan commented 9 years ago

+1 for the same issue as @codesourse

iamdaiyuan commented 9 years ago

thank you.

codesourse commented 9 years ago

use this log https://github.com/fpillet/NSLogger

Kirow commented 9 years ago

Thank you @mark-anders!

YuliiaVeres commented 8 years ago

Many many thanks, @mark-anders !

zziking commented 8 years ago

@codesourse @ybbaigo is because of your host can not reach the pybonjour code in google's server: https://code.google.com/p/pybonjour/downloads/list?can=1, you can use --proxy option for pip install, such as : pip install -U -e git+https://github.com/square/PonyDebugger.git#egg=ponydebugger --allow-external pybonjour --allow-unverified pybonjour --proxy="the proxy can reach code.google.com"

jacobh0 commented 8 years ago

Is there an update here? Pretty much any installation on Mac simply fails.

derimagia commented 8 years ago

Pretty sure this is related to / a duplicate of Bug #100

justinseanmartin commented 8 years ago

I believe this should be addressed by #186. If not, please use issue #100 to track this.