[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2023-04-26 Thread cristian swing
** Changed in: apport (Ubuntu Xenial) Assignee: (unassigned) => cristian swing (sed1991s) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack:

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2021-07-28 Thread Brian Murray
** Changed in: apport (Ubuntu Xenial) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError:

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2021-07-27 Thread Seth Arnold
** Information type changed from Private Security to Public -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError: ['UserGroups'] has no

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2021-07-27 Thread Jennifer Kitts
** Information type changed from Public to Public Security ** Information type changed from Public Security to Private Security -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-09-02 Thread Brian Murray
>From what release is the crash file which you are trying to unpack? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError:

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-09-02 Thread Eric Desrochers
I'm having the same stack trace from groovy, when trying to unpack ii apport 2.20.11-0ubuntu45 all automatically generate crash reports for debugging ii apport-symptoms0.23 all symptom

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-09-02 Thread Eric Desrochers
$ lsb_release -cs bionic $ apport-unpack /var/tmp/_usr_bin_.0.crash /tmp/ Traceback (most recent call last): File "/usr/bin/apport-unpack", line 74, in pr.extract_keys(f, bin_keys, dir) File "/usr/lib/python3/dist-packages/problem_report.py", line 270, in extract_keys [item for

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-16 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.11-0ubuntu27.3 --- apport (2.20.11-0ubuntu27.3) focal; urgency=medium * apport_python_hook.py: if python apt modules are not built for the python version then do capture the crash. (LP: #1774843) * apport/report.py: If the user

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-08 Thread Nicholas Schell
We have an automated solution that unpacks the crash report and sends along the relevant information about the crash+stacktrace. Had to initially deal with the fact that apport-unpack was crashing (returning non-zero exit code). Just manually entering in UserGroups info to every crash report prior

Re: [Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-08 Thread Brian Murray
On Sun, Jun 07, 2020 at 06:03:38AM -, Nicholas Schell wrote: > Latest fix filling in 'N/A' for absent groups is working, apport-unpack > is no longer throwing stacktrace when prcoessing the report. I still > don't understand why primary groups are ignored, but the important thing > is the

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-08 Thread Brian Murray
I've verified the fix on Ubuntu 20.04 LTS. bdmurray@clean-focal-amd64:~$ apt-cache policy apport apport: Installed: 2.20.11-0ubuntu27.3 Candidate: 2.20.11-0ubuntu27.3 Version table: *** 2.20.11-0ubuntu27.3 500 500 http://192.168.10.7/ubuntu focal-proposed/main amd64 Packages

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-08 Thread Brian Murray
** Description changed: [Impact] apport-unpack crashes when trying to unpack a crash [Test Case] On a system running 20.04 LTS: 1) create an additional user who is only a member of their own group e.g. bdmurray@clean-focal-amd64:~$ id crashy uid=1001(crashy) gid=1001(crashy)

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-07 Thread Nicholas Schell
Latest fix filling in 'N/A' for absent groups is working, apport-unpack is no longer throwing stacktrace when prcoessing the report. I still don't understand why primary groups are ignored, but the important thing is the reports are processable without errors now. This might be a totally separate

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-05 Thread Łukasz Zemczak
Hello Iain, or anyone else affected, Accepted apport into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apport/2.20.11-0ubuntu27.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-03 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/focal/apport/ubuntu -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError: ['UserGroups']

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-03 Thread Nicholas Schell
An alternative fix for report.py would be if there are no UserGroups DO NOT add the UserGroups field at all. Adding it with an empty string or whitespace is the problem. If it's not present at all apport-unpack will not throw the error. -- You received this bug notification because you are a

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-03 Thread Nicholas Schell
Unfortunately the fix you added by inserting an empty space string ' ' for the UserGroups field does not resolve the bug at all. This is because when reading the report in (problem_report.py) all fields which are empty get ignored, and a field which is all whitespace counts as empty. Prior to the

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-03 Thread Brian Murray
** Description changed: + [Impact] + apport-unpack crashes when trying to unpack a crash + + [Test Case] + On a system running 20.04 LTS: + 1) create an additional user who is only a member of their own group e.g. + bdmurray@clean-focal-amd64:~$ id crashy + uid=1001(crashy) gid=1001(crashy)

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-03 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.11-0ubuntu37 --- apport (2.20.11-0ubuntu37) groovy; urgency=medium * apport/report.py: If the user is not a part of any system groups then set UserGroups to an empty string. (LP: #1427600) -- Brian Murray Tue, 02 Jun 2020

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-02 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/groovy/apport/ubuntu -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError: ['UserGroups']

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-06-01 Thread Brian Murray
** Changed in: apport (Ubuntu Groovy) Status: Triaged => In Progress ** Changed in: apport (Ubuntu Groovy) Assignee: (unassigned) => Brian Murray (brian-murray) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-05-29 Thread Francis Ginther
** Tags added: id-5ecfd66ad4bb5f1beb8b576d -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError: ['UserGroups'] has no binary content

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-05-28 Thread Brian Murray
** Also affects: apport (Ubuntu Groovy) Importance: Low Status: Triaged ** Tags removed: rls-gg-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-05-22 Thread Brian Murray
** Tags added: rls-gg-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError: ['UserGroups'] has no binary content Status in

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-03-31 Thread Nicholas Schell
If apport-unpack expects a value and cannot have an empty field for UserGroups, that would mean the bug is in report.py. The thing that is generating the totally broken crash report. report.py will leave the UserGroups field empty if the user is not part of any system groups (GIDs less thans

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2020-01-18 Thread Norbert
** Tags removed: vivid ** Tags added: bionic focal xenial ** Tags added: eoan -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError:

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2018-07-04 Thread Hua Zhang
I simply add a non-empty value into crash file then I can bypass this issue. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError:

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2018-07-04 Thread Hua Zhang
I run into the same problem in trusty, any workaround to bypass it ? $ sudo apport-unpack _usr_lib_erlang_erts-5.10.4_bin_beam.smp.108.27June2018.crash ./core Traceback (most recent call last): File "/usr/bin/apport-unpack", line 74, in pr.extract_keys(f, bin_keys, dir) File

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2017-10-22 Thread Michael Thayer
To my way of thinking, an exception is for something the programmer did not foresee. Since this is now a known failure mode of Apport, I would expect - in an ideal world in which there was enough time to work on all known bugs - a clean exit with a clear error message. -- You received this bug

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2016-06-14 Thread Brian Murray
** Changed in: apport (Ubuntu) Status: Expired => Triaged ** Changed in: apport (Ubuntu Xenial) Status: Expired => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2016-06-12 Thread Launchpad Bug Tracker
[Expired for apport (Ubuntu) because there has been no activity for 60 days.] ** Changed in: apport (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2016-06-12 Thread Launchpad Bug Tracker
[Expired for apport (Ubuntu Xenial) because there has been no activity for 60 days.] ** Changed in: apport (Ubuntu Xenial) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2016-04-13 Thread Iain Lane
Umm, don't know, probably print a warning instead of the traceback. Not sure about the exit status - I guess a non zero one is a good idea? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2016-04-13 Thread Brian Murray
This happens when a crash file is corrupt and does not have any data for a given key. What type of behavior would you expect or prefer in this case? https://bazaar.launchpad.net/~apport- hackers/apport/trunk/view/head:/problem_report.py#L208 See the raised ValueError for how this occurs. **

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2016-04-03 Thread Ralph Corderoy
Ubuntu 15.10, apport 2.19.1-0ubuntu5. Trying to unpack to a non- existing directory. Get Traceback (most recent call last): File "/usr/bin/apport-unpack", line 73, in pr.extract_keys(f, bin_keys, dir) File "/usr/lib/python3/dist-packages/problem_report.py", line 253,

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2016-02-01 Thread Brian Murray
** Also affects: apport (Ubuntu Xenial) Importance: High Status: Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack:

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2016-01-26 Thread Stefan Bader
I run into the same while debugging some crash of a daemon in Xenial. Installation is a server install. I cannot say whether the unpack fully completes. Fortunately the core file gets extracted at least. -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2015-04-16 Thread Christian Kirbach
I get this, too, with a .crash file from qemu that for some reason seems to be truncated after the USerGroups section !? Attaching the .crash file causing this issue. [apport-bug also has issues with this file.] ** Attachment added: _usr_bin_qemu-system-x86_64.117.crash

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2015-04-16 Thread Christian Kirbach
nazgul@rivendell:~$ dpkg -la apport Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/ Halb installiert/Trigger erWartet/Trigger anhängig |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2015-04-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apport (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu.

[Touch-packages] [Bug 1427600] Re: apport-unpack: ValueError: ['UserGroups'] has no binary content

2015-04-16 Thread Alberto Salvia Novella
** Changed in: apport (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1427600 Title: apport-unpack: ValueError: ['UserGroups'] has