How to deal with the ERROR: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open “/var/lib/dbus/machine-id”
After I deployed the scrapy-splash, I ran my spider and encountered an ERROR:
D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open “/var/lib/dbus/machine-id”
It seemed that no affection to the results but really annoying. After I tried a few solutions from Google, finally I solved it with this command:
It seemed that no affection to the results but really annoying. After I tried a few solutions from Google, finally I solved it with this command:
dbus-uuidgen > /var/lib/dbus/machine-id
Good Luck!
评论
发表评论