CVS import fails for b2evolution project: cscvs.cmds.totla.ValidationFailed: directories differ

Bug #663195 reported by Daniel Hahler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad CSCVS
Triaged
Low
Unassigned

Bug Description

https://code.launchpad.net/~vcs-imports/b2evolution/trunk

It failed twice already:
http://launchpadlibrarian.net/57866017/vcs-imports-b2evolution-trunk.log
http://launchpadlibrarian.net/57866321/vcs-imports-b2evolution-trunk.log

ERROR:
2010-10-19 07:23:18 ERROR C: ['blogs/inc/files/_files.init.php'], N: [], G: [], M: []
Traceback (most recent call last):
  File "/srv/importd.launchpad.net/production/launchpad-rev-9885/scripts/code-import-worker.py", line 82, in <module>
    sys.exit(script.main())
  File "/srv/importd.launchpad.net/production/launchpad-rev-9885/scripts/code-import-worker.py", line 77, in main
    return import_worker.run()
  File "/srv/importd.launchpad.net/production/launchpad-rev-9885/lib/lp/codehosting/codeimport/worker.py", line 452, in run
    return self._doImport()
  File "/srv/importd.launchpad.net/production/launchpad-rev-9885/lib/lp/codehosting/codeimport/worker.py", line 536, in _doImport
    self.importToBazaar(foreign_tree, bazaar_branch)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9885/lib/lp/codehosting/codeimport/worker.py", line 514, in importToBazaar
    foreign_directory, "-SC", "%s::" % last_commit, bzr_directory)
  File "/srv/importd.launchpad.net/production/launchpad-rev-9885/lib/lp/codehosting/codeimport/worker.py", line 531, in _runToBaz
    totla.totla(config, self._logger, config.args, SCM.tree(source_dir))
  File "/srv/importd.launchpad.net/production/launchpad-rev-9885/lib/cscvs/cmds/totla.py", line 275, in totla
    raise ValidationFailed("directories differ")
cscvs.cmds.totla.ValidationFailed: directories differ
Exception AttributeError: "'NoneType' object has no attribute 'close'" in <function terminate at 0x412e320> ignored
Import failed:
Traceback (most recent call last):
Failure: twisted.internet.error.ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 1.

Revision history for this message
Daniel Hahler (blueyed) wrote :

git's cvsimport does not fail with the same source branch.

Might it help to re-import the cvs source altogether? - but probably that would result in another repo without any common ancestor with existing forks/branches of it, correct?

I would really appreciate a note about how and if this can get fixed in the next days/weeks. Currently it interrupts my whole workflow of getting updates from upstream/trunk.

I am really considering switching to Git and Github instead - at least I have conversion of CVS HEAD in place already, and would "only" have to transfer my delta over to it.

Revision history for this message
Robert Collins (lifeless) wrote :

Hi, uhm, the cscvs failure here appears to be that 'blogs/inc/files/_files.init.php' is changing but not expected too. If you're looking at migrating a simpler and better thing to do than the *incremental* import service would be a one-time conversion using cvsps which there is a bzr plugin for - you could do that in a few hours and push it straight up to Launchpad.

Sorry for the delay in responding to your bug report :(

Changed in launchpad-cscvs:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Daniel Hahler (blueyed) wrote :

No problem, Robert and thanks for looking into this.

It needs to be imported incrementally, because it's just a mirror of CVS HEAD.

However, urgency is not important to me anymore, I am using Git (and git-cvsimport) now instead.

Revision history for this message
Robert Collins (lifeless) wrote :

Ok, I'm going to drop this to low, I don't think other imports are encountering it. (Affects 1 person, no dups)

Changed in launchpad-cscvs:
importance: High → Low
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.