cvs2bzr crashed with IOError in setup(): [Errno 21] Is a directory: 'bzr/'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cvs2svn (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Was converting a cvs repository in order to move it from Sourceforge to Launchpad.
The repository which was being converted when the crash happened can get gotten from:
rsync -av rsync:/
The exact command I used was:
cvs2bzr --username=
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: cvs2svn 2.3.0-2
ProcVersionSign
Uname: Linux 3.2.0-24-
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Sun Apr 29 01:01:42 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/cvs2bzr
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/cvs2bzr --username=
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
LANG=en_US.UTF-8
LANGUAGE=
PythonArgs: ['/usr/
SourcePackage: cvs2svn
Title: cvs2bzr crashed with IOError in setup(): [Errno 21] Is a directory: 'bzr/'
UpgradeStatus: Upgraded to precise on 2012-04-09 (19 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare syslog wireshark
tags: | removed: need-duplicate-check |
Changed in cvs2svn (Ubuntu): | |
importance: | Undecided → Medium |
This problem is caused by user error. The --dumpfile option requires a filename as argument, but the user passed "--dumpfile=bzr/". Since "bzr/" (with the trailing slash) cannot be interpreted as a filename and perhaps already exists as a directory, the open() call fails.
Granted, the error message could be improved. But this is NOTABUG.