Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693400 - net-misc/gns3-gui-2.1.21 : runtime error: pkg_resources.DistributionNotFound: The 'jsonschema==2.6.0' distribution was not found and is required by gns3-gui
Summary: net-misc/gns3-gui-2.1.21 : runtime error: pkg_resources.DistributionNotFound:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-04-25
Assignee: Gino McCarty
URL:
Whiteboard:
Keywords: PMASKED, PullRequest
Depends on:
Blocks:
 
Reported: 2019-09-03 11:48 UTC by Garri
Modified: 2020-05-24 22:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garri 2019-09-03 11:48:34 UTC
After recent world update, GNS3 has been failing to start providing the following error messages:

---
pkg_resources.ContextualVersionConflict: (jsonschema 3.0.1 (/usr/lib64/python3.6/site-packages), Requirement.parse('jsonschema==2.6.0'), {'gns3-gui'})

pkg_resources.DistributionNotFound: The 'jsonschema==2.6.0' distribution was not found and is required by gns3-gui
---


There is a similar with net-misc/gns3-gui-2.1.21, which also requires exact dev-python/jsonschema-2.6.0 and dev-python/prompt_toolkit-1.0.15 versions:

---
pkg_resources.ContextualVersionConflict: (prompt-toolkit 2.0.7 (/usr/lib64/python3.6/site-packages), Requirement.parse('prompt-toolkit==1.0.15'), {'gns3-server'})

pkg_resources.DistributionNotFound: The 'prompt-toolkit==1.0.15' distribution was not found and is required by gns3-server
---


Fixing the needed versions in package.mask solves the problems:

$ cat /etc/portage/package.mask 
>dev-python/jsonschema-2.6.0
>dev-python/prompt_toolkit-1.0.15



Below are full lists of requirements:

$ cat /usr/lib64/python3.6/site-packages/gns3_gui-2.1.21-py3.6.egg-info/requires.txt 
jsonschema==2.6.0
raven>=5.23.0
psutil>=2.2.1


$ cat /usr/lib64/python3.6/site-packages/gns3_server-2.1.21-py3.6.egg-info/requires.txt 
jsonschema==2.6.0
aiohttp<2.4.0,>=2.3.3
aiohttp-cors==0.6.0
Jinja2>=2.7.3
raven>=5.23.0
psutil>=3.0.0
zipstream>=1.1.4
prompt-toolkit==1.0.15
async-timeout<3.0.0
Comment 1 Aaron Bauman (RETIRED) gentoo-dev 2020-05-24 22:40:59 UTC
version dropped from tree.