Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
22.34k stars 850 forks source link

Failure to start, Cannot Load QML Interface #592

Open Saeihr opened 4 years ago

Saeihr commented 4 years ago

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 4 years ago

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 4 years ago

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

snowinmars commented 3 years ago

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 3 years ago

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?

Marethyu6 commented 3 years ago

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 2 years ago

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)