lesibecek / browsershots

Automatically exported from code.google.com/p/browsershots
0 stars 0 forks source link

IOError: screen grab failed #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. intall the server and factory
2. use browsershots
3. sometimes screen grab failed

What is the expected output? What do you see instead?
should grab picture ok, but instead get the fail information as you see in 
additional information.

What version of the product are you using? On what operating system?
version:http://browsershots.googlecode.com/svn/trunk/shotfactory
system:windows xp

Please provide any additional information below.
i get this error in the shotfactory console window: {'major': 10, 'javascript': 
'', 'java': '', 'width': 1280, 'flash': '', 'request ': 42, 'height': 1024, 
'bpp': 16, 'version': '10.0.2', 'command': '', 'minor': 0 , 'browser': 
'Firefox'} running c:\progra~1\mozill~1\firefox.exe Sleeping 30 seconds while 
page is loading. Traceback (most recent call last): 

File "C:\Documents and Settings\Administrator\桌面\shotfactory 
install\shotfac 
tory\shotfactory.py", line 368, in <module> 
main() 
File "C:\Documents and Settings\Administrator\桌面\shotfactory 
install\shotfac 
tory\shotfactory.py", line 345, in main 
bytes = browsershot(options, server, config, options.password) 
File "C:\Documents and Settings\Administrator\桌面\shotfactory 
install\shotfac 
tory\shotfactory.py", line 154, in browsershot 
gui.browsershot(pngfilename) 
File "C:\Documents and Settings\Administrator\桌面\shotfactory 
install\shotfac 
tory\shotfactory04\gui\init.py", line 244, in browsershot 
self.screenshot(filename) 
File "C:\Documents and Settings\Administrator\桌面\shotfactory 
install\shotfac 
tory\shotfactory04\gui\windows\init.py", line 60, in screenshot 
im = ImageGrab?.grab() 
File "D:\Python27\lib\site-packages\PIL\ImageGrab?.py", line 47, in grab 
size, data = grabber() 
IOError: screen grab failed 

Original issue reported on code.google.com by guomiy...@qq.com on 25 Apr 2012 at 2:29