[Touch-packages] [Bug 1132918] Re: Ubiquity crashes with UnicodeDecodeError in apt_pkg.size_to_str

2015-06-17 Thread Julian Andres Klode
We could fix it in that direction due to PyUnicode_DecodeLocale, but
there's nothing we can do for encoding Python strings to the system's
locale without a memory leak, so it does not make a lot of sense to
support only one direction.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1132918

Title:
  Ubiquity crashes with UnicodeDecodeError in apt_pkg.size_to_str

Status in python-apt package in Ubuntu:
  Triaged
Status in ubiquity package in Ubuntu:
  Fix Released
Status in python-apt source package in Raring:
  Won't Fix
Status in ubiquity source package in Raring:
  Fix Released

Bug description:
  After Ubiquity finishes copying files, it creates the users on the system (Or 
a bit later), then crashes.
  I used Grub2 on my USB drive to boot the raring ISO via loopback. Installed 
with a custom partition layout (Reused old Home and formated Root).

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: ubiquity 2.13.12
  ProcVersionSignature: Ubuntu 3.8.0-7.15-generic 3.8.0
  Uname: Linux 3.8.0-7-generic x86_64
  ApportVersion: 2.8-0ubuntu4
  Architecture: amd64
  CasperVersion: 1.330
  Date: Mon Feb 25 20:08:39 2013
  LiveMediaBuild: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130225)
  MarkForUpload: True
  ProcEnviron:
   TERM=unknown
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1132918/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1132918] Re: Ubiquity crashes with UnicodeDecodeError in apt_pkg.size_to_str

2015-06-17 Thread Julian Andres Klode
Python provides PyUnicode_EncodeLocale(), but that returns a new bytes
object. We can get a char* from that, but we'd not be able to delete the
bytes object anymore, as we don't know the life time of the char* and
our function only returns a char*

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1132918

Title:
  Ubiquity crashes with UnicodeDecodeError in apt_pkg.size_to_str

Status in python-apt package in Ubuntu:
  Triaged
Status in ubiquity package in Ubuntu:
  Fix Released
Status in python-apt source package in Raring:
  Won't Fix
Status in ubiquity source package in Raring:
  Fix Released

Bug description:
  After Ubiquity finishes copying files, it creates the users on the system (Or 
a bit later), then crashes.
  I used Grub2 on my USB drive to boot the raring ISO via loopback. Installed 
with a custom partition layout (Reused old Home and formated Root).

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: ubiquity 2.13.12
  ProcVersionSignature: Ubuntu 3.8.0-7.15-generic 3.8.0
  Uname: Linux 3.8.0-7-generic x86_64
  ApportVersion: 2.8-0ubuntu4
  Architecture: amd64
  CasperVersion: 1.330
  Date: Mon Feb 25 20:08:39 2013
  LiveMediaBuild: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130225)
  MarkForUpload: True
  ProcEnviron:
   TERM=unknown
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1132918/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1132918] Re: Ubiquity crashes with UnicodeDecodeError in apt_pkg.size_to_str

2015-04-20 Thread Brian Murray
** Summary changed:

- Ubiquity crashes after user creation
+ Ubiquity crashes with UnicodeDecodeError in apt_pkg.size_to_str

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1132918

Title:
  Ubiquity crashes with UnicodeDecodeError in apt_pkg.size_to_str

Status in python-apt package in Ubuntu:
  Triaged
Status in ubiquity package in Ubuntu:
  Fix Released
Status in python-apt source package in Raring:
  Won't Fix
Status in ubiquity source package in Raring:
  Fix Released

Bug description:
  After Ubiquity finishes copying files, it creates the users on the system (Or 
a bit later), then crashes.
  I used Grub2 on my USB drive to boot the raring ISO via loopback. Installed 
with a custom partition layout (Reused old Home and formated Root).

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: ubiquity 2.13.12
  ProcVersionSignature: Ubuntu 3.8.0-7.15-generic 3.8.0
  Uname: Linux 3.8.0-7-generic x86_64
  ApportVersion: 2.8-0ubuntu4
  Architecture: amd64
  CasperVersion: 1.330
  Date: Mon Feb 25 20:08:39 2013
  LiveMediaBuild: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130225)
  MarkForUpload: True
  ProcEnviron:
   TERM=unknown
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1132918/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp