hongzimao / pensieve

Neural Adaptive Video Streaming with Pensieve (SIGCOMM '17)
http://web.mit.edu/pensieve/
MIT License
528 stars 281 forks source link

Unable to run real experiment #140

Open ningomeng opened 2 years ago

ningomeng commented 2 years ago

Hi, Hongzimao.

Hope you are well and healthy! I encountered some difficulties in running the real experiment of Pensieve. I configured it according to the README.md file and run /real_exp/run_exp.py, but I received an error in the chrome_retry_log, “chrome retry log RL_0 init() got an unexpected keyword argument 'url'

RL_0 init() got an unexpected keyword argument 'url'

RL_0 init() got an unexpected keyword argument 'url'

RL_0 init() got an unexpected keyword argument 'url'

RL_0 init() got an unexpected keyword argument 'url'”

I run this file in a virtual machine on my computer. I used Ubuntu 16.04, Google Chrome 96.0.4664.45 and corresponding driver. The rest of the configuration is performed according to the setup.py file. I used “url = 'localhost/' + 'myindex_' + abr_algo + '.html'”in /real_exp/run_video.py, the video chunk can be loaded and played correctly by entering the this url on Google browser. I have made some modifications and attempts according to #65 and #111, for example, add "http: / /" to the url variable, but still get the same result. I feel very confused, and I would appreciate it if you could guide me in this regard.

LuchenCatherine commented 2 years ago

Hi Ningomeng,

I encountered this problem recently. Fortunately, I solved the problem by installing the correct version of pyvirtualdisplay and easyprocess. You can follow the 3 steps:

  1. uninstall the latest version of pyvirtualdisplay
  2. sudo apt-get install xvfb xserver-xephyr vnc4server
  3. pip install easyprocess==0.2 pyvirtualdisplay==0.2

Hope this can help you solve the problem.

ningomeng commented 2 years ago

Hi Ningomeng,

I encountered this problem recently. Fortunately, I solved the problem by installing the correct version of pyvirtualdisplay and easyprocess. You can follow the 3 steps:

  1. uninstall the latest version of pyvirtualdisplay
  2. sudo apt-get install xvfb xserver-xephyr vnc4server
  3. pip install easyprocess==0.2 pyvirtualdisplay==0.2

Hope this can help you solve the problem.

Hi, LuchenCatherine.

Thank you very much for your reply. According to the steps you provided, this error has been solved. Thank you! But unfortunately, when I rerun /real_exp/run_exp.py, the chrome page still cannot be displayed. The log file in /results is empty, and there is also no valid information in chrome_retry_log. I would appreciate it if you have any good suggestions. My heartfelt thank to you and wish you a happy life! ![Uploading 1.png…]()

LuchenCatherine commented 2 years ago

Hi Ningomeng,

  1. If there is no error log in chrome_retry_log, your chrome is running correctly.
  2. I am sorry that I didn't encounter the empty results folder problem. However, there are several open or closed issues about empty results folder, you can refer to them. I guess the empty folder is due to wrong path or file permission.

Hope this can help you solve the problem.

hy213817 commented 2 years ago

Hi, I also have an empty file in /results, have you solved it? Hope you can help me. @ningomeng