hongzimao / pensieve

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

Question about "Running experiments over Mahimahi" #87

Open xiaxiaxiahhh opened 4 years ago

xiaxiaxiahhh commented 4 years ago

When I run python run_all_traces.py in run_exp/, the terminal tells me

File "run_all_traces.py", line 15, in <module> ip_data = json.loads(urllib.urlopen("http://ip.jsontest.com/").read()) File "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded This error seems I can't open “http://ip.jsontest.com/".

hongzimao commented 4 years ago

Sometimes the site might be done. Can you check the url http://ip.jsontest.com/ on your browser? In any case, this line of the code in run_all_traces.py is just to determine your public ip address. If you know what your ip is, you can modify the code directly.