Win7 64bit Command Line issues
Closed this issue · 2 comments
Hey Andrew,
I downloaded the latest release (1.3 - I'm running 64bit Windows 7 Pro, fully up to date) the other day, and for the most part, it works perfectly (just an occasional crash when requesting too much from TVdb).
When trying to use the command line utility, I get the following error in the prompt:
C:\Users\Matt>"C:\Program Files (x86)\TVSorter\TVSorterCmd.exe" -u
Unhandled Exception: System.InvalidOperationException: Sequence contains no elem
ents
at System.Linq.Enumerable.Min[TSource](IEnumerable1 source) at TVSorter.Data.Tvdb.Tvdb.<UpdateShows>d__4.MoveNext() at TVSorter.EnumerableExtensions.Update(IList
1 shows, IStorageProvider stora
geProvider, IDataProvider dataProvider)
at TVSorter.Program.Main(String[] args)
..and the following from Windows:
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: tvsortercmd.exe
Problem Signature 02: 1.2.0.0
Problem Signature 03: 5106c722
Problem Signature 04: System.Core
Problem Signature 05: 4.0.0.0
Problem Signature 06: 4d92f389
Problem Signature 07: 48c
Problem Signature 08: 14
Problem Signature 09: System.InvalidOperationException
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 2057
Additional Information 1: f255
Additional Information 2: f2559b089417e5c72f85df09ee586477
Additional Information 3: aee9
Additional Information 4: aee92c1ebb164377f65dc930da8164d9
Is this a bug, or something stupid on my part?
Matt
It looks in the current directory for the TVSorter.xml file. In this case C:\Users\Matt and not finding it. Change directory to C:\Program Files (x86)\TVSorter first and then run it. It should find the file then.
The error handling could use some improvement.
Ah, thanks. Kind of obvious, really. All good now.