disParity » Bug Reports

Update failed with exception

(9 posts)
  1. tahngarth
    Member

    got an error during an update. here's the end of the log. If there's anything you want me to check out I'll be keeping things as is till tonight.

    Removing M:\ANIME\Utawarerumono\Season 1\unrename.bat...
    Removing R:\TV\Dexter\Season 3\.nfo\dexter.301.720p-dimension.nfo...
    Fatal error encountered during update: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    Stack trace: at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    at System.ThrowHelper.ThrowArgumentOutOfRangeException()
    at Disparity.DataPath.ReadFileData(UInt32 block, Byte[] data)
    at Disparity.Program.Update()
    at Disparity.Program.Main(String[] args)

    Posted 6 years ago #
  2. tahngarth
    Member

    Something that just came to mind, a drive that was added to the configuration is involved with this. Here's the timeline:
    Drive S was added to disparity's configuration
    Update(s) were run
    Files moved from Drive R to Drive S
    Update run and failed.
    May be completely unrelated, just thought I'd share.

    Posted 6 years ago #
  3. Roland
    Roland

    Thanks for the report, I'm mulling it over now. I'll follow up here a little later on.

    Posted 6 years ago #
  4. Roland
    Roland

    "Files moved from Drive R to Drive S" -> does this mean ALL files, so that when you next ran the update, Drive R was empty?

    Posted 6 years ago #
  5. tahngarth
    Member

    No, sorry wasn't clear there. Just R:\TV\Dexter and it's subfolders/files.

    Posted 6 years ago #
  6. Roland
    Roland

    Alright, I've been over the code several times, can't spot the problem. Okay if I compile up a test version that you can use to run the update again? It will log a bunch of extra info to the log file.

    Posted 6 years ago #
  7. tahngarth
    Member

    no problem. you've got gmail

    Posted 6 years ago #
  8. Roland
    Roland

    Thanks I sent you a reply with a test version to run

    Posted 6 years ago #
  9. Roland
    Roland

    OK we figured out the bug and I'm testing a new version with a fix now. Should have it out within the next couple of days. It was pretty obscure so I'm not too worried about it affecting other people within the next day or two.

    Posted 6 years ago #

RSS feed for this topic

Reply

You must log in to post.