jeanphix/Ghost.py

Unable to load requested page

GeekTemo opened this issue · 0 comments

This is my code:

from ghost import Ghost
ghost = Ghost()
page, extra_resources = ghost.open("http://www.google.com")

But it does't work:
File "/usr/local/lib/python2.7/dist-packages/Ghost.py-0.1.1-py2.7.egg/ghost/ghost.py", line 850, in open
return self.wait_for_page_loaded(timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/Ghost.py-0.1.1-py2.7.egg/ghost/ghost.py", line 1144, in wait_for_page_loaded
'Unable to load requested page', timeout)
File "/usr/local/lib/python2.7/dist-packages/Ghost.py-0.1.1-py2.7.egg/ghost/ghost.py", line 1122, in wait_for
raise TimeoutError(timeout_message)
ghost.ghost.TimeoutError: Unable to load requested page