ank_webserver

102 views
Skip to first unread message

mol...@gmail.com

unread,
Jan 10, 2013, 7:31:53 AM1/10/13
to auton...@googlegroups.com
Hello,

I installed on my Mac (10.7.5) autonetkit (through easy_install) and I next installed yEd.  Everything worked normally.

I designed a network graph (the one in the example of the "Using" section) with yEd, ran autonetkit  on it and, again, everything worked smoothly.

However, when I ran ann_webserver I got the following error:
Traceback (most recent call last):
  File "/usr/local/bin/ank_webserver", line 8, in <module>
    load_entry_point('autonetkit==0.2.6', 'console_scripts', 'ank_webserver')()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 318, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2221, in load_entry_point
    return ep.load()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "build/bdist.macosx-10.7-intel/egg/autonetkit/webserver.py", line 17, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 882, in resource_filename
    self, resource_name
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1352, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1363, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'autonetkit/www_vis'

Google did not help me that much for solving this issue.

Can someone help me in making autonetkit running?

Thanks in advance!

Keep on Rockin'!

B.

Simon Knight

unread,
Jan 10, 2013, 7:47:10 AM1/10/13
to auton...@googlegroups.com
Hi,
It was a packaging error when I moved the folders around. It should be
fixed now if you do an
easy_install --upgrade autonetkit
it should grab version 0.2.7

Cheers
Simon

mol...@gmail.com

unread,
Jan 10, 2013, 7:56:51 AM1/10/13
to auton...@googlegroups.com
It's working perfectly!

Thanks for your (very quick) reply!

Benoit

Simon Knight

unread,
Jan 10, 2013, 7:58:22 AM1/10/13
to auton...@googlegroups.com
excellent :)
Reply all
Reply to author
Forward
0 new messages