Use python selenium phantomjs to report an error when raspberry pie has no interface.

error message: phantomjs unexpectedly exited. Status code was:-6
problem description:
1, as titled
2, perfect operation with monitor, no monitor, remote ssh login, or error report when supervisor is running

Please note that this is not the same as a common problem on the Internet (quoted below). At the same time, it has been dealt with in accordance with the method described, but it still does not work

remote server uses phantomjs to report error: phantomjs unexpectedly exited. Status code was: 127

Thank you for your kindness and answer


runs perfectly when there is a monitor, no monitor, remote ssh login, or supervisor operation will report an error

you can try to create a virtual display. PhantomJS has stopped updating and it is recommended to use the browser's headless mode instead.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31672-4031c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31672-4031c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?