Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gns3server --shell not working. #1556

Closed
superwolfboy opened this issue Mar 18, 2019 · 4 comments
Closed

gns3server --shell not working. #1556

superwolfboy opened this issue Mar 18, 2019 · 4 comments
Assignees
Labels
Milestone

Comments

@superwolfboy
Copy link

2.2.0a2
gns3vm

run gns3server --shell it said
Unable to start a shell: the ptpython module must be installed!
so I run pip3 install ptpython and finished.
run gns3server again and received the follow message

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 574, in _build_master
ws.require(requires)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 892, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (prompt-toolkit 2.0.9 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('prompt-toolkit==1.0.15'), {'gns3-server'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/gns3server", line 6, in
from pkg_resources import load_entry_point
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3088, in
@_call_aside
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3072, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3101, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 576, in _build_master
return cls._build_from_requirements(requires)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 589, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 778, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'prompt-toolkit==1.0.15' distribution was not found and is required by gns3-server

After this , I reinstall gns3server by running pip3 install gns3-server==2.2.0a2
and run gns3server working , but gns3server --shell still receive the ptpython module must be installed message.

@grossmj grossmj added the Bug label Mar 19, 2019
@grossmj grossmj added this to the 2.2 milestone Mar 19, 2019
@grossmj grossmj self-assigned this Mar 19, 2019
@grossmj
Copy link
Member

grossmj commented Mar 20, 2019

Indeed, this is broken. However, why do you need this? (since this is for debugging purpose only).

This will require us to fix #1424 first.

@superwolfboy
Copy link
Author

Indeed, this is broken. However, why do you need this? (since this is for debugging purpose only).

This will require us to fix #1424 first.

Cause I notice the gns3server ignored option "iourc_path" in gns3_server.conf which i mentioned in issues #1555
So I want to know more details about this just like wether my configuration problem or this feather has been removed or bug.
So I want use this shell to try get some information.

@grossmj
Copy link
Member

grossmj commented Mar 20, 2019

I am gonna look at #1555 soon.

@superwolfboy
Copy link
Author

superwolfboy commented Mar 20, 2019

I am gonna look at #1555 soon.

Thank you very much.
By the way , my slack account (firexjn@gmail.com) ended now I found today ,and if it is possible ,may I join again?

@grossmj grossmj modified the milestones: 2.3, TBD Jul 18, 2020
@grossmj grossmj closed this as not planned Won't fix, can't repro, duplicate, stale Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants