catchpoint / WebPageTest.agent-install

Automated scripts for installing dedicated wptagent instances
Apache License 2.0
10 stars 25 forks source link

Missing dependencies for ubuntu 20.04 #12

Open sharksforarms opened 2 years ago

sharksforarms commented 2 years ago

I had to do the following to get to a working state (mostly due to pip dependency build errors)

sudo apt install libcairo2-dev libjpeg-dev libgif-dev
sudo apt install libgirepository1.0-dev
sudo apt install libcups2-dev
sudo apt install xvfb
pip3 install xvfbwrapper

I also needed to add --xvfb in agent.sh to make sure xprop wasn't getting called, or else I would hit this error: https://github.com/WPO-Foundation/wptagent/issues/458

PetrHar commented 2 years ago

I currently have an error:

12:53:52.798 - Default interface: venet0 RTNETLINK answers: File exists Error: Exclusivity flag on, cannot modify. Error: Cannot delete qdisc with handle of zero.

Command: sudo /usr/bin/python3 /home/agent/wptagent-master/wptagent.py --server "https://domain.com/work/" --location "Test" -vvvv --dockerized --xvbf

sharksforarms commented 2 years ago

I currently have an error:

12:53:52.798 - Default interface: venet0 RTNETLINK answers: File exists Error: Exclusivity flag on, cannot modify. Error: Cannot delete qdisc with handle of zero.

Command: sudo /usr/bin/python3 /home/agent/wptagent-master/wptagent.py --server "https://domain.com/work/" --location "Test" -vvvv --dockerized --xvbf

Does it give a backtrace or any more information? Does it run?

PetrHar commented 2 years ago

Operating system Debian 11 and not running. What other information would you need?

afilbert commented 1 year ago

This helped me today, thanks for opening and for the detail!