Beagle 0.2.14 not correctly handling BZIP2 files?



All,
I'm testing 0.2.14, and came accross errors in the index log.  As a little test, please see the transcript below:

dave beaglebox:/raid/TEST_ARCHIVE/t> echo "this is a test" >file.txt
dave beaglebox :/raid/TEST_ARCHIVE/t> beagle-extract-content file.txt
Filename: file:///raid/TEST_ARCHIVE/t/file.txt
Debug: Loaded 53 filters from /usr/local/lib/beagle/Filters/Filters.dll
Filter: Beagle.Filters.FilterText
MimeType: text/plain

Properties:
  Timestamp = 2006-12-22 01:21:14 +00:00

Content:
this is a test

(no hot content)


---------

dave beaglebox :/raid/TEST_ARCHIVE/t> bzip2 file.txt
dave beaglebox:/raid/TEST_ARCHIVE/t> beagle-extract-content file.txt.bz2
Filename: file:///raid/TEST_ARCHIVE/t/file.txt.bz2
Debug: Loaded 53 filters from /usr/local/lib/beagle/Filters/Filters.dll
Warn: Unable to filter /raid/TEST_ARCHIVE/t/file.txt.bz2:
ICSharpCode.SharpZipLib.BZip2.BZip2Exception: BZip2 input stream bad block header
in <0x00024> ICSharpCode.SharpZipLib.BZip2.BZip2InputStream:BadBlockHeader ()
in <0x00112> ICSharpCode.SharpZipLib.BZip2.BZip2InputStream:InitBlock ()
in <0x000a9> ICSharpCode.SharpZipLib.BZip2.BZip2InputStream:SetupNoRandPartA ()
in <0x00028> ICSharpCode.SharpZipLib.BZip2.BZip2InputStream:SetupNoRandPartB ()
in <0x00061> ICSharpCode.SharpZipLib.BZip2.BZip2InputStream:ReadByte ()
in <0x00015> ICSharpCode.SharpZipLib.BZip2.BZip2InputStream:Read (System.Byte[] b, Int32 offset, Int32 count)
in [0x0003a] (at /home/dave/src/beagle-0.2.14/Filters/FilterArchive.cs:178) Beagle.Filters.FilterArchive:StoreStreamInTempFile (System.IO.Stream stream, DateTime mtime)
in [0x00047] (at /home/dave/src/beagle-0.2.14/Filters/FilterArchive.cs:250) Beagle.Filters.FilterArchive:GetNextEntrySingle ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_FilterArchive/ArchiveEntry ()
in [0x0014f] (at /home/dave/src/beagle-0.2.14/Filters/FilterArchive.cs:150) Beagle.Filters.FilterArchive:DoPullSetup ()
in [0x000eb] (at /home/dave/src/beagle-0.2.14/beagled/Filter.cs:545) Beagle.Daemon.Filter:Open (System.IO.FileSystemInfo info)
No filter for application/x-bzip



dave beaglebox:/raid/TEST_ARCHIVE> bzip2 --version
bzip2, a block-sorting file compressor.  Version 1.0.3, 15-Feb-2005.

<snip>

dave beaglebox :/raid/TEST_ARCHIVE> mcs --version
Mono C# compiler version 1.1.13.7



Could my distro or mono installation be incompatible with the latest release?  Where could I find a list of package prerequesites?
I did see a note in the NEWS file thus:

* Build against Mono's included SharpZipLib 0.84, instead of the older
  0.60 version.  (Joe)

Could my build have picked up the wrong version?

Any ideas?  Looks like beagle is close to be being perfect for my needs - just need to fix this :)

Regards,

Dave.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]