2.1.1a5 bug when changing source for previous entered series

live4ever

13-03-2009 17:29:42

I was trying to edit the source URL for a series I had previously entered (moving it from one server to another) when TVRename crashed and I can no longer start it up (tried reinstalling both stable and latest alpha). I didn't want to wipe out my App Support folder and lose my dbase of all my shows, is there a preference I can erase but still keep my dbase intact?

Here's the exception that pops up when I try to start TVRename:



And the log:
http://pastebin.com/f43f20863

sstteevvee

13-03-2009 18:14:06

Go to the setings folder and either edit TVRenameSettings.xml, or use one of the older versions of that file (lower numbers are more recent). Rename/move the existing file to another location, and rename "TVRenameSttings.xml.0" and remove the ".0" part.

That should get you back to where you were before you changed the path.

Was there anything 'special' about the path you changed it to? If you don't mind, you could email me a copy of your current (broken) settings file to tvrename [at] tvrename.com . I might be able to put some extra checks in the code to stop it dying so badly if there is a bad path entered.

live4ever

14-03-2009 18:21:19

I figured it out, I opened the "TVRenameSettings.xml" and searched for the show I was editing when TVRename crashed. On line 1173 was:

<FolderBase>G:\XBMC-QUAD-3\TV\Two and a Half MenG:\XBMC-QUAD-3\TV\Two and a Half Men</FolderBase>

The G:\ is the new path I entered. I must of hit Ctrl+v twice when I pasted the new path and this caused TVRename to crash and not be able to start up again. I was able to reproduce the crash by double pasting again and saving the changes (if you choose to discard the changes TVRename will open normally though). On long paths double pasting is not really apparent but on short ones it is.

sstteevvee

14-03-2009 20:27:41

Thanks. I should be able to wrap a few checks around the path, and alert the user if its invalid (rather than just missing, which is dealt with elsewhere).