List Info

Thread: KeyError: '1.30'




KeyError: '1.30'
user name
2007-06-01 13:52:33
While I still can't connect to tigris from work, I connected
indirectly from
home and downloaded the latest version I saw (1.5.1). 
Running it, I'm
getting a traceback:

SOURCE_COPY/brains2/iplFreeware/InsightApplications.tar.gz,v

Exception occurred while parsing
SOURCE_COPY/brains2/iplFreeware/InsightApplications.tar.gz,v

Traceback (most recent call last):
  File "./cvs2svn", line 114, in ?
    main()
  File "./cvs2svn", line 106, in main
    pass_manager.run(run_options.start_pass,
run_options.end_pass)
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_lib/pass_manager.py",
line 122, in run
    the_pass.run(stats_keeper)
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_lib/passes.py", line
129,in run
    cd.process_project(project)
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_lib/collect_data.py",
line 900, in process_project
    pdc = _ProjectDataCollector(self, project)
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_lib/collect_data.py",
line 814, in __init__
    _ProjectDataCollector._visit_directory, self)
  File "/usr/lib/python2.3/posixpath.py", line
290, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.3/posixpath.py", line
290, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.3/posixpath.py", line
282, in walk
    func(arg, top, names)
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_lib/collect_data.py",
line 872, in _visit_directory
    self._process_file(pathname)
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_lib/collect_data.py",
line 851, in _process_file
    cvs2svn_rcsparse.parse(open(pathname, 'rb'), fdc)
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_rcsparse/__init__.py",
line 26, in parse
    return Parser().parse(file, sink)
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_rcsparse/common.py",
line281, in parse
    self.sink.tree_completed()
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_lib/collect_data.py",
line 613, in tree_completed
    self._resolve_dependencies()
  File
"/IPLlinux/raid0/homes/kpease/src/cvs2svn-1.5.1/cvs2svn
_lib/collect_data.py",
line 529, in _resolve_dependencies
    parent_data = self._rev_data[tag_data.rev]
KeyError: '1.30'

Any clue what's wrong?  Looking at the file, I see:

head    1.63;
access;
symbols
        PRE_EXT_RELEASE_20060218:1.30;
locks; strict;
comment # ;
expand  b;


1.63
date    2007.05.28.18.15.37;    author hjohnson;       
state Exp;
branches;
next    1.62;

1.62
date    2007.05.18.03.47.26;    author hjohnson;       
state Exp;
branches;
next    1.61;

1.61
date    2007.04.27.12.15.55;    author hjohnson;       
state Exp;
branches;
next    1.60;

1.60
date    2007.04.17.23.52.21;    author hjohnson;       
state Exp;
branches;
next    1.59;

1.59
date    2007.04.07.17.18.10;    author hjohnson;       
state Exp;
branches;
next    ;


desc



1.63
log
ENH:
Updated to new ITK/VTK/KWWidgets to prepare for nifti
integration.

text


It's all garbage after there (assumedly actual file
contents)

-- 
View this message in context: http://www.nabble.com/KeyError%3A-%271.30%2
7-tf3853922.html#a10918582
Sent from the cvs2svn - users mailing list archive at
Nabble.com.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribecvs2svn.tigris.org
For additional commands, e-mail: users-helpcvs2svn.tigris.org


Re: KeyError: '1.30'
user name
2007-06-01 14:20:09
KarenRei wrote:
> While I still can't connect to tigris from work, I
connected indirectly from
> home and downloaded the latest version I saw (1.5.1). 
Running it, I'm
> getting a traceback:
> 
> [...]
> KeyError: '1.30'
> 
> Any clue what's wrong?  Looking at the file, I see:

Your '*,v' file is corrupt.  The symbol
"PRE_EXT_RELEASE_20060218"
refers to a revision 1.30 that does not exist in the file. 
This could
have resulted from a usual sysadmin problem or perhaps
somebody tried to
edit the file.

You can try to find an intact version of this file from a
backup, or fix
it up in your editor to try to rescue the existing
revisions, or delete
it if it is not needed.

Michael

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribecvs2svn.tigris.org
For additional commands, e-mail: users-helpcvs2svn.tigris.org


Re: KeyError: '1.30'
user name
2007-06-01 15:13:12
Appears it's not the only file.  It looks like CVS (or
something...) is
ditching old versions of these files (they are very large
binaries).  I can
manually fix it by changing the PRE_EXT_RELEASE lines to
point to a version
that is mentioned, but this will take a while.

 - Karen


Michael Haggerty-3 wrote:
> 
> KarenRei wrote:
>> While I still can't connect to tigris from work, I
connected indirectly
>> from
>> home and downloaded the latest version I saw
(1.5.1).  Running it, I'm
>> getting a traceback:
>> 
>> [...]
>> KeyError: '1.30'
>> 
>> Any clue what's wrong?  Looking at the file, I
see:
> 
> Your '*,v' file is corrupt.  The symbol
"PRE_EXT_RELEASE_20060218"
> refers to a revision 1.30 that does not exist in the
file.  This could
> have resulted from a usual sysadmin problem or perhaps
somebody tried to
> edit the file.
> 
> You can try to find an intact version of this file from
a backup, or fix
> it up in your editor to try to rescue the existing
revisions, or delete
> it if it is not needed.
> 
> Michael
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribecvs2svn.tigris.org
> For additional commands, e-mail: users-helpcvs2svn.tigris.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/KeyError%3A-%271.30%2
7-tf3853922.html#a10919771
Sent from the cvs2svn - users mailing list archive at
Nabble.com.

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribecvs2svn.tigris.org
For additional commands, e-mail: users-helpcvs2svn.tigris.org


Re: KeyError: '1.30'
user name
2007-06-01 15:21:23
KarenRei wrote:
> Appears it's not the only file.  It looks like CVS (or
something...) is
> ditching old versions of these files (they are very
large binaries).  I can
> manually fix it by changing the PRE_EXT_RELEASE lines
to point to a version
> that is mentioned, but this will take a while.

I think the trunk version of cvs2svn only prints a warning
about such
symbols but continues with the conversion.  You might want
to try that.
 See recent mailing list emails for the relatively mild
caveats about
using the trunk version.

Michael

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribecvs2svn.tigris.org
For additional commands, e-mail: users-helpcvs2svn.tigris.org


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )