Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run real experiment #140

Open
ningomeng opened this issue Nov 30, 2021 · 4 comments
Open

Unable to run real experiment #140

ningomeng opened this issue Nov 30, 2021 · 4 comments

Comments

@ningomeng
Copy link

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
Copy link

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
Copy link
Author

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants