After upgrade to kubuntu 17.10 gns3 won't start #1224

Open
AJNOURI opened this Issue Nov 17, 2017 · 9 comments

Comments

Projects
None yet
4 participants
Contributor

AJNOURI commented Nov 17, 2017

From community forum:
https://gns3.com/qa/after-upgrade-to-kubuntu-17-10-g

Ubuntu Artful 17.10:

Issue installing gns3 2.1 from Documentation instructions:
https://docs.gns3.com/1QXVIihk7dsOL7Xr7Bmz4zRzTsJ02wklfImGuHwTlaA4/index.html


Hi,
I have upgraded to kubuntu 17.10 and also followed the instructions to install GNS3 from the following link:
https://docs.gns3.com/1QXVIihk7dsOL7Xr7Bmz4zRzTsJ02wklfImGuHwTlaA4/index.html

In the terminal when i type gns3, I get following error, Please help.
:~$ gns3
Traceback (most recent call last):
File "/usr/bin/gns3", line 5, in
from pkg_resources import load_entry_point
File "/usr/share/gns3/gns3-gui/lib/python3.5/site-packages/pkg_resources/init.py", line 24, in
import types
File "/usr/share/gns3/gns3-gui/lib/python3.5/types.py", line 166, in
import functools as _functools
File "/usr/share/gns3/gns3-gui/lib/python3.5/functools.py", line 23, in
from weakref import WeakKeyDictionary
File "/usr/share/gns3/gns3-gui/lib/python3.5/weakref.py", line 12, in
from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
import re, traceback
File "/usr/lib/python3.5/traceback.py", line 5, in
import linecache
File "/usr/share/gns3/gns3-gui/lib/python3.5/linecache.py", line 8, in
import functools
File "/usr/share/gns3/gns3-gui/lib/python3.5/functools.py", line 23, in
from weakref import WeakKeyDictionary
File "/usr/share/gns3/gns3-gui/lib/python3.5/weakref.py", line 12, in
from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
Original exception was:
Traceback (most recent call last):
File "/usr/bin/gns3", line 5, in
from pkg_resources import load_entry_point
File "/usr/share/gns3/gns3-gui/lib/python3.5/site-packages/pkg_resources/init.py", line 24, in
import types
File "/usr/share/gns3/gns3-gui/lib/python3.5/types.py", line 166, in
import functools as _functools
File "/usr/share/gns3/gns3-gui/lib/python3.5/functools.py", line 23, in
from weakref import WeakKeyDictionary
File "/usr/share/gns3/gns3-gui/lib/python3.5/weakref.py", line 12, in
from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'

Contributor

AJNOURI commented Nov 17, 2017

By the way, the package released for 17.10, working back then for the beta, doesn't work anymore.

It reports dependency issues without possibility to install packages:

image

@grossmj grossmj added the Bug label Nov 20, 2017

@grossmj grossmj added this to the 2.1.1 milestone Nov 20, 2017

Contributor

ziajka commented Nov 24, 2017

Update for kubuntu case - with the fresh install there is no issue. Default there is python 3.6 but user has 3.5 so he has updated Kubuntu but we need to have an information from which version.

Contributor

ziajka commented Nov 24, 2017

Hi @AJNOURI ,
I've tried with the fresh install of Ubuntu 17.10 and also haven't experienced any issue.
Have you installed gns3-gui on the fresh copy? Or were you upgrading Ubuntu or GNS3? Many thanks!

Cheers,
Dominik

z4kio commented Dec 13, 2017

Can't install on kubuntu 17.10.
It says "Unable to locate package gns3-gui"

Owner

grossmj commented Dec 13, 2017

Can't install on kubuntu 17.10. It says "Unable to locate package gns3-gui"

I can see it there:
https://launchpad.net/~gns3/+archive/ubuntu/ppa?field.series_filter=artful

What are the steps you have done to try to install gns3-gui?

z4kio commented Dec 13, 2017

sudo add-apt-repository ppa:gns3/unstable && sudo apt update && sudo apt install gns3-gui

and also tried adding this ppa before "sudo add-apt-repository ppa:gns3/ppa"
but the result is same.

Contributor

ziajka commented Dec 18, 2017

Hi @z4kio,
Could you try again:

sudo add-apt-repository ppa:gns3/ppa
sudo apt update
sudo apt install gns3-gui

?
We've done some changes to related packages and everything seems to fine during the upgrade time.
Thank you,
Dominik

z4kio commented Dec 25, 2017

hey, It's still not working. :|
on Kubuntu 17.10
ppa added but can't locate the package.
gns3

@grossmj grossmj modified the milestones: 2.1.1, 2.1.2 Dec 26, 2017

Contributor

ziajka commented Jan 8, 2018

Hi @z4kio ,
I've made small changes to packages. Could you test now?
Please let me also know if it helps.
Thank you,
Dominik

@grossmj grossmj modified the milestones: 2.1.2, 2.1.3 Jan 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment