Mythbuntu installer crashed: File "/usr/lib/python3/dist-packages/mythbuntu_common/vnc.py", line 58, in create_password : /plugininstall.py: ValueError: Password should be passed as bytes

Bug #1309752 reported by jsbien on 2014-04-18
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythbuntu-common (Ubuntu)
High
Unassigned

Bug Description

I don't know how to access any editor at this stage of installation, so I just used copy and paste in the web browser.
This the final part of the syslog:

Apr 18 21:01:56 mythbuntu /plugininstall.py: Exception during installation:
Apr 18 21:01:56 mythbuntu /plugininstall.py: Traceback (most recent call last):
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1770, in <module>
Apr 18 21:01:56 mythbuntu /plugininstall.py: install.run()
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 78, in wrapper
Apr 18 21:01:56 mythbuntu /plugininstall.py: func(self)
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 204, in run
Apr 18 21:01:56 mythbuntu /plugininstall.py: self.configure_plugins()
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 570, in configure_plugins
Apr 18 21:01:56 mythbuntu /plugininstall.py: self.run_plugin(plugin)
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 544, in run_plugin
Apr 18 21:01:56 mythbuntu /plugininstall.py: ret = inst.install(self.target, PluginProgress(self.db))
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/lib/ubiquity/plugins/myth-install-type.py", line 198, in install
Apr 18 21:01:56 mythbuntu /plugininstall.py: self.setup_roles()
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/lib/ubiquity/plugins/myth-install-type.py", line 178, in setup_roles
Apr 18 21:01:56 mythbuntu /plugininstall.py: vnc.create_password(passwd)
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/lib/python3/dist-packages/mythbuntu_common/vnc.py", line 58, in create_password
Apr 18 21:01:56 mythbuntu /plugininstall.py: raise ValueError('Password should be passed as bytes')
Apr 18 21:01:56 mythbuntu /plugininstall.py: ValueError: Password should be passed as bytes
Apr 18 21:01:56 mythbuntu /plugininstall.py:
Apr 18 21:02:16 mythbuntu ubiquity: Gtk-Message: Failed to load module "overlay-scrollbar"
Apr 18 21:02:16 mythbuntu ubiquity: Gtk-Message: Failed to load module "overlay-scrollbar"
Apr 18 21:02:45 mythbuntu ubiquity: ATTENTION: default value of option force_s3tc_enable overridden by envir

The final part of partman:

parted_server: OUT: 1 32256-2000363420159 2000363387904 primary ext4 /dev/sde1

parted_server: Partitions printed
parted_server: OUT:

parted_server: Closing infifo and outfifo
parted_server: main_loop: iteration 1054
parted_server: Opening infifo
/lib/partman/finish.d/80parted: *******************************************************
/lib/partman/finish.d/80parted: IN: QUIT
parted_server: Read command: QUIT
parted_server: Quitting

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubiquity 2.18.7
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CasperVersion: 1.340
Date: Fri Apr 18 23:02:16 2014
InstallCmdLine: initrd=/casper/initrd.lz file=/cdrom/preseed/mythbuntu.seed boot=casper only-ubiquity quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
LiveMediaBuild: Mythbuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

jsbien (jsbien) wrote :

Exception during installation:
Apr 18 21:01:56 mythbuntu /plugininstall.py: Traceback (most recent call last):
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1770, in <module>
Apr 18 21:01:56 mythbuntu /plugininstall.py: install.run()
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 78, in wrapper
Apr 18 21:01:56 mythbuntu /plugininstall.py: func(self)
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 204, in run
Apr 18 21:01:56 mythbuntu /plugininstall.py: self.configure_plugins()
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 570, in configure_plugins
Apr 18 21:01:56 mythbuntu /plugininstall.py: self.run_plugin(plugin)
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 544, in run_plugin
Apr 18 21:01:56 mythbuntu /plugininstall.py: ret = inst.install(self.target, PluginProgress(self.db))
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/lib/ubiquity/plugins/myth-install-type.py", line 198, in install
Apr 18 21:01:56 mythbuntu /plugininstall.py: self.setup_roles()
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/lib/ubiquity/plugins/myth-install-type.py", line 178, in setup_roles
Apr 18 21:01:56 mythbuntu /plugininstall.py: vnc.create_password(passwd)
Apr 18 21:01:56 mythbuntu /plugininstall.py: File "/usr/lib/python3/dist-packages/mythbuntu_common/vnc.py", line 58, in create_password
Apr 18 21:01:56 mythbuntu /plugininstall.py: raise ValueError('Password should be passed as bytes')
Apr 18 21:01:56 mythbuntu /plugininstall.py: ValueError: Password should be passed as bytes
Apr 18 21:01:56 mythbuntu /plugininstall.py:

tags: added: installer-crash
Changed in ubiquity (Ubuntu):
importance: Undecided → High
Download full text (6.6 KiB)

Looks like enabling VNC was the culprit, cf.

http://www.mythtv.org/pipermail/mythtv-users/2014-April/362863.html

Regards

Janusz

Quote/Cytat - Ubuntu Foundations Team Bug Bot
<email address hidden> (Sat 19 Apr 2014 01:08:45 AM CEST):

> Exception during installation:
> Apr 18 21:01:56 mythbuntu /plugininstall.py: Traceback (most recent
> call last):
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/share/ubiquity/plugininstall.py", line 1770, in <module>
> Apr 18 21:01:56 mythbuntu /plugininstall.py: install.run()
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/share/ubiquity/plugininstall.py", line 78, in wrapper
> Apr 18 21:01:56 mythbuntu /plugininstall.py: func(self)
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/share/ubiquity/plugininstall.py", line 204, in run
> Apr 18 21:01:56 mythbuntu /plugininstall.py: self.configure_plugins()
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/share/ubiquity/plugininstall.py", line 570, in configure_plugins
> Apr 18 21:01:56 mythbuntu /plugininstall.py: self.run_plugin(plugin)
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/share/ubiquity/plugininstall.py", line 544, in run_plugin
> Apr 18 21:01:56 mythbuntu /plugininstall.py: ret =
> inst.install(self.target, PluginProgress(self.db))
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/lib/ubiquity/plugins/myth-install-type.py", line 198, in install
> Apr 18 21:01:56 mythbuntu /plugininstall.py: self.setup_roles()
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/lib/ubiquity/plugins/myth-install-type.py", line 178, in
> setup_roles
> Apr 18 21:01:56 mythbuntu /plugininstall.py: vnc.create_password(passwd)
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/lib/python3/dist-packages/mythbuntu_common/vnc.py", line 58,
> in create_password
> Apr 18 21:01:56 mythbuntu /plugininstall.py: raise
> ValueError('Password should be passed as bytes')
> Apr 18 21:01:56 mythbuntu /plugininstall.py: ValueError: Password
> should be passed as bytes
> Apr 18 21:01:56 mythbuntu /plugininstall.py:
>
>
> ** Tags added: installer-crash
>
> ** Changed in: ubiquity (Ubuntu)
> Importance: Undecided => High
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1309752
>
> Title:
> Mythbuntu installer crashed
>
> Status in “ubiquity” package in Ubuntu:
> New
>
> Bug description:
> I don't know how to access any editor at this stage of
> installation, so I just used copy and paste in the web browser.
> This the final part of the syslog:
>
> Apr 18 21:01:56 mythbuntu /plugininstall.py: Exception during installation:
> Apr 18 21:01:56 mythbuntu /plugininstall.py: Traceback (most
> recent call last):
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/share/ubiquity/plugininstall.py", line 1770, in <module>
> Apr 18 21:01:56 mythbuntu /plugininstall.py: install.run()
> Apr 18 21:01:56 mythbuntu /plugininstall.py: File
> "/usr/share/ubiquity/plugininstall.py", line 78, in wrapper
> Apr 18 21:...

Read more...

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
affects: ubiquity (Ubuntu) → mythbuntu-common (Ubuntu)
summary: - Mythbuntu installer crashed
+ Mythbuntu installer crashed: File "/usr/lib/python3/dist-
+ packages/mythbuntu_common/vnc.py", line 58, in create_password :
+ /plugininstall.py: ValueError: Password should be passed as bytes
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers