incorrect file path in "/usr/share/apport/package-hooks/source_unity-settings-daemon.py"

Bug #1717398 reported by robin
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-settings-daemon (Ubuntu)
Fix Committed
Low
Sebastien Bacher

Bug Description

I was poking around the files for the package "unity-settings-daemon" and found this bug:

in the file "/usr/share/apport/package-hooks/source_unity-settings-daemon.py"

line number 6 has this typo:
if "Stacktrace" in report and "/usr/libg/nome-settings-daemon-3.0" in report["Stacktrace"]:

I guess it should be:
if "Stacktrace" in report and "/usr/lib/gnome-settings-daemon-3.0" in report["Stacktrace"]:

Tags: patch
robin (robinp)
description: updated
Revision history for this message
robin (robinp) wrote :

# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: <email address hidden>
# target_branch: http://bazaar.launchpad.net/~unity-settings-daemon-\
# team/unity-settings-daemon/trunk/
# testament_sha1: 98208daf40f4bae50249e1b14e227521f9cad7b8
# timestamp: 2017-09-15 19:57:38 +1200
# base_revision_id: <email address hidden>
#
# Begin patch
=== modified file 'debian/source_unity-settings-daemon.py'
--- debian/source_unity-settings-daemon.py 2013-12-04 23:55:26 +0000
+++ debian/source_unity-settings-daemon.py 2017-09-15 07:54:46 +0000
@@ -3,7 +3,7 @@

 def add_info(report):
  # the issue is not in the unity-settings-daemon code so reassign
- if "Stacktrace" in report and "/usr/libg/nome-settings-daemon-3.0" in report["Stacktrace"]:
+ if "Stacktrace" in report and "/usr/lib/gnome-settings-daemon-3.0" in report["Stacktrace"]:
   for words in report["Stacktrace"].split():
    if words.startswith("/usr/lib/unity-settings-daemon-3.0"):
        if apport.packaging.get_file_package(words) != 'unity-settings-daemon':

# Begin bundle
IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWQVyYnUAAW9fgAAwUGP/91IA
WAq//99wUANj3QmZQBoaFPU0myaTRjUT0npMnppplGQzU0GNDQ0AGQ0AAAAAGU0pvSZMCSH6iMho
aDQA0BjQ0NABkNAAAAABJIIGkwaJphVP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+LuSKcKEgCuTE6g=

Revision history for this message
robin (robinp) wrote :

Patch added above to fix the typo

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in unity-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
robin (robinp) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch.txt" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in unity-settings-daemon (Ubuntu):
assignee: nobody → Sebastien Bacher (seb128)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the fix, there is an upload in the queue but the fix can land once this one is cleared

Changed in unity-settings-daemon (Ubuntu):
importance: Undecided → Low
status: Confirmed → In Progress
Changed in unity-settings-daemon (Ubuntu):
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.