Sourcetrail icon indicating copy to clipboard operation
Sourcetrail copied to clipboard

Not able to install in ubuntu

Open sreehari83 opened this issue 5 years ago • 7 comments

Os :ubuntu18.04 wget https://github.com/CoatiSoftware/Sourcetrail/releases/download/2019.4.102/Sourcetrail_2019_4_102_Linux_64bit.tar.gz tar -xzvf Sourcetrail_2019_4_102_Linux_64bit.tar.gz /data/Sourcetrail# ./Sourcetrail.sh qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/data/Sourcetrail/lib/platforms" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs (from /data/Sourcetrail/lib/platforms), linuxfb (from /data/Sourcetrail/lib/platforms), minimal (from /data/Sourcetrail/lib/platforms), minimalegl (from /data/Sourcetrail/lib/platforms), offscreen (from /data/Sourcetrail/lib/platforms), vnc (from /data/Sourcetrail/lib/platforms), webgl (from /data/Sourcetrail/lib/platforms), xcb (from /data/Sourcetrail/lib/platforms).

Aborted

sreehari83 avatar Jun 18 '20 10:06 sreehari83

Please try our latest Beta Release: https://github.com/CoatiSoftware/Sourcetrail/releases/tag/2020.2.37

egraether avatar Jun 18 '20 11:06 egraether

Still issues are coming with latest beta version as well /data/Sourcetrail# ./Sourcetrail.sh qt.qpa.xcb: could not connect to display qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/data/Sourcetrail/plugins/platforms" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb (from /data/Sourcetrail/plugins/platforms), xcb.

Aborted

sreehari83 avatar Jun 19 '20 06:06 sreehari83

Please try starting without the Sourcetrail.sh script, by directly executing bin/sourcetrail

egraether avatar Jun 19 '20 07:06 egraether

I have tried by directly bin/sourcetrail with out executing Sourcetrail.sh script .

Still issues are coming

/data/Sourcetrail/bin# ./sourcetrail QCoreApplication::applicationDirPath: Please instantiate the QApplication object first ERROR: Please run Sourcetrail via the Sourcetrail.sh script! qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Aborted

sreehari83 avatar Jun 19 '20 08:06 sreehari83

I have tried by directly bin/sourcetrail with out executing Sourcetrail.sh script .

Still issues are coming

/data/Sourcetrail/bin# ./sourcetrail QCoreApplication::applicationDirPath: Please instantiate the QApplication object first ERROR: Please run Sourcetrail via the Sourcetrail.sh script! qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Aborted

sreehari83 avatar Jun 19 '20 08:06 sreehari83

Can you please try the .AppImage instead from our latest release?: https://github.com/CoatiSoftware/Sourcetrail/releases/tag/2020.2.43

egraether avatar Jun 30 '20 18:06 egraether

Is this issue still prevalent?

I tired a project based on Java which failed while exploring.

Brief error log below:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000000085c200, pid=89580, tid=89580
#
# JRE version: OpenJDK Runtime Environment (14.0.2+12) (build 14.0.2+12-Ubuntu-120.04)
# Java VM: OpenJDK 64-Bit Server VM (14.0.2+12-Ubuntu-120.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C  [sourcetrail+0x45c200]

anitsh avatar Mar 30 '21 11:03 anitsh