Package Details: gns3-server 2.2.52-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: GPL-3.0-only
Groups: gns3
Submitter: korjjj
Maintainer: buzo
Last Packager: buzo
Votes: 78
Popularity: 0.65
First Submitted: 2014-05-13 17:40 (UTC)
Last Updated: 2024-12-02 13:35 (UTC)

Dependencies (20)

Required by (2)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 17 Next › Last »

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
}