TheaterTrailers icon indicating copy to clipboard operation
TheaterTrailers copied to clipboard

TabError: inconsistent use of tabs and spaces in indentation

Open 2ndwonder opened this issue 5 years ago • 4 comments

Hi,

I'm trying to run TheaterTrailers on my Synology NAS but I can't seem to let it work. getting the following error.

File "/volume1/scripts/TheaterTrailers-master/theaterTrailers.py", line 189 print e, ^ TabError: inconsistent use of tabs and spaces in indentation

2ndwonder avatar Jan 01 '21 05:01 2ndwonder

you will get these errors if running python3 ...the file needs to be updated

TristBella avatar Feb 19 '21 22:02 TristBella

replace what is in your file with this theaterTrailers.txt

TristBella avatar Feb 19 '21 22:02 TristBella

@TristBella I tried your file and now have the following errors

C:\Windows\system32>C:\Python\Python38\python.exe C:\Python\Python38\Scripts\The aterTrailers\theaterTrailers.py 2021-03-16 14:46:32,177 - INFO - The cache is 0 days old Traceback (most recent call last): File "C:\Python\Python38\Scripts\TheaterTrailers\theaterTrailers.py", line 464 , in main() File "C:\Python\Python38\Scripts\TheaterTrailers\theaterTrailers.py", line 92, in main checkCashe() File "C:\Python\Python38\Scripts\TheaterTrailers\theaterTrailers.py", line 180 , in checkCashe checkVar = cacheDict[cacheDict.keys()[0]]['status'] TypeError: 'dict_keys' object is not subscriptable

Any thoughts?

killmark-prog avatar Mar 16 '21 14:03 killmark-prog

C:\Windows\system32>C:\Python\Python38\python.exe C:\Python\Python38\Scripts\The aterTrailers\theaterTrailers.py 2021-03-16 14:46:32,177 - INFO - The cache is 0 days old Traceback (most recent call last): File "C:\Python\Python38\Scripts\TheaterTrailers\theaterTrailers.py", line 464 , in main() File "C:\Python\Python38\Scripts\TheaterTrailers\theaterTrailers.py", line 92, in main checkCashe() File "C:\Python\Python38\Scripts\TheaterTrailers\theaterTrailers.py", line 180 , in checkCashe checkVar = cacheDict[cacheDict.keys()[0]]['status'] TypeError: 'dict_keys' object is not subscriptable

Any thoughts?

@killmark-prog Delete any .json cache files in the Cache directory.

Darbunderscore avatar Jan 02 '22 20:01 Darbunderscore