hello guys, so i had the same error as @almooj and this is how i solved it :
cd /tmp
git clone https://aur.archlinux.org/python-jsonschema26.git
cd python-jsonschema26
makepkg -si --nocheck
I hope this will help
Thanks in advance.
| Git Clone URL: | https://aur.archlinux.org/gns3-gui.git (read-only, click to copy) |
|---|---|
| Package Base: | gns3-gui |
| Description: | GNS3 network simulator. Graphical user interface package. |
| Upstream URL: | https://github.com/GNS3/gns3-gui |
| Licenses: | GPL-3.0-only |
| Groups: | gns3 |
| Submitter: | korjjj |
| Maintainer: | buzo |
| Last Packager: | buzo |
| Votes: | 104 |
| Popularity: | 1.73 |
| First Submitted: | 2014-05-13 18:56 (UTC) |
| Last Updated: | 2026-05-13 17:07 (UTC) |
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 16 Next › Last »
hello guys, so i had the same error as @almooj and this is how i solved it :
cd /tmp
git clone https://aur.archlinux.org/python-jsonschema26.git
cd python-jsonschema26
makepkg -si --nocheck
I hope this will help
Thanks in advance.
I have the exact same error output as almooj. Edit: Not quite exact, instead of /tmp/yaourt... I have /home/user/.cache/yay/...
Hello Buzo and hello everyone, when I try to add the "python-jsonschema26" package I have the following error:
[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 "/tmp/yaourt-tmp-neo/aur-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 "/tmp/yaourt-tmp-neo/aur-python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/validators.py", line 541, in validate
cls(schema, *args, **kwargs).validate(instance)
File "/tmp/yaourt-tmp-neo/aur-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 "/tmp/yaourt-tmp-neo/aur-python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/validators.py", line 105, in iter_errors
for error in errors:
File "/tmp/yaourt-tmp-neo/aur-python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/_validators.py", line 163, in format
validator.format_checker.check(instance, format)
File "/tmp/yaourt-tmp-neo/aur-python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/_format.py", line 96, in check
result = func(instance)
File "/tmp/yaourt-tmp-neo/aur-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'
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_26_a_valid_CSS_color_name
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_27_a_valid_six_digit_CSS_color_code
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_28_a_valid_three_digit_CSS_color_code
===============================================================================
[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 "/tmp/yaourt-tmp-neo/aur-python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/tests/test_jsonschema_test_suite.py", line 68, in test_case
validate(data, schema, cls=self.validator_class, **kwargs)
File "/tmp/yaourt-tmp-neo/aur-python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/validators.py", line 541, in validate
cls(schema, *args, **kwargs).validate(instance)
File "/tmp/yaourt-tmp-neo/aur-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 "/tmp/yaourt-tmp-neo/aur-python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/validators.py", line 105, in iter_errors
for error in errors:
File "/tmp/yaourt-tmp-neo/aur-python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/_validators.py", line 163, in format
validator.format_checker.check(instance, format)
File "/tmp/yaourt-tmp-neo/aur-python-jsonschema26/src/jsonschema-2.6.0/build/lib/jsonschema/_format.py", line 96, in check
result = func(instance)
File "/tmp/yaourt-tmp-neo/aur-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'
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_29_an_invalid_CSS_color_code
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_30_an_invalid_CSS_color_name
jsonschema.tests.test_jsonschema_test_suite.TestDraft3.test_format_31_a_CSS_color_name_containing_invalid_characters
-------------------------------------------------------------------------------
Ran 739 tests in 0.652s
FAILED (skips=2, errors=6, successes=731)
==> ERRORE: Si è verificato un errore in check().
L'operazione sta per essere interrotta...
==> ERRORE: Makepkg non è riuscito a compilare python-jsonschema26.
==> Riavviare la compilazione di python-jsonschema26 [s/N]
I tried to downgrade the python and to install the last version of python-jsonschema (3.2.0-2) but the situation has not changed. Can you help me please?
Thanks in advance.
@Archange Any updates with your packaging effort? Would be really great if GNS3 could move to community!
Yes, Python packages need a rebuild after Arch moved to Python 3.8 in October 2019. So rebuilding python-jsonschema26 should fix this indeed.
Hello buzo, I have exact same problem like phy0d0r and milenus. Same output as is bellow.
Although I see that I have installed 'jsonschema=2.6.0' (with single '=') and gns3-gui requires 'jsonschema==2.6.0' (with double '=').
EDIT: rebuilding python-jsonschema26 did fix it for me.
Hello buzo, I have exact same problem like phy0d0r. Same output as is bellow.
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).
Hi buzo, i already uninstall/reinstall but the problem is persists.
┌─ fyodor at 17:29 ın {~}
└─> ₹ » gns3
Traceback (most recent call last):
File "/usr/bin/gns3", 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 'jsonschema==2.6.0' distribution was not found and is required by gns3-gui
┌─ fyodor at 17:29 ın {~}
└─> ₹ » yay -Ss jsonschema
aur/python-jsonschema26 2.6.0-1 (+1 0.03%) (Installed)
An implementation of JSON Schema validation for Python
Pinned Comments
buzo commented on 2025-05-28 11:58 (UTC)
Upstream has split development of the major versions 2 and 3. This package will keep tracking the latest version. If you prefer version 2, there is now a separate package gns3-gui-2.