Failure to start, Cannot Load QML Interface #592

Open
opened 2020-06-15 17:42:43 +02:00 by Saeihr · 6 comments
Saeihr commented 2020-06-15 17:42:43 +02:00 (Migrated from github.com)

I'm running a Raspberry Pi 3
After installing per instructions for Debian Jessie and above, when I attempt to run I receive this error

libEGL warning: DRI2: failed to authenticate
QQmlApplicationEngine failed to load component
qrc:/main.qml:137 Type TerminalContainer unavailable
qrc:/TerminalContainer.qml:23 Type PreprocessedTerminal unavailable
qrc:/PreprocessedTerminal.qml:24 module "QMLTermWidget" is not installed

Cannot load QML interface

I have tried removing and reinstalling to no effect. I'm new to Linux and fairly lost

I'm running a Raspberry Pi 3 After installing per instructions for Debian Jessie and above, when I attempt to run I receive this error > libEGL warning: DRI2: failed to authenticate > QQmlApplicationEngine failed to load component > qrc:/main.qml:137 Type TerminalContainer unavailable > qrc:/TerminalContainer.qml:23 Type PreprocessedTerminal unavailable > qrc:/PreprocessedTerminal.qml:24 module "QMLTermWidget" is not installed > > Cannot load QML interface I have tried removing and reinstalling to no effect. I'm new to Linux and fairly lost
Saeihr commented 2020-06-15 18:00:22 +02:00 (Migrated from github.com)

nvm, fixed with one line of command

$ cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget

nvm, fixed with one line of command > $ cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget
Jackfritt commented 2020-10-29 09:57:53 +01:00 (Migrated from github.com)

Thx that worked out of the box.... Used this on latest Debian Buster..

Thx that worked out of the box.... Used this on latest Debian Buster..
snowinmars commented 2020-12-26 12:58:17 +01:00 (Migrated from github.com)

nvm, fixed with one line of command

$ cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget

Doesn't help anymore. I can run cool-retro-term on my arch linux. I install it from package - and it's fine. But if I build it on the same system - it fails with the error message you send above.

W.E.I.R.D.

> nvm, fixed with one line of command > > > $ cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget Doesn't help anymore. I can run `cool-retro-term` on my arch linux. I install it from package - and it's fine. But if I build it on the same system - it fails with the error message you send above. W.E.I.R.D.
Marethyu6 commented 2021-01-16 00:58:36 +01:00 (Migrated from github.com)

I'm having the same issue on Debian 10 Buster right now. I've tried compiling cool-retro-term as in the "readme" and also tried to compile qmltermwidget (should that even help anyway? btw it was working when tested), but that module "QMLTermWidget" is not installed error keeps on showing.

Any clue?

P.S.: I'm on stable, but I've seen there's something for testing and unstable, would it be safe to try installing from there?

I'm having the same issue on Debian 10 Buster right now. I've tried compiling cool-retro-term as in the "readme" and also tried to compile qmltermwidget (should that even help anyway? btw it was working when tested), but that `module "QMLTermWidget" is not installed` error keeps on showing. Any clue? P.S.: I'm on stable, but I've seen there's [something for testing and unstable](https://tracker.debian.org/pkg/cool-retro-term), would it be safe to try installing from there?
Marethyu6 commented 2021-01-16 11:14:57 +01:00 (Migrated from github.com)

nvm, fixed with one line of command

$ cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget

Ok that fixed it for me now, I tried compiling all over again this morning, the above command has to be run with super-user permission level into the cool-retro-terminal directory in order to work so:

  1. compile as in readme (except for the last command ./cool-retro-term which will still result in the error)
  2. remember to $ cd cool-retro-term to change into cool-retro-term directory (if not already there...)
  3. run $ sudo cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget

Now running ./cool-retro-term (while still into the cool-retro-term directory) should make the program run!!

Extra.: (still into c-r-t dir) with sudo cp cool-retro-term.desktop /usr/share/applications the application will appear into the applications menu, but clicking on it didn't work for me at first [KDE Plasma], I had to right-click on it in the menu>Edit application>Application: "command" and manually browse to point at the cool-retro-term file path.

Hope this will help other noobs as myself..!!

> nvm, fixed with one line of command > > > $ cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget Ok that fixed it for me now, I tried compiling all over again this morning, the above command has to be run with super-user permission level into the cool-retro-terminal directory in order to work so: 1. compile as in readme (except for the last command `./cool-retro-term` which will still result in the error) 2. remember to `$ cd cool-retro-term` to change into cool-retro-term directory (if not already there...) 3. run `$ sudo cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget` Now running `./cool-retro-term` (while still into the cool-retro-term directory) should make the program run!! Extra.: (still into c-r-t dir) with `sudo cp cool-retro-term.desktop /usr/share/applications` the application will appear into the applications menu, but clicking on it didn't work for me at first [KDE Plasma], I had to right-click on it in the menu>Edit application>Application: "command" and manually browse to point at the cool-retro-term file path. Hope this will help other noobs as myself..!!
wwwehr commented 2021-11-20 20:33:18 +01:00 (Migrated from github.com)

nvm, fixed with one line of command

$ cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget

Ok that fixed it for me now, I tried compiling all over again this morning, the above command has to be run with super-user permission level into the cool-retro-terminal directory in order to work so:

1. compile as in readme (except for the last command `./cool-retro-term` which will still result in the error)

2. remember to `$ cd cool-retro-term` to change into cool-retro-term directory (if not already there...)

3. run `$ sudo cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget`

Now running ./cool-retro-term (while still into the cool-retro-term directory) should make the program run!!

Extra.: (still into c-r-t dir) with sudo cp cool-retro-term.desktop /usr/share/applications the application will appear into the applications menu, but clicking on it didn't work for me at first [KDE Plasma], I had to right-click on it in the menu>Edit application>Application: "command" and manually browse to point at the cool-retro-term file path.

Hope this will help other noobs as myself..!!

Hey thanks! Wanted to add that sudo is not neccessary when copying to local workspace (qmltermwidget/QMLTermWidget)

> > nvm, fixed with one line of command > > > $ cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget > > Ok that fixed it for me now, I tried compiling all over again this morning, the above command has to be run with super-user permission level into the cool-retro-terminal directory in order to work so: > > 1. compile as in readme (except for the last command `./cool-retro-term` which will still result in the error) > > 2. remember to `$ cd cool-retro-term` to change into cool-retro-term directory (if not already there...) > > 3. run `$ sudo cp -r qmltermwidget/src/qmldir qmltermwidget/lib/kb-layouts qmltermwidget/lib/color-schemes qmltermwidget/src/QMLTermScrollbar.qml qmltermwidget/QMLTermWidget` > > > Now running `./cool-retro-term` (while still into the cool-retro-term directory) should make the program run!! > > Extra.: (still into c-r-t dir) with `sudo cp cool-retro-term.desktop /usr/share/applications` the application will appear into the applications menu, but clicking on it didn't work for me at first [KDE Plasma], I had to right-click on it in the menu>Edit application>Application: "command" and manually browse to point at the cool-retro-term file path. > > Hope this will help other noobs as myself..!! Hey thanks! Wanted to add that `sudo` is not neccessary when copying to local workspace (`qmltermwidget/QMLTermWidget`)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#592
No description provided.