[Bug 799240] Re: apport script crashes - IOError: [Errno 13] Permission denied: '/var/log/kern.log'

2014-12-17 Thread Christopher M. Penalver
** Package changed: evince (Ubuntu) => apport (Ubuntu)

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

Title:
  apport script crashes - IOError: [Errno 13] Permission denied:
  '/var/log/kern.log'

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

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


[Bug 799240] Re: apport script crashes - IOError: [Errno 13] Permission denied: '/var/log/kern.log'

2013-01-21 Thread era
The trivial fix is to fail gracefully if the user cannot read this log
file.  It should hardly prevent you from reporting bugs!

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

Title:
  apport script crashes - IOError: [Errno 13] Permission denied:
  '/var/log/kern.log'

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

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


[Bug 799240] Re: apport script crashes - IOError: [Errno 13] Permission denied: '/var/log/kern.log'

2011-09-19 Thread Ubuntu QA's Bug Bot
** Tags added: testcase

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

Title:
  apport script crashes - IOError: [Errno 13] Permission denied:
  '/var/log/kern.log'

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

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


[Bug 799240] Re: apport script crashes - IOError: [Errno 13] Permission denied: '/var/log/kern.log'

2011-06-20 Thread Jean-Baptiste Lallement
Thanks for your report. Marking as triaged/low because it is a non fatal
error.

** Summary changed:

- apport script crashes
+ apport script crashes - IOError: [Errno 13] Permission denied: 
'/var/log/kern.log'

** Changed in: evince (Ubuntu)
   Importance: Undecided => Low

** Changed in: evince (Ubuntu)
   Status: New => Triaged

** Description changed:

- Binary package hint: evince
+ TEST CASE:
+ 1. Create a user who is not part of the group 'adm' 
+ 2. Login as this user
+ 3. In a terminal run the following command:
+   $ ubuntu-bug evince
  
+ Result:
+ The following error is displayed:
+ 
+ """
  ERROR: hook /usr/share/apport/package-hooks//source_evince.py crashed:
  Traceback (most recent call last):
-   File "/usr/lib/python2.7/dist-packages/apport/report.py", line 661, in 
add_hooks_info
- symb['add_info'](self)
-   File "/usr/share/apport/package-hooks//source_evince.py", line 54, in 
add_info
- report['KernLog'] = recent_kernlog(sec_re)
-   File "/usr/share/apport/package-hooks//source_evince.py", line 24, in 
recent_kernlog
- for line in open(file):
+   File "/usr/lib/python2.7/dist-packages/apport/report.py", line 661, in 
add_hooks_info
+ symb['add_info'](self)
+   File "/usr/share/apport/package-hooks//source_evince.py", line 54, in 
add_info
+ report['KernLog'] = recent_kernlog(sec_re)
+   File "/usr/share/apport/package-hooks//source_evince.py", line 24, in 
recent_kernlog
+ for line in open(file):
  IOError: [Errno 13] Permission denied: '/var/log/kern.log'
+ """
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: evince 3.0.2-0ubuntu2 [modified: 
usr/share/doc/evince/changelog.Debian.gz]
  ProcVersionSignature: Ubuntu 3.0-1.2-generic 3.0.0-rc3
  Uname: Linux 3.0-1-generic x86_64
  Architecture: amd64
  Date: Sat Jun 18 22:34:05 2011
  ProcEnviron:
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcVersionSignature_: Ubuntu 3.0-1.2-generic 3.0.0-rc3
  SourcePackage: evince
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  apport script crashes - IOError: [Errno 13] Permission denied:
  '/var/log/kern.log'

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

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