Closed Desposyni closed 2 years ago
After some messing around, I was able to run the application this way:
python3 /usr/lib/python3/dist-packages/gns3_webclient_pack/main.py
Is the gns3-webclient-config binary supposed to point to this main.py file?
confirmed same issue running Ubuntu 20.03 tried installing from repo and from .deb file same issue, the /usr/bin/gns3-web*
links to a /usr/share/gns3/gns3-webclient-pack/
folder that doesn't exist.
looking at the package contents, thre is nothing listed for that /usr/sahre directory. if you download the .deb for the 1.0.0b2 package and do the same command the /usr/share directory content is included, so it appears the b3 package is missing some content.
❯ sudo dpkg --contents gns3-webclient-pack_1.0.0b3\~focal1_all.deb
drwxr-xr-x root/root 0 2019-09-24 03:25 ./
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/bin/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/lib/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/lib/python3/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/
-rw-r--r-- root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/__init__.py
-rw-r--r-- root/root 2113 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/application.py
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/dialogs/
-rw-r--r-- root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/dialogs/__init__.py
-rw-r--r-- root/root 1222 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/dialogs/about_dialog.py
-rw-r--r-- root/root 6271 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/dialogs/command_dialog.py
-rw-r--r-- root/root 9228 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/launcher.py
-rw-r--r-- root/root 1046 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/launcher_error.py
-rw-r--r-- root/root 8892 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/local_config.py
-rw-r--r-- root/root 6138 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/main.py
-rw-r--r-- root/root 8851 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/main_window.py
-rw-r--r-- root/root 10266 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/pcap_stream.py
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/qt/
-rw-r--r-- root/root 2226 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/qt/__init__.py
-rw-r--r-- root/root 15680 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/settings.py
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/ui/
-rw-r--r-- root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/ui/__init__.py
-rw-r--r-- root/root 43289 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/ui/about_dialog_ui.py
-rw-r--r-- root/root 3795 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/ui/command_dialog_ui.py
-rw-r--r-- root/root 12484 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/ui/main_window_ui.py
-rw-r--r-- root/root 269271 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/ui/resources_rc.py
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/utils/
-rw-r--r-- root/root 2139 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/utils/__init__.py
-rw-r--r-- root/root 1821 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/utils/bring_to_front.py
-rw-r--r-- root/root 1543 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack/version.py
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack-1.0.0b3.egg-info/
-rw-r--r-- root/root 5626 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack-1.0.0b3.egg-info/PKG-INFO
-rw-r--r-- root/root 1 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack-1.0.0b3.egg-info/dependency_links.txt
-rw-r--r-- root/root 129 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack-1.0.0b3.egg-info/entry_points.txt
-rw-r--r-- root/root 0 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack-1.0.0b3.egg-info/requires.txt
-rw-r--r-- root/root 20 2019-09-24 03:25 ./usr/lib/python3/dist-packages/gns3_webclient_pack-1.0.0b3.egg-info/top_level.txt
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/applications/
-rw-r--r-- root/root 239 2019-09-24 03:25 ./usr/share/applications/gns3-webclient-config.desktop
-rw-r--r-- root/root 440 2019-09-24 03:25 ./usr/share/applications/gns3-webclient-launcher.desktop
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/doc/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/doc/gns3-webclient-pack/
-rw-r--r-- root/root 12124 2019-09-24 03:25 ./usr/share/doc/gns3-webclient-pack/LICENSE.gz
-rw-r--r-- root/root 256 2019-09-24 03:25 ./usr/share/doc/gns3-webclient-pack/changelog.gz
-rw-r--r-- root/root 242 2019-09-24 03:25 ./usr/share/doc/gns3-webclient-pack/copyright
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/hicolor/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/hicolor/16x16/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/hicolor/16x16/apps/
-rw-r--r-- root/root 971 2019-09-24 03:25 ./usr/share/icons/hicolor/16x16/apps/gns3_webclient.png
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/hicolor/32x32/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/hicolor/32x32/apps/
-rw-r--r-- root/root 2417 2019-09-24 03:25 ./usr/share/icons/hicolor/32x32/apps/gns3_webclient.png
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/hicolor/48x48/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/hicolor/48x48/apps/
-rw-r--r-- root/root 4160 2019-09-24 03:25 ./usr/share/icons/hicolor/48x48/apps/gns3_webclient.png
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/hicolor/scalable/
drwxr-xr-x root/root 0 2019-09-24 03:25 ./usr/share/icons/hicolor/scalable/apps/
-rwxr-xr-x root/root 12177 2019-09-24 03:25 ./usr/share/icons/hicolor/scalable/apps/gns3_webclient.svg
lrwxrwxrwx root/root 0 2019-09-24 03:25 ./usr/bin/gns3-webclient-config -> ../share/gns3/gns3-webclient-pack/bin/gns3-webclient-config
lrwxrwxrwx root/root 0 2019-09-24 03:25 ./usr/bin/gns3-webclient-launcher -> ../share/gns3/gns3-webclient-pack/bin/gns3-webclient-launcher
Thanks, we found the problem, fixed it and released new packages on the PPA.
The launcher shows up in the internet category, but when clicked; the following error message shows: Launching GNS3 WebClient config (Failed) Could not find the program 'gns3-webclient-config' When trying to run the application from the terminal, the command is not found like it's either not in the path or doesn't exist. I found a link for the application, but not sure where it's trying to point to.
Linux Distro: Kubuntu 20.10 GNS VM: KVM via Virtual Machine Manager GNS3 Webclient Pack: Version 1.0.0b3~groovy1 installed via Apt