Now I run bzr qlog and open diff window at top log record.
In diff window I select "View Options/left side encoding/cp1251" (because source has cp1251 text) and got error with this crash log:
======
bzr: ERROR: bzrlib.errors.ReadOnlyError: A write attempt was made in a read only transaction on CHKInventoryRepository('file:///home/cetus/Projects/ksu-tests/Ksu_Ra-3.x.bzr/.bzr/repository/')
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/encoding_selector.py", line 182, in triggered
self._encodingChanged(encoding)
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/encoding_selector.py", line 73, in _encodingChanged
self.onChanged(encoding)
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 313, in on_left_encoding_changed
get_set_encoding(encoding, self.branches[0])
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/util.py", line 640, in get_set_encoding
branch.get_config().set_user_option("encoding", encoding)
File "/usr/lib/python2.7/site-packages/bzrlib/config.py", line 1450, in set_user_option
self._get_branch_data_config().set_option(value, name)
File "/usr/lib/python2.7/site-packages/bzrlib/config.py", line 1753, in set_option
self.branch.lock_write()
File "/usr/lib/python2.7/site-packages/bzrlib/branch.py", line 2523, in lock_write
self.repository.lock_write()
File "/usr/lib/python2.7/site-packages/bzrlib/repofmt/pack_repo.py", line 1771, in lock_write
raise errors.ReadOnlyError(self)
ReadOnlyError: A write attempt was made in a read only transaction on CHKInventoryRepository('file:///home/cetus/Projects/ksu-tests/Ksu_Ra-3.x.bzr/.bzr/repository/')
bzr 2.5.0 on python 2.7.3 (linux2)
arguments: ['/usr/bin/bzr', 'qlog']
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'ru_RU.UTF-8'
plugins:
bash_completion /usr/lib/python2.7/site-packages/bzrlib/plugins/bash_completion [2.5.0]
bzrtools /usr/lib/python2.7/site-packages/bzrlib/plugins/bzrtools [2.5.0]
changelog_merge /usr/lib/python2.7/site-packages/bzrlib/plugins/changelog_merge [2.5.0]
cvsps_import /home/cetus/.bazaar/plugins/cvsps_import [unknown]
fastimport /usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport [0.13.0]
gtk /usr/lib/python2.7/site-packages/bzrlib/plugins/gtk [0.100.0]
launchpad /usr/lib/python2.7/site-packages/bzrlib/plugins/launchpad [2.5.0]
netrc_credential_store /usr/lib/python2.7/site-packages/bzrlib/plugins/netrc_credential_store [2.5.0]
news_merge /usr/lib/python2.7/site-packages/bzrlib/plugins/news_merge [2.5.0]
po_merge /usr/lib/python2.7/site-packages/bzrlib/plugins/po_merge [2.5.0]
qbzr /usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr [0.22.2]
rewrite /usr/lib/python2.7/site-packages/bzrlib/plugins/rewrite [0.6.3]
svn /usr/lib/python2.7/site-packages/bzrlib/plugins/svn [1.2.1]
weave_fmt /usr/lib/python2.7/site-packages/bzrlib/plugins/weave_fmt [2.5.0]
========
Also, equivalence "bzr qdiff -r NNN" craches with:
========
bzr: ERROR: bzrlib.errors.ReadOnlyError: A write attempt was made in a read only transaction on LockableFiles(lock, file:///home/cetus/Projects/ksu-tests/Ksu_Ra-3.x.bzr/.bzr/branch/)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/encoding_selector.py", line 182, in triggered
self._encodingChanged(encoding)
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/encoding_selector.py", line 73, in _encodingChanged
self.onChanged(encoding)
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 313, in on_left_encoding_changed
get_set_encoding(encoding, self.branches[0])
File "/usr/lib/python2.7/site-packages/bzrlib/plugins/qbzr/lib/util.py", line 640, in get_set_encoding
branch.get_config().set_user_option("encoding", encoding)
File "/usr/lib/python2.7/site-packages/bzrlib/config.py", line 1450, in set_user_option
self._get_branch_data_config().set_option(value, name)
File "/usr/lib/python2.7/site-packages/bzrlib/config.py", line 1753, in set_option
self.branch.lock_write()
File "/usr/lib/python2.7/site-packages/bzrlib/branch.py", line 2529, in lock_write
self.control_files.lock_write(token=token))
File "/usr/lib/python2.7/site-packages/bzrlib/lockable_files.py", line 159, in lock_write
raise errors.ReadOnlyError(self)
ReadOnlyError: A write attempt was made in a read only transaction on LockableFiles(lock, file:///home/cetus/Projects/ksu-tests/Ksu_Ra-3.x.bzr/.bzr/branch/)
bzr 2.5.0 on python 2.7.3 (linux2)
arguments: ['/usr/bin/bzr', 'qdiff', '-r', '440']
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'ru_RU.UTF-8'
...
======
I wonder why did you get Read Only error. Is it possible that your branch/repository is marked read-only or reside on read-only filesystem?