Package Details: gns3-server 2.2.33.1-1

Git Clone URL: https://aur.archlinux.org/gns3-server.git (read-only, click to copy)
Package Base: gns3-server
Description: GNS3 network simulator, Server package
Upstream URL: https://github.com/GNS3/gns3-server
Licenses: GPL3
Submitter: korjjj
Maintainer: buzo
Last Packager: buzo
Votes: 70
Popularity: 0.35
First Submitted: 2014-05-13 17:40 (UTC)
Last Updated: 2022-06-21 09:31 (UTC)

Latest Comments

33Fraise33 commented on 2021-12-16 16:09 (UTC) (edited on 2022-01-06 12:19 (UTC) by 33Fraise33)

I actually have the same issue as @jpbd. What do yo mean with rebuild?

I have removed the package and reinstalled it but with the same result.

EDIT: rebuilding means removing the aur helper cache if you have that and reinstalling. That fixed it for me indeed.

zbe commented on 2021-12-14 07:15 (UTC)

@jpbd, rebuild gns3-server

jpbd commented on 2021-12-14 07:01 (UTC)

@buzo python-sentry_sdk dependency was updated to python-sentry_sdk-1.5.1-1

Traceback (most recent call last):
  File "/usr/bin/gns3server", line 33, in <module>
    sys.exit(load_entry_point('gns3-server==2.2.27', 'console_scripts', 'gns3server')())
  File "/usr/bin/gns3server", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 919, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 518, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for gns3-server

buzo commented on 2021-12-01 16:35 (UTC)

s13g3lb4um: Thanks. I've patched the requirements to allow async-timeout>=3.0.1 but aiohttp>=3.7.4 was already there, so that should have worked already.

s13g3lb4um commented on 2021-11-30 07:29 (UTC)

the initial setup fails for me, this installed aiohttp==3.8.1 and async-timeout==4.0.1, but this package require async-timeout==3.0.1.

i unninstall aiohttp and async-timeout, after i install aiohttp==3.7.4 and async-timeout==3.0.1 and this works.

HashesTables commented on 2021-11-03 11:24 (UTC) (edited on 2021-11-03 11:36 (UTC) by HashesTables)

Got this error:

Traceback (most recent call last): File "/usr/bin/gns3server", line 33, in <module> sys.exit(load_entry_point('gns3-server==2.2.26', 'console_scripts', 'gns3server')()) File "/usr/lib/python3.9/site-packages/gns3server/main.py", line 82, in main from gns3server.run import run File "/usr/lib/python3.9/site-packages/gns3server/run.py", line 32, in <module> from gns3server.web.web_server import WebServer File "/usr/lib/python3.9/site-packages/gns3server/web/web_server.py", line 25, in <module> import asyncio File "/usr/lib/python3.9/site-packages/asyncio/init.py", line 21, in <module> from .base_events import * File "/usr/lib/python3.9/site-packages/asyncio/base_events.py", line 296 future = tasks.async(future, loop=self) ^ SyntaxError: invalid syntax

But it works when launching as sudo...Again that asyncio package breaking stuff. Tried to uninstall/reinstall asyncio with pip, same issue.

found it -> Removed the asyncio package with pip, as it should eventually not be in site-packages, cleaned built gns-gui and it works now.

buzo commented on 2021-08-27 14:27 (UTC)

Thanks petrkr, the Arch package community/python-distro hasn't been updated yet unfortunately. I have patched requires.txt accordingly.

But aur/python-sentry_sdk is already at version 1.3.1, so you should update that one, too.

petrkr commented on 2021-08-27 13:19 (UTC) (edited on 2021-08-27 13:22 (UTC) by petrkr)

New version needs python distro 1.6.0 or higher. In packages is only 1.5.0, so this version does not work.

Maybe do own venv environment for such software?

pkg_resources.DistributionNotFound: The 'distro>=1.6.0' distribution was not found and is required by gns3-server

Also sentry_sdk needs to be in version 1.3.1. I had older version but dependecies does not contains version, so it has not been updated by installer

pkg_resources.DistributionNotFound: The 'sentry-sdk>=1.3.1' distribution was not found and is required by gns3-server

buzo commented on 2021-06-16 12:03 (UTC)

SpacingBat3: Done, thanks for trying this out!

SpacingBat3 commented on 2021-06-15 21:13 (UTC) (edited on 2021-06-15 21:15 (UTC) by SpacingBat3)

Could you (the maintainer of this PKGBUILD) add aarch64 architecture to arch() array in PKGBUILD? I was able to compile it on my AArch64 device and actualy use it (with an exception it won't work with most QEMU presets, it runs fine and can be used with dynamips).

kazaii commented on 2021-05-20 00:02 (UTC)

Woops, sorry about that; Misunderstood your last reply to black_file. Thanks, Buzo

buzo commented on 2021-05-19 17:00 (UTC)

kazaii: I've already fixed this a few days ago.

kazaii commented on 2021-05-18 01:01 (UTC) (edited on 2021-05-18 12:44 (UTC) by kazaii)

It should work with jinja 2.X, but it Seems that this one stopped working when Python jinja 3.0 dropped into Arch upstream

resolving dependencies...
looking for conflicting packages...

Packages (2) python-markupsafe-2.0.0-1  python-jinja-3.0.0-3

Total Download Size:   0.23 MiB
Total Installed Size:  1.35 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 python-jinja-3.0.0... 

Probably another tweak in the requirements section would get it going.

edit: Looks like this does the trick:

-e 's|^Jinja2==2.11.3$|Jinja2>=2.11.3|' \

added to requirements .txt

prepare() {
    cd "$pkgname-$pkgver"
    # Arch usually has the latest versions. Patch requirements to allow them.
    sed -i \
        -e 's|^aiohttp==3\.7\.4.*|aiohttp>=3.7.4|' \
        -e 's|^aiofiles==0\.6\.0$|aiofiles>=0.6.0|' \
        -e 's|^sentry-sdk==1\.0\.0$|sentry-sdk>=1.0.0|' \
        -e 's|^psutil==5\.8\.0$|psutil>=5.8.0|' \
        -e 's|^distro==1\.5\.0$|distro>=1.5.0|' \
        -e 's|^py-cpuinfo==7\.0\.0$|py-cpuinfo>=7.0.0|' \
        -e 's|^Jinja2==2\.11\.3$|Jinja2>=2.11.3|' \      ##<---------- Here
        requirements.txt
}

buzo commented on 2021-05-16 18:41 (UTC)

Black_file: Does it work with version 2.2.21-2?

Black_file commented on 2021-05-16 12:39 (UTC)

Hey, have a problem with this package because python-jinja2=2.13.1 is missing tried to downgrade but nothing solved can you help me pls ?

douglasimcabral commented on 2021-04-26 19:24 (UTC)

@buzo: I made a mistake in identifying the problematic dependency in the service logs. @usbping has already indicated the correction it would make. Now it's all right!

usbping commented on 2021-04-25 18:06 (UTC)

buzo: It`s works with that. Thank you for your help.

buzo commented on 2021-04-25 17:05 (UTC)

usbping: Thanks for calling attention! I have patched the requirements to allow py-cpuinfo>=7.0.0 – does it work with that?

usbping commented on 2021-04-25 13:44 (UTC)

Hi, today pkg py-cpuinfo was upgraded to 8.0.0 and now i have some error: distribution py-cpuinfo==7.0.0 was not found and is required by gns3-server. How to fix it? Downgrade to 7.0.0?

buzo commented on 2021-04-25 12:29 (UTC)

douglasimc: I don't see why this should be necessary since the typing module is part of the Python standard library in recent versions. What kind of error do you get without python-typing_extensions?

douglasimcabral commented on 2021-04-23 14:46 (UTC)

Please add the missing dependency: python-typing_extensions

buzo commented on 2021-04-13 07:48 (UTC)

Yup, those *-gns3 AUR packages are not needed any more. Maybe I should request to delete them, to avoid confusion.

commented on 2021-04-12 17:50 (UTC)

I got a version conflict for aiohttp: Requirement.parse('aiohttp>=3.7.4'), {'gns3-server'})

Fixed by removing 'python-aiohttp-cors-gns3' and installing 'python-aiohttp'

buzo commented on 2021-04-09 19:32 (UTC)

cookiewookie: Should be fixed with 2.2.20, since upstream switched to sentry-sdk 1.0.0.

cookiewookie commented on 2021-04-05 14:35 (UTC)

python-sentry_sdk fails to download from pypi!

buzo commented on 2021-01-22 13:22 (UTC)

d72: I guess you built the package with Python 3.8, but you try to run it with Python 3.9. In that case, you just need to rebuild gns3-server.

d72 commented on 2021-01-21 21:25 (UTC)

Any idea what's going wrong here?

Traceback (most recent call last):
  File "/usr/bin/gns3server", line 33, in <module>
    sys.exit(load_entry_point('gns3-server==2.2.17', 'console_scripts', 'gns3server')())
  File "/usr/bin/gns3server", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: gns3-server

Everything on the system is up to date. Works on my other Arch box

nhannht commented on 2020-12-11 07:16 (UTC)

buzo: this is about gns3-server-git

Now I reinstall gns3-server. It tell problem about "aiohttp" even I had aiohttp installed

Solution: pip install aiohttp-utils => solved.

buzo commented on 2020-12-09 16:26 (UTC)

nhannht: How did you build that package? I checked requires.txt again, and it contains psutil>=5.6.7, not ==.

nhannht commented on 2020-12-09 15:30 (UTC) (edited on 2020-12-09 15:31 (UTC) by nhannht)

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 567, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 884, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 775, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (psutil 5.7.3 (/usr/lib/python3.9/site-packages), Requirement.parse('psutil==5.6.7'), {'gns3-server'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/bin/gns3server", line 33, in <module>
    sys.exit(load_entry_point('gns3-server==2.2.17', 'console_scripts', 'gns3server')())
  File "/bin/gns3server", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/gns3server/main.py", line 29, in <module>
    import gns3server.utils.get_resource
  File "/usr/lib/python3.9/site-packages/gns3server/utils/get_resource.py", line 19, in <module>
    import pkg_resources
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3239, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 569, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 582, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 770, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'psutil==5.6.7' distribution was not found and is required by gns3-server

Install gns3server-git version bug too. I have psutil 5.7.3 installed

Will2k commented on 2020-09-09 11:13 (UTC)

Ah! Thank you theinterwebthing!

theinterwebthing commented on 2020-09-09 11:04 (UTC)

Close the GUI, then killall gns3server Start GUI again.

Will2k commented on 2020-09-09 09:08 (UTC) (edited on 2020-09-09 09:12 (UTC) by Will2k)

I'm currently receiving the following error.

Error when connecting to the GNS3 server:
Client version 2.2.13 is not the same as server (controller) version 2.2.12

Using gns3-gui 2.2.13-1 & gns3-server 2.2.13-1. Any suggestions on how to fix this?

buzo commented on 2020-08-16 09:54 (UTC)

Thanks theinterwebthing, fixed that with the update to 2.2.12.

theinterwebthing commented on 2020-08-03 00:18 (UTC) (edited on 2020-08-03 00:24 (UTC) by theinterwebthing)

Unable to start

   File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 785, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'py-cpuinfo==6.0.0' distribution was not found and is required by gns3-server 

Updating psutil==5.7.0 to psutil==5.7.1 and py-cpuinfo==6.0.0 to py-cpuinfo==7.0.0 in /usr/lib/python3.8/site-packages/gns3_server-2.2.11-py3.8.egg-info/requires.txt solves the issue.

Note these are hardcoded upstream in the requirements.txt

buzo commented on 2020-06-05 16:44 (UTC)

Thanks cioby23, fixed.

cioby23 commented on 2020-06-04 14:25 (UTC)

Beginning with version 2.2.9 python-raven have been deprecated and replaced by python-sentry_sdk. The PKGBUILD needs to be updated with this dependency. https://aur.archlinux.org/packages/python-sentry_sdk/

killerinstinct89 commented on 2020-04-27 20:27 (UTC) (edited on 2020-04-27 20:29 (UTC) by killerinstinct89)

Got this error:

 [SKIPPED]
In Python 3 json.load always produces unicode

jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_string_a_bytestring_is_a_string
jsonschema.tests.test_jsonschema_test_suite.TestDraft4.test_string_a_bytestring_is_a_string
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/usr/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/ruben/.cache/yay/python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/tests/test_jsonschema_test_suite.py", line 63, in test_case
    validate(data, schema, cls=self.validator_class, **kwargs)
  File "/home/ruben/.cache/yay/python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/validators.py", line 541, in validate
    cls(schema, *args, **kwargs).validate(instance)
  File "/home/ruben/.cache/yay/python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/validators.py", line 129, in validate
    for error in self.iter_errors(*args, **kwargs):
  File "/home/ruben/.cache/yay/python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/validators.py", line 105, in iter_errors
    for error in errors:
  File "/home/ruben/.cache/yay/python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/_validators.py", line 163, in format
    validator.format_checker.check(instance, format)
  File "/home/ruben/.cache/yay/python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/_format.py", line 96, in check
    result = func(instance)
  File "/home/ruben/.cache/yay/python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/_format.py", line 259, in is_css21_color
    instance.lower() in webcolors.css21_names_to_hex
builtins.AttributeError: module 'webcolors' has no attribute 'css21_names_to_hex' 

buzo commented on 2020-03-27 09:09 (UTC)

Thanks, frpenguin – fixed.

frpenguin commented on 2020-03-26 21:25 (UTC)

A new dependency: python-py-cpuinfo. Please add

temach commented on 2020-01-22 01:28 (UTC)

When starting gns3-server I ran into "pkg_resources.DistributionNotFound: The 'yarl==1.3.0' distribution was not found and is required by gns3-server"

It was asking for python-yarl==1.3.0 when python-yarl==1.4.2 is in the community repos. Downgrading python-yarl to 1.3.0 solved the issue.

phy0d0r commented on 2019-12-14 18:48 (UTC)

@Archange: Its working now after I rebuild the remaining packages. Thanks.

Archange commented on 2019-12-14 17:39 (UTC)

@phy0d0r: Because you need to rebuild every python package from the AUR for python 3.8.

phy0d0r commented on 2019-12-14 17:36 (UTC)

@Archange: I'm not sure why still link to 3.7. I haven't try. We'll try some later.


 ┌─ fyodor at 01:32  ın  {~}
 └─> ₹ » pacman -Ql python-aiohttp-cors-gns3
[sudo] password for fyodor: 
python-aiohttp-cors-gns3 /usr/
python-aiohttp-cors-gns3 /usr/lib/
python-aiohttp-cors-gns3 /usr/lib/python3.7/
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors-0.7.0-py3.7.egg-info/
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors-0.7.0-py3.7.egg-info/PKG-INFO
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors-0.7.0-py3.7.egg-info/SOURCES.txt
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors-0.7.0-py3.7.egg-info/dependency_links.txt
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors-0.7.0-py3.7.egg-info/requires.txt
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors-0.7.0-py3.7.egg-info/top_level.txt
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__about__.py
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__init__.py
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/__about__.cpython-37.opt-1.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/__about__.cpython-37.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/__init__.cpython-37.opt-1.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/__init__.cpython-37.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/abc.cpython-37.opt-1.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/abc.cpython-37.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/cors_config.cpython-37.opt-1.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/cors_config.cpython-37.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/mixin.cpython-37.opt-1.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/mixin.cpython-37.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/preflight_handler.cpython-37.opt-1.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/preflight_handler.cpython-37.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/resource_options.cpython-37.opt-1.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/resource_options.cpython-37.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/urldispatcher_router_adapter.cpython-37.opt-1.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/__pycache__/urldispatcher_router_adapter.cpython-37.pyc
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/abc.py
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/cors_config.py
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/mixin.py
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/preflight_handler.py
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/resource_options.py
python-aiohttp-cors-gns3 /usr/lib/python3.7/site-packages/aiohttp_cors/urldispatcher_router_adapter.py

Archange commented on 2019-12-14 15:27 (UTC)

@phy0d0r: What does pacman -Ql python-aiohttp-cors-gns3 returns?

Also, why not try the package I’ve posted?

phy0d0r commented on 2019-12-13 18:30 (UTC)

Hi buzo, I already rebuild all required packages but experiencing another error.


 ┌─ fyodor at 02:26  ın  {~}
 └─> ₹ » gns3
2019-12-14 02:26:03 INFO root:126 Log level: INFO
2019-12-14 02:26:03 INFO main:256 GNS3 GUI version 2.2.3
2019-12-14 02:26:03 INFO main:257 Copyright (c) 2007-2019 GNS3 Technologies Inc.
2019-12-14 02:26:03 INFO main:259 Application started with /usr/bin/gns3
2019-12-14 02:26:08 ERROR local_server:496 Local server process has stopped
2019-12-14 02:26:08 ERROR local_server:498 Traceback (most recent call last):
  File "/usr/bin/gns3server", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'aiohttp-cors==0.7.0' distribution was not found and is required by gns3-server

 ┌─ fyodor at 02:29  ın  {~}
 └─> ₹ » yay -Ss aiohttp-cors
aur/python-aiohttp-cors-gns3 0.7.0-1 (+13 0.33%) (Installed)
    CORS support for aiohttp (GNS3)

buzo commented on 2019-12-12 17:00 (UTC)

phy0d0r: Did you rebuild python-async-timeout-gns3 already? This was needed due to the move from Python 3.7 to 3.8.

phy0d0r commented on 2019-12-11 22:15 (UTC)

Hi! I got another error. Thanks.


 ┌─ fyodor at 06:11  ın  {~}
 └─> ₹ » gns3
2019-12-12 06:11:26 INFO root:126 Log level: INFO
2019-12-12 06:11:26 INFO main:256 GNS3 GUI version 2.2.3
2019-12-12 06:11:26 INFO main:257 Copyright (c) 2007-2019 GNS3 Technologies Inc.
2019-12-12 06:11:26 INFO main:259 Application started with /usr/bin/gns3
2019-12-12 06:11:31 ERROR local_server:496 Local server process has stopped
2019-12-12 06:11:31 ERROR local_server:498 Traceback (most recent call last):
  File "/usr/bin/gns3server", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'async-timeout==3.0.1' distribution was not found and is required by gns3-server

 ┌─ fyodor at 06:11  ın  {~}
 └─> ₹ » yay -Ss async-timeout
aur/python-async-timeout-gns3 3.0.1-1 (+10 0.34%) (Installed)
    Asyncio-compatible timeout class (GNS3)

buzo commented on 2019-12-11 15:16 (UTC) (edited on 2019-12-11 15:16 (UTC) by buzo)

python-multidict-gns3 is at version 4.7.0 now, which should fix that issue.

Archange commented on 2019-12-10 23:44 (UTC)

I’m in the work of packaging this to [community], if some people want to try the current, package it’s available at https://paste.xinu.at/m-xMBT/ (it removes the requirements on all -gns3 python deps and use latest ones instead, but I haven’t thoroughly tested it, so some things might break —please report if so).

I did not package the systemd service file that’s available here though, because using the gui starts the server by itself, so I’m not sure there is a need but please tell me.

kancelator commented on 2019-12-02 21:12 (UTC)

It seems that there is an issue with multidict<5.0,>=4.5. So gns3server doesn't start.

pkg_resources.DistributionNotFound: The 'multidict<5.0,>=4.5' distribution was not found and is required by aiohttp

yay -Q | grep multidict python-multidict-gns3 4.5.2-1

Tried with python-multidict 4.6.1-1 but it is the same does not want to start.

Could you please have a look at this?

SinClaus commented on 2019-11-27 09:43 (UTC)

As usual, modules are installed to /usr/lib/python3.7/site-packages but gns3-server uses /usr/lib/python3.8/site-packages

SinClaus commented on 2019-11-27 09:27 (UTC)

$ yay -Ss python-async-timeout-gns3 aur/python-async-timeout-gns3 3.0.1-1 (+10 0.46%) (Installed)

SinClaus commented on 2019-11-27 09:24 (UTC)

After update:

pkg_resources.DistributionNotFound: The 'async-timeout==3.0.1' distribution was not found and is required by gns3-server

buzo commented on 2019-11-25 17:31 (UTC)

Should be fixed now. I have relaxed the requirements to allow python-psutil from the community repo. I hope that is sufficient, else I could add another AUR package for that exact version.

aetios commented on 2019-11-19 10:18 (UTC)

The package seems to require yarl 1.3.0, but depends on the package python-yarl-gns3 which provides 1.2.6-2. seems to work for now by adjusting this requirement in the requirements.txt but would like to see a fix.

additionally, this (and gns3-gui) requires psutil==5.6.3. psutil current version is 5.6.5 and thus will prevent gns3server from starting. i've patched this too but i dont know whether this will cause instability.

SinClaus commented on 2019-11-19 02:56 (UTC)

So am I [code] Nov 19 09:51:29 Pirr gns3server[11179]: Traceback (most recent call last): Nov 19 09:51:29 Pirr gns3server[11179]: File "/usr/bin/gns3server", line 6, in <module> Nov 19 09:51:29 Pirr gns3server[11179]: from pkg_resources import load_entry_point Nov 19 09:51:29 Pirr gns3server[11179]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3251, in <module> Nov 19 09:51:29 Pirr gns3server[11179]: def _initialize_master_working_set(): Nov 19 09:51:29 Pirr gns3server[11179]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3234, in _call_aside Nov 19 09:51:29 Pirr gns3server[11179]: f(args, *kwargs) Nov 19 09:51:29 Pirr gns3server[11179]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3263, in _initialize_master_working_set Nov 19 09:51:29 Pirr gns3server[11179]: working_set = WorkingSet._build_master() Nov 19 09:51:29 Pirr gns3server[11179]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 583, in _build_master Nov 19 09:51:29 Pirr gns3server[11179]: ws.require(requires) Nov 19 09:51:29 Pirr gns3server[11179]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 900, in require Nov 19 09:51:29 Pirr gns3server[11179]: needed = self.resolve(parse_requirements(requirements)) Nov 19 09:51:29 Pirr gns3server[11179]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 786, in resolve Nov 19 09:51:29 Pirr gns3server[11179]: raise DistributionNotFound(req, requirers) Nov 19 09:51:29 Pirr gns3server[11179]: pkg_resources.DistributionNotFound: The 'gns3-server==2.2.3' distribution was not found and is required by the application Nov 19 09:51:29 Pirr systemd[1]: gns3-server@netmaster.service: Main process exited, code=exited, status=1/FAILURE [/code]

KaiSVK commented on 2019-11-18 20:12 (UTC)

I got the same error Local server process has stopped

Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 583, in _build_master ws.require(requires) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (yarl 1.2.6 (/usr/lib/python3.7/site-packages), Requirement.parse('yarl==1.3.0'), {'gns3-server'})

SinClaus commented on 2019-11-15 02:49 (UTC)

Last update result:

pkgresources.DistributionNotFound 'gns3-server==2.2.3' distribution was not found ....

phy0d0r commented on 2019-11-03 13:19 (UTC)

Thanks buzo. Install was successful without any error. Thanks.

buzo commented on 2019-11-03 09:52 (UTC)

phy0d0r: Looks like a server problem to me. Did you try to rm gns3-server-2.2.1.tar.gz and then download again?

phy0d0r commented on 2019-11-03 09:30 (UTC) (edited on 2019-11-03 09:31 (UTC) by phy0d0r)

Hi, I had a problem when installing gns3-server 2.2.1-1.


==> Making package: gns3-server 2.2.1-1 (Sun 03 Nov 2019 05:27:16 PM PST)
==> Retrieving sources...
  -> Downloading gns3-server-2.2.1.tar.gz...
** Resuming transfer from byte position 5767168
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   124    0   124    0     0     73      0 --:--:--  0:00:01 --:--:--    73
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
==> ERROR: Failure while downloading https://github.com/GNS3/gns3-server/archive/v2.2.1.tar.gz
    Aborting...
Error downloading sources: gns3-server

etiennewan commented on 2019-10-13 13:00 (UTC)

Thank you deemon for the info, I had to edit the gns3_server.conf as you mentioned to get rid of the error

joetheshmo commented on 2019-10-08 21:59 (UTC)

Thank you buzo!!

buzo commented on 2019-10-08 21:32 (UTC)

Thanks DragonX256, fixed.

DragonX256 commented on 2019-10-08 03:55 (UTC)

python-async_generator and python-aiofiles is required for gns3server running.

deemon commented on 2019-10-06 22:32 (UTC) (edited on 2019-10-06 22:33 (UTC) by deemon)

Got my problem sorted. Changed the "host = None" to "host = 127.0.0.1" in ~/.config/GNS3/2.2/gns3_server.conf

why it comes with "None" as default is beyond me. (or the previous version did and this got somehow migrated from old version?)

joetheshmo commented on 2019-10-06 21:48 (UTC) (edited on 2019-10-08 17:25 (UTC) by joetheshmo)

still seeing this error when trying to start up the local server: https://pastebin.com/bP4y8M9f

EDIT: After manually installing python-async_generator and python-aiofiles as mentioned by @DragonX256 gns3server runs as expected. THANK YOU!!

meetmarvin commented on 2019-10-06 20:49 (UTC)

@daemon. I just tested it now and worked fine. Double check dependencies or try to reinstall

deemon commented on 2019-10-06 20:33 (UTC) (edited on 2019-10-06 22:07 (UTC) by deemon)

Still something is broken... running the server in local computer and not in any sort or form of VM. The gns3server is not starting and gives this output:

2019-10-07 00:24:17 INFO web_server.py:294 Starting server on None:3080

2019-10-07 00:24:17 INFO init.py:62 Load controller configuration file /home/deemon/.config/GNS3/2.2/gns3_controller.conf

2019-10-07 00:24:17 INFO init.py:66 Controller is starting

2019-10-07 00:24:17 INFO compute.py:63 Create compute local

2019-10-07 00:24:17 INFO compute.py:360 Connecting to compute 'local'

2019-10-07 00:24:17 DEBUG compute.py:509 Attempting request to compute: GET http://None:3080/v2/compute/capabilities {'content-type': 'application/json'}

2019-10-07 00:24:17 WARNING compute.py:363 Cannot connect to compute 'local': Cannot connect to host none:3080 ssl:None [Name or service not known]

2019-10-07 00:24:17 CRITICAL web_server.py:87 Could not start the server: [Errno -2] Name or service not known

2019-10-07 00:24:17 DEBUG get_resource.py:39 Clean egg cache /tmp/tmp3itrffcj

[deemon@Zen ~]$

not quite sure, but seems it's starting server "None" and then tries to connect to "local" and doesn't find it by this name (because it started "None", not "local"?) or am I reading something something wrong there? Might be gns3-server itself bug -- which i reported just in case. Downgraded to 2.1.21 and it properly starts the server in 127.0.0.1 instead of the "None".

meetmarvin commented on 2019-10-06 20:13 (UTC)

Thank you @buzo. You're the best!

buzo commented on 2019-10-06 18:08 (UTC)

Fixed – sorry for the delay, I am currently on vacation.

king007 commented on 2019-10-02 08:20 (UTC)

Please note that these are the official requirements.txt for gns3-server. As @meetmarvin already mentioned . aiofiles==0.4.0 seems to be new for latest release

--------requirements.txt-------- jsonschema==2.6.0 # pyup: ignore aiohttp==3.5.4 aiohttp-cors==0.7.0 aiofiles==0.4.0 async_generator>=1.10 Jinja2>=2.7.3 raven>=5.23.0 psutil>=3.0.0 async-timeout==3.0.1 distro>=1.3.0 ---------------------

meetmarvin commented on 2019-10-02 00:47 (UTC)

Please update gn3-server 2.2.0 dependencies:

async-timeout==3.0.1 latest AUR: 3.0.0 aiohttp-cors==0.7.0 latest AUR: 0.6.0 aiohttp==3.5.4 latest AUR: 2.3.10

Thanks!

buzo commented on 2019-06-19 08:46 (UTC)

alexanderp: A question is not an error. You should answer “yes”, or does this break anything else?

See comments below for why this dependency changed.

alexanderp commented on 2019-06-19 07:53 (UTC)

Error while updating to 2.1.21-2:

python-jsonschema26 and python-jsonschema are in conflict. Remove python-jsonschema?

buzo commented on 2019-06-16 19:22 (UTC)

thunder72: Fixed – thanks for the notification.

thunder72 commented on 2019-06-16 18:33 (UTC)

Field to start after update pkg_resources.ContextualVersionConflict: (jsonschema 3.0.1 (/usr/lib/python3.7/site-packages), Requirement.parse('jsonschema==2.6.0'), {'gns3-server'})

abdulhakeem commented on 2019-06-15 21:46 (UTC)

systemctl enable gns3-server says "Failed to enable unit: Unit file gns3-server.service does not exist.", is that expected?

if I run systemctl enable gns3-server@USER, it doesn't give any error output but I also don't see gns3-server in either my Running or Enabled services

buzo commented on 2019-05-29 09:01 (UTC) (edited on 2019-05-29 09:05 (UTC) by buzo)

thunder72: Fixed, thanks. Please flag the other package (python-aiohttp-cors-gns3 in this case) out-of-date next time.

thunder72 commented on 2019-05-28 22:46 (UTC)

Gns3-server version 2.1.19-1 required aiohttp-cors version 0.6.0

pkg_resources.ContextualVersionConflict: (aiohttp-cors 0.5.3 (/usr/lib/python3.7/site-packages), Requirement.parse('aiohttp-cors==0.6.0'), {'gns3-server'})

buzo commented on 2019-05-25 09:25 (UTC)

alsetema: fixed, thanks

alsetema commented on 2019-05-24 20:51 (UTC)

Apparently it wants a lower version than the current one of async-timeout? (current seems to be python-async-timeout-gns3 3.0.0-1) pkg_resources.DistributionNotFound: The 'async-timeout<3.0.0' distribution was not found and is required by gns3-server

hagar-dunor commented on 2019-05-21 19:10 (UTC)

All fine now, thx for your work :)

buzo commented on 2019-05-20 09:26 (UTC)

Sorry, I have just updated the dependency python-aiohttp-gns3, too.

hagar-dunor commented on 2019-05-19 19:52 (UTC) (edited on 2019-05-19 19:53 (UTC) by hagar-dunor)

In the GUI gns-server complains that aiohttp=2.3.10 is required where 2.3.9 is installed

leo95 commented on 2019-02-27 22:21 (UTC)

Yes. Thanks

buzo commented on 2019-02-27 09:52 (UTC)

leo95: Thanks. Is it fixed now?

leo95 commented on 2019-02-26 22:59 (UTC) (edited on 2019-02-26 23:00 (UTC) by leo95)

https://i.imgur.com/9G4iNBZ.png

buzo commented on 2019-02-26 19:48 (UTC)

leo95: Which new problem?

leo95 commented on 2019-02-26 18:52 (UTC)

@buzo the typing module is part of the standard library, removing dependency in requires.txt solves the new problem.

buzo commented on 2019-02-26 10:40 (UTC)

Fixed the requirements. Thanks king007 for pointing this out.

jeltz commented on 2019-02-21 20:40 (UTC)

Thanx @king007. That did the trick!

king007 commented on 2019-02-18 03:04 (UTC) (edited on 2019-02-18 05:27 (UTC) by king007)

Hi All

Simply changing the line "async-timeout<3.0.0" to "async-timeout>=3.0.0" in "/usr/lib/python3.7/site-packages/gns3_server-2.1.12-py3.7.egg-info/requires.txt" solved the issue.

A temp fix for now. Hope this helps.

haagen commented on 2019-02-05 21:19 (UTC)

I've hacked my way around it for now.

Based on https://pypi.org/project/async_timeout/3.0.0/ Change log, the thing that changed the most is supported Python version. It dropped Python 3.4, the lowest version is Python 3.5.3. As my Arch has Python 3.7, and GNS3 also supports Python 3.7... I've changed the package requirements for the given package.

/usr/lib/python3.7/site-packages/gns3_server-2.1.12-py3.7.egg-info/requires.txt

After that I had to do pip install aiohttp-cors==0.5.3

I MUST SAY THAT I DON'T RECOMMEND DOING THIS!! It is really, really ugly workaround.

haagen commented on 2019-02-03 20:46 (UTC)

Well, that didn't work for me, unfortunately. As it needs version even lower then v.3.0.0.

pip freeze: async-timeout==3.0.0

gns3server: pkg_resources.DistributionNotFound: The 'async-timeout<3.0.0' distribution was not found and is required by gns3-server

I'm not able to downgrade to version python-async-timeout-gns3-2.0.1-1 as it breaks another package.

buzo commented on 2019-02-01 20:25 (UTC)

I have downgraded python-async-timeout-gns3 to version 3.0.0 to fix this.

king007 commented on 2019-01-31 09:30 (UTC)

The latest update is not working for me too similar to @jeltz and @alexanderp with the following error

pkg_resources.DistributionNotFound: The 'async-timeout<3.0.0' distribution was not found and is required by gns3-server

jeltz commented on 2019-01-31 09:28 (UTC)

Since the last update I'm having the same problem as alexanderp has. Apparently GNS3-server requires python-async-timeout to be version 2.0.1-1 or lower.

alexanderp commented on 2019-01-30 09:14 (UTC)

Since the update, gns3server throws this error:

pkg_resources.ContextualVersionConflict: (async-timeout 3.0.1 (/usr/lib/python3.7/site-packages), Requirement.parse('async-timeout<3.0.0'), {'gns3-server'})

xscottw commented on 2018-11-08 01:51 (UTC)

I had an issue with some missing python stuff when trying to start this after the most recent update. Using "pip3 install gns3-server" and "pip3 install gns3-gui" like recommended on the GNS3 site solved it.

martisa commented on 2018-10-26 15:51 (UTC)

I workarounded the aiohttp-cors issue by installing it with: pip install aiohttp-cors==0.5.3

SinClaus commented on 2018-10-02 05:28 (UTC)

I've make symlinks to /usr/lib/python3.7/site-packages and gns3-server starts.

SinClaus commented on 2018-10-02 05:22 (UTC)

GNS3 still don't run on my comp. python-async-timeout-gns3 is installed in /usr/lib/python3.6/, actual version of python is 3.7. Ina trace back I see "pkg_resources.DistributionNotFound: The 'aiohttp-cors<0.6.0,>=0.5.3' distribution was not found and is required"

king007 commented on 2018-09-16 11:34 (UTC)

@buzo The new update fixed the error. Thanks for the quick fix. Regards

buzo commented on 2018-09-16 11:16 (UTC)

king007: I have added this change from upstream as a patch, which should fix this.

ucup commented on 2018-08-30 03:44 (UTC) (edited on 2018-08-30 03:44 (UTC) by ucup)

Problem Python 3.7 support in GNS3 already solved by Jeremy Grossman (https://github.com/GNS3/gns3-gui/issues/2566).. You can use GNS3 version 2.1.10dev2 to run GNS3 well in Arch Linux.. I already test it and it can run my topology network test with well..

You can download gns3-server package from here (https://github.com/GNS3/gns3-server/tree/814526ba2608af207b2d45fc9c2ac290872a71db) and gns3-gui package from here (https://github.com/GNS3/gns3-gui/tree/a5f4ec01355c357bd1a0752fb199797648d69772)..

That version can be temporary solution until GNS3 2.1.10 final version has release and ready in aur..

Thanks..

TvT82 commented on 2018-08-27 16:50 (UTC)

@stonyboy So, does this mean we cannot install Gns3-Server for now ? Or is there any way to workaround ? Thank you in advance

stonyboy commented on 2018-08-08 08:49 (UTC) (edited on 2018-08-08 12:41 (UTC) by stonyboy)

@SinClaus:

The python version has been updated from 3.6 to 3.7 and the gns3 packages need to be bytecompiled again with the new python version.

If you like me are using a AUR package manager (e.g aurman) you need to remove the cached packages to be able to force this step (e.g remove the folders named ~/.cache/aurman/gns3* and the dependency python packages like python-aiohttp-cors-gns3 etc.)

Getting that far you will probably see a number of bytecompilation errors in the gns3-server package like this:

File "/usr/lib/python3.7/site-packages/gns3server/controller/project.py", line 890 asyncio.async(self.start_all())

which signifies that the asyncio module has finally removed the asyncio.async function in favor of the asyncio.ensure_future function. The asyncio.async function was deprecated some python releases ago according to the documentation.

I have not yet checked with the GNS3 project site - but they will need to comply with this change - or the gns3-server package will need to contain a patch step for this to work with python 3.7

SinClaus commented on 2018-08-07 02:31 (UTC)

After today's update GNS server cant't start. Here is log:

journalctl -f _SYSTEMD_UNIT=gns3-server@netmaster.service

-- Logs begin at Wed 2017-07-26 08:50:14 +07. -- Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: f(args, *kwargs) Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3108, in _initialize_master_working_set Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: working_set = WorkingSet._build_master() Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 570, in _build_master Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: ws.require(requires) Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 888, in require Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: needed = self.resolve(parse_requirements(requirements)) Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 774, in resolve Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: raise DistributionNotFound(req, requirers) Aug 07 08:51:59 pirr.incom.tomsk.ru gns3server[3137]: pkg_resources.DistributionNotFound: The 'gns3-server==2.1.8' distribution was not found and is required by the application

spencerharmon commented on 2018-04-16 14:32 (UTC)

I ran into a dependency error. Seems to work with python-yarl-gns3 from aur instead of python-yarl.

grawlinson commented on 2018-03-29 22:29 (UTC)

curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading https://files.pythonhosted.org/packages/source/a/aiohttp-cors/aiohttp-cors-0.5.3.tar.gz

kyechou commented on 2018-01-21 00:14 (UTC)

vboxwrapper is no longer needed since 1.2.3 (https://github.com/GNS3/vboxwrapper). Would you mind removing it from the optional dependencies please?

predmijat commented on 2017-12-14 17:35 (UTC)

:: python-aiohttp-gns3 and python-aiohttp-135 are in conflict (python-aiohttp). Remove python-aiohttp-135? [y/N] y error: failed to prepare transaction (could not satisfy dependencies)

Anyone else?

occupo commented on 2017-09-18 07:09 (UTC)

I can confirm it's ok now. Thanks.

hcartiaux commented on 2017-09-15 13:14 (UTC)

The source file has changed... I've updated the checksums but if somebody still has the original tarball and can compare with the new one...

occupo commented on 2017-09-15 11:58 (UTC)

I get this: ==> Validating source files with md5sums... gns3-server-2.0.3.tar.gz ... FAILED gns3-server@.service ... Passed ==> ERROR: One or more files did not pass the validity check! ==> ERROR: Makepkg was unable to build gns3-server.

sudokamikaze commented on 2017-07-18 13:16 (UTC)

After updating system gnsserver don't start Here logs https://hastebin.com/ebobupihif.sql

eang commented on 2017-03-26 20:51 (UTC)

Shouldn't wireshark be listed among the optional dependencies?

alien_luke commented on 2017-02-05 09:12 (UTC) (edited on 2017-02-08 13:13 (UTC) by alien_luke)

Any chance for you to take a look at dynamips package and try make it work again? I tried install it to be used by gns3 but got some compiling errors... Maybe you can take over maintaining that package too?

LE: seems that it didn't compile because of multilib packages (lib32-glibc, lib32-gcc-libs). It worked after disabling multilib https://wiki.archlinux.org/index.php/multilib#Disabling.

mosh5382 commented on 2017-01-30 03:42 (UTC) (edited on 2017-01-30 03:45 (UTC) by mosh5382)

I ended up just uploading an AUR package for python-aiohttp-cors. I would recommend adding it as a dependency for gns3-server 1.5.3 as I couldn't get the server to start without it. https://aur.archlinux.org/packages/python-aiohttp-cors/

mosh5382 commented on 2017-01-29 17:06 (UTC)

I manually changed the PKGBUILD so I could install version 1.5.3. The local server wouldn't start as there was an error related to aiohttp_cors needing to be at version 0.4.0 or greater. I was upgrading from a pre 1.5 version of GNS3 server so maybe this dependency was taken care of at some point previously. In any event I can't find a package in the official repository or the AUR that satisfies the dependency so I had to run: pip3 install aiohttp_cors==0.5.0 then GNS3 server would start correctly. I suspect that this package needs to be added as a dependency but I'm not sure how that can be done if it doesn't exist. I am just posting here in case someone else runs into this issue as I'm pretty sure this would affect version 1.5.2 also.

santinas commented on 2017-01-28 21:16 (UTC) (edited on 2017-01-28 21:25 (UTC) by santinas)

enderst, is that because of the error like this? Traceback (most recent call last): File "/usr/bin/gns3server", line 11, in <module> load_entry_point('gns3-server==1.5.2', 'console_scripts', 'gns3server')() File "/usr/lib/python3.6/site-packages/gns3server/main.py", line 71, in main from gns3server.run import run File "/usr/lib/python3.6/site-packages/gns3server/run.py", line 32, in <module> from gns3server.server import Server File "/usr/lib/python3.6/site-packages/gns3server/server.py", line 33, in <module> from .web.request_handler import RequestHandler File "/usr/lib/python3.6/site-packages/gns3server/web/request_handler.py", line 22, in <module> class RequestHandler(aiohttp.web.RequestHandler): AttributeError: module 'aiohttp.web' has no attribute 'RequestHandler' If so I will then wait for 1.5.3 to be uploaded. Edit: sorry bout that. https://github.com/GNS3/gns3-server/issues/842

noplay commented on 2017-01-12 06:58 (UTC)

A 1.5.3 of GNS3 should be available today it will fix this issue.

enderst commented on 2017-01-12 05:53 (UTC)

Had to uninstall python-aiohttp and python-zipstream then use pip3 to install the versions required by gns3-server 1.5.2-1 so I could get the gns3 vm to work. pip3 install aiohttp==0.21.5 pip3 install zipstream==1.1.3

johnthekipper commented on 2016-11-12 08:20 (UTC)

Please replace 'python-aiohttp' 'python-zipstream' at the depends and change the version to 1.5.2

hcartiaux commented on 2016-10-02 14:02 (UTC)

Could you please update to 1.5.2 ?

hugleo commented on 2016-08-01 15:57 (UTC)

Local server is not working with 0.22 version. Downgrade to 0.21.5 and worked.

bubbles commented on 2016-07-27 06:58 (UTC)

@veroke I edited /usr/lib/python3.5/site-packages/gns3_server-1.5.1-py3.5.egg-info/requires.txt change aiohttp==0.21.5 to aiohttp>=0.21.5 and pip install multidict working fine.

noplay commented on 2016-07-22 11:14 (UTC)

The require.txt is fixed in the GNS3 git to use >=

veroke commented on 2016-07-22 10:34 (UTC) (edited on 2016-07-22 10:35 (UTC) by veroke)

I encountered some error running gns3-server pkg_resources.ContextualVersionConflict: (aiohttp 0.22.1 (/usr/lib/python3.5/site-packages), Requirement.parse('aiohttp==0.21.5'), {'gns3-server'}) So, i edited vim /usr/lib/python3.5/site-packages/gns3_server-1.5.1-py3.5.egg-info/requires.txt change aiohttp==0.21.5 to aiohttp==0.22.1 then i ran gns3 on terminal, another error showed up: pkg_resources.DistributionNotFound: The 'multidict>=1.1.0' distribution was not found and is required by aiohttp $ wget https://aur.archlinux.org/cgit/aur.git/snapshot/python-multidict.tar.gz $ tar xvf python-multidict.tar.gz Edit the PKGBUILD, change pkgver=1.1.0b4 to pkgver=1.1.0 $ updpkgsums $ makepkg -rs then, installed it. gns3 runs okay now.

jmartins commented on 2016-07-13 17:30 (UTC)

Please update to latest version tks joao

buhaha commented on 2016-07-10 17:23 (UTC)

1.5.1 http://pastebin.com/cwLZSih1

noplay commented on 2016-07-05 15:22 (UTC)

You can drop this dependencies: python-netifaces' 'gns3-netifaces' 'python-docker-py We have replaced netifaces by a function available in psutils.

buhaha commented on 2016-07-05 15:15 (UTC)

1.5.0 http://pastebin.com/G9VKhu8k

xrayfur commented on 2016-07-03 15:32 (UTC)

1.5.0 has a new dependency: python-zipstream

buhaha commented on 2016-06-24 23:47 (UTC)

1.5.0rc2 http://pastebin.com/HkJqC3bV

cioby23 commented on 2016-01-29 15:02 (UTC)

Please add ubridge as dependency. https://github.com/GNS3/ubridge It's needed for Vmware support inside GNS3.

ledbrv commented on 2015-04-09 13:33 (UTC)

@korjjj I just updated gns3-server to version 1.3.0-2. It worked. Thanks.

korjjj commented on 2015-04-09 11:15 (UTC)

@max-k by mistake

max-k commented on 2015-04-09 09:42 (UTC)

Hi korjjj, Why did you remove dynamips as an optional dependency ?

korjjj commented on 2015-04-09 05:31 (UTC)

@ledbrv yeah, upstream keeps forgetting that dependencies can sometimes be upgraded too. Posted an issue at github and added a small patch for the package.

ledbrv commented on 2015-04-08 18:55 (UTC)

Hi, Today, after some packages updates, gns3 failed to start with the error: pkg_resources.DistributionNotFound: The 'aiohttp==0.14.4' distribution was not found and is required by gns3-server My current python-aiohttp package is version 0.15.1-1 (after the update). I found the requires.txt file on /usr/lib/python3.4/site-packages/gns3_server-1.3.0-py3.4.egg-info an changed aiohttp from version 0.14.4 to version 0.15.1. I don`t know yet if something is broken, but at least gns3 starts without erros.. diff --git a/requires.txt b/requires.txt index f699d5e..1a4c59f 100644 --- a/requires.txt +++ b/requires.txt @@ -1,4 +1,4 @@ -aiohttp==0.14.4 +aiohttp==0.15.1 jsonschema==2.4.0 Jinja2==2.7.3 raven==5.2.0

korjjj commented on 2015-04-01 16:20 (UTC)

@TomFyuri had no problem with qemu in 1.3.0. Didn't check with 1.2.x, though.

TomFyuri commented on 2015-03-30 15:04 (UTC)

Strangely (or not), doing gns3-server@username steps borks gns3 qemu support for me. (gns3 is capable of launching server side on it's own anyway, without systemd doing it)

dkorzhevin commented on 2014-12-27 16:28 (UTC)

Hi, gns3 1.2.1 available

korjjj commented on 2014-10-25 07:29 (UTC)

@max-k not sure about gns3-launcher-icons, though. Anyway it belongs to gui package.

korjjj commented on 2014-10-25 07:17 (UTC)

okay

astroboy589 commented on 2014-10-25 01:27 (UTC)

"Hi, Could you add these optional dependencies : iouyap : To bridge IOU to UDP, TAP and Ethernet vboxwrapper : To manage VirtualBox hosts vpcs : To emulate lighter hosts than VirtualBox or Qemu iouyap et vboxwrapper aren't packaged yet. I can provide them if you want but they are GNS3 projects so it can be interesting to make them maintained by the same packager. One last thing. Is it possible to merge content from gns3-launcher-icons package. Perhaps storing the files directly into your package. Thanks a lot." +1 PLUS 1. pity we can't vote on comments. :)

max-k commented on 2014-10-24 09:25 (UTC)

I forgot another optional dependency : qemu>1.1: To emulate hosts, PIX or ASA using Qemu

max-k commented on 2014-10-24 08:41 (UTC)

Hi, Could you add these optional dependencies : iouyap : To bridge IOU to UDP, TAP and Ethernet vboxwrapper : To manage VirtualBox hosts vpcs : To emulate lighter hosts than VirtualBox or Qemu iouyap et vboxwrapper aren't packaged yet. I can provide them if you want but they are GNS3 projects so it can be interesting to make them maintained by the same packager. One last thing. Is it possible to merge content from gns3-launcher-icons package. Perhaps storing the files directly into your package. Thanks a lot.

max-k commented on 2014-10-23 14:51 (UTC)

GNS3 1.1 released

astroboy589 commented on 2014-10-21 07:00 (UTC)

Version 1 is out now

korjjj commented on 2014-09-07 12:42 (UTC)

@ImNtReal well, ok, I'll add something like that.

ImNtReal commented on 2014-09-02 19:53 (UTC)

It may be helpful to add a gns3server.service under /usr/lib/systemd/system: http://pastebin.com/jqX5xBBr