Re: [Tracker] Many fixes

2007-07-21 Thread Michael Biebl

2007/7/22, Laurent Aguerreche <[EMAIL PROTECTED]>:

Hello,

I propose a patch to fix a bunch of things:



Hi Laurent,

after your latest commit (r693), trackerd immediately segfaults on
start for me :-/

Backtrace is attached.

Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
(gdb) bt full 
#0  0x08079840 in SN_set_current (z=0x41, size=11, s=0x817ce78 "application") at runtime/api.c:78
err = 11
#1  0x08079693 in sb_stemmer_stem (stemmer=0x80a34d8, word=0x817ce78 "application", size=11)
at libstemmer/libstemmer.c:90
ret = 
#2  0x08073b17 in tracker_stem (word=0x817ce78 "application", word_length=11) at tracker-stemmer.c:35
No locals.
#3  0x08054fcd in analyze_text (text=, index_word=0xb77570f8, filter_words=0, 
delimit_hyphen=0) at tracker-parser.c:330
str = 0x817ad00 ""
tmp = 0x817ce78 "application"
len = 134797384
utf8 = 0x817ce30 ""
word = {97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 3083821344, 4, 3083816948, 0, 4, 
  3077926968, 3082940774, 4, 3083821392, 3083720416, 3082926561, 3077926920, 3083821392, 24, 
  3083821356, 3083821392, 0, 134874224, 3081851816, 3083835416, 3083821392, 257526709, 3086036980, 
  3086038624, 3082425448, 0, 4, 3077927016, 3082034571, 0, 0, 3077927032, 3082119251, 134862520, 
  3085976332, 3086039064, 3082425448, 135766016, 3077927160, 3077927048, 3082425448, 135766016, 
  135766016, 3077927064, 3082120102, 135766016, 4294967295, 134797384, 1, 3082425448, 1, 3077927096, 
  3082120915}
c = 
do_strip = 0
length = 
bytes = 11
word_type = WORD_ALPHA
is_valid = 1
p = 0x8179cab ""
start = 0x8179ca0 "Application"
#4  0x080553f8 in tracker_parse_text_to_string (txt=0x8179ca0 "Application", filter_words=0, delimit=0)
at tracker-parser.c:419
str = (GString *) 0x817a000
p = 0x8179ca0 "Application"
word = 0x0
i = 
#5  0x0805c740 in tracker_db_insert_embedded_metadata (db_con=0x8157dc0, 
service=0x808903f "Applications", id=0x81790e0 "538017", key=0x808c66f "App:Categories", 
values=0x8179cf0, length=1, table=0x80d9a00) at tracker-db-sqlite.c:2968
mvalue = 0x808c66f "App:Categories"
key_field = 0
i = 0
def = (FieldDef *) 0x80d0200
__PRETTY_FUNCTION__ = "tracker_db_insert_embedded_metadata"
#6  0x08061af2 in save_meta_table_data (mtype=0x808c66f, value=0x809e758, user_data=0xb77571e4)
at tracker-db.c:255
array = (char **) 0x8179cf0
#7  0xb7b2da66 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#8  0x0806135f in tracker_db_save_metadata (db_con=0x8157dc0, table=0x809f1c0, index_table=0x80d9a00, 
service=0x808903f "Applications", file_id=538017, new_file=1) at tracker-db.c:281
db_action = {db_con = 0x8157dc0, file_id = 0x81790e0 "538017", 
  service = 0x808903f "Applications", table = 0x80d9a00}
__PRETTY_FUNCTION__ = "tracker_db_save_metadata"
#9  0x08061785 in tracker_db_index_service (db_con=0x80cf7e8, info=0x8176ed8, 
service=0x808903f "Applications", meta_table=0x809f1c0, attachment_uri=0x0, 
attachment_service=0x0, get_embedded=1, get_full_text=0, get_thumbs=0) at tracker-db.c:780
row = 
k = 
name = 
path = 
result_set = 
str_file_id = 0x8179a18 "0"
uri = 0x8176ad8 "/home/michael/.local/share/applications/so7template.desktop"
index_table = (GHashTable *) 0x80d9a00
old_table = (GHashTable *) 0x0
#10 0x08060636 in tracker_db_index_application (db_con=0x80cf7e8, info=0x8176ed8) at tracker-apps.c:197
meta_table = (GHashTable *) 0x809f1c0
error = (GError *) 0x0
key_file = (GKeyFile *) 0x8172730
type = (gchar *) 0x8175b10 "Application"
desktop_entry = "Desktop Entry"
mimes = (char **) 0x0
categories = (char **) 0x8179a28
locale_array = 
#11 0x080522df in process_files_thread () at trackerd.c:759
res = 
k = 
signal_set = {__val = {2147483647, 4294967294, 4294967295 }}
db_con = (DBConnection *) 0x80cf7e8
blob_db_con = (DBConnection *) 0x812f118
emails_db_con = (DBConnection *) 0x8132868
common_db_con = 
file_index_db_con = 
email_index_db_con = 
moved_from_list = (GSList *) 0x0
pushed_events = 0
#12 0xb7b5864f in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x in ?? ()
No symbol table info available.

___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Many fixes

2007-07-21 Thread jamie
On Sun, 2007-07-22 at 02:53 +0200, Laurent Aguerreche wrote:
> Le dimanche 22 juillet 2007 à 01:39 +0100, jamie a écrit :
> > On Sun, 2007-07-22 at 02:12 +0200, Laurent Aguerreche wrote:
> > > Hello,
> > > 
> > > I propose a patch to fix a bunch of things:
> > > 
> > > 
> > >   * Not-named email attachments are not ignored anymore
> > > Some inlined email attachment do not have a name so I propose to use
> > > name of their corresponding mail-part.
> > > 
> > >   * Fixed removing of saved email attachments from spam emails in
> > > Tracker's TMP dir
> > > Yes, email attachments from spam were not removed in /tmp/Tracker[...].
> > > 
> > >   * Fixed message "saved email attachment..."
> > > When I call this function I never know URI of related email so I won't
> > > try to display it there anymore. Furthermore URI is displayed right
> > > after in a debug output...
> > > 
> > >   * Added "tracker->email_attachements_dir" variable
> > > This way it is not necessary to have numerous g_build_filename() to make
> > > path where to store email attachments.
> > > 
> > >   * Added email_make_tmp_name_for_mail_attachment() function
> > > This function adds a random number at the beginning of any email
> > > attachment name to *try* to avoid name collisions in /tmp/Tracker[...].
> > > 
> > >   * Added tracker_is_empty_string() function
> > > To avoid things like "if (strlen(string)==0) {...}"...
> > > And another thing: to test if a slist is empty or not, we just have to
> > > test whether its variable is NULL or not so WE MUST AVOID things like
> > > "if (g_slist_length(list)==0) {...}" because length of a slist is
> > > retrieved by counting EACH element.
> > > 
> > >   * Fixed SEGFAULT when SIGTERM is sent to Tracker while emails are being
> > > indexed
> > > "tracker->dir_list" was not set to NULL after a call to g_slist_free().
> > > 
> > >   * Fixed heuristics to detect a text file
> > > We were only reading a few bytes at the beginning of a file... So some
> > > binary files which stores characters at their top to be identified were
> > > incorrectly identified as text files.
> > > 
> > >   * Fixed calls to pango_get_log_attrs()
> > > There is a difference between "number of bytes" and "number of
> > > characters" with UTF8.
> > > So no more "pango_get_log_attrs: attrs_len should have been at least
> > > [...]" messages now.
> > > 
> > >   * Unified error messages formats
> > > I tried to correctly use tracker_error() and tracker_log()...
> > > 
> > > 
> > > 
> > > Can I commit?
> > 
> > everything except :
> > 
> > 1)changes to text file detection - Im not sure how you have improved it?
> > 
> > Also I copied the code from gnome vfs which we know works so I would
> > like to keep it as is especially as im about to release
> 
> "is_utf8()" is not modified.
> 
> In "is_text_file()", it was
>buffer_length = fread (buffer, 4096, 1, f);
> so we read one element of 4096 bytes and buffer_length was valued to
> one. So, after, we were only reading one byte and test whether it was a
> correct UTF8 character or not.

yeah you are right it should be fread (buffer, 1 4096, f) - can you
change pls and apply

> Question: is an empty file a text file?

dunno



___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Delaying 0.6 to this weekend

2007-07-21 Thread Michael Biebl
2007/7/19, jamie <[EMAIL PROTECTED]>:
> its 99% done but needs more testing

Just spotted another issue in tracker-preferences (r692):
I had InitialSleep=45 in tracker.cfg, but t-p resets it to 10 secs. It
seems as if you are not able to select a higher value than 10 secs in
t-p.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Many fixes

2007-07-21 Thread Laurent Aguerreche
Le dimanche 22 juillet 2007 à 01:39 +0100, jamie a écrit :
> On Sun, 2007-07-22 at 02:12 +0200, Laurent Aguerreche wrote:
> > Hello,
> > 
> > I propose a patch to fix a bunch of things:
> > 
> > 
> > * Not-named email attachments are not ignored anymore
> > Some inlined email attachment do not have a name so I propose to use
> > name of their corresponding mail-part.
> > 
> > * Fixed removing of saved email attachments from spam emails in
> > Tracker's TMP dir
> > Yes, email attachments from spam were not removed in /tmp/Tracker[...].
> > 
> > * Fixed message "saved email attachment..."
> > When I call this function I never know URI of related email so I won't
> > try to display it there anymore. Furthermore URI is displayed right
> > after in a debug output...
> > 
> > * Added "tracker->email_attachements_dir" variable
> > This way it is not necessary to have numerous g_build_filename() to make
> > path where to store email attachments.
> > 
> > * Added email_make_tmp_name_for_mail_attachment() function
> > This function adds a random number at the beginning of any email
> > attachment name to *try* to avoid name collisions in /tmp/Tracker[...].
> > 
> > * Added tracker_is_empty_string() function
> > To avoid things like "if (strlen(string)==0) {...}"...
> > And another thing: to test if a slist is empty or not, we just have to
> > test whether its variable is NULL or not so WE MUST AVOID things like
> > "if (g_slist_length(list)==0) {...}" because length of a slist is
> > retrieved by counting EACH element.
> > 
> > * Fixed SEGFAULT when SIGTERM is sent to Tracker while emails are being
> > indexed
> > "tracker->dir_list" was not set to NULL after a call to g_slist_free().
> > 
> > * Fixed heuristics to detect a text file
> > We were only reading a few bytes at the beginning of a file... So some
> > binary files which stores characters at their top to be identified were
> > incorrectly identified as text files.
> > 
> > * Fixed calls to pango_get_log_attrs()
> > There is a difference between "number of bytes" and "number of
> > characters" with UTF8.
> > So no more "pango_get_log_attrs: attrs_len should have been at least
> > [...]" messages now.
> > 
> > * Unified error messages formats
> > I tried to correctly use tracker_error() and tracker_log()...
> > 
> > 
> > 
> > Can I commit?
> 
> everything except :
> 
> 1)changes to text file detection - Im not sure how you have improved it?
> 
> Also I copied the code from gnome vfs which we know works so I would
> like to keep it as is especially as im about to release

"is_utf8()" is not modified.

In "is_text_file()", it was
   buffer_length = fread (buffer, 4096, 1, f);
so we read one element of 4096 bytes and buffer_length was valued to
one. So, after, we were only reading one byte and test whether it was a
correct UTF8 character or not.

With
   buffer_length = fread (buffer, 1, 1024, f);
I read 1024 bytes and I ask to check that characters in those 1024 bytes
are in UTF8.

Question: is an empty file a text file?


> 
> 2) these changes to tracker-db-sqlite.c
> 
> @@ -2317,7 +2317,7 @@
>   while (fgets (buffer, 65565, file)) {
>   unsigned int buffer_length;
>  
> - buffer_length = strlen (buffer);
> + buffer_length = g_utf8_strlen (buffer, -1);
>  
>   if (buffer_length < 3) {
>   continue;
> @@ -2331,7 +2331,7 @@
>   continue;
>   }
>  
> - if ((strlen (value) < buffer_length)) {
> + if ((g_utf8_strlen (value, -1) < buffer_length)) {
>   g_free (value);
>   continue;   
>   }
> 
> 
> above is wrong - we use buffer_length for the utf8 validate call which
> needs size in bytes not utf8 chars
> 
> can you make sure none of the changes involving buffer_length get
> through pls
> 
> pls commit rest though - thx

Ok.


> jamie
> 
> 


signature.asc
Description: Ceci est une partie de message	numériquement signée
___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Many fixes

2007-07-21 Thread jamie
On Sun, 2007-07-22 at 02:12 +0200, Laurent Aguerreche wrote:
> Hello,
> 
> I propose a patch to fix a bunch of things:
> 
> 
>   * Not-named email attachments are not ignored anymore
> Some inlined email attachment do not have a name so I propose to use
> name of their corresponding mail-part.
> 
>   * Fixed removing of saved email attachments from spam emails in
> Tracker's TMP dir
> Yes, email attachments from spam were not removed in /tmp/Tracker[...].
> 
>   * Fixed message "saved email attachment..."
> When I call this function I never know URI of related email so I won't
> try to display it there anymore. Furthermore URI is displayed right
> after in a debug output...
> 
>   * Added "tracker->email_attachements_dir" variable
> This way it is not necessary to have numerous g_build_filename() to make
> path where to store email attachments.
> 
>   * Added email_make_tmp_name_for_mail_attachment() function
> This function adds a random number at the beginning of any email
> attachment name to *try* to avoid name collisions in /tmp/Tracker[...].
> 
>   * Added tracker_is_empty_string() function
> To avoid things like "if (strlen(string)==0) {...}"...
> And another thing: to test if a slist is empty or not, we just have to
> test whether its variable is NULL or not so WE MUST AVOID things like
> "if (g_slist_length(list)==0) {...}" because length of a slist is
> retrieved by counting EACH element.
> 
>   * Fixed SEGFAULT when SIGTERM is sent to Tracker while emails are being
> indexed
> "tracker->dir_list" was not set to NULL after a call to g_slist_free().
> 
>   * Fixed heuristics to detect a text file
> We were only reading a few bytes at the beginning of a file... So some
> binary files which stores characters at their top to be identified were
> incorrectly identified as text files.
> 
>   * Fixed calls to pango_get_log_attrs()
> There is a difference between "number of bytes" and "number of
> characters" with UTF8.
> So no more "pango_get_log_attrs: attrs_len should have been at least
> [...]" messages now.
> 
>   * Unified error messages formats
> I tried to correctly use tracker_error() and tracker_log()...
> 
> 
> 
> Can I commit?

everything except :

1)changes to text file detection - Im not sure how you have improved it?

Also I copied the code from gnome vfs which we know works so I would
like to keep it as is especially as im about to release


2) these changes to tracker-db-sqlite.c

@@ -2317,7 +2317,7 @@
while (fgets (buffer, 65565, file)) {
unsigned int buffer_length;
 
-   buffer_length = strlen (buffer);
+   buffer_length = g_utf8_strlen (buffer, -1);
 
if (buffer_length < 3) {
continue;
@@ -2331,7 +2331,7 @@
continue;
}
 
-   if ((strlen (value) < buffer_length)) {
+   if ((g_utf8_strlen (value, -1) < buffer_length)) {
g_free (value);
continue;   
}


above is wrong - we use buffer_length for the utf8 validate call which
needs size in bytes not utf8 chars

can you make sure none of the changes involving buffer_length get
through pls

pls commit rest though - thx

jamie


___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


[Tracker] Many fixes

2007-07-21 Thread Laurent Aguerreche
Hello,

I propose a patch to fix a bunch of things:


* Not-named email attachments are not ignored anymore
Some inlined email attachment do not have a name so I propose to use
name of their corresponding mail-part.

* Fixed removing of saved email attachments from spam emails in
Tracker's TMP dir
Yes, email attachments from spam were not removed in /tmp/Tracker[...].

* Fixed message "saved email attachment..."
When I call this function I never know URI of related email so I won't
try to display it there anymore. Furthermore URI is displayed right
after in a debug output...

* Added "tracker->email_attachements_dir" variable
This way it is not necessary to have numerous g_build_filename() to make
path where to store email attachments.

* Added email_make_tmp_name_for_mail_attachment() function
This function adds a random number at the beginning of any email
attachment name to *try* to avoid name collisions in /tmp/Tracker[...].

* Added tracker_is_empty_string() function
To avoid things like "if (strlen(string)==0) {...}"...
And another thing: to test if a slist is empty or not, we just have to
test whether its variable is NULL or not so WE MUST AVOID things like
"if (g_slist_length(list)==0) {...}" because length of a slist is
retrieved by counting EACH element.

* Fixed SEGFAULT when SIGTERM is sent to Tracker while emails are being
indexed
"tracker->dir_list" was not set to NULL after a call to g_slist_free().

* Fixed heuristics to detect a text file
We were only reading a few bytes at the beginning of a file... So some
binary files which stores characters at their top to be identified were
incorrectly identified as text files.

* Fixed calls to pango_get_log_attrs()
There is a difference between "number of bytes" and "number of
characters" with UTF8.
So no more "pango_get_log_attrs: attrs_len should have been at least
[...]" messages now.

* Unified error messages formats
I tried to correctly use tracker_error() and tracker_log()...



Can I commit?


Laurent.



many-fixes.diff.tar.gz
Description: application/compressed-tar


signature.asc
Description: Ceci est une partie de message	numériquement signée
___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] manpages

2007-07-21 Thread jamie
On Sat, 2007-07-21 at 15:05 +0200, Marcus Fritzsch wrote:
> On 7/20/07, Marcus Fritzsch <[EMAIL PROTECTED]> wrote:
> > Hi again,
> >
> > ok, lots of an pages, including tracker-status(1) and tracker.cfg(5).
> > I hope they are usable/not too bad. I also added the new ones to the
> > install target in docs/Makefile.am.
> 
> Made mistakes and missed them when re-reading. Here's the patch.
> 

thx applied


___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] manpages

2007-07-21 Thread jamie
On Fri, 2007-07-20 at 16:12 +0200, Marcus Fritzsch wrote:
> Hi again,
> 
> ok, lots of an pages, including tracker-status(1) and tracker.cfg(5).
> I hope they are usable/not too bad. I also added the new ones to the
> install target in docs/Makefile.am.

great - they look fine

thx v.much


___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] [PATCH] Updated es translation

2007-07-21 Thread jamie
On Fri, 2007-07-20 at 11:07 +0200, jon latorre wrote:
> Hi,
> 
> First patch, so excuse my if something is wrong :)
> 
looks fine (but I dont speak spanish)

applied


___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Delaying 0.6 to this weekend

2007-07-21 Thread jamie
On Thu, 2007-07-19 at 19:28 +0200, Michael Biebl wrote:
> 2007/7/19, jamie <[EMAIL PROTECTED]>:
> > its 99% done but needs more testing
> >
> > only things left are to clean up the prefs screen, fix key date formats
> > and add empathy log viewer
> 
> Shouldn't  we ping the translators to get their translations ready for
> the weekend?
> 
> Or will "cleaning up the prefs screen", change any visible strings?
> 

I am still changing things so it might involve adding a few things

by sunday night it should be frozen ready for release monday night
(hopefully 24 hrs is enough time for you lot)


___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] [PATCH] wrong report

2007-07-21 Thread jamie
On Thu, 2007-07-19 at 12:28 +0200, Tshepang Lekhonkhobe wrote:
> Hi,
> The logs don't indicate if we actually slept 5 seconds.
> 

I changed this so that the log shows no of secs


___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Updated GUI

2007-07-21 Thread jamie
On Thu, 2007-07-19 at 09:14 +0200, Tshepang Lekhonkhobe wrote:
> On 7/13/07, jamie <[EMAIL PROTECTED]> wrote:
> > Have now updated the GUI to use a sidebar instead of tabs
> >
> > There are still a few things left to do before releasing 0.6 :
> 
> [snip]
> > 5) show everything in a service at starup or when search term field is
> > blank
> 
> I don't understand. Does this mean all indexed results will be shown?
> 

have not decided yet - showing all results might be better suited to a
file manager



___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] [PATCH] updated Russian translation

2007-07-21 Thread jamie
On Wed, 2007-07-18 at 23:35 -0400, Alexandre Rostovtsev wrote:
> I've updated ru.po to match svn's strings. Attached in gzip-compressed
> form because mailman doesn't like large attachments.


applied thx


___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] [PATCH] fix tracker preferences, to use InitialSleep as initially intended

2007-07-21 Thread jamie
On Sun, 2007-07-22 at 00:39 +0200, Marcus Fritzsch wrote:
> Hi,
> 
> when sending the patch for initial sleep support to tracker.cfg I
> intended to put InitialSleep inside the General section - well, sorry,
> i missed it by some lines - Tshepang Lekhonkhobe found this and fixed
> it with one of his latest patches.
> 
> This patch fixes tracker-preferences to use the General section of 
> tracker.cfg.

I have already fixed this in latest svn

thx anyway


___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] [PATCH] initial_sleep bugfix

2007-07-21 Thread jamie
On Thu, 2007-07-19 at 11:02 +0200, Tshepang Lekhonkhobe wrote:
> Hi,
> 
> trackerd didn't honour InitialSleep value in tracker.cfg since it was
> listed under a wrong category. That was until now...
> 

applied and fixed tracker-prefs's cfg file creation routine too

thx




___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


[Tracker] [PATCH] fix tracker preferences, to use InitialSleep as initially intended

2007-07-21 Thread Marcus Fritzsch

Hi,

when sending the patch for initial sleep support to tracker.cfg I
intended to put InitialSleep inside the General section - well, sorry,
i missed it by some lines - Tshepang Lekhonkhobe found this and fixed
it with one of his latest patches.

This patch fixes tracker-preferences to use the General section of tracker.cfg.

Kind regards, Marcus
diff --git a/src/tracker-preferences/tracker-preferences.c b/src/tracker-preferences/tracker-preferences.c
index 270e43a..cbfc809 100644
--- a/src/tracker-preferences/tracker-preferences.c
+++ b/src/tracker-preferences/tracker-preferences.c
@@ -142,7 +142,7 @@ setup_page_general (TrackerPreferences * preferences)
 
 
 widget = glade_xml_get_widget (priv->gxml, "spnInitialSleep");
-sleep = tracker_configuration_get_int (configuration,"/Watches/InitialSleep",NULL);
+sleep = tracker_configuration_get_int (configuration,"/General/InitialSleep",NULL);
 gtk_spin_button_set_value(GTK_SPIN_BUTTON(widget),sleep);
  
 
@@ -401,7 +401,7 @@ cmdClose_Clicked (GtkWidget * widget, gpointer data)
 
 widget = glade_xml_get_widget (priv->gxml, "spnInitialSleep");
 gint sleep = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget));
-tracker_configuration_set_int(configuration,"/Watches/InitialSleep",sleep);
+tracker_configuration_set_int(configuration,"/General/InitialSleep",sleep);
 
 	widget = glade_xml_get_widget (priv->gxml, "chkIndexFileContents");
 	value = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget));
___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Delaying 0.6 to this weekend

2007-07-21 Thread Jeff


> did you do a make clean?

Nope, not initially. Now I just tested (after restoring the dbus
tracker.service to /usr/bin/trackerd), and after a make clean, it works
properly. Good!
___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] manpages

2007-07-21 Thread Marcus Fritzsch

On 7/20/07, Marcus Fritzsch <[EMAIL PROTECTED]> wrote:

Hi again,

ok, lots of an pages, including tracker-status(1) and tracker.cfg(5).
I hope they are usable/not too bad. I also added the new ones to the
install target in docs/Makefile.am.


Made mistakes and missed them when re-reading. Here's the patch.

Marcus
diff --git a/docs/tracker-query.1 b/docs/tracker-query.1
index 9cd5c97..16a811f 100644
--- a/docs/tracker-query.1
+++ b/docs/tracker-query.1
@@ -19,13 +19,13 @@ Show a brief help message.
 
 .TP
 \-s, --service=ServiceName
-Search for files from a specific service. ServiceName has to be one of Documents,
-Emails, Attachments, Music, Images, Videos, Text or Development. For more inforation
-on Services see tracker-search(1).
+Search for files from a specific service. ServiceName has to be one
+of Documents, Emails, Attachments, Music, Images, Videos, Text or
+Development. For more information on Services see tracker-search(1).
 
 .TP
 \-t, --search-term=SerchTerm
-Adds a fulltext search filter to the query.
+Adds a full text search filter to the query.
 
 .TP
 \-k, --keyword=Keyword
diff --git a/docs/tracker-search-tool.1 b/docs/tracker-search-tool.1
index 145157d..1c4d6cd 100644
--- a/docs/tracker-search-tool.1
+++ b/docs/tracker-search-tool.1
@@ -8,7 +8,7 @@ tracker-search-tool \- Gnome Tracker Search Tool
 
 .SH DESCRIPTION
 .B tracker-search-tool 
-is a graphical search frontend for Gnome.
+is a graphical search front end for Gnome.
 It uses 
 .B trackerd
 to get instant search results.
diff --git a/docs/tracker-search.1 b/docs/tracker-search.1
index 6e712bd..28f032a 100644
--- a/docs/tracker-search.1
+++ b/docs/tracker-search.1
@@ -52,7 +52,7 @@ Videos
 Search for video files.
 .TP
 Text
-Search for textfiles, like word processing files, but e.g. not
+Search for text files, like word processing files, but e.g. not
 spreadsheets.
 .TP
 Development
diff --git a/docs/tracker.cfg.5 b/docs/tracker.cfg.5
index 29995bb..2365812 100644
--- a/docs/tracker.cfg.5
+++ b/docs/tracker.cfg.5
@@ -10,7 +10,7 @@ The file is organized in sections, each section having a number of
 related options.
 .SS Comments
 Empty lines and those starting with ; or # are ignored.
-.SS value tyopes
+.SS Value Types
 .TP
 VALUE
 Denotes a positive integer.
@@ -53,7 +53,7 @@ Show debugging output, enable this only if you know what you are doing.
 .RE
 .TP
 LowMemoryMode=BOOLEAN
-Enables low memorry mode. Tracker may be slightly less fast at
+Enables low memory mode. Tracker may be slightly less fast at
 indexing/search but also needs less system memory.
 .TP
 InitialSleep=VALUE
@@ -132,7 +132,7 @@ nb
 Norwegian
 .TP
 pt
-Portugese
+Portuguese
 .TP
 ru
 Russian
diff --git a/docs/trackerd.1 b/docs/trackerd.1
index e2407c2..e9c1953 100644
--- a/docs/trackerd.1
+++ b/docs/trackerd.1
@@ -67,7 +67,7 @@ code).
 
 .TP
 \-R, --reindex
-This forces trackerd to reindex all watched files and directories.
+This forces trackerd to re-index all watched files and directories.
 Since every watched directory and any previously indexed file has to be
 read and processed again, this may degrade the whole system performance,
 see also --throttle.
___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Delaying 0.6 to this weekend

2007-07-21 Thread jamie
On Sat, 2007-07-21 at 08:39 -0400, Jeff wrote:
> 
> > check the dbus service file tracker.service
> > in /usr/share/dbus-1/services
> > 
> > this file is installed with tracker when you do make install (see
> > makfefile in tracker/data and tracker.service.in)
> Thanks, just letting you know that
> modifiying /usr/share/dbus-1/services/tracker.service worked. Strange
> that it was not done automatically at compile time.

did you do a make clean?


___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Delaying 0.6 to this weekend

2007-07-21 Thread Jeff


> check the dbus service file tracker.service
> in /usr/share/dbus-1/services
> 
> this file is installed with tracker when you do make install (see
> makfefile in tracker/data and tracker.service.in)

Thanks, just letting you know that
modifiying /usr/share/dbus-1/services/tracker.service worked. Strange
that it was not done automatically at compile time.
___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list


Re: [Tracker] Delaying 0.6 to this weekend

2007-07-21 Thread jamie
On Fri, 2007-07-20 at 21:09 -0400, Jeff wrote:
> Hey jamie, updated to today's svn from 667, and now it crashes when
> trying to use T-S-T or tracker-search.
> 
> I have the svn version compiled to a local folder, using
> prefix=/home/jeff/trunks/trackercompile. It used to work fine, but now
> if I use tracker-search (by
> doing ./home/jeff/trunks/trackercompile/bin/tracker-search passion),
> it will spit an internal error (in the case of t-s-t, it will simply
> disappear in a scary way):
> internal Tracker error: Failed to execute program /usr/bin/trackerd:
> No such file or directory
> 
> 
> Just checking, you haven't hardcoded some paths lately by any chance?


check the dbus service file tracker.service
in /usr/share/dbus-1/services

this file is installed with tracker when you do make install (see
makfefile in tracker/data and tracker.service.in)




___
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list