• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Solved QCoreApplication Error

Kyreus

Donor
is awesome!
Hey,
I have a running instance on my TS3Server and wanted a second to connect.
But everytime it connects it instantly disconnect with the message "Requestet via API."
In the Log following errors appear:

Code:
2018-02-01T12:17:21+01:00 TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
2018-02-01T12:17:21+01:00 TS>libpng warning: iCCP: known incorrect sRGB profile
2018-02-01T12:17:37+01:00 Storing configuration.
2018-02-01T12:17:21+01:00 TSClient quit.
2018-02-01T12:17:21+01:00 Closed.

  • 0.11.0-8e5f1a2
  • Debian 9
  • Core i9 - 128GB RAM
 
As mentioned in the wiki/resource update:
wiki said:
Remove the file 'libqxcb-glx-integration.so' from the clients 'xcbglintegrations' directory:
Code:
rm TeamSpeak3-Client-linux_amd64/xcbglintegrations/libqxcb-glx-integration.so
 
try deleting data/ts3 and restarting, if it doesn't work provide logs / diagScript output
 
Tried to delete this directory. Still i can only start one instance.

Here my config.ini:
Code:
TS3Path = "/opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/sinusbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
IsProxied = false
DenyStreamURLs = []
Pragma = 0

[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  CacheStreamed = false

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0
  AllowGIF = false

[StreamRewrites]

[Scripts]
  AllowReload = false
  EnableTimer = false
  DisableLegacyEvents = false
  ScriptTimeout = 5

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (0.11.0-8e5f1a2)"

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false

[SHMem]
  Enable = false
  Size = 0
  Delay = 0
  Interval = 0

[RadioStations]
  URL = ""
  UpdateInterval = 0

Except of the teamspeak client path i didnt change anything in this file.
If you tell me the logs you need i will post them asap.
 
[Push]
Just reinstalled SinusBot again and the same error appears. I can only start one Instance. All instances i get because of my extended license cant start. They instantly disconnect with the message (Requested via API)
 
Code:
2018-02-04T14:18:41+01:00 TSClient quit. LogLevel has been increased, please try to connect again to see more details.
2018-02-04T14:18:41+01:00 Closed.
2018-02-04T14:18:41+01:00 TS>libpng warning: iCCP: known incorrect sRGB profile
2018-02-04T14:18:41+01:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2018-02-04T14:18:41+01:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2018-02-04T14:18:41+01:00 TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
2018-02-04T14:18:41+01:00 TS |INFO | | |Statistics report: Not yet, next report on So. Feb. 18 14:17:16 2018
2018-02-04T14:18:41+01:00 TS |INFO |ClientUI | |Last update check was: Di. Jan. 1 00:00:01 2019
2018-02-04T14:18:41+01:00 TS |INFO |Bookmarks | |Collecting autoconnect bookmarks
2018-02-04T14:18:40+01:00 New connection status 0; Error 0
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI |1 |Disconnected or forced to leave, want autoreconnect = 0
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI |1 |Connect status: Disconnected
2018-02-04T14:18:40+01:00 SinusBot1 joined the channel
2018-02-04T14:18:40+01:00 New connection status 4; Error 0
2018-02-04T14:18:40+01:00 TS |INFO |ChatTabWidget | |Prevented to set an empty chattab name in addNewTab
2018-02-04T14:18:40+01:00 TS |INFO |PermManager | |Requesting permissions from server
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI |1 |Connect status: Connection established
2018-02-04T14:18:40+01:00 asdfasf joined the channel
2018-02-04T14:18:40+01:00 SinusBot joined the channel
2018-02-04T14:18:40+01:00 New connection status 3; Error 0
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI |1 |Connect status: Establishing connection
2018-02-04T14:18:40+01:00 New connection status 2; Error 0
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI |1 |Connect status: Connected
2018-02-04T14:18:40+01:00 TS |DEVELOP |PktHandler | |Puzzle solve time: 2
2018-02-04T14:18:40+01:00 New connection status 1; Error 0
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI |1 |Connect status: Connecting
2018-02-04T14:18:40+01:00 TS |INFO |PreProSpeex |1 |Speex version: 1.2rc1
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI |1 |Initiating connection: 127.0.0.1:9987
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI |1 |Connect to server: 127.0.0.1
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI | |ts3server: 127.0.0.1?port=9987&nickname=SinusBot&password=&channel=&channelpassword=
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI | |Using configuration location: /opt/sinusbot/data/ts3/b5931feb-ead6-4930-9a2e-2d525f1a92a5/8cf8fdc9-2319-77e6-a2d7-7977a8d3947c/settings.db
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI | |Qt version: 5.6.1
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI | |Failed to init text to speech engine
2018-02-04T14:18:40+01:00 TS |DEVELOP |ClientUI | |Notifications init: Soundpack path: /opt/sinusbot/teamspeak3-client/sound/nosounds
2018-02-04T14:18:40+01:00 TS |INFO | | |successfully downloaded revocation list
2018-02-04T14:18:40+01:00 TS |INFO |Plugins | |Loading plugin: libsoundbot_plugin.so
2018-02-04T14:18:40+01:00 TS |INFO |Addons | |Checking for addon updates...
2018-02-04T14:18:40+01:00 TS |INFO |ClientUI | |Unable to create an Open GL context.
2018-02-04T14:18:40+01:00 TS |ERROR |SoundBckndIntf| |libpulse.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
2018-02-04T14:18:40+01:00 TS |INFO | | |Using hardware aes
2018-02-04T14:18:40+01:00 TS |INFO | | |SystemInformation: Linux 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64 Binary: 64bit
2018-02-04T14:18:40+01:00 TS |INFO | | |TeamSpeak 3 Client 3.1.8 (2018-01-22 09:50:07)
2018-02-04T14:18:40+01:00 TS>DUMP defined! Dumpdir is: /opt/sinusbot/data/ts3/b5931feb-ead6-4930-9a2e-2d525f1a92a5/8cf8fdc9-2319-77e6-a2d7-7977a8d3947c/crashdumps
2018-02-04T14:18:40+01:00 TS>Crashdump ENABLED, directory is: /opt/sinusbot/data/ts3/b5931feb-ead6-4930-9a2e-2d525f1a92a5/8cf8fdc9-2319-77e6-a2d7-7977a8d3947c/crashdumps
2018-02-04T14:18:40+01:00 Starting instance ts3server://127.0.0.1?port=9987&nickname=SinusBot&password=&channel=&channelpassword=
2018-02-04T14:18:40+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not delete from FileTransferno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not delete from FileTransferno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not delete from FileTransferno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not delete from FileTransferno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not delete from FileTransferno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not insert into FileTransfer-Tableno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not delete from FileTransferno such table: FileTransfer
2018-02-04T14:18:40+01:00 Could not create Notifications-Tabletable Notifications already exists
2018-02-04T14:18:40+01:00 Could not create WhisperReceive-Tabletable WhisperReceive already exists
2018-02-04T14:18:40+01:00 Could not create Chat-Tabletable Chat already exists
2018-02-04T14:18:40+01:00 About to run.
2018-02-04T14:18:40+01:00 Prespawn.
2018-02-04T14:18:29+01:00 Storing configuration.
2018-02-04T14:17:29+01:00 Storing configuration.
2018-02-04T14:17:23+01:00 TSClient quit. LogLevel has been increased, please try to connect again to see more details.
2018-02-04T14:17:23+01:00 Closed.
2018-02-04T14:17:23+01:00 TS>libpng warning: iCCP: known incorrect sRGB profile
2018-02-04T14:17:23+01:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2018-02-04T14:17:23+01:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2018-02-04T14:17:23+01:00 TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
2018-02-04T14:17:22+01:00 TS |INFO | | |Statistics report: Not yet, next report on So. Feb. 18 14:17:16 2018
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI | |Last update check was: Di. Jan. 1 00:00:01 2019
2018-02-04T14:17:22+01:00 TS |INFO |Bookmarks | |Collecting autoconnect bookmarks
2018-02-04T14:17:22+01:00 New connection status 0; Error 0
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI |1 |Disconnected or forced to leave, want autoreconnect = 0
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI |1 |Connect status: Disconnected
2018-02-04T14:17:22+01:00 joined the channel
2018-02-04T14:17:22+01:00 New connection status 4; Error 0
2018-02-04T14:17:22+01:00 TS |INFO |ChatTabWidget | |Prevented to set an empty chattab name in addNewTab
2018-02-04T14:17:22+01:00 TS |INFO |PermManager | |Requesting permissions from server
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI |1 |Connect status: Connection established
2018-02-04T14:17:22+01:00 New connection status 3; Error 0
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI |1 |Connect status: Establishing connection
2018-02-04T14:17:22+01:00 New connection status 2; Error 0
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI |1 |Connect status: Connected
2018-02-04T14:17:22+01:00 TS |DEVELOP |PktHandler | |Puzzle solve time: 2
2018-02-04T14:17:22+01:00 New connection status 1; Error 0
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI |1 |Connect status: Connecting
2018-02-04T14:17:22+01:00 TS |INFO |PreProSpeex |1 |Speex version: 1.2rc1
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI |1 |Initiating connection: 127.0.0.1:9987
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI |1 |Connect to server: 127.0.0.1
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI | |ts3server: 127.0.0.1?port=9987&nickname=SinusBot&password=&channel=&channelpassword=
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI | |Using configuration location: /opt/sinusbot/data/ts3/b5931feb-ead6-4930-9a2e-2d525f1a92a5/8cf8fdc9-2319-77e6-a2d7-7977a8d3947c/settings.db
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI | |Qt version: 5.6.1
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI | |Failed to init text to speech engine
2018-02-04T14:17:22+01:00 TS |DEVELOP |ClientUI | |Notifications init: Soundpack path: /opt/sinusbot/teamspeak3-client/sound/nosounds
2018-02-04T14:17:22+01:00 TS |INFO | | |successfully downloaded revocation list
2018-02-04T14:17:22+01:00 TS |INFO |Plugins | |Loading plugin: libsoundbot_plugin.so
2018-02-04T14:17:22+01:00 TS |INFO |Addons | |Checking for addon updates...
2018-02-04T14:17:22+01:00 TS |INFO |ClientUI | |Unable to create an Open GL context.

This is the log of the "Instance log" section on the webinterface
 
I can only start one Instance. All instances i get because of my extended license cant start. They instantly disconnect with the message (Requested via API)
This means that the server you are connecting them to has a different UID than you entered when applying for the license.
 
Back
Top Bottom