Best way of using Beagle to index data CDs

2007-10-17 Thread Nikolai Weibull
Please direct me to the right mailing list if this isn't the appropriate one for things like this. There doesn't seem to be a dashboard-users mailing list. I would like to use Beagle to index my data CDs. I figured that static indexes was the way to go, but I haven't quite determined the best

System.InvalidOperationException: Invalid connection string

2007-10-17 Thread Brian J. Murrell
Found /home full this morning to discover that my beagle and beagle exceptions logs are quite large. Seems this exception is repeated over and over again in the beagle log: 20071017 02:10:59.9880 21702 Beagle WARN EX: Caught exception in DoTaskReal 20071017 02:10:59.9880 21702 Beagle WARN EX

Re: System.InvalidOperationException: Invalid connection string

2007-10-17 Thread D Bera
Found /home full this morning to discover that my beagle and beagle exceptions logs are quite large. Seems this exception is repeated over and over again in the beagle log: 20071017 02:10:59.9880 21702 Beagle WARN EX: System.InvalidOperationException: Invalid connection string

Re: System.InvalidOperationException: Invalid connection string

2007-10-17 Thread Brian J. Murrell
On Wed, 2007-10-17 at 07:55 -0400, D Bera wrote: By any chance are the .beagle/Indexes/EvolutionMail/Summary*.db files sqlite2 files and currently you have sqlite3 on your machine ? And which version of beagle ? Nope. They all report as being SQLite 3.x database, such as: $ file

Re: System.InvalidOperationException: Invalid connection string

2007-10-17 Thread Joe Shaw
Hi, On 10/17/07, Brian J. Murrell [EMAIL PROTECTED] wrote: Nope. They all report as being SQLite 3.x database, such as: $ file ~/.beagle/Indexes/EvolutionMailIndex/SummaryTracker-*.db ... /home/brian/.beagle/Indexes/EvolutionMailIndex/[EMAIL PROTECTED]:

Re: System.InvalidOperationException: Invalid connection string

2007-10-17 Thread D Bera
Can you attach a list of all of the *.db files in that directory? I suspect there is a character in there that is causing sqlite some trouble, and it's probably related to your folder renaming, yes. Right ... how did I miss this :( Its not ApplicationException but InvalidOperation.

Re: System.InvalidOperationException: Invalid connection string

2007-10-17 Thread Brian J. Murrell
On Wed, 2007-10-17 at 08:51 -0400, D Bera wrote: Right ... how did I miss this :( Its not ApplicationException but InvalidOperation. Something wrong in the file names. /home/brian/.beagle/Indexes/EvolutionMailIndex/[EMAIL PROTECTED]:list.db: SQLite 3.x database

How does beagle get stopped?

2007-10-17 Thread Max Wiehle
Hi, I am currently working on beagle++ and for us it's quite crucial to shut down beagled cleanly and then shut down the rdf repository as well. I did write a shell script that does just that if beagle is terminated, shut down with beagle-shutdown or a TERM or INT signal is send to the script.

Re: Best way of using Beagle to index data CDs

2007-10-17 Thread Nikolai Weibull
On 10/17/07, Kevin Kubasik [EMAIL PROTECTED] wrote: The basic principle of a static index for a CD isn't out of the ballpark, the plan for handling removable drives is pretty much just that (although eventually we might want to integrate the indexes to save space/query time) While hundreds of

Re: Best way of using Beagle to index data CDs

2007-10-17 Thread D Bera
Hi Nikolai, Please direct me to the right mailing list if this isn't the appropriate one for things like this. There doesn't seem to be a dashboard-users mailing list. This is the right place. Welcome aboard. I would like to use Beagle to index my data CDs. I figured that static indexes

Re: Best way of using Beagle to index data CDs

2007-10-17 Thread D Bera
There's also the --tag switch, which one could use for this, I suppose. However, it's not searched. Ahh... this was meant to be added, but missed. Add this line in StaticQueryable.cs (after the other PropertyKeywordMapping): [PropertyKeywordMapping (Keyword=tag, PropertyName=Tag,

Re: Best way of using Beagle to index data CDs

2007-10-17 Thread Kevin Kubasik
is there a good reason not to check said mapping into SVN? On 10/17/07, D Bera [EMAIL PROTECTED] wrote: There's also the --tag switch, which one could use for this, I suppose. However, it's not searched. Ahh... this was meant to be added, but missed. Add this line in StaticQueryable.cs

Re: Best way of using Beagle to index data CDs

2007-10-17 Thread Debajyoti Bera
is there a good reason not to check said mapping into SVN? Is laziness a good enough reason :) ? Also, Tag has no namespace and its should be used for naming, so it should be something like beagle:IndexName. -- - Debajyoti Bera @

Re: Best way of using Beagle to index data CDs

2007-10-17 Thread Kevin Kubasik
Hehehe, works ;) I'll add it to my little 'todo when comcast un-sucks' list. On 10/17/07, Debajyoti Bera [EMAIL PROTECTED] wrote: is there a good reason not to check said mapping into SVN? Is laziness a good enough reason :) ? Also, Tag has no namespace and its should be used for naming, so

Re: Beagle-query and dates

2007-10-17 Thread Joe Shaw
filing a bug in bugzilla or sending a patch. ;) Beagle does support date queries, though. So if you knew the date, you could programmatically construct the extra query parameter, which would be something like: date:20071017 Check out the wiki for more info: http://beagle-project.org

Re: System.InvalidOperationException: Invalid connection string

2007-10-17 Thread Joe Shaw
Hi, On 10/17/07, D Bera [EMAIL PROTECTED] wrote: Well that was just a guess. Joe would know better. We'll have to test those characters. Could very well be the colon, but I have no idea offhand. We already protect against forward slashes and commas. Joe

Re: Beagle-query and dates

2007-10-17 Thread D Bera
Beagle does support date queries, though. So if you knew the date, you could programmatically construct the extra query parameter, which would be something like: date:20071017 It was added post 0.2.16 which unfortunately means its only in the svn trunk and not in 0.2.16.x, 0.2.17

Re: System.InvalidOperationException: Invalid connection string

2007-10-17 Thread D Bera
We'll have to test those characters. Could very well be the colon, but I have no idea offhand. We already protect against forward slashes and commas. Sqlite connection string has the format file:xxx. ... with lots of special colon e.g. URI=file::memory:,version=3

Re: System.InvalidOperationException: Invalid connection string

2007-10-17 Thread Brian J. Murrell
This is probably related. Now my beagle log is filling up with: 20071018 00:42:49.9363 09041 Beagle DEBUG: Unable to determine account name for [EMAIL PROTECTED]:993 Pressumably one for each of the bogus folders under /home/brian/.evolution/mail/imap/[EMAIL