Installer bug

Post your bugs here.
User avatar
ilu
Posts: 2493
Joined: 09 Oct 2013 12:45

Installer bug

Postby ilu » 11 Jul 2019 23:36

SolydX latest nightly, updated installer terminates while trying to show the info window immediately before install. I chose the defaults the installer offered. This was on an AMD old laptop from 2011, I tried several times, the next install on an even older desktop went without problems.

Code: Select all

solydxk@solydxk:~$ live-installer
/etc/live-installer-3/live-installer-3.conf: Zeile 8: --assume-yes: Kommando nicht gefunden.
/etc/live-installer-3/live-installer-3.conf: Zeile 9: --quiet: Kommando nicht gefunden.
Listing '/usr/lib/live-installer-3/'...
Listing '/usr/lib/live-installer-3/localize'...
Listing '/usr/lib/live-installer-3/scripts'...

(apt_handler.py:4686): Gtk-WARNING **: 23:33:47.043: Theme parsing error: gtk.css:337:24: Invalid name of pseudo-class
Executing: cat /proc/cmdline
Executing: ps -ef | grep -v grep | grep 'python3' | grep 'gtk_interface.py' | awk '{print $2}'
Executing: head -n 1 /etc/debian_version | sed 's/[a-zA-Z]/0/' 2>/dev/null || echo 0
Executing: logname
--------------------->>> Setup information init <<<---------------------
Live Setup
Debian version: 10.0
Logged user: solydxk
Target directory: /target
Debian frontend: DEBIAN_FRONTEND=noninteractive
apt options: --assume-yes --quiet --allow-downgrades --allow-remove-essential --allow-change-held-packages -o Dpkg::Options::=--force-confmiss -o Dpkg::Options::=--force-confnew
-------------------------------------------------------------------------
Executing: ps -ef | grep -v grep | grep 'kdeinit5'  | awk '{print $2}'
Executing: ps -ef | grep -v grep | grep 'xfce4-session'  | awk '{print $2}'

(main.py:4687): Gtk-WARNING **: 23:33:49.439: Theme parsing error: gtk.css:337:24: Invalid name of pseudo-class
Executing: geoipupdate
Executing: cat /etc/timezone
Executing: isoquery --iso 3166-1 | cut -f1,4-
Executing: isoquery --iso 639-3
Executing: awk -F'[@ \.]' '/UTF-8/{ print $1 }' /usr/share/i18n/SUPPORTED | uniq
awk: Warnung: Fluchtsequenz »\.« wird wie ein normales ».« behandelt
Error adding locale 'ber_DZ'
Error adding locale 'ber_MA'
Executing: convert /usr/share/pixmaps/faces/user-generic.png -resize x96 /tmp/live-installer-3-face.png
Executing: awk '/^[^#]/{ print $1,$2,$3 }' /usr/share/zoneinfo/zone.tab | sort -k3
Executing: setxkbmap -query | awk -F"(,|[ ]+)" '/^(model:|layout:)/ {print $2}'
Executing: modprobe efivars >/dev/null 2>&1
Executing: findmnt -n -o source /lib/live/mount/findiso 2>/dev/null || :
Executing: LC_ALL=en_US.UTF-8 lsblk -rindo TYPE,NAME,RM,SIZE,MODEL | sort -k3,2
Executing: cat /sys/block/sda/queue/rotational 2>/dev/null
device = /dev/sda
pen_drives = []
detachable = False
Can't find model in blkid output: ['loop', 'loop0', '0', '1.6G']
('Disks: ', [('/dev/sda', 'WDC_WD3200BEVT-00A0RT0 (320GB)', False, False)])
Executing: env LANG=C cryptsetup status sda1
Command 'env LANG=C cryptsetup status sda1' returned non-zero exit status 4.
Executing: blkid -o value -s TYPE /dev/sda1
Executing: blkid -o value -s TYPE /dev/sda1
Executing: lsblk -n -o LABEL /dev/sda1 | grep -v "^$"
Command 'lsblk -n -o LABEL /dev/sda1 | grep -v "^$"' returned non-zero exit status 1.
Executing: grep /dev/sda1 /proc/mounts | awk '{print $2}'
Executing: mkdir -p /tmp/live-installer-3/sda1; mount --read-only /dev/sda1 /tmp/live-installer-3/sda1
Executing: grep /dev/sda1 /proc/mounts | awk '{print $2}'
Executing: . "/tmp/live-installer-3/sda1/etc/lsb-release"; echo $DISTRIB_DESCRIPTION
Executing: umount -f /dev/sda1
Executing: env LANG=C cryptsetup status sda3
Command 'env LANG=C cryptsetup status sda3' returned non-zero exit status 4.
Executing: blkid -o value -s TYPE /dev/sda3
Executing: blkid -o value -s TYPE /dev/sda3
Executing: lsblk -n -o LABEL /dev/sda3 | grep -v "^$"
Command 'lsblk -n -o LABEL /dev/sda3 | grep -v "^$"' returned non-zero exit status 1.
Executing: grep /dev/sda3 /proc/mounts | awk '{print $2}'
Executing: mkdir -p /tmp/live-installer-3/sda3; mount --read-only /dev/sda3 /tmp/live-installer-3/sda3
Executing: grep /dev/sda3 /proc/mounts | awk '{print $2}'
Executing: umount -f /dev/sda3
Executing: env LANG=C cryptsetup status sda4
Command 'env LANG=C cryptsetup status sda4' returned non-zero exit status 4.
Executing: blkid -o value -s TYPE /dev/sda4
Executing: blkid -o value -s TYPE /dev/sda4
Executing: lsblk -n -o LABEL /dev/sda4 | grep -v "^$"
Command 'lsblk -n -o LABEL /dev/sda4 | grep -v "^$"' returned non-zero exit status 1.
Executing: grep /dev/sda4 /proc/mounts | awk '{print $2}'
Executing: mkdir -p /tmp/live-installer-3/sda4; mount --read-only /dev/sda4 /tmp/live-installer-3/sda4
Executing: grep /dev/sda4 /proc/mounts | awk '{print $2}'
Executing: umount -f /dev/sda4
Executing: env LANG=C cryptsetup status sda2
Command 'env LANG=C cryptsetup status sda2' returned non-zero exit status 4.
Executing: blkid -o value -s TYPE /dev/sda2
Executing: blkid -o value -s TYPE /dev/sda2
Executing: lsblk -n -o LABEL /dev/sda2 | grep -v "^$"
Command 'lsblk -n -o LABEL /dev/sda2 | grep -v "^$"' returned non-zero exit status 1.
Executing: grep /dev/sda2 /proc/mounts | awk '{print $2}'
WARNING: Partition /dev/sda2 or type swap failed to mount ([Errno 2] Datei oder Verzeichnis nicht gefunden: '')
Executing: dd bs=512 count=1 if=/dev/sda1 2>/dev/null | strings
Executing: dd bs=512 count=1 if=/dev/sda3 2>/dev/null | strings
Executing: dd bs=512 count=1 if=/dev/sda4 2>/dev/null | strings
Executing: dd bs=512 count=1 if=/dev/sda2 2>/dev/null | strings
Executing: dd bs=512 count=1 if=/dev/sda 2>/dev/null | strings
Grub installed on /dev/sda

(WebKitWebProcess:4745): Gtk-WARNING **: 23:34:00.462: Theme parsing error: gtk.css:337:24: Invalid name of pseudo-class
--------------------->>> Setup information gtk_interfaces.languages <<<---------------------
Language: de_DE
Time zone: None
Keyboard model: None (Generic 105-key PC (intl.)), layout: de (None), variant: None (None)
Host name: SolydXK
User: None/None (autologin: False)
Password: None
Grub device: /dev/sda
Boot partition: None
Boot flag partition: None
GPT partition table: False
Disks:
/dev/sda	WDC_WD3200BEVT-00A0RT0 (320GB)
Partitions:
Device: /dev/sda1 (LMDE 2 Betsy), format as: ext4, mount as: /, encrypt: False
Device: /dev/sda3 (), format as: , mount as: , encrypt: False
Device: /dev/sda4 (), format as: , mount as: , encrypt: False
Device: /dev/sda2 (SWAP), format as: , mount as: swap, encrypt: False
-------------------------------------------------------------------------
Executing: setxkbmap -layout de
--------------------->>> Setup information gtk_interfaces.timezone <<<---------------------
Language: de_DE
Time zone: None
Keyboard model: None (Generic 105-key PC (intl.)), layout: de (German), variant: None (German)
Host name: SolydXK
User: None/None (autologin: False)
Password: None
Grub device: /dev/sda
Boot partition: None
Boot flag partition: None
GPT partition table: False
Disks:
/dev/sda	WDC_WD3200BEVT-00A0RT0 (320GB)
Partitions:
Device: /dev/sda1 (LMDE 2 Betsy), format as: ext4, mount as: /, encrypt: False
Device: /dev/sda3 (), format as: , mount as: , encrypt: False
Device: /dev/sda4 (), format as: , mount as: , encrypt: False
Device: /dev/sda2 (SWAP), format as: , mount as: swap, encrypt: False
-------------------------------------------------------------------------
Executing: python3 /usr/lib/live-installer-3/generate_keyboard_layout.py de None /tmp/live-install-keyboard-layout.png
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
WARNING: Unknown X keysym "dead_belowmacron"
--------------------->>> Setup information gtk_interfaces.keyboard <<<---------------------
Language: de_DE
Time zone: None
Keyboard model: None (Generic 105-key PC (intl.)), layout: de (German), variant: None (German)
Host name: SolydXK
User: None/None (autologin: False)
Password: None
Grub device: /dev/sda
Boot partition: None
Boot flag partition: None
GPT partition table: False
Disks:
/dev/sda	WDC_WD3200BEVT-00A0RT0 (320GB)
Partitions:
Device: /dev/sda1 (LMDE 2 Betsy), format as: ext4, mount as: /, encrypt: False
Device: /dev/sda3 (), format as: , mount as: , encrypt: False
Device: /dev/sda4 (), format as: , mount as: , encrypt: False
Device: /dev/sda2 (SWAP), format as: , mount as: swap, encrypt: False
-------------------------------------------------------------------------
--------------------->>> Setup information gtk_interfaces.user_info <<<---------------------
Language: de_DE
Time zone: None
Keyboard model: None (Generic 105-key PC (intl.)), layout: de (German), variant: None (German)
Host name: terra
User: user/user (autologin: True)
Password: 123456
Grub device: /dev/sda
Boot partition: None
Boot flag partition: None
GPT partition table: False
Disks:
/dev/sda	WDC_WD3200BEVT-00A0RT0 (320GB)
Partitions:
Device: /dev/sda1 (LMDE 2 Betsy), format as: ext4, mount as: /, encrypt: False
Device: /dev/sda3 (), format as: , mount as: , encrypt: False
Device: /dev/sda4 (), format as: , mount as: , encrypt: False
Device: /dev/sda2 (SWAP), format as: , mount as: swap, encrypt: False
-------------------------------------------------------------------------
Executing: . "/etc/lsb-release"; echo $DISTRIB_DESCRIPTION
Reset data on /dev/sda1
Executing: . "/etc/lsb-release"; echo $DISTRIB_DESCRIPTION
--------------------->>> Setup information gtk_interfaces.partitions <<<---------------------
Language: de_DE
Time zone: None
Keyboard model: None (Generic 105-key PC (intl.)), layout: de (German), variant: None (German)
Host name: terra
User: user/user (autologin: True)
Password: 123456
Grub device: /dev/sda
Boot partition: None
Boot flag partition: /dev/sda3
GPT partition table: False
Disks:
/dev/sda	WDC_WD3200BEVT-00A0RT0 (320GB)
Partitions:
Device: /dev/sda1 (LMDE 2 Betsy), format as: , mount as: , encrypt: False
Device: /dev/sda3 (SolydX 10 64-bit), format as: ext4, mount as: /, encrypt: False
Device: /dev/sda4 (HOME), format as: , mount as: /home, encrypt: False
Device: /dev/sda2 (SWAP), format as: , mount as: swap, encrypt: False
-------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/live-installer-3/gtk_interface.py", line 350, in on_button_next_clicked
    self.wizard_cb(False)
  File "/usr/lib/live-installer-3/gtk_interface.py", line 993, in wizard_cb
    self.show_overview()
  File "/usr/lib/live-installer-3/gtk_interface.py", line 1164, in show_overview
    model.append(top, (_("Timezone: ") + bold(self.setup.timezone),))
  File "/usr/lib/live-installer-3/gtk_interface.py", line 1159, in <lambda>
    bold = lambda str: '<b>' + str + '</b>'
TypeError: can only concatenate str (not "NoneType") to str
solydxk@solydxk:~$ 

Code: Select all

inxi -Fxz
System:
  Host: solydxk Kernel: 4.19.0-5-amd64 x86_64 bits: 64 compiler: gcc 
  v: 8.3.0 Desktop: Xfce 4.12.4 Distro: SolydX 10 64-bit 
Machine:
  Type: Laptop System: CLEVO product: W240BU v: N/A serial: <filter> 
  Mobo: CLEVO model: W240BU serial: <filter> BIOS: American Megatrends 
  v: 4.6.4 date: 11/30/2011 
Battery:
  ID-1: BATT charge: 44.6 Wh condition: 44.6/48.8 Wh (91%) 
  model: NOTEBOOK BAT status: Full 
CPU:
  Topology: Dual Core model: AMD E-450 APU with Radeon HD Graphics bits: 64 
  type: MCP arch: Bobcat L2 cache: 512 KiB 
  flags: lm nx pae sse sse2 sse3 sse4a ssse3 svm bogomips: 6582 
  Speed: 825 MHz min/max: 825/1650 MHz Core speeds (MHz): 1: 825 2: 824 
Graphics:
  Device-1: AMD Wrestler [Radeon HD 6320] vendor: CLEVO/KAPOK driver: radeon 
  v: kernel bus ID: 00:01.0 
  Display: x11 server: X.Org 1.20.4 driver: ati,radeon 
  unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD PALM (DRM 2.50.0 / 4.19.0-5-amd64 LLVM 7.0.1) 
  v: 3.3 Mesa 18.3.6 direct render: Yes 
Audio:
  Device-1: AMD Wrestler HDMI Audio vendor: CLEVO/KAPOK 
  driver: snd_hda_intel v: kernel bus ID: 00:01.1 
  Device-2: AMD SBx00 Azalia vendor: CLEVO/KAPOK driver: snd_hda_intel 
  v: kernel bus ID: 00:14.2 
  Sound Server: ALSA v: k4.19.0-5-amd64 
Network:
  Device-1: JMicron JMC260 PCI Express Fast Ethernet vendor: CLEVO/KAPOK 
  driver: jme v: 1.0.8 port: e000 bus ID: 03:00.0 
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
  Device-2: Realtek RTL8191SEvB Wireless LAN driver: rtl8192se v: kernel 
  port: d000 bus ID: 06:00.0 
  IF: wlan0 state: down mac: <filter> 
Drives:
  Local Storage: total: 298.09 GiB used: 244.7 MiB (0.1%) 
  ID-1: /dev/sda vendor: Western Digital model: WD3200BEVT-00A0RT0 
  size: 298.09 GiB temp: 36 C 
Partition:
  ID-1: / size: 1.27 GiB used: 244.7 MiB (18.8%) fs: overlay source: ERR-102 
Sensors:
  System Temperatures: cpu: 56.5 C mobo: N/A gpu: radeon temp: 55 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 157 Uptime: 2h 02m Memory: 2.54 GiB used: 930.5 MiB (35.7%) 
  Init: systemd runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 
  inxi: 3.0.32 

User avatar
Arjen Balfoort
Site Admin
Posts: 9282
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Installer bug

Postby Arjen Balfoort » 14 Jul 2019 09:39

This one is hard to debug as it's old code (from the LMDE live installer) and I don't have the same hardware.
I'll put it on my todo-list as well.


SolydXK needs you!
Development | Testing | Translations

User avatar
ilu
Posts: 2493
Joined: 09 Oct 2013 12:45

Re: Installer bug

Postby ilu » 15 Jul 2019 14:17

If the error is specific to this hardware and nothing else, it's not urgent. We can install something else. I'm just using all our old devices as test objects. Several others, even older, went well. But still the error should better be caught somewhere.

User avatar
ilu
Posts: 2493
Joined: 09 Oct 2013 12:45

Re: Installer bug

Postby ilu » 15 Jul 2019 23:03

1. The bug is not hardware dependent like I first thought. It seems to be a regression with the localized boot option. The error doesn't happen with the first boot option. When booting localized the installer picks up the language in the first window. In the "timezone window" the wizard doesn't work so I would have to choose the timezone manually. But I can click "continue" without actually choosing a timezone. So the timezone variable keeps the value NONE. And that causes the error.
Clicking "continue" without choosing anything should not be possible.

Edit: After some debugging efforts we found that there is one "break" too much in line 734 of gtk_interface.py. That's all :mrgreen:

2. I saw that when using the localized boot option the keyboard layout doesn't get localized. That's also a bug, isn't it? We tested de_DE.

3. Also it would be a really nice thing to have if the installer would eject the boot DVD before restarting after a successfull install.


Return to “Bug Control”

Who is online

Users browsing this forum: No registered users and 3 guests