Re: AttributeError: 'NoneType' object has no attribute 'remove_unneeded_initial_trunk_delete'
Michael Haggerty <[email protected]> Fri, 09 May 2014 17:42:21 +0200
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
On 05/08/2014 05:04 PM, Nikola Radovanovic wrote: > i have tried cvs2git on trunk (2.5.0-dev) and also 2.3.0 and i got the > same error when running: cvs2git --options=cvs2git.options (options file > is attached in this email. unfortunately, failing file is too large to > be attached). It seems like there is some problem (unhandled error) in > cvs2git, but I'm not sure. I have used cvs2git in about 6 or 7 /really > large/ CVS to GIT transformations with no such problem. > > I will resolve this problem by omitting failing file and add it later > manually (only one branch, so no problem); but maybe you can find > something useful to improve code if there is a problem > > ERROR: > '/media/Prenosivi/to_convert/cvsroot/DMS_DB/ERwin/BACKUP_CLEAN_ALL_SER.ER1,v' > is not a valid ,v file > Traceback (most recent call last): > File "cvs2git", line 70, in <module> > git_main(os.path.basename(sys.argv[0]), sys.argv[1:]) > File "/media/Prenosivi/cvs2svn-trunk/cvs2svn_lib/main.py", line 124, > in git_main > main(progname, run_options, pass_manager) > File "/media/Prenosivi/cvs2svn-trunk/cvs2svn_lib/main.py", line 101, > in main > pass_manager.run(run_options) > File "/media/Prenosivi/cvs2svn-trunk/cvs2svn_lib/pass_manager.py", > line 255, in run > the_pass.run(run_options, stats_keeper) > File "/media/Prenosivi/cvs2svn-trunk/cvs2svn_lib/passes.py", line 109, > in run > walk_repository(project, file_key_generator, cd.record_fatal_error), > File "/media/Prenosivi/cvs2svn-trunk/cvs2svn_lib/collect_data.py", > line 1169, in process_project > self._process_cvs_file_items(cvs_file_items) > File "/media/Prenosivi/cvs2svn-trunk/cvs2svn_lib/collect_data.py", > line 1144, in _process_cvs_file_items > cvs_file_items.remove_unneeded_initial_trunk_delete(self.metadata_db) > AttributeError: 'NoneType' object has no attribute > 'remove_unneeded_initial_trunk_delete' > > many thanks in advance and best regards Thanks for the bug report. Would you please send a test case? That really makes it a lot easier to figure out and fix bugs like this. The FAQ [1] describes how you can shrink your failing file down to a small size and strip proprietary information out if it. Thanks, Michael [1] http://cvs2svn.tigris.org/faq.html#testcase -- Michael Haggerty [email protected] http://softwareswirl.blogspot.com/ ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=3077952 To unsubscribe from this discussion, e-mail: [[email protected]].