Plugin doesn't do anything
GoogleCodeExporter opened this issue · 7 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. I installed the plugin as recommended (using install.sh)
2. I checked it in the preferences.
3. But when selecting a word, the occurrences don't highlight.
What is the expected output? What do you see instead?
I would expect to see it highlight, but do I need to do something else?
What version of the product are you using? On what operating system?
I'm using Ubuntu 12.04 and Gedit 3.4.1
Please provide any additional information below.
Original issue reported on code.google.com by bossier....@gmail.com
on 8 Jan 2013 at 1:16
GoogleCodeExporter commented
What word did you select?
Original comment by swatch.c...@gmail.com
on 9 Jan 2013 at 5:25
- Changed state: Accepted
GoogleCodeExporter commented
It is for any word.
But strangely, I tried the plug-in on a different machine and there it works
like a charm.
I don't see what is different. Maybe there is some kind of interference by
using also Kate for some coding projects on this machine and not on the other
one.
When I find some time, I will try to work it out, but is isn't that urgent. :)
Original comment by bossier....@gmail.com
on 10 Jan 2013 at 5:58
GoogleCodeExporter commented
I don't know what happened but you can try to do following things.
1. Disable "match whole word" option in the configuration window and try again.
2. If still have problem, close all gedit window and launch it from the command
line terminal and see if any error message is there. Post the message and I can
try to find out what's wrong.
Original comment by swatch.c...@gmail.com
on 10 Jan 2013 at 11:43
GoogleCodeExporter commented
The plugin failed to copy the configure file into gedit plugin folder in your
home folder.
Copy the config folder into "~/.local/share/gedit/plugins/smart-highlight"
manually may solve the problem.
Original comment by swatch.c...@gmail.com
on 12 Jan 2013 at 3:01
GoogleCodeExporter commented
Since no more information, I think the problem is solved.
Original comment by swatch.c...@gmail.com
on 29 Jan 2013 at 1:11
- Changed state: Done
GoogleCodeExporter commented
Aha, it does give some kind of error by launching it from the terminal. I can
see some permission issues, but I am actually administrator.
This is the message:
Traceback (most recent call last):
File "/usr/lib/gedit/plugins/smart_highlight/__init__.py", line 41, in do_activate
self._plugin = SmartHighlightWindowHelper(self, self.window)
File "/usr/lib/gedit/plugins/smart_highlight/smart_highlight.py", line 88, in __init__
os.makedirs(os.path.dirname(user_configfile))
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied:
'/home/user/.local/share/gedit/plugins/smart-highlight'
Traceback (most recent call last):
File "/usr/lib/gedit/plugins/smart_highlight/__init__.py", line 48, in do_update_state
self._plugin.update_ui()
AttributeError: 'SmartHighlightingPlugin' object has no attribute '_plugin'
Original comment by bossier....@gmail.com
on 11 Jan 2013 at 8:26
GoogleCodeExporter commented
Thank you for your help. :-)
I tried it out and indeed this topic can be closed.
Original comment by bossier....@gmail.com
on 29 Jan 2013 at 11:17