Virb Edit crashes

I think my Virb edit database has become corrupt. :(

This started happening last night after I tried to sync two Garmin Virbs (don't know if this is what cause it though). But any time I select to replace the GPS file, it starts searching and a couple of seconds later, the program crashes. There isn't enough information for me to use to try to correct it. I uninstalled and re-installed the program and this didn't work but it also didn't delete the database.

Can this be fixed or do I have to delete all the projects I've created?

App: VIRB Edit
At: 3/28/2014 7:47:47 PM (UTC-5)
OS: Windows 8 (64-bit)
Processor: x86, Processor Level: 6, Processors:4, Model: 60 Stepping: 3, RAM: 33491232
SYSTEM.THROWHELPER.THROWARGUMENTEXCEPTION-1170-2.4.0.0

An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Virb.Model.ClipsLibraryTrackSource_t.<>c__DisplayClass2.<LoadTracksAsync>b__1(Track_t aTrack)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at Virb.Model.ClipsLibraryTrackSource_t.<LoadTracksAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Virb.ViewModel.PickTrackViewModel_t.<LoadTrackSourceTracksAsync>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Virb.ViewModel.PickTrackViewModel_t.<<Initialize>b__1>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
.NET Versions:
.NET FW 1.0 not installed.
.NET FW 1.1 not installed.
.NET FW 2.0 with SP2 installed
.NET FW 3.0 with SP2 installed
.NET FW 3.5 with SP1 installed

  • Former Member
    0 Former Member over 11 years ago
    We will definitely fix this in 2.5.

    Preventing the crash is somewhat difficult: you'd have to dig into the AppData to fix it.

    1. Go to your RawMovies, they are at C:\Users\{YOUR USERNAME}\AppData\Roaming\Garmin\VIRB Edit\Database\2\RawMovies.
    2. Dig through the sub-directories there. Some (or all) will have a virb-track.gpx file in them. This crash occurs because 2 of these files (in 2 different sub-directories) are identical and we don't handle that properly.
    3. The easiest thing would be to just rename all virb-track.gpx files to something else, say virb-track-old.gpx. (Or you could try to rename one by one to see when the crash stops occurring.)

    Don't remove or delete any track.gpx files you see, that's what VIRB Edit uses for the display of the gauges. The virb-track.gpx file contains the original track from the VIRB Elite when you imported, and that's the one causing you trouble. Most of time (if you didn't replace or removed the GPS log) the two will be identical.

    I apologize for the trouble. I only suggest the work-around above if you feel comfortable digging around on your file-system, that is obviously not a proper fix. We'll provide a proper fix in 2.5.
  • I found the culprit. It was a file from yesterdays ride that somehow got duplicated. I renamed it and it now works again.

    Thanks!!!!
  • Former Member
    0 Former Member over 11 years ago
    After moving video files out of the Virb default directory to sort them into my own files, each time I open Virb Edit a window opens that says files are missing and do I want to change the default directory. Whether I click Ignore or try to change the default directory, Virb Edit crashes. I've removed the app and reinstalled it and it does the same thing.

    I tried deleting a long list of .fit files (I don't need them otherwise) on the Virb and it still crashes.

    I can still record videos, but can't use any of the data features for which I bought a Virb instead of GoPro.
  • Former Member
    0 Former Member over 11 years ago
    You have moved your video's, VIRB Edit calls them clips.
    Now VIRB Edit can't find them.
    If you have made some movies out of these clips, VIRB Edit also can't find the clips you've made the movie of.
    There are three solutions for the lost clips.
    1- You can remove the whole database, also losing .FIT data and your custom overlays.
    Goto C:\Users\{YOUR USERNAME}\AppData\Roaming\Garmin\VIRB Edit\Database and remove all the directories there.
    2- You can also try to solve the problem by removing the clips and the movies.
    Goto C:\Users\{YOUR USERNAME}\AppData\Roaming\Garmin\VIRB Edit\Database\2 and remove the directory "RawMovies" and the directory "MovieProjects".
    3- The most complicated option is restoring the video's and the clips.
    Go into the directory C:\Users\{YOUR USERNAME}\AppData\Roaming\Garmin\VIRB Edit\Database\2\MovieProjects
    Open a directory, and in this directory open "edited_movie.xml" with a text editor.
    Look in Thumbnails at the thumbs to have a clue what clip is missing.
    Restore the missing directories in RawMovies, copy the correct clip in here with the corresponding track.gpx, virb-track.gpx and video.xml.
    If you don't have these files, you can try to re-import the lost clips and work from there.
    A lot of work that may not lead to succes after all.
    The best solution is probably the deletion of the whole database, option 1