Thanks for the advice. You are teaching me some new tricks:
bash-3.2$ bzr check
Checking working tree at 'file:///Users/dbmcclain/projects/lispworks/'.
Checking repository at 'file:///Users/dbmcclain/'.
checked repository <bzrlib.transport.local.LocalTransport url=file:///Users/dbmcclain/
> format <RepositoryFormatKnitPack1>
2344 revisions
17307 file-ids
24783 unique file texts
4693654 repeated file texts
0 unreferenced text versions
Checking branch at 'file:///Users/dbmcclain/projects/lispworks/'.
checked branch file:///Users/dbmcclain/projects/lispworks/ format
Branch format 6
On Aug 14, 2009, at 05:43 AM, Martin Pool wrote:
> 2009/8/14 dbmcclain <email address hidden>:
>> Hi Martin,
>>
>> There seems to be no problem... I reran the BZR commit just after
>> getting the error message both times, and it appears to be okay. I
>> retrieved the lastest commits to other machines just fine.
>
> I would recommend you run bzr check to make sure it's ok.
>
>> I wonder if we are running up against size boundaries in the code. I
>> understand that BZR is written in Python, which means C or C++... Not
>> quite the capabilities I have with my Lisp systems...
>
> I don't think that would cause us to see the file as truncated. It's
> possible (unlikely) we'd have problems around the 2gb file size, but
> it's unlikely the index file alone would be so big unless your
> repository is truly huge. (Can you check?)
>
> Based on this I would probably attribute it to an NFS or network
> glitch.
>
>
> --
> Martin <http://launchpad.net/~mbp/>
>
> --
> ShortReadvError on tix file
> https://bugs.launchpad.net/bugs/413430
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Bazaar Version Control System: Incomplete
>
> Bug description:
> bash-3.2$ bzr commit -m "Mach compiler improvements, Bfly recv takes
> an optional argument for the received message"
> Committing to: /Volumes/Repository/srv/bzr/Lispworks/
> modified Butterfly/Source/Keep-Alive.lisp
> modified Butterfly/Source/Standard-Server.lisp
> modified Butterfly/Source/bfly-mailbox.lisp
> modified Butterfly/Source/bfly-message.lisp
> modified Butterfly/Source/bfly-socket2.lisp
> modified Butterfly/Source/bfly-spawn.lisp
> modified Butterfly/Source/fru-replace-code.lisp
> modified Okeanos/lock-daemon.lisp
> modified Okeanos/remote-access.lisp
> modified tools/useful-macros/match-macro-ex-opt.lisp
> bzr: ERROR: bzrlib.errors.ShortReadvError: readv() read 268 bytes
> rather than 4096 bytes at 171764 for
> "d0580144782295bf6f36ded8f1415669.tix"
>
> Traceback (most recent call last):
> File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line
> 729, in exception_to_return_code
> return the_callable(*args, **kwargs)
> File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line
> 924, in run_bzr
> ret = run(*run_argv)
> File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line
> 560, in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/Library/Python/2.5/site-packages/bzrlib/builtins.py", line
> 2937, in run
> exclude=safe_relpath_files(tree, exclude))
> File "/Library/Python/2.5/site-packages/bzrlib/decorators.py", line
> 192, in write_locked
> result = unbound(self, *args, **kwargs)
> File "/Library/Python/2.5/site-packages/bzrlib/workingtree_4.py",
> line 226, in commit
> result = WorkingTree3.commit(self, message, revprops, *args,
> **kwargs)
> File "/Library/Python/2.5/site-packages/bzrlib/decorators.py", line
> 192, in write_locked
> result = unbound(self, *args, **kwargs)
> File "/Library/Python/2.5/site-packages/bzrlib/mutabletree.py",
> line 228, in commit
> *args, **kwargs)
> File "/Library/Python/2.5/site-packages/bzrlib/commit.py", line
> 397, in commit
> self.branch.repository, new_revno, self.rev_id)
> File "/Library/Python/2.5/site-packages/bzrlib/branch.py", line
> 821, in import_last_revision_info
> self.repository.fetch(source_repo, revision_id=revid)
> File "/Library/Python/2.5/site-packages/bzrlib/repository.py", line
> 1553, in fetch
> find_ghosts=find_ghosts, fetch_spec=fetch_spec)
> File "/Library/Python/2.5/site-packages/bzrlib/decorators.py", line
> 192, in write_locked
> result = unbound(self, *args, **kwargs)
> File "/Library/Python/2.5/site-packages/bzrlib/repository.py", line
> 3514, in fetch
> return self._pack(self.source, self.target, revision_ids)
> File "/Library/Python/2.5/site-packages/bzrlib/repository.py", line
> 3520, in _pack
> revision_ids).pack()
> File "/Library/Python/2.5/site-packages/bzrlib/repofmt/
> pack_repo.py", line 753, in pack
> return self._create_pack_from_packs()
> File "/Library/Python/2.5/site-packages/bzrlib/repofmt/
> pack_repo.py", line 943, in _create_pack_from_packs
> new_pack._check_references()
> File "/Library/Python/2.5/site-packages/bzrlib/repofmt/
> pack_repo.py", line 189, in _check_references
> index.iter_entries(external_refs))
> File "/Library/Python/2.5/site-packages/bzrlib/repofmt/
> pack_repo.py", line 188, in <genexpr>
> k for (idx, k, v, r) in
> File "/Library/Python/2.5/site-packages/bzrlib/index.py", line
> 1258, in iter_entries
> for node in index.iter_entries(keys):
> File "/Library/Python/2.5/site-packages/bzrlib/index.py", line 626,
> in iter_entries
> self._lookup_keys_via_location, self._size, keys))
> File "/Library/Python/2.5/site-packages/bzrlib/bisect_multi.py",
> line 50, in bisect_multi_bytes
> search_results = content_lookup(search_keys)
> File "/Library/Python/2.5/site-packages/bzrlib/index.py", line 769,
> in _lookup_keys_via_location
> self._read_and_parse(readv_ranges)
> File "/Library/Python/2.5/site-packages/bzrlib/index.py", line
> 1138, in _read_and_parse
> for offset, data in readv_data:
> File "/Library/Python/2.5/site-packages/bzrlib/transport/
> __init__.py", line 701, in _seek_and_read
> c_offset.length, actual=len(data))
> ShortReadvError: readv() read 268 bytes rather than 4096 bytes at
> 171764 for "d0580144782295bf6f36ded8f1415669.tix"
>
> bzr 1.16.1 on python 2.5.1 (darwin)
> arguments: ['/usr/local/bin/bzr', 'commit', '-m', 'Mach compiler
> improvements, Bfly recv takes an optional argument for the received
> message']
> encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
> plugins:
> bzrtools /Library/Python/2.5/site-packages/bzrlib/
> plugins/bzrtools [1.16]
> email /Library/Python/2.5/site-packages/bzrlib/
> plugins/email [unknown]
> extmerge /Library/Python/2.5/site-packages/bzrlib/
> plugins/extmerge [unknown]
> launchpad /Library/Python/2.5/site-packages/bzrlib/
> plugins/launchpad [1.16.1]
> loom /Library/Python/2.5/site-packages/bzrlib/
> plugins/loom [1.4dev]
> netrc_credential_store /Library/Python/2.5/site-packages/bzrlib/
> plugins/netrc_credential_store [1.16.1]
> qbzr /Library/Python/2.5/site-packages/bzrlib/
> plugins/qbzr [0.11]
> rebase /Library/Python/2.5/site-packages/bzrlib/
> plugins/rebase [0.5.1]
> search /Library/Python/2.5/site-packages/bzrlib/
> plugins/search [1.7dev]
> svn /Library/Python/2.5/site-packages/bzrlib/
> plugins/svn [0.6.2]
> *** Bazaar has encountered an internal error.
> Please report a bug at https://bugs.launchpad.net/bzr/+filebug
> including this traceback, and a description of what you
> were doing when the error occurred.
>
Hi Martin,
Thanks for the advice. You are teaching me some new tricks:
bash-3.2$ bzr check //Users/ dbmcclain/ projects/ lispworks/ '. //Users/ dbmcclain/ '. transport. local.LocalTran sport url=file: ///Users/ dbmcclain/ atKnitPack1> //Users/ dbmcclain/ projects/ lispworks/ '. /Users/ dbmcclain/ projects/ lispworks/ format
Checking working tree at 'file:/
Checking repository at 'file:/
checked repository <bzrlib.
> format <RepositoryForm
2344 revisions
17307 file-ids
24783 unique file texts
4693654 repeated file texts
0 unreferenced text versions
Checking branch at 'file:/
checked branch file://
Branch format 6
On Aug 14, 2009, at 05:43 AM, Martin Pool wrote:
> 2009/8/14 dbmcclain <email address hidden>: launchpad. net/~mbp/> /bugs.launchpad .net/bugs/ 413430 Repository/ srv/bzr/ Lispworks/ Source/ Keep-Alive. lisp Source/ Standard- Server. lisp Source/ bfly-mailbox. lisp Source/ bfly-message. lisp Source/ bfly-socket2. lisp Source/ bfly-spawn. lisp Source/ fru-replace- code.lisp lock-daemon. lisp remote- access. lisp macros/ match-macro- ex-opt. lisp errors. ShortReadvError : readv() read 268 bytes bf6f36ded8f1415 669.tix" Python/ 2.5/site- packages/ bzrlib/ commands. py", line to_return_ code Python/ 2.5/site- packages/ bzrlib/ commands. py", line Python/ 2.5/site- packages/ bzrlib/ commands. py", line **all_cmd_ args) Python/ 2.5/site- packages/ bzrlib/ builtins. py", line safe_relpath_ files(tree, exclude)) Python/ 2.5/site- packages/ bzrlib/ decorators. py", line Python/ 2.5/site- packages/ bzrlib/ workingtree_ 4.py", commit( self, message, revprops, *args, Python/ 2.5/site- packages/ bzrlib/ decorators. py", line Python/ 2.5/site- packages/ bzrlib/ mutabletree. py", Python/ 2.5/site- packages/ bzrlib/ commit. py", line repository, new_revno, self.rev_id) Python/ 2.5/site- packages/ bzrlib/ branch. py", line last_revision_ info .fetch( source_ repo, revision_id=revid) Python/ 2.5/site- packages/ bzrlib/ repository. py", line find_ghosts, fetch_spec= fetch_spec) Python/ 2.5/site- packages/ bzrlib/ decorators. py", line Python/ 2.5/site- packages/ bzrlib/ repository. py", line self.source, self.target, revision_ids) Python/ 2.5/site- packages/ bzrlib/ repository. py", line ids).pack( ) Python/ 2.5/site- packages/ bzrlib/ repofmt/ pack_from_ packs() Python/ 2.5/site- packages/ bzrlib/ repofmt/ pack_from_ packs _check_ references( ) Python/ 2.5/site- packages/ bzrlib/ repofmt/ entries( external_ refs)) Python/ 2.5/site- packages/ bzrlib/ repofmt/ Python/ 2.5/site- packages/ bzrlib/ index.py" , line entries( keys): Python/ 2.5/site- packages/ bzrlib/ index.py" , line 626, keys_via_ location, self._size, keys)) Python/ 2.5/site- packages/ bzrlib/ bisect_ multi.py" , lookup( search_ keys) Python/ 2.5/site- packages/ bzrlib/ index.py" , line 769, keys_via_ location and_parse( readv_ranges) Python/ 2.5/site- packages/ bzrlib/ index.py" , line Python/ 2.5/site- packages/ bzrlib/ transport/ bf6f36ded8f1415 669.tix" local/bin/ bzr', 'commit', '-m', 'Mach compiler Python/ 2.5/site- packages/ bzrlib/ Python/ 2.5/site- packages/ bzrlib/ Python/ 2.5/site- packages/ bzrlib/ Python/ 2.5/site- packages/ bzrlib/ Python/ 2.5/site- packages/ bzrlib/ l_store /Library/ Python/ 2.5/site- packages/ bzrlib/ netrc_credentia l_store [1.16.1] Python/ 2.5/site- packages/ bzrlib/ Python/ 2.5/site- packages/ bzrlib/ Python/ 2.5/site- packages/ bzrlib/ Python/ 2.5/site- packages/ bzrlib/ /bugs.launchpad .net/bzr/ +filebug
>> Hi Martin,
>>
>> There seems to be no problem... I reran the BZR commit just after
>> getting the error message both times, and it appears to be okay. I
>> retrieved the lastest commits to other machines just fine.
>
> I would recommend you run bzr check to make sure it's ok.
>
>> I wonder if we are running up against size boundaries in the code. I
>> understand that BZR is written in Python, which means C or C++... Not
>> quite the capabilities I have with my Lisp systems...
>
> I don't think that would cause us to see the file as truncated. It's
> possible (unlikely) we'd have problems around the 2gb file size, but
> it's unlikely the index file alone would be so big unless your
> repository is truly huge. (Can you check?)
>
> Based on this I would probably attribute it to an NFS or network
> glitch.
>
>
> --
> Martin <http://
>
> --
> ShortReadvError on tix file
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Bazaar Version Control System: Incomplete
>
> Bug description:
> bash-3.2$ bzr commit -m "Mach compiler improvements, Bfly recv takes
> an optional argument for the received message"
> Committing to: /Volumes/
> modified Butterfly/
> modified Butterfly/
> modified Butterfly/
> modified Butterfly/
> modified Butterfly/
> modified Butterfly/
> modified Butterfly/
> modified Okeanos/
> modified Okeanos/
> modified tools/useful-
> bzr: ERROR: bzrlib.
> rather than 4096 bytes at 171764 for
> "d0580144782295
>
> Traceback (most recent call last):
> File "/Library/
> 729, in exception_
> return the_callable(*args, **kwargs)
> File "/Library/
> 924, in run_bzr
> ret = run(*run_argv)
> File "/Library/
> 560, in run_argv_aliases
> return self.run(
> File "/Library/
> 2937, in run
> exclude=
> File "/Library/
> 192, in write_locked
> result = unbound(self, *args, **kwargs)
> File "/Library/
> line 226, in commit
> result = WorkingTree3.
> **kwargs)
> File "/Library/
> 192, in write_locked
> result = unbound(self, *args, **kwargs)
> File "/Library/
> line 228, in commit
> *args, **kwargs)
> File "/Library/
> 397, in commit
> self.branch.
> File "/Library/
> 821, in import_
> self.repository
> File "/Library/
> 1553, in fetch
> find_ghosts=
> File "/Library/
> 192, in write_locked
> result = unbound(self, *args, **kwargs)
> File "/Library/
> 3514, in fetch
> return self._pack(
> File "/Library/
> 3520, in _pack
> revision_
> File "/Library/
> pack_repo.py", line 753, in pack
> return self._create_
> File "/Library/
> pack_repo.py", line 943, in _create_
> new_pack.
> File "/Library/
> pack_repo.py", line 189, in _check_references
> index.iter_
> File "/Library/
> pack_repo.py", line 188, in <genexpr>
> k for (idx, k, v, r) in
> File "/Library/
> 1258, in iter_entries
> for node in index.iter_
> File "/Library/
> in iter_entries
> self._lookup_
> File "/Library/
> line 50, in bisect_multi_bytes
> search_results = content_
> File "/Library/
> in _lookup_
> self._read_
> File "/Library/
> 1138, in _read_and_parse
> for offset, data in readv_data:
> File "/Library/
> __init__.py", line 701, in _seek_and_read
> c_offset.length, actual=len(data))
> ShortReadvError: readv() read 268 bytes rather than 4096 bytes at
> 171764 for "d0580144782295
>
> bzr 1.16.1 on python 2.5.1 (darwin)
> arguments: ['/usr/
> improvements, Bfly recv takes an optional argument for the received
> message']
> encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
> plugins:
> bzrtools /Library/
> plugins/bzrtools [1.16]
> email /Library/
> plugins/email [unknown]
> extmerge /Library/
> plugins/extmerge [unknown]
> launchpad /Library/
> plugins/launchpad [1.16.1]
> loom /Library/
> plugins/loom [1.4dev]
> netrc_credentia
> plugins/
> qbzr /Library/
> plugins/qbzr [0.11]
> rebase /Library/
> plugins/rebase [0.5.1]
> search /Library/
> plugins/search [1.7dev]
> svn /Library/
> plugins/svn [0.6.2]
> *** Bazaar has encountered an internal error.
> Please report a bug at https:/
> including this traceback, and a description of what you
> were doing when the error occurred.
>
Dr. David McClain
<email address hidden>