MycroftAI / mycroft-gui

The Graphical User Interface used by the Mycroft Mark II and more
Apache License 2.0
165 stars 57 forks source link

Manjaro Arch Install Error #108

Open PeterKW opened 2 years ago

PeterKW commented 2 years ago

Not quite sure what's wrong? Any suggestions for futher debugging?

cd /tmp git clone https://github.com/mycroftai/mycroft-gui cd mycroft-gui bash dev_setup.sh

 ~  mycroft-gui-app                                                                                                                         
QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
QGLXContext: Failed to create dummy context
QMetaProperty::notifySignal: cannot find the NOTIFY signal usePTTClient in class GlobalSettings for property 'usePTTClient'
qrc:/main.qml:302:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
failed to acquire GL context to resolve capabilities, using defaults..
qrc:/qml/StatusIndicator.qml:165:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/SkillView.qml:55:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/RemoteStt.qml:95:9: QML Heading: Binding loop detected for property "verticalAlignment"
qrc:/RemoteStt.qml:31:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/main.qml:351:21: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/main.qml:106:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/main.qml:65:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qml: Trying to connect to Mycroft
qrc:/main.qml:38:5: Unable to assign [undefined] to int
qrc:/main.qml:37:5: Unable to assign [undefined] to int
qrc:/main.qml:36:5: Unable to assign [undefined] to int
qrc:/main.qml:35:5: Unable to assign [undefined] to int
qrc:/main.qml:34:5: Unable to assign [undefined] to int
qrc:/main.qml:33:5: Unable to assign [undefined] to int
qrc:/main.qml:225:17: Unable to assign ApplicationWindow_QMLTYPE_127 to QQuickItem
qrc:/main.qml:252:17: Unable to assign null to QStringList
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
zsh: abort (core dumped)  mycroft-gui-app

image

AIIX commented 2 years ago

Do you have graphics drivers installed ?

PeterKW commented 2 years ago
 mycroft-gui-app                                                                                                                      INT ✘  16s  18:52:52 
QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
QMetaProperty::notifySignal: cannot find the NOTIFY signal usePTTClient in class GlobalSettings for property 'usePTTClient'
qrc:/main.qml:302:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/StatusIndicator.qml:165:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/SkillView.qml:55:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/RemoteStt.qml:95:9: QML Heading: Binding loop detected for property "verticalAlignment"
qrc:/RemoteStt.qml:31:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/main.qml:351:21: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/main.qml:106:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/main.qml:65:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qml: Trying to connect to Mycroft
qrc:/main.qml:38:5: Unable to assign [undefined] to int
qrc:/main.qml:37:5: Unable to assign [undefined] to int
qrc:/main.qml:36:5: Unable to assign [undefined] to int
qrc:/main.qml:35:5: Unable to assign [undefined] to int
qrc:/main.qml:34:5: Unable to assign [undefined] to int
qrc:/main.qml:33:5: Unable to assign [undefined] to int
qrc:/main.qml:225:17: Unable to assign ApplicationWindow_QMLTYPE_122 to QQuickItem
qrc:/main.qml:252:17: Unable to assign null to QStringList
qrc:/main.qml:38:5: Unable to assign [undefined] to int
qrc:/main.qml:37:5: Unable to assign [undefined] to int
qrc:/main.qml:36:5: Unable to assign [undefined] to int
qrc:/main.qml:35:5: Unable to assign [undefined] to int
qrc:/main.qml:34:5: Unable to assign [undefined] to int
qrc:/main.qml:33:5: Unable to assign [undefined] to int
qrc:/main.qml:225:17: Unable to assign ApplicationWindow_QMLTYPE_122 to QQuickItem
qrc:/main.qml:252:17: Unable to assign null to QStringList
Already up to date.
Updating dependencies...
Installing packages...
Installing packages for Arch...
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Starting all mycroft-core services
Initializing...
Changing ownership of /opt/mycroft to user: _$user_ with group: _$user_ 
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Starting background service bus
CAUTION: The Mycroft bus is an open websocket with no built-in security
measures.  You are responsible for protecting the local port
8181 with a firewall as appropriate.
./start-mycroft.sh: line 141: /var/log/mycroft/bus.log: Permission denied
Starting background service skills
./start-mycroft.sh: line 141: /var/log/mycroft/skills.log: Permission denied
Starting background service audio
./start-mycroft.sh: line 141: /var/log/mycroft/audio.log: Permission denied
Starting background service voice
./start-mycroft.sh: line 141: /var/log/mycroft/voice.log: Permission denied
Starting background service enclosure
./start-mycroft.sh: line 141: /var/log/mycroft/enclosure.log: Permission denied
qml: Trying to connect to Mycroft
qml: Trying to connect to Mycroft
mycroft connection not open!
mycroft connection not open!
/tmp/mycroft-gui  master  ./start_gui_and_mycroft.sh                                                                                                          1 ✘  53s  19:04:14 
Launching Mycroft Core
Already up to date.
Starting all mycroft-core services
Initializing...
Starting background service bus
CAUTION: The Mycroft bus is an open websocket with no built-in security
measures.  You are responsible for protecting the local port
8181 with a firewall as appropriate.
Starting background service skills
Starting background service voice
Already up to date.
Initializing...
Launching GUI
: Unknown option 'autoconnect'.
 mhwd -li -d
NAME:        video-nvidia
ATTACHED:    PCI
VERSION:     2021.11.04
INFO:        Closed source NVIDIA drivers for linux.
PRIORITY:    5
FREEDRIVER:  false
DEPENDS:     -
CONFLICTS:   video*nvidia*
CLASSIDS:    0300 0302
VENDORIDS:   10de

Not sure what else to try to get it working?

AIIX commented 2 years ago
 mycroft-gui-app                                                                                                                      INT ✘  16s  18:52:52 
QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
QMetaProperty::notifySignal: cannot find the NOTIFY signal usePTTClient in class GlobalSettings for property 'usePTTClient'
qrc:/main.qml:302:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/StatusIndicator.qml:165:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/qml/SkillView.qml:55:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/RemoteStt.qml:95:9: QML Heading: Binding loop detected for property "verticalAlignment"
qrc:/RemoteStt.qml:31:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/main.qml:351:21: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/main.qml:106:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qrc:/main.qml:65:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qml: Trying to connect to Mycroft
qrc:/main.qml:38:5: Unable to assign [undefined] to int
qrc:/main.qml:37:5: Unable to assign [undefined] to int
qrc:/main.qml:36:5: Unable to assign [undefined] to int
qrc:/main.qml:35:5: Unable to assign [undefined] to int
qrc:/main.qml:34:5: Unable to assign [undefined] to int
qrc:/main.qml:33:5: Unable to assign [undefined] to int
qrc:/main.qml:225:17: Unable to assign ApplicationWindow_QMLTYPE_122 to QQuickItem
qrc:/main.qml:252:17: Unable to assign null to QStringList
qrc:/main.qml:38:5: Unable to assign [undefined] to int
qrc:/main.qml:37:5: Unable to assign [undefined] to int
qrc:/main.qml:36:5: Unable to assign [undefined] to int
qrc:/main.qml:35:5: Unable to assign [undefined] to int
qrc:/main.qml:34:5: Unable to assign [undefined] to int
qrc:/main.qml:33:5: Unable to assign [undefined] to int
qrc:/main.qml:225:17: Unable to assign ApplicationWindow_QMLTYPE_122 to QQuickItem
qrc:/main.qml:252:17: Unable to assign null to QStringList
Already up to date.
Updating dependencies...
Installing packages...
Installing packages for Arch...
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Starting all mycroft-core services
Initializing...
Changing ownership of /opt/mycroft to user: _$user_ with group: _$user_ 
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Starting background service bus
CAUTION: The Mycroft bus is an open websocket with no built-in security
measures.  You are responsible for protecting the local port
8181 with a firewall as appropriate.
./start-mycroft.sh: line 141: /var/log/mycroft/bus.log: Permission denied
Starting background service skills
./start-mycroft.sh: line 141: /var/log/mycroft/skills.log: Permission denied
Starting background service audio
./start-mycroft.sh: line 141: /var/log/mycroft/audio.log: Permission denied
Starting background service voice
./start-mycroft.sh: line 141: /var/log/mycroft/voice.log: Permission denied
Starting background service enclosure
./start-mycroft.sh: line 141: /var/log/mycroft/enclosure.log: Permission denied
qml: Trying to connect to Mycroft
qml: Trying to connect to Mycroft
mycroft connection not open!
mycroft connection not open!
/tmp/mycroft-gui  master  ./start_gui_and_mycroft.sh                                                                                                          1 ✘  53s  19:04:14 
Launching Mycroft Core
Already up to date.
Starting all mycroft-core services
Initializing...
Starting background service bus
CAUTION: The Mycroft bus is an open websocket with no built-in security
measures.  You are responsible for protecting the local port
8181 with a firewall as appropriate.
Starting background service skills
Starting background service voice
Already up to date.
Initializing...
Launching GUI
: Unknown option 'autoconnect'.
 mhwd -li -d
NAME:        video-nvidia
ATTACHED:    PCI
VERSION:     2021.11.04
INFO:        Closed source NVIDIA drivers for linux.
PRIORITY:    5
FREEDRIVER:  false
DEPENDS:     -
CONFLICTS:   video*nvidia*
CLASSIDS:    0300 0302
VENDORIDS:   10de

Not sure what else to try to get it working?

How is mycroft core installed ? It cannot seem to find mycroft core to connect too