Crash on Scan

pirivan

29-09-2011 11:50:22

First let me say, thanks again for the absolutely excellent application. I literally use it every day and it's AMAZINGLY helpful! So, as you might imagine I am feeling a bit lost now that the application is consistently crashing and isn't currently operable! Whenever I go to the 'scan' tab and select the 'scan' button it fills up a tiny sliver of the green bar for 'Media Library Check' and then produces the error 'TVRename has stopped working' with the following error information:

Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: tvrename.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 4dfca609
Problem Signature 04: mscorlib
Problem Signature 05: 2.0.0.0
Problem Signature 06: 4d8cdc57
Problem Signature 07: 3657
Problem Signature 08: 17
Problem Signature 09: System.IO.PathTooLongException
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033

I took a look at all of the files that are in my 'folder monitor' directory and counted the characters for the longest file name. The absolute longest file name I have is about 149 characters or so; way less than the 256 character limit someone mentioned before. Is it possible that there is some other file within TV Rename (I upgraded to the latest 2.2.0b9 in hopes that that would help, it did not) that is exceeding the character limit that I need to look at/for? Any assistance would be much appreciated!

pzam

30-09-2011 00:32:07

Ok this is strange one.

after running scan it had lots of files to put away. one of the drives got full. it stopped and left lots of files with tvrenametemp on them. I manually cleaned them all up

next time i ran scan tvrename stopped with message "tvrename stopped working checking with ms to see if there fix then it ends without giving any other clue.

I cleared the database to a new one. then ran scan with 3 different drives all crashed with same error.

i ran scandisk registry scan defrag chkdsk

then i tried to run scan again It still crashes same message.

It will do folder scan just fine but fails on file scan i only put one folder of files and did not add any other folder. i set all the options to default, ????

Anyone have any idea how to get it to run again besides formatting the drive and reinstalling windows.

pirivan

30-09-2011 02:06:07

Hi pzam,

No offense intended but what exactly does this have to do with my above bug/issue? It sounds like you are having a separate issue and I think it might be best if you setup a separate thread.

ScoopD

30-09-2011 06:32:47

Pirivan - I had a similar issue the other day. The issue is not with what is on your system, but the data coming from TheTVDB. Someone had created an episode for "Archer (2009)" with a long rant as the title. I ignored that episode and the problem went away.

pirivan

30-09-2011 10:52:38

Pirivan - I had a similar issue the other day. The issue is not with what is on your system, but the data coming from TheTVDB. Someone had created an episode for "Archer (2009)" with a long rant as the title. I ignored that episode and the problem went away.

Awesome ScoopD, that was it exactly. Thank you! I simply ignored Season 3, how were you able to ignore the specific episode?

pzam

30-09-2011 10:59:34

Note I managed to run c# with debug and got this message saying that path is to long So now i will see about making shorter paths.
System.IO.PathTooLongException was unhandled
Message=The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
Source=mscorlib
StackTrace:
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
at System.IO.FileInfo..ctor(String fileName)
at TVRename.Helpers.FileInFolder(String dir, String fn) in C:\tv rename programing\TVRename.Source.r158\TVRename#\Utility\Helpers.cs:line 72
at TVRename.TVDoc.RenameAndMissingCheck(SetProgressDelegate prog, ShowItem specific) in C:\tv rename programing\TVRename.Source.r158\TVRename#\TVRename\TVDoc.cs:line 2602
at TVRename.TVDoc.ScanWorker(Object o) in C:\tv rename programing\TVRename.Source.r158\TVRename#\TVRename\TVDoc.cs:line 2720
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
InnerException:



sorry I was not clear my tv rename crashes on scan it just moves a bit on the green bar and dies. Does it on 2 different computers 32 and 64 bit vista I suspecting a date problem.

guardiang

30-09-2011 14:21:34

Pirivan - I had a similar issue the other day. The issue is not with what is on your system, but the data coming from TheTVDB. Someone had created an episode for "Archer (2009)" with a long rant as the title. I ignored that episode and the problem went away.

Awesome ScoopD, that was it exactly. Thank you! I simply ignored Season 3, how were you able to ignore the specific episode?


Thanks a bunch guys! That fixed my crashing issue. Will know what to look for next time. Love the application btw!

pzam

01-10-2011 11:02:24

I found this program for looking for file names and renaming. It can check for to long names in many ways and for many operating systems.
you need to put it in advanced mode to do some of this.

http://www.1-4a.com/rename/

ScoopD

01-10-2011 11:08:37

how were you able to ignore the specific episode?
In the MyShows tab go to the show and click on the season then the edit button at the bottom (or from the right click menu). Here you can add the rules for the season and one of the rules is "Ignore"

pzam

01-10-2011 16:09:56

lol i checked all my files and most are under 70 length and was going to look at thetvdb next. I see you guys found same thing.

Say is there a way to limit the length of data returned from tvdb in tvrename like a len(70,fn) or some trick?

Good work