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

Bug #927453 reported by Vadim Rutkovsky
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gedit-plugins (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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)

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

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

Changed in gedit-plugins (Ubuntu):
status: New → Confirmed
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.