You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using F3 to screenshot the slides, some of the screenshots appear to be of the same slide. This could be a problem with the SlyPres code, but I'm not certain.
Additionally, if you open Inspect Element in Chrome, the Python function will fail with: HTTP Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 656, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 188, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 34, in __call__ return self.callable(*self.args, **self.kwargs) File "serve.py", line 88, in save_screenshot self.webdriver.get_screenshot_as_file(filename) File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 703, in get_screenshot_as_file png = self.execute(Command.SCREENSHOT)['value'] File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 156, in execute self.error_handler.check_response(response) File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 147, in check_response raise exception_class(message, screen, stacktrace) WebDriverException: Message: u"unknown error: Runtime.evaluate threw exception: TypeError: Cannot read property 'click' of null\n (Session info: chrome=36.0.1985.125)\n (Driver info: chromedriver=2.10.267518,platform=Linux 3.11.0-20-generic x86_64)"
As far as I can make out, this looks like an issue with ChromeDriver. Exactly why it happens, I'm not sure.
The text was updated successfully, but these errors were encountered:
Yes, and it annoys me, because I wanted to take a closer look at why I get the same screenshot for two different slides, but that gets hard when the DevTools break the functionality completely somehow.
All of this may be related to the strange setup of this functionality: That I have the Javascript ask the Python-backend/chromedriver to take screenshots of itself. I found out when I implemented it that the JS calls had to be asynchronous with continuations, otherwise it would enter some kind of weird deadlock between the javascript and the backend chromedriver code. Even I don't understand completely why that is the case, and what exactly happens.
If I unwittingly end up summoning some kind of elder god with this contraption, I apologise to the rest of humanity. I did not actually intend to render us extinct.
When using F3 to screenshot the slides, some of the screenshots appear to be of the same slide. This could be a problem with the SlyPres code, but I'm not certain.
Additionally, if you open Inspect Element in Chrome, the Python function will fail with:
HTTP Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 656, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 188, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 34, in __call__ return self.callable(*self.args, **self.kwargs) File "serve.py", line 88, in save_screenshot self.webdriver.get_screenshot_as_file(filename) File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 703, in get_screenshot_as_file png = self.execute(Command.SCREENSHOT)['value'] File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 156, in execute self.error_handler.check_response(response) File "/usr/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 147, in check_response raise exception_class(message, screen, stacktrace) WebDriverException: Message: u"unknown error: Runtime.evaluate threw exception: TypeError: Cannot read property 'click' of null\n (Session info: chrome=36.0.1985.125)\n (Driver info: chromedriver=2.10.267518,platform=Linux 3.11.0-20-generic x86_64)"
As far as I can make out, this looks like an issue with ChromeDriver. Exactly why it happens, I'm not sure.
The text was updated successfully, but these errors were encountered: