newly-created dirstate file appears blank on curlftpfs filesystem

Bug #155629 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned

Bug Description

realx@server:/mnt/aibga-hotel.ru/www/htdocs$ bzr init
bzr: ERROR: exceptions.AssertionError: invalid header line: ''

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 800, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 758, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1310, in run
    possible_transports=[to_transport])
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 313, in create_branch_convenience
    bzrdir.create_workingtree()
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1080, in create_workingtree
    return self._format.workingtree_format.initialize(self, revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1304, in initialize
    wt._set_root_id(ROOT_ID)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1112, in _set_root_id
    state.set_path_id('', file_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1680, in set_path_id
    self._read_dirblocks_if_needed()
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1554, in _read_dirblocks_if_needed
    self._read_header_if_needed()
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1587, in _read_header_if_needed
    self._read_header()
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1566, in _read_header
    self._read_prelude()
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1600, in _read_prelude
    'invalid header line: %r' % (header,)
AssertionError: invalid header line: ''

bzr 0.91.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'init']

** please send this report to <email address hidden>

PS: /mnt/aibga-hotel.ru is curlftpfs mounted drive

--
С уважением, Алексей.

Руководитель проекта Новости Сочи.biz (www.sochi.biz)
+7 (8622) 35-33-77 (моб. МТС)
<email address hidden> (эл.почта)

Revision history for this message
Martin Pool (mbp) wrote : Re: bzr error

Hello Alex,

Thankyou for the problem report.

  https://bugs.edge.launchpad.net/bzr/+bug/155629

It looks like this error occurred because there was no content in the
dirstate file that tracks the contents of the working tree, which is
strange because this command should have just created it.

This may be caused by something in curlftpfs, as it has not been
reported by anyone else. Is it reproducible for you?

--
Martin

Vincent Ladeuil (vila)
Changed in bzr:
status: New → Incomplete
Revision history for this message
Robert Collins (lifeless) wrote :

2 years no answers - closing. Probably addressed <somewhat> by dirstate2 anyhow.

Changed in bzr:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.