-
Notifications
You must be signed in to change notification settings - Fork 162
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
Screenshot not being saved #55
Comments
Hello @marcoleder, As debugging steps could you try :
|
Ok after quite some tinkering I think we are very close to getting it to work. I do not want to leave any steps out which I did or tried, in case they work for someone else :) First I ran your 1st suggested command and got the following back:
Therefore I went to google a bit and found out that phantomJS is not supported for arm architectures.. (at least from what I found) and that this might have been the problem I then switched to the chromium renderer binary since phantomJS does not seem to be an option anymore:
Then I tried your first command again but with the chromium renderer binary now so I entered the following:
This was the result:
I therefore first assumed that I had picked the wrong filetype for rendering and went to usr/lib/chromium-browser/ where there are quite some files:
I then wanted to ask you if I should use something else than chromium-browser, given the list of files above. I then took another look at the --no-sandbox error (which was caused because I used root I assumed) and tried to solve it. I went ahead and executed the script WITHOUT being root and this is what happened: Chromium opens quite a lot of tabs (9 in total) with the first file showing your entire code. The other files all look rather the same, they all say not able to reach xxx (see screenshot). I must say that is the first time the browser window actually opened! Has never happened before so we are definitely closer to the finish line. Thank you ever so much for your time :) Any ideas on what to do next? Oh yeah and btw I have tried with other websites than just 192.168.0.220 but still no luck :( Xserver should be in use since I use Raspberry Pi with desktop interface:
Furthermore, when using the --no-xserver but leaving everything the same this happens: Oh yeah totally forgot - here the output with chromium and --debug flag:
Best regards |
Indeed, but it seems that there are some unofficial builds here and here and here that you can try.
You forgot to specify the renderer
|
Oh my god thank you ever so much! Totally my fault, I was not aware that I have to specify both of them :) Thank you for taking the time to solve my issue 👍 Indeed it works now, however with using the chromium render binary I ran into this problem as well.. hope that you are able to add this feature soon ! Best regards |
Dear Maaaaz
First of all thank you so much for such a great tool (eventhough I am not able to use it correctly). I am running latest raspian os (32bit) on my Raspberry Pi 4 and everything with installation worked out pretty darn well. However, if I run the script as intended, it does not save the screenshot nor does it return any errors.
All the folders in which I am working have permission 777, including the screenshots folder which was sucessfully created by your program. I have tried to force ssl and tried different websites but none of them works. I used to use the renderer binary from chromium but as I saw no results switched to PhantomJS, but still nothing.
Here is the debug info (though I don't know if this is worth anything for you):
As you can see I am running latest version of everything so and system is up to date :) Any ideas?
Best regards
Marco Leder
The text was updated successfully, but these errors were encountered: