Re: [Tracker] tracker deskbar applet
- From: zer0halo <zerohalo gmail com>
- To: "Mikkel Kamstrup Erlandsen" <mikkel kamstrup gmail com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] tracker deskbar applet
- Date: Mon, 6 Nov 2006 09:37:48 -0600
Ok, I found the problem. The 'path' generating the error was the path to the
deskbar-tracker-.0.5.py file. It seems that either pydoc or ModuleLoader.py choke on files that have multiple extensions. Renaming the handler to
deskbar-tracker.py solved the problem.
I'm not sure who the author of the handler is, since there is no credit in the file, but many thanks!
A little request though, if I may: It only displays the first six results. That's a nice feature, but I would recommend that it also have an option to open the tracker gui and show all the search results. I believe that would make it more useful, as you're often not going to find what you're looking for in the first six results.
On 11/6/06, zer0halo <zerohalo gmail com> wrote:
On 11/6/06, Mikkel Kamstrup Erlandsen <
mikkel kamstrup gmail com> wrote:
Well, that would be really wierd, but it seems like that is the case... Can you try and run
python -c "import os.path"
from the command line? If it prints nothing in the terminal that means it works. If it prints some error try:
I tried that and it gives no error. (Sorry, I should have mentioned that I had already tried that successfully inside the python intepreter.)
In looking at the code of the other handlers I have installed, there is one (
deskbar-man.py) that also loads os.path, and that works fine. I tried adding 'import os' before before the line 'import os.path' to the python script, but that didn't help.
In any case, I'm pretty sure it's something else, because if I just run the
deskbar-tracker-0.5.py on its own (from the command line with python), I get no error. Rather it outputs my Data Dir and my Handlers Dir (both of which are correct).
I don't know python at all, but in looking more closely at the error message originally generated by deskbar-applet, I wonder if the problem is that
ModuleLoader.py is not passing the correct parameters to pydoc. Because pydoc is generating an error on the following line: raise ErrorDuringImport(path,
sys.exc_info()) Would that be the 'path' that is not correctly loading?
--
"Impossible is nothing."
--
"Impossible is nothing."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]