[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2018-01-30 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.8-0ubuntu7

---
apport (2.20.8-0ubuntu7) bionic; urgency=medium

  * bin/apport-bug: recommend python3-apport not python-apport.
(LP: #1729879)
  * data/package-hooks/source_ubiquity.py: Convert the content of syslog from
bytes to string so comparison and regex matches in the hook work. Thanks
to Jean-Baptiste Lallement for the improved patch.  (LP: #1582950)

 -- Brian Murray   Tue, 30 Jan 2018 08:24:53 -0800

** Changed in: apport (Ubuntu)
   Status: In Progress => Fix Released

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2018-01-30 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/bionic/apport/ubuntu

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2018-01-23 Thread Launchpad Bug Tracker
** Branch linked:
lp:~jibel/ubuntu/bionic/apport/lp1582950_2_ubiquity_hook

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2018-01-23 Thread Jean-Baptiste Lallement
** Changed in: apport (Ubuntu)
   Status: Incomplete => Fix Committed

** Changed in: apport (Ubuntu)
   Status: Fix Committed => In Progress

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2018-01-23 Thread Jean-Baptiste Lallement
Actually on the live session the hook reads /var/log/syslog which has read 
access for the group adm and after installation it reads 
/var/log/installer/syslog which does not and the code path is different.
In the former case decoding of utf8 bytes object is already done (the file is 
read with the function read()) but not in the latter (the file is the output of 
the command 'cat')

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2018-01-22 Thread Jean-Baptiste Lallement
you're right, it crashes on the live session but not after installation.
The version of python is the same on bionic (2.7.14+) (tested on 17.10.1
and 18.04)

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2018-01-22 Thread Brian Murray
Its worth noting that the two bugs I looked at are from live versions of
the system so perhaps the version of python being used there is
different.

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2018-01-22 Thread Brian Murray
Did we confirm that this fix worked?  Because bug 1744821 and bug
1744809 have crashes in the ubiquity hook. I imagine there are more.

** Changed in: apport (Ubuntu)
   Status: Fix Released => Incomplete

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2017-09-30 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.7-0ubuntu2

---
apport (2.20.7-0ubuntu2) artful; urgency=medium

  * data/package-hooks/source_ubiquity.py: Convert the content of syslog from
bytes to string so comparison and regex matches in the hook work.
(LP: #1582950)

 -- Brian Murray   Wed, 27 Sep 2017 14:44:40 -0700

** Changed in: apport (Ubuntu Artful)
   Status: Fix Committed => Fix Released

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2017-09-30 Thread Steve Langasek
Hello Seth, or anyone else affected,

Accepted apport into artful-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apport/2.20.7-0ubuntu2
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-artful to verification-done-artful. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-artful. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: apport (Ubuntu Artful)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-artful

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2017-09-27 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/artful/apport/ubuntu

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2017-09-27 Thread Brian Murray
** Changed in: apport (Ubuntu)
   Status: Triaged => In Progress

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2017-09-27 Thread Jean-Baptiste Lallement
** Changed in: apport (Ubuntu)
   Status: New => Confirmed

** Changed in: apport (Ubuntu)
   Importance: Undecided => Medium

** Changed in: apport (Ubuntu)
   Status: Confirmed => Triaged

** Changed in: apport (Ubuntu)
 Assignee: (unassigned) => Jean-Baptiste Lallement (jibel)

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2017-09-27 Thread Launchpad Bug Tracker
** Branch linked: lp:~jibel/ubuntu/artful/apport/lp1582950_ubiquity_hook

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2016-12-13 Thread Brian Murray
The bot saw your UbiquitySyslog file and wanted to talk to you about it.

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2016-12-13 Thread Brian Murray
The ubiquity hook is proved by apport not ubiquity.

** Changed in: ubiquity (Ubuntu)
   Status: New => Invalid

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2016-06-03 Thread Seth Arnold
** Also affects: apport (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2016-05-17 Thread Seth Arnold
Dear bot, I'm not sure what you're on about. You're also missing 14.04
LTS information. :)

** Changed in: ubiquity (Ubuntu)
   Status: Incomplete => New

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1582950] Re: broken apport hook: TypeError: a bytes-like object is required, not 'str'

2016-05-17 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make
Ubuntu better. We noticed that you were installing the LTS version of
Ubuntu using an older version of the installation media.  The latest
point release of 12.04 is 12.04.5. Please try installing from that
version of the installation media and see if that resolves your issue.
Thanks in advance!

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Changed in: ubiquity (Ubuntu)
   Status: New => Incomplete

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

Title:
  broken apport hook: TypeError: a bytes-like object is required, not
  'str'

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs