Public bug reported:

As you can see here:

```
$ head -n3 /usr/share/apport/package-hooks/source_gnome-screensaver.py          
                                                                                
        ubuntu/devel  [ 17:38:44 ]
+#!/usr/bin/python
+
'''Apport package hook for gnome-screensaver
```

This means that I can't report bugs (including this one!) using ubuntu-
bug, because I get this:

```
ERROR: hook /usr/share/apport/package-hooks/source_gnome-screensaver.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 203, in _run_hook
    exec(compile(fd.read(), hook, 'exec'), symb)
  File "/usr/share/apport/package-hooks/source_gnome-screensaver.py", line 1
    +#!/usr/bin/python
                     ^
SyntaxError: invalid syntax
```

** Affects: gnome-screenshot (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: packaging

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-screenshot in Ubuntu.
https://bugs.launchpad.net/bugs/1804709

Title:
  Shipped apport hook contains diff lines

Status in gnome-screenshot package in Ubuntu:
  New

Bug description:
  As you can see here:

  ```
  $ head -n3 /usr/share/apport/package-hooks/source_gnome-screensaver.py        
                                                                                
          ubuntu/devel  [ 17:38:44 ]
  +#!/usr/bin/python
  +
  '''Apport package hook for gnome-screensaver
  ```

  This means that I can't report bugs (including this one!) using
  ubuntu-bug, because I get this:

  ```
  ERROR: hook /usr/share/apport/package-hooks/source_gnome-screensaver.py 
crashed:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 203, in 
_run_hook
      exec(compile(fd.read(), hook, 'exec'), symb)
    File "/usr/share/apport/package-hooks/source_gnome-screensaver.py", line 1
      +#!/usr/bin/python
                       ^
  SyntaxError: invalid syntax
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-screenshot/+bug/1804709/+subscriptions

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

Reply via email to