lirios / terminal

:rocket: Terminal
GNU General Public License v3.0
29 stars 3 forks source link

liri-terminal window is transparent #43

Open VergeDX opened 4 years ago

VergeDX commented 4 years ago

Cannot run, no windows to show.
and error log is here:

vanilla@vanilla-NBxxTA:~$ liri-terminal 
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed
qrc:/qml/main.qml:30 module "QtQuick.Controls.Material" is not installed
qrc:/qml/main.qml:28 module "QtQuick.Window" is not installed
qrc:/qml/main.qml:33 module "Fluid.Controls" is not installed
qrc:/qml/main.qml:32 module "Fluid.Core" is not installed
qrc:/qml/main.qml:27 module "QtQuick" is not installed
qrc:/qml/main.qml:29 module "QtQuick.Controls" is not installed
qrc:/qml/main.qml:34 module "QtGSettings" is not installed
qrc:/qml/main.qml:31 module "QtQuick.Layouts" is not installed

Environment

vanilla@vanilla-NBxxTA:~/repos/packages/fluid/build$ screenfetch 
                          ./+o+-       vanilla@vanilla-NBxxTA
                  yyyyy- -yyyyyy+      OS: Ubuntu 20.04 focal
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 5.4.0-37-generic
           .++ .:/++++++/-.+sss/`      Uptime: 13m
         .:++o:  /++++++++/:--:/-      Packages: 2373
        o:+o+:++.`..```.-/oo+++++/     Shell: bash
       .:+o:+o/.          `+sssoo+/    Resolution: 2560x1440
  .++/+:+oo+o:`             /sssooo.   DE: GNOME 3.36.2
 /+++//+:`oo+o               /::--:.   WM: Mutter
 \+/+o+++`o++o               ++////.   WM Theme: Yaru-blue-light
  .++.o+++oo+:`             /dddhhh.   GTK Theme: Orchis-light [GTK2/3]
       .+.o+oo:.          `oddhhhh+    Icon Theme: McMojave-circle-blue
        \+.++o+o``-````.:ohdhhhhh+     Font: SF Compact Display 11
         `:o+++ `ohhhhhhhhyo++os:      Disk: 46G / 477G (11%)
           .o:`.syhhhhhhh/.oo++o`      CPU: Intel Core i5-9400 @ 6x 4.1GHz [50.0°C]
               /osyyyyyyo++ooo+++/     GPU: GeForce GTX 1650
                   ````` +oo+++o\:     RAM: 2961MiB / 15850MiB
                          `oo++.      
VergeDX commented 4 years ago

Well, I solve this issue by run export QML2_IMPORT_PATH=/usr/local/lib/qml/ command.
BUT another issue appears, when I run liri-terminal, the terminal open as a transparent window like this:
image And terminal log is:

vanilla@vanilla-NBxxTA:~$ liri-terminal 
qml: Adding tab...
default KB_LAYOUT_DIR:  "/usr/local/share/liri-terminal/kb-layouts"
Session::run() - program: "/bin/bash"
Session::run() - arguments: ("")
qrc:/qml/TerminalTab.qml:80:13: Unable to assign [undefined] to QString
qrc:/qml/TerminalTab.qml:76:9: Unable to assign [undefined] to QString
qrc:/qml/TerminalTab.qml:75:9: Unable to assign [undefined] to double
qrc:/qml/TerminalTab.qml:74:9: Unable to assign [undefined] to QString
qrc:/qml/SettingsDialog.qml:64:17: Unable to assign [undefined] to double
qrc:/qml/SettingsDialog.qml:82:17: Unable to assign [undefined] to double
qrc:/qml/SettingsDialog.qml:144:17: Unable to assign [undefined] to bool
qrc:/qml/SettingsDialog.qml:159:17: Unable to assign [undefined] to QString
qrc:/qml/CommandItem.qml:52:9: Unable to assign [undefined] to QString
double free or corruption (out)
已放弃 (核心已转储)
VergeDX commented 4 years ago

@plfiorini