Skip to content

IndexError: list index out of range #122

@veljkosbbb

Description

@veljkosbbb

Can you please assist me with the error "IndexError: list index out of range".
I have run the script with command: python.exe ac2git.py -m ignore
I can see it catches the list of transaction but I cannot understand why it cannot get the transaction? I have set only one stream to migrate for the start.

Retrieving stream ArenaWebRUF info from Accurev for transaction range : 1 - 20760267
Processing Accurev state for ArenaWebRUF : 1 - 20760267
ArenaWebRUF: retrieving transaction range #20595435 - #20760267
Running time was  0:00:46.11
The script has encountered an exception, aborting!
...........................................................
..........................................................
  File "C:\Projects\AccurevMigration\ac2git\accurev.py", line 2551, in restrict_timespec_to_timelock
    preLockTr = hist(depot=depot, timeSpec=UTCDateTimeOrNone(timelock)).transactions[0]
IndexError: list index out of range

What can I do to resolve this?
Attaching the log.
accurev2git.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions