[Bug 1740026] Re: ubiquity crashed with UnicodeDecodeError in decode(): 'utf-8' codec can't decode byte 0x91 in position 269: invalid start byte

Dominik 1740026 at bugs.launchpad.net
Mon Aug 28 12:42:12 UTC 2023


I also experience the error with Ubuntu 22.04 LTS (under the hood of
Zorin OS 16.3).

in my case caused by the SSD (disk model "INNOVATION__IT"; the
underscore representing a non-utf character).

as described above (#9), hotfixing plugins/ubi-prepare.py gets me past the user settings, but then the partitioning wizard is skipped and a frozen installation screen is shown.
seems like plugins/ubi-partman.py has some unreported exceptions (maybe setting one_disk = True or the like?) and hence not going the right route.

correct me if I'm wrong, but I'd be surprised if  the disk model
(intended for humans) is necessary for the installation: is there a
documentation I didnt find, or could a dev direct me to important
sections and expected values in the script? I'd be up to trying to
hardcode my ssd specs in but find it hard to reverse engineer the
scripts..

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1740026

Title:
  ubiquity crashed with UnicodeDecodeError in decode(): 'utf-8' codec
  can't decode byte 0x91 in position 269: invalid start byte

Status in ubiquity package in Ubuntu:
  Confirmed

Bug description:
  Trying to install

  ProblemType: Crash
  DistroRelease: Ubuntu 17.10
  Package: ubiquity 17.10.10
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CasperVersion: 1.387
  Date: Mon Dec 25 13:19:57 2017
  ExecutablePath: /usr/lib/ubiquity/bin/ubiquity
  InterpreterPath: /usr/bin/python3.6
  LiveMediaBuild: Lubuntu 17.10 "Artful Aardvark" - Release amd64 (20171017.1)
  ProcCmdline: /usr/bin/python3 /usr/lib/ubiquity/bin/ubiquity gtk_ui
  ProcEnviron:
   TERM=unknown
   PATH=(custom, no user)
   LANG=C.UTF-8
   SHELL=/bin/bash
  Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
  PythonArgs: ['/usr/lib/ubiquity/bin/ubiquity', 'gtk_ui']
  PythonDetails: /root/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/root/Error: command ['which', 'python'] failed with exit code 1:": "/root/Error: command ['which', 'python'] failed with exit code 1:", unpackaged
  SourcePackage: ubiquity
  Title: ubiquity crashed with UnicodeDecodeError in decode(): 'utf-8' codec can't decode byte 0x91 in position 269: invalid start byte
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1740026/+subscriptions




More information about the foundations-bugs mailing list