{"action":"created","issue":{"url":"https://api.github.com/repos/icarus-sim/hashrouting-icn13-results/issues/2","repository_url":"https://api.github.com/repos/icarus-sim/hashrouting-icn13-results","labels_url":"https://api.github.com/repos/icarus-sim/hashrouting-icn13-results/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/icarus-sim/hashrouting-icn13-results/issues/2/comments","events_url":"https://api.github.com/repos/icarus-sim/hashrouting-icn13-results/issues/2/events","html_url":"https://github.com/icarus-sim/hashrouting-icn13-results/issues/2","id":154958442,"number":2,"title":"log file can't be generated","user":{"login":"technickid","id":15664583,"avatar_url":"https://avatars.githubusercontent.com/u/15664583?v=3","gravatar_id":"","url":"https://api.github.com/users/technickid","html_url":"https://github.com/technickid","followers_url":"https://api.github.com/users/technickid/followers","following_url":"https://api.github.com/users/technickid/following{/other_user}","gists_url":"https://api.github.com/users/technickid/gists{/gist_id}","starred_url":"https://api.github.com/users/technickid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technickid/subscriptions","organizations_url":"https://api.github.com/users/technickid/orgs","repos_url":"https://api.github.com/users/technickid/repos","events_url":"https://api.github.com/users/technickid/events{/privacy}","received_events_url":"https://api.github.com/users/technickid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-16T04:27:47Z","updated_at":"2016-05-17T06:54:52Z","closed_at":"2016-05-16T09:34:57Z","body":"Hi,\r\nwhen I run on ubuntu 12.04, python 2.7, it can't create log file.\r\nI have try to change python to python2 in run.sh but it's not fixed.\r\n\r\nADDING ICARUS TO PYTHON PATH\r\nCREATING DIRECTORIES FOR GRAPHS AND LOGS\r\nEXECUTING SIMULATIONS\r\nTraceback (most recent call last):\r\n  File \"run.py\", line 12, in <module>\r\n    from fnss import read_event_schedule, read_topology\r\n  File \"/usr/local/lib/python2.7/dist-packages/fnss/__init__.py\", line 36, in <module>\r\n    from fnss.topologies import *\r\n  File \"/usr/local/lib/python2.7/dist-packages/fnss/topologies/__init__.py\", line 4, in <module>\r\n    from fnss.topologies.datacenter import *\r\n  File \"/usr/local/lib/python2.7/dist-packages/fnss/topologies/datacenter.py\", line 7, in <module>\r\n    import networkx as nx\r\n  File \"/usr/local/lib/python2.7/dist-packages/networkx/__init__.py\", line 87, in <module>\r\n    import networkx.readwrite\r\n  File \"/usr/local/lib/python2.7/dist-packages/networkx/readwrite/__init__.py\", line 14, in <module>\r\n    from networkx.readwrite.gml import *\r\n  File \"/usr/local/lib/python2.7/dist-packages/networkx/readwrite/gml.py\", line 46, in <module>\r\n    from lib2to3.refactor import RefactoringTool\r\n  File \"/usr/lib/python2.7/lib2to3/refactor.py\", line 27, in <module>\r\n    from .fixer_util import find_root\r\n  File \"/usr/lib/python2.7/lib2to3/fixer_util.py\", line 9, in <module>\r\n    from .pygram import python_symbols as syms\r\n  File \"/usr/lib/python2.7/lib2to3/pygram.py\", line 32, in <module>\r\n    python_grammar = driver.load_grammar(_GRAMMAR_FILE)\r\n  File \"/usr/lib/python2.7/lib2to3/pgen2/driver.py\", line 113, in load_grammar\r\n    logger = logging.getLogger()\r\nAttributeError: 'module' object has no attribute 'getLogger'\r\nPLOTTING RESULTS\r\n[PLOT] Plotting cache hit ratio vs alpha\r\nTraceback (most recent call last):\r\n  File \"plot.py\", line 312, in <module>\r\n    main()\r\n  File \"plot.py\", line 98, in main\r\n    plot_chr_alpha_sensitivity()\r\n  File \"plot.py\", line 124, in plot_chr_alpha_sensitivity\r\n    S = SummaryAnalyzer(path.join(SUMMARY_LOG_DIR, 'SUMMARY_CACHE_HIT_RATIO.txt'))\r\n  File \"/home/namtt/Downloads/hashrouting/icarus/analysis.py\", line 19, in __init__\r\n    self.data = genfromtxt(summary_file, dtype=None, delimiter='\\t', names=True)\r\n  File \"/usr/local/lib/python2.7/dist-packages/numpy/lib/npyio.py\", line 1451, in genfromtxt\r\n    fhd = iter(np.lib._datasource.open(fname, 'rbU'))\r\n  File \"/usr/local/lib/python2.7/dist-packages/numpy/lib/_datasource.py\", line 151, in open\r\n    return ds.open(path, mode)\r\n  File \"/usr/local/lib/python2.7/dist-packages/numpy/lib/_datasource.py\", line 501, in open\r\n    raise IOError(\"%s not found.\" % path)\r\nIOError: /home/namtt/Downloads/hashrouting/logs/SUMMARY_CACHE_HIT_RATIO.txt not found.\r\nDONE\r\n"},"comment":{"url":"https://api.github.com/repos/icarus-sim/hashrouting-icn13-results/issues/comments/219634516","html_url":"https://github.com/icarus-sim/hashrouting-icn13-results/issues/2#issuecomment-219634516","issue_url":"https://api.github.com/repos/icarus-sim/hashrouting-icn13-results/issues/2","id":219634516,"user":{"login":"technickid","id":15664583,"avatar_url":"https://avatars.githubusercontent.com/u/15664583?v=3","gravatar_id":"","url":"https://api.github.com/users/technickid","html_url":"https://github.com/technickid","followers_url":"https://api.github.com/users/technickid/followers","following_url":"https://api.github.com/users/technickid/following{/other_user}","gists_url":"https://api.github.com/users/technickid/gists{/gist_id}","starred_url":"https://api.github.com/users/technickid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technickid/subscriptions","organizations_url":"https://api.github.com/users/technickid/orgs","repos_url":"https://api.github.com/users/technickid/repos","events_url":"https://api.github.com/users/technickid/events{/privacy}","received_events_url":"https://api.github.com/users/technickid/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T06:54:52Z","updated_at":"2016-05-17T06:54:52Z","body":"It works. I have uninstalled networkx and installed new networkx 1.7 by pip.\r\n\r\nThank you!"}}