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

Sample use case in the documentation doesn't work #90

Open
jamesguo71 opened this issue Apr 14, 2013 · 0 comments
Open

Sample use case in the documentation doesn't work #90

jamesguo71 opened this issue Apr 14, 2013 · 0 comments

Comments

@jamesguo71
Copy link

This is the sample use of ghost.py, http://jeanphix.me/Ghost.py/#sample

I copy pasted it to pytest.py and tested it, but it doesn't work.

It returns:

Traceback (most recent call last):
File "C:\Users\JamesGuo\Desktop\pytest.py", line 4, in
ghost.open('http://www.openstreetmap.org/')
File "C:\Python27\lib\site-packages\ghost\ghost.py", line 431, in open
return self.wait_for_page_loaded()
File "C:\Python27\lib\site-packages\ghost\ghost.py", line 573, in wait_for_page_loaded
'Unable to load requested page')
File "C:\Python27\lib\site-packages\ghost\ghost.py", line 554, in wait_for
raise Exception(timeout_message)
Exception: Unable to load requested page
QWaitCondition: Destroyed while threads are still waiting

Environment:
Python 2.7 , Windows 7 , PyQt 4.8

Anyone came across this problem? Thanks.

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

1 participant