ukdtom / ExportTools.bundle

Export tools for Plex
https://forums.plex.tv/t/rel-exporttools/175915
The Unlicense
328 stars 29 forks source link

Internal Error Detected. #95

Closed WireCrazii closed 5 years ago

WireCrazii commented 5 years ago

Trying out "TV export" and getting Internal Error Detected. Please check the logs error. I've found the list that is already exported on the disk.

After checking the log file and these lines repeated like 100x times.

2019-07-21 20:50:34,197 (87c) :  CRITICAL (core:574) - Exception happened in WriteRow-status was global name 'iCurrent' is not defined (most recent call last):
  File "C:\Users\User\AppData\Local\Plex Media Server\Plug-ins\ExportTools.bundle\Contents\Code\output.py", line 224, in writerow
    if (iCurrent % 10 == 0):
NameError: global name 'iCurrent' is not defined

2019-07-21 00:50:34,210 (87c) :  DEBUG (logkit:13) - Walking medias
2019-07-21 00:50:34,210 (87c) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/sections/2/all?X-Plex-Container-Start=1&X-Plex-Container-Size=1'
2019-07-21 00:50:34,219 (87c) :  DEBUG (logkit:13) - Retrieved part of medias okay [1 of 127]
2019-07-21 00:50:34,230 (87c) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/5017'

ExportTools setting:

2019-07-21 20:50:33,877 (87c) :  INFO (logkit:16) - **************** Settings ****************
2019-07-21 20:50:33,877 (87c) :  INFO (logkit:16) - Setting Output_Format set to: xlsx
2019-07-21 20:50:33,878 (87c) :  INFO (logkit:16) - Setting Autosize_Column set to: True
2019-07-21 20:50:33,878 (87c) :  INFO (logkit:16) - Setting Autosize_Row set to: True
2019-07-21 20:50:33,878 (87c) :  INFO (logkit:16) - Setting Export_Posters set to: False
2019-07-21 20:50:33,878 (87c) :  INFO (logkit:16) - Setting Poster_Hight set to: 75
2019-07-21 20:50:33,878 (87c) :  INFO (logkit:16) - Setting Poster_Width set to: 50
2019-07-21 20:50:33,880 (87c) :  INFO (logkit:16) - Setting Export_Path set to: None
2019-07-21 20:50:33,880 (87c) :  INFO (logkit:16) - Setting Auto_Path set to: True
2019-07-21 20:50:33,881 (87c) :  INFO (logkit:16) - Setting Delimiter set to: ,
2019-07-21 20:50:33,881 (87c) :  INFO (logkit:16) - Setting Line_Wrap set to: True
2019-07-21 20:50:33,882 (87c) :  INFO (logkit:16) - Setting Line_Length set to: 40
2019-07-21 20:50:33,884 (87c) :  INFO (logkit:16) - Setting Seperator set to:  - 
2019-07-21 20:50:33,884 (87c) :  INFO (logkit:16) - Setting Sort_title set to: True
2019-07-21 20:50:33,884 (87c) :  INFO (logkit:16) - Setting Original_Title set to: True
2019-07-21 20:50:33,885 (87c) :  INFO (logkit:16) - Setting Movie_Level set to: Special Level 3
2019-07-21 20:50:33,887 (87c) :  INFO (logkit:16) - Setting TV_Level set to: Show Only 3
2019-07-21 20:50:33,887 (87c) :  INFO (logkit:16) - Setting Artist_Level set to: Level 2
2019-07-21 20:50:33,888 (87c) :  INFO (logkit:16) - Setting Photo_Level set to: Level 1
2019-07-21 20:50:33,888 (87c) :  INFO (logkit:16) - Setting PlayList_Level set to: Simple
2019-07-21 20:50:33,888 (87c) :  INFO (logkit:16) - Setting mu_Level set to: Disabled
2019-07-21 20:50:33,890 (87c) :  INFO (logkit:16) - Setting Check_Files set to: False
2019-07-21 20:50:33,890 (87c) :  INFO (logkit:16) - ************* Settings ended *************

OS: Windows 10 Plex server version: 1.16.2.1321

ukdtom commented 5 years ago

I need you to reproduce, and then upload a zip with all exporttools log files

A simple copy/paste snip is not enough

ukdtom commented 5 years ago

And disregard

Confirmed bug

WireCrazii commented 5 years ago

I see. If you need any test I'm here.

ukdtom commented 5 years ago

https://github.com/ukdtom/ExportTools.bundle/commit/774019486c84befb8887d2bdda9616453feacb91 should take care of it, and will be in when released

ukdtom commented 5 years ago

Care to try this? https://github.com/ukdtom/ExportTools.bundle/archive/tommy-work.zip

And do report back both good and bad ;)

WireCrazii commented 5 years ago

Seems working fine. Tried different type of TV show libraries and all of them exporting without any issues.

Good job, Thanks.

ukdtom commented 5 years ago

Thanks. Have to finish with audio and photos as well, just wanted to make sure I was on the right track here ;)