← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1290460] Re: Mythbuntu Installer Crashes: File "/usr/lib/python3/dist-packages/mythbuntu_common/vnc.py", line 58, in create_password ValueError: Password should be passed as bytes

 

I can confirm that at least one scenario works.

When booting from hard disk with Mythbuntu 14.04 amd64 installed:
- enable trusty-proposed
- update mythbuntu-common from 0.73 to 0.74
- use Mythbuntu Control Centre to install VNC, including setting the password
VNC is installed successfully and the password works after a reboot.

When booting from ISO into live environment:
- enable trusty-proposed
- update mythbuntu-common from 0.73 to 0.74
- disable trusty-proposed
- Use desktop icon to install Mythbuntu
the installation crashes with a different error:
Gtk-Message: Failed to load module "overlay-scrollbar"
Submitted this as bug 1320439, as an easy way to provide details.
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1320439

This crash does not happen if VNC is not ticked in the installation
options.

Is anyone else able to confirm that updating mythbuntu-common from 0.73
to 0.74 in the live environment before installing to hard disk works? I
can't figure out how to avoid this crash. If anyone is able to advise
how to avoid this crash I'm happy to try testing again.

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythbuntu-common in Ubuntu.
https://bugs.launchpad.net/bugs/1290460

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

Status in “mythbuntu-common” package in Ubuntu:
  In Progress
Status in “mythbuntu-live-autostart” package in Ubuntu:
  In Progress
Status in “ubiquity” package in Ubuntu:
  Invalid
Status in “mythbuntu-common” source package in Trusty:
  In Progress
Status in “mythbuntu-live-autostart” source package in Trusty:
  Fix Committed
Status in “ubiquity” source package in Trusty:
  Invalid

Bug description:
  [Impact] 
   * Mythbuntu installer crashes if VNC is enabled
   * Mythbuntu control center crashes if VNC is enabled

   * Mythbuntu does LTS only releases, so we should make sure this is fixed for LTS.
  [Test Case]

   * Run an install with a password >=6 characters.  Check the VNC checkbox.
   * See if install completes

  [Regression Potential]

   * As this is the only function affected by this patch and it fixes both places it's used (installer and control center) I don't see any other regression potential.
  [Other Info]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythbuntu-common/+bug/1290460/+subscriptions