Reported by Thomas Keller, Feb 26, 2008
(This entry was imported from the savannah tracker, original location: https://savannah.nongnu.org/bugs/index.php?22417) Steps to reproduce (assuming you have a copy of a mtn db laying around): $ mtn co -d monotone.mtn net.venge.monotone mtn $ cd mtn $ chmod 100 NEWS $ mtn status mtn: fatal: Botan::Stream_IO_Error: Botan: I/O error: DataSource_Stream: Failure opening NEWS mtn: this is almost certainly a bug in monotone. mtn: please send this error message, the output of 'mtn version --full', mtn: and a description of what you were doing to firstname.lastname@example.org. mtn: wrote debugging log to /Users/tommyd/mtn/_MTN/debug mtn: if reporting a bug, please include this file We certainly should just ignore unreadable files in the workspace and print out a warning at most. monotone version: ----------------- monotone 0.38 (Basis-Revision: c1757f6cde49bddd77c82580059105bc470145b2) Laufe auf : Darwin 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 C++-Compiler : GNU C++ version 4.0.1 (Apple Inc. build 5465) C++-Standard-Bibliothek: GNU libstdc++ version 20050421 Boost-Version : 1_34 "Anderungen seit der Basis-Revision: format_version "1" new_manifest [085f4d04a0bbbc06b44cf6194ca9c2079f924cdd] old_revision [c1757f6cde49bddd77c82580059105bc470145b2]
Comment 1 by Unknown User, May 9, 2010
Monotone currently also fails for missing files which are somewhat similar to unreadable files. Perhaps we should still fail but with a nicer message rather than a hard crash.
Sign in to reply to this comment.