Raspberry Pi render error
See original GitHub issueHi, Iβm using requests_html on my Raspberry Pi to do some easy web querying. However, calling html.render()
results in the following error:
[W:pyppeteer.chromium_downloader] start chromium download.
Download may take a few minutes.
100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 106826418/106826418 [00:18<00:00, 5766874.83it/s]
[W:pyppeteer.chromium_downloader]
chromium download done.
[W:pyppeteer.chromium_downloader] chromium extracted to: /home/pi/.local/share/pyppeteer/local-chromium/575458
Traceback (most recent call last):
File "test.py", line 37, in <module>
r2.html.render()
File "/home/pi/.local/lib/python3.7/site-packages/requests_html.py", line 586, in render
self.browser = self.session.browser # Automatically create a event loop and browser
File "/home/pi/.local/lib/python3.7/site-packages/requests_html.py", line 730, in browser
self._browser = self.loop.run_until_complete(super().browser)
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/home/pi/.local/lib/python3.7/site-packages/requests_html.py", line 714, in browser
self._browser = await pyppeteer.launch(ignoreHTTPSErrors=not(self.verify), headless=True, args=self.__browser_args)
File "/home/pi/.local/lib/python3.7/site-packages/pyppeteer/launcher.py", line 311, in launch
return await Launcher(options, **kwargs).launch()
File "/home/pi/.local/lib/python3.7/site-packages/pyppeteer/launcher.py", line 169, in launch
**options,
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/pi/.local/share/pyppeteer/local-chromium/575458/chrome-linux/chrome'
It seems like the downloaded chromium is not an arm executable. Has anyone ideas on how to fix this?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9
Top Results From Across the Web
[SOLVED] Chromium render errors? - Raspberry Pi Forums
Hello everyone, I've notice some rendering errors with the latest version of Chromium. chromium_err.jpg. This screen shot show the error theΒ ...
Read more >Not rendering on Raspberry Pi 3B Β· Issue #9 - GitHub
I'm trying to get this module to work on my mirror that runs on a Raspi 3B. Setup is default using up-to-date MM...
Read more >Rendering issues with hardware WebRender on Raspberry Pi 4
This bug was about the OpenGL compositor. Similar bug with Hardware WebRender was bug 1738816. Remaining HW WR bug is bug 1784327. Status:...
Read more >egl_rpi on Raspberry Pi 4 - Google Groups
I've been unsuccessfully trying to get my app to render directly to the framebuffer on the Raspberry Pi 4. (it worked fine on...
Read more >Fatal Render Error on Raspberry Pi 3 : r/pokemmo - Reddit
I saw some youtube video of a guy running it a year ago, I guess the new version has something that renders it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah that seems to be the problem according to the things I researched too.
Itβs ok. Iβm looking for JS generated text which works absolutely fine on a Pi 2. It may take some time for chromium to start but everything else works. Donβt know how good the objective performance is or something, but it just works.
Thanks, will give it a try! Itβd work for our cases where we have the flexibility to change or write the scripts, but Iβd imagine those who are porting existing scripts over might still prefer a solution within the library. Hope this gets looked into in the future.