Public bug reported:

TEST CASE:

1) gedit /var/log/kern.log

Result: no syntax highlight

2) Close gedit

Gedit closes with error (was not handled by apport):
Traceback (most recent call last):
  File "/usr/lib/gedit/plugins/smart_highlight/smart_highlight/__init__.py", 
line 44, in do_deactivate
    self._plugin.deactivate()
  File 
"/usr/lib/gedit/plugins/smart_highlight/smart_highlight/smart_highlight.py", 
line 88, in deactivate
    self.config_manager.update_config_file(self.config_manager.config_file, 
'search_option', self.options)
  File 
"/usr/lib/gedit/plugins/smart_highlight/smart_highlight/config_manager.py", 
line 56, in update_config_file
    f = open(filename, 'w+')
IOError: [Errno 13] Permission denied: 
'/usr/lib/gedit/plugins/smart_highlight/smart_highlight/config.xml'

ls -la /usr/lib/gedit/plugins/smart_highlight/smart_highlight/config.xml:
-rwxrwxr-x 1 root root 382 2011-12-23 05:42 
/usr/lib/gedit/plugins/smart_highlight/smart_highlight/config.xml
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gedit-plugins (not installed)
ProcVersionSignature: Ubuntu 3.0.0-15.26-generic 3.0.13
Uname: Linux 3.0.0-15-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Mon Feb  6 08:03:01 2012
SourcePackage: gedit-plugins
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gedit-plugins (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

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

Title:
  Syntax highlight is not applied to log files, IOError on opening
  smart_highlight/config.xml

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit-plugins/+bug/927453/+subscriptions

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

Reply via email to