Can't install SDK on Ubuntu 24.10

I was trying to install SDK using almost clean Ubuntu 24.10 (VirtualBox and Docker already installed) But running SailfishSDK-3.11.1-linux64-online.run gives only this error in terminal window:

Exception while loading component script «:/metadata/installer-config/controller_qs.qs»: TypeError: Cannot read property '0' of null on line number: 102

What could I do to fix it?

I cannot reproduce this error. Which way did you install VirtualBox and Docker? Could you please paste the output of vboxmanage list hostinfo? Could you please run the installer with --verbose and paste its output?

1 Like

For me, this helped:

LANG=C ./SailfishSDK-3.11.1-linux64-offline.run

Thanks for reply, but nothing changes

aikmo@aikmo-amd:~$ LANG=C ./SailfishSDK-3.11.1-linux64-online.run
Exception while loading the component script ":/metadata/installer-config/controller_qs.qs": TypeError: Cannot read property '0' of null on line number: 102

virtuabox installed from repo

aikmo@aikmo-amd:~$ virtualbox --help
Oracle VM VirtualBox VM Selector v7.0.20_Ubuntu
Copyright (C) 2005-2024 Oracle and/or its affiliates

docker installed from snap

aikmo@aikmo-amd:~$ docker --version
Docker version 24.0.5, build ced0996

vboxmanage list hostinfo output (sorry, it’s in Russian):

Информация о хосте:

Время хоста: 2024-10-30T21:21:45.331000000Z
Число активных процессоров: 24
Число процессоров: 24
Число активных ядер процессоров: 12
Число ядер процессоров: 12
Процессор поддерживает Аппаратная виртуализация: да
Процессор поддерживает PAE: да
Процессор поддерживает длинный режим: да
Процессор поддерживает вложенные страницы: да
Процессор поддерживает неограниченный гость: да
Процессор поддерживает вложенная аппаратная виртуализация: да
Процессор поддерживает virt. vmsave/vmload: да
Скорость процессора #0: 5733 МГц
Описание процессора #0: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #1: 5733 МГц
Описание процессора #1: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #2: 5733 МГц
Описание процессора #2: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #3: 5733 МГц
Описание процессора #3: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #4: 5733 МГц
Описание процессора #4: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #5: 5733 МГц
Описание процессора #5: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #6: 5733 МГц
Описание процессора #6: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #7: 5733 МГц
Описание процессора #7: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #8: 5733 МГц
Описание процессора #8: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #9: 5733 МГц
Описание процессора #9: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #10: 5733 МГц
Описание процессора #10: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #11: 5733 МГц
Описание процессора #11: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #12: 5733 МГц
Описание процессора #12: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #13: 5733 МГц
Описание процессора #13: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #14: 5733 МГц
Описание процессора #14: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #15: 5733 МГц
Описание процессора #15: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #16: 5733 МГц
Описание процессора #16: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #17: 5733 МГц
Описание процессора #17: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #18: 5733 МГц
Описание процессора #18: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #19: 5733 МГц
Описание процессора #19: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #20: 5733 МГц
Описание процессора #20: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #21: 5733 МГц
Описание процессора #21: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #22: 5733 МГц
Описание процессора #22: AMD Ryzen 9 7900X 12-Core Processor
Скорость процессора #23: 5733 МГц
Описание процессора #23: AMD Ryzen 9 7900X 12-Core Processor
Размер памяти: 31193 МБайта
Доступно памяти: 27386 МБайт
Операционная система: Linux
Версия операционной системы: 6.11.0-9-generic

Running installer with “-v” produces following output:

IFW Version: 3.2.3, built with Qt 5.15.14.
Build date: Aug 21 2024
Installer Framework SHA1: 7699eb32
[0] Language: ru-RU
[0] Arguments: ./SailfishSDK-3.11.1-linux64-online.run, -v
[0] Operations sanity check succeeded.
[0] Resource tree:
[0]      :/translations
[0]      :/translations/ifw_zh_CN.qm
[0]      :/translations/qt_da.qm
[0]      :/translations/qt_de.qm
[0]      :/translations/qt_en.qm
[0]      :/translations/qt_es.qm
[0]      :/translations/qt_fr.qm
[0]      :/translations/qt_hr.qm
[0]      :/translations/qt_ja.qm
[0]      :/translations/qt_it.qm
[0]      :/translations/qt_pl.qm
[0]      :/translations/qt_ru.qm
[0]      :/translations/ifw_de.qm
[0]      :/translations/ifw_da.qm
[0]      :/translations/ifw_es.qm
[0]      :/translations/ifw_en.qm
[0]      :/translations/ifw_fr.qm
[0]      :/translations/ifw_hr.qm
[0]      :/translations/ifw_it.qm
[0]      :/translations/ifw_ja.qm
[0]      :/translations/ifw_pl.qm
[0]      :/translations/ifw_ru.qm
[0]      :/translations/qt_zh_CN.qm
[0]      :/uninstall.png
[0]      :/installer.png
[0]      :/installer.ico
[0]      :/keepinstalled.png
[0]      :/installer.icns
[0]      :/install.png
[0]      :/keepuninstalled.png
[0]      :/qgradient
[0]      :/qgradient/webgradients.binaryjson
[0]      :/metadata
[0]      :/metadata/rccprojectspgnxB.qrc
[0]      :/metadata/config
[0]      :/metadata/config/config-internal.ini
[0]      :/metadata/installer-config
[0]      :/metadata/installer-config/controller_qs.qs
[0]      :/metadata/installer-config/watermark_png.png
[0]      :/metadata/installer-config/logo_png.png
[0]      :/metadata/installer-config/config.xml
[0]      :/metadata/org.merproject
[0]      :/metadata/org.merproject/SailfishOS.license
[0]      :/metadata/org.merproject/error.ui
[0]      :/metadata/org.merproject/workspace.ui
[0]      :/metadata/org.merproject/de_de.qm
[0]      :/metadata/org.merproject/installscript.qs
[0]      :/metadata/org.merproject/LICENSE.GPL2
[0]      :/metadata/org.merproject/zh_cn.qm
[0]      :/metadata/Updates.xml
Возникло исключение при загрузке сценария компонента «:/metadata/installer-config/controller_qs.qs»: TypeError: Cannot read property '0' of null в строке: 102

Try with LC_ALL instead, as LANG has the lowest precedence and so it can be overridden by some LC_* in the environment.

LC_ALL=C ./SailfishSDK-3.11.1-linux64-offline.run

It doesn’t help

aikmo@aikmo-amd:~$ LC_ALL=C ./SailfishSDK-3.11.1-linux64-online.run -v
IFW Version: 3.2.3, built with Qt 5.15.14.
Build date: Aug 21 2024
Installer Framework SHA1: 7699eb32
[0] Language: C
[0] Arguments: ./SailfishSDK-3.11.1-linux64-online.run, -v
[0] Operations sanity check succeeded.
[0] Resource tree:
[0]      :/translations
[0]      :/translations/ifw_zh_CN.qm
[0]      :/translations/qt_da.qm
[0]      :/translations/qt_de.qm
[0]      :/translations/qt_en.qm
[0]      :/translations/qt_es.qm
[0]      :/translations/qt_fr.qm
[0]      :/translations/qt_hr.qm
[0]      :/translations/qt_ja.qm
[0]      :/translations/qt_it.qm
[0]      :/translations/qt_pl.qm
[0]      :/translations/qt_ru.qm
[0]      :/translations/ifw_de.qm
[0]      :/translations/ifw_da.qm
[0]      :/translations/ifw_es.qm
[0]      :/translations/ifw_en.qm
[0]      :/translations/ifw_fr.qm
[0]      :/translations/ifw_hr.qm
[0]      :/translations/ifw_it.qm
[0]      :/translations/ifw_ja.qm
[0]      :/translations/ifw_pl.qm
[0]      :/translations/ifw_ru.qm
[0]      :/translations/qt_zh_CN.qm
[0]      :/uninstall.png
[0]      :/installer.png
[0]      :/installer.ico
[0]      :/keepinstalled.png
[0]      :/installer.icns
[0]      :/install.png
[0]      :/keepuninstalled.png
[0]      :/qgradient
[0]      :/qgradient/webgradients.binaryjson
[0]      :/metadata
[0]      :/metadata/rccprojectspgnxB.qrc
[0]      :/metadata/config
[0]      :/metadata/config/config-internal.ini
[0]      :/metadata/installer-config
[0]      :/metadata/installer-config/controller_qs.qs
[0]      :/metadata/installer-config/watermark_png.png
[0]      :/metadata/installer-config/logo_png.png
[0]      :/metadata/installer-config/config.xml
[0]      :/metadata/org.merproject
[0]      :/metadata/org.merproject/SailfishOS.license
[0]      :/metadata/org.merproject/error.ui
[0]      :/metadata/org.merproject/workspace.ui
[0]      :/metadata/org.merproject/de_de.qm
[0]      :/metadata/org.merproject/installscript.qs
[0]      :/metadata/org.merproject/LICENSE.GPL2
[0]      :/metadata/org.merproject/zh_cn.qm
[0]      :/metadata/Updates.xml
Exception while loading the component script ":/metadata/installer-config/controller_qs.qs": TypeError: Cannot read property '0' of null on line number: 102

By the way, I was trying to install online variant, not offline.

Please paste the output of LC_ALL=C vboxmanage list hostinfo.

Both variants should behave equally in this respect.

Sorry for delay and thanks for help!

Sometimes output is empty, but sometimes it’s meaningfull:

aikmo@aikmo-amd:~$ LC_ALL=C vboxmanage list hostinfo
aikmo@aikmo-amd:~$ LC_ALL=C vboxmanage list hostinfo
aikmo@aikmo-amd:~$ LC_ALL=C vboxmanage list hostinfo
aikmo@aikmo-amd:~$ LC_ALL=C vboxmanage list hostinfo
Host Information:

Host time: 2024-10-31T18:48:42.237000000Z
Processor online count: 24
Processor count: 24
Processor online core count: 12
Processor core count: 12
Processor supports HW virtualization: yes
Processor supports PAE: yes
Processor supports long mode: yes
Processor supports nested paging: yes
Processor supports unrestricted guest: yes
Processor supports nested HW virtualization: yes
Processor supports virt. vmsave/vmload: yes
Processor#0 speed: 5733 MHz
Processor#0 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#1 speed: 5733 MHz
Processor#1 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#2 speed: 5733 MHz
Processor#2 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#3 speed: 5733 MHz
Processor#3 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#4 speed: 5733 MHz
Processor#4 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#5 speed: 5733 MHz
Processor#5 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#6 speed: 5733 MHz
Processor#6 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#7 speed: 5733 MHz
Processor#7 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#8 speed: 5733 MHz
Processor#8 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#9 speed: 5733 MHz
Processor#9 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#10 speed: 5733 MHz
Processor#10 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#11 speed: 5733 MHz
Processor#11 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#12 speed: 5733 MHz
Processor#12 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#13 speed: 5733 MHz
Processor#13 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#14 speed: 5733 MHz
Processor#14 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#15 speed: 5733 MHz
Processor#15 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#16 speed: 5733 MHz
Processor#16 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#17 speed: 5733 MHz
Processor#17 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#18 speed: 5733 MHz
Processor#18 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#19 speed: 5733 MHz
Processor#19 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#20 speed: 5733 MHz
Processor#20 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#21 speed: 5733 MHz
Processor#21 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#22 speed: 5733 MHz
Processor#22 description: AMD Ryzen 9 7900X 12-Core Processor
Processor#23 speed: 5733 MHz
Processor#23 description: AMD Ryzen 9 7900X 12-Core Processor
Memory size: 31193 MByte
Memory available: 28409 MByte
Operating system: Linux
Operating system version: 6.11.0-9-generic

Output was empty until I opened second terminal window (because of using first window to watch syslog) and entered same command in it. In that case in the second window output was meaningful. I don’t know what exactly hepls. When I start installer with LC_ALL=C prefix it starts. When I start installer without LC_ALL=C it doesn’t start and after that output of vboxmanage becomes empty; and I need to enter command LC_ALL=C vboxmanage list hostinfo to be able to run installer again…

This thread on VirtualBox forum sheds some light on this strange behavior: Language in Vboxmanage - virtualbox.org.

So I would try with VBoxManage setproperty language C, which feels as the most reliable workaround.