GNS3 sip/qt error - qt

Have installed GNS3 on my Linux (Debian Strech) and getting below error message, please help, installed from package, OS updated. qt and sip at their newest version on my machine (installed).
Fail update installation: No module named 'sip' **
**Can't import Qt modules: Qt and/or PyQt is probably not installed correctly...
Any help/direction to solve the problem will be highly appreciated.
Thanks in-advance.

For anyone still getting this error, I found that it was due to Xenial to Bionical upgrade that left a PPA hanging around, I guess there was a dependency missing. Here is exactly what I did to fix it.
sudo rm /etc/apt/sources.list.d/gns3*
sudo apt-get update
sudo add-apt-repository ppa:gns3/ppa
sudo apt-get update
sudo apt-get -y -u dist-upgrade
Then you can start gns3.

Try to install this python module:
sudo pip install pyqt5

i found out that the problem was a source in source.list.
in my case was the firefox quantum

I resolved this by installing from source file, by following this link, replaced 1.3.9 to 2.1.2 and worked.
https://gns3.com/discussions/getting-gns4-1-4beta1-gui-runnin

I got this after upgrading Ubuntu to 20.04. Only thing that worked was backing up my GNS3 folder with my project files, uninstalling gns3-server and gns3-gui, then re-installing. Everything works now.

Related

Cant run qgis version Qt_5_PRIVATE_API not defined

I am running Ubuntu 18.04 and I cant seem to get qgis to run anymore. The error I get is:
/usr/bin/qgis.bin: relocation error: /usr/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5: symbol _ZN15QQmlMemoryScope5stateE version Qt_5_PRIVATE_API not defined in file libQt5Qml.so.5 with link time reference
my qmake version is:
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
I have tried to link to qt5 but that did not change anything.
sudo ln -snf ../../../../share/qtchooser/qt5-x86_64-linux-gnu.conf default.conf
You need to uninstall QGIS and reinstall with the latest stable release. Using sudo apt-get install qgis* python3-qgis* to install is not precisely the best method because of the wildcard. The official instructions suggest using: sudo apt install qgis qgis-plugin-grass.
The instructions for best installation procedure on Ubuntu for LTS releases is posted here.

Install of 'R' unstable on Ubuntu

I tried to install R on Ubuntu (14.04) with this command:
sudo apt-get install r-base
The network connection went down during the download / install so I had to end the download (ctrl-c). I retried the same command to restart and it is a mess. There are indications of all kinds of dependency problems. I researched and tried 'sudo apt-get remove r-base' (along with autoremove) and that does not allow me to try to reinstall. In fact, I have tried all kinds of ways to remove but nothing. How can I rectify this? Thank you!

How to configure compiler in debian os QT kit

I installed QT creator in debian linux. If I try to create a new project, in Kit option I got the error like "No valid Kit found". If I go to Tools ->Options -> Build&Run -> kit, there is no options to select. But I installed same in ubuntu, it is working fine without same problem. What im missing?
Also suggest me if I need to reinstall the QT creator or something else...
Its time to explain the tricks to install QT creator in debian linux operating system.
STEP 1: dont install just QT creator in your PC.
Install whole package of QT [link to download QT SDK below][1]
[1]: http://www.qt.io/download-open-source/#section-2 , so that you will get all the libraries and dependencies.
After downloading the file is in the ".run" format . Install the downloaded file in your terminal (by giving commands).
STEP 2: install
sudo apt-get install g++
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
in your terminal.
STEP 3: install
sudo apt-get install libcanberra-gtk-module
sudo apt-get install libcanberra-gtk-module:i386
now restart your system once and create new project.It should work
I like to thank agold for his guidance , Actually he spent more than 3 hours to resolve this issue. :)

nginx installed successfully but cannot start

I use homebrew to install nginx. However, when I start nginx, it prompts:
dyld: Library not loaded: /usr/local/lib/libpcre.1.dylib
Referenced from: /usr/local/bin/nginx
Reason: Incompatible library version: nginx requires version 4.0.0 or later, but libpcre.1.dylib provides version 2.0.0
Trace/BPT trap: 5
Any ideas?
I had this same problem, try running this:
brew unlink pcre && brew link pcre
In my case, this was the output:
Unlinking /usr/local/Cellar/pcre/8.35... 5 symlinks removed
Linking /usr/local/Cellar/pcre/8.35... 133 symlinks created
Well, I don't know what causes the problem. I checked my pcre, and it was in latest version. Without option I just uninstall it and reinstall it again...Then it works...
Only thing that fixed it for me was reinstalling everything in brew.
https://gist.github.com/nmccready/adfae27c498e0795767f
I run the following and it sorted the issue for me
brew update && brew upgrade && brew rm extempore && brew install extempore
If you get any problem in nginx then you can debug using this command:
nginx -t
after running this command you will get error message including filename and line number where the problem is

Qt Creator : QtGui include error

I wanted to learn Qt and so downloaded Qt library(5.0) and Qt creator for windows. There, I was not able to access QNetworkAccessManager..it gave an error when I included QNetworkAccessManager
I wasn't able to figure out the reason of the error and I was dual-booting with Ubuntu. So I downloaded Qt for Ubuntu and started using it, but, this time it is giving an error when I am including QtGui.
The errors are:
/home/shaarad/Qt5.0.0/5.0.0/gcc_64/include/QtGui/qopenglcontext.h:60:
In file included from ../../../Qt5.0.0/5.0.0/gcc_64/include/QtGui/qopenglcontext.h:60:0,
/home/shaarad/Qt5.0.0/5.0.0/gcc_64/include/QtGui/QtGui:33:
from ../../../Qt5.0.0/5.0.0/gcc_64/include/QtGui/QtGui:33,
/home/shaarad/Documents/JIGS/JIGS-FILE-SHARING-master/MainFrame.cpp:5:
from ../JIGS-FILE-SHARING-master/MainFrame.cpp:5:
/home/shaarad/Qt5.0.0/5.0.0/gcc_64/include/QtGui/qopengl.h:98:
error: GL/gl.h: No such file or directory
Any workaround will be helpful, thanks a lot! :)
sudo apt-get install mesa-common-dev
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
Those two provided the solution.
You are missing the OpenGL include files. Install the mesa-common-dev package:
# apt-get install mesa-common-dev
This includes the /usr/include/GL directory.
Install also:
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
I fixed it by installing qt5-default:
sudo apt install qt5-default
For Fedora, you'll require:
sudo dnf install mesa-libGL-devel

Resources