-2

I've splash on windows running with Docker toolbox.

I am in Splash UI running a built-in example:

Splash UI

It seems correct but... it doesn't work!

Error message

Seem strange to me. Do you figure out why?

EDIT: same thing with Splash example 2

output

enter image description here

Lore
  • 1,286
  • 1
  • 22
  • 57
  • Why did you tag your question with `docker` ? – Aserre Feb 28 '18 at 10:25
  • I've splash on windows running with docker toolbox – Lore Feb 28 '18 at 10:26
  • Does it show the same errors when you try to run it locally (outside of your container) ? Do you have the correct version of your dependencies installed ? – Aserre Feb 28 '18 at 10:29
  • No, because as is, you question is extremely unclear and doesn't provide enough details for us to help you – Aserre Feb 28 '18 at 10:51
  • FYI, your issue is most likely due to either your docker configuration, which you didn't provide (try first to reproduce the issue outside of docker to confirm docker is causing the problem) or due to the way you configured splash ui, in which case SuperUser should be better suited as the question would not be code related – Aserre Feb 28 '18 at 10:59
  • 1
    Can you please [edit](https://stackoverflow.com/posts/49026524/edit) your question and add [a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve)? Providing code with images doesn't help SO users to recreate your problem. – tgogos Feb 28 '18 at 11:26
  • I've answered thorougly explaining the errors, all non-related to docker. I think that this obsession with code written in plain-text and reporting lot of useless details is pretty crazy. I hope for you to never find the same type of downvotes in you questions. – Lore Mar 01 '18 at 13:59

1 Answers1

0

The errors are due probably to legacy commands in the scripts. The first exemple works substituting the first instructions with

splash:set_viewport_size(800, 600)
splash:set_user_agent('Splash bot')

The second isn't working simply because of unsure javascript evaluation with splash:evaljs not permitted under the site policy.

Lore
  • 1,286
  • 1
  • 22
  • 57