Re: [Icarus] Icarus - installation testing problem

From: Ascigil, Onur <o.ascigil_at_ucl.ac.uk>
Date: Thu, 18 Jan 2018 23:12:20 +0000

Hi Jo,

It looks like the error you are getting has to do with an unsupported version of the networkx package installed on your system. Currently, Icarus does not support networkx package version newer than 1.9. You can see the version of the installed networkx package using the following command:

$ pip show networkx

Try uninstalling and then reinstalling the networkx version 1.9 using the following commands:

$ pip uninstall networkx
$ pip install networkx=1.9

Hope this helps.

Onur


On 16 Jan 2018, at 17:58, 조성균 <sengkyoun.jo_at_gmail.com<mailto:sengkyoun.jo_at_gmail.com>> wrote:

Dear Icarus experts,

I’m re-installing Icarus and have problem to run example program (icarus.py)
It looks like Python path problem. But my current python path looks no problem.
Can someone have a look this error?

Thanks in advance.

Regards,
S. Jo


skjo_at_ubuntu:~/icarus-0.6.0$ python
Python 2.7.14 (default, Sep 23 2017, 22:06:14)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/home/skjo/icarus-0.6.0', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/skjo/.local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0']

————————————————————————
….
….
[18:53:56 2018-01-16|ERROR|runner-PoolWorker-1] Experiment 854/864 | Failed | AttributeError: 'MultiGraph' object has no attribute 'nodes_iter'
Traceback (most recent call last):
  File "/home/skjo/icarus-0.6.0/icarus/orchestration.py", line 199, in run_scenario
    topology = TOPOLOGY_FACTORY[topology_name](**topology_spec)
  File "/home/skjo/icarus-0.6.0/icarus/scenarios/topology.py", line 470, in topology_garr
    topology = fnss.parse_topology_zoo(path.join(TOPOLOGY_RESOURCES_DIR, 'Garr201201.graphml')).to_undirected()
  File "/home/skjo/.local/lib/python2.7/site-packages/fnss/topologies/parsers.py", line 628, in parse_topology_zoo
    for tv in topo_zoo_graph.nodes_iter():
AttributeError: 'MultiGraph' object has no attribute 'nodes_iter'

….
….

[18:53:56 2018-01-16|ERROR|runner-PoolWorker-1] Experiment 864/864 | Failed | AttributeError: 'Topology' object has no attribute 'edge'
Traceback (most recent call last):
  File "/home/skjo/icarus-0.6.0/icarus/orchestration.py", line 199, in run_scenario
    topology = TOPOLOGY_FACTORY[topology_name](**topology_spec)
  File "/home/skjo/icarus-0.6.0/icarus/scenarios/topology.py", line 376, in topology_tiscali
    sources = [v for v in onedeg if deg[list(topology.edge[v].keys())[0]] > 4.5] # they are
AttributeError: 'Topology' object has no attribute 'edge'

[18:53:57 2018-01-16|INFO|orchestration] END | Planned: 864, Completed: 864, Succeeded: 0, Failed: 864
[18:53:57 2018-01-16|INFO|main] Orchestrator finished
[18:53:57 2018-01-16|INFO|main] Saved results to file /home/skjo/icarus-0.6.0/results.pickle

————————————————————————

_______________________________________________
Icarus mailing list
Icarus_at_ee.ucl.ac.uk<mailto:Icarus_at_ee.ucl.ac.uk>
http://mailman.ee.ucl.ac.uk/mailman/listinfo/icarus

Received on Thu Jan 18 2018 - 23:13:01 GMT

This archive was generated by hypermail 2.3.0 : Thu Jan 18 2018 - 23:13:05 GMT