Scanner problem & question on .plexignore subdirectory problem

Good morning,

 

I want to start off by saying, I was incredibly happy with my Plex server until about December. This issue with the scanner not correctly ignoring nested subdirectories crept up and has really messed up my workflow for updating my media.

 

In addition, nothing new has been added to my library since December. I've resorted to playing everything back through an alternate player. To be clear, all media scanned prior to December plays fine, nothing new is added to library even after deep scan (nothing in ignored or actual directories). When looking through the log, I see this error before it begins trying to scan each season of my shows. 

 

Feb 14, 2014 09:52:59:825 [2860] ERROR - Error in Python: Running scanner:
Traceback (most recent call last):
  File "C:\Users\USER\AppData\Local\Plex Media Server\Plug-ins\Scanners.bundle\Contents\Resources\Series\Plex Series Scanner.py", line 44, in Scan
    VideoFiles.Scan(path, files, mediaList, subdirs, root)
  File "C:\Users\USER\AppData\Local\Plex Media Server\Plug-ins\Scanners.bundle\Contents\Resources\Common\VideoFiles.py", line 149, in Scan
    Filter.Scan(path, files, mediaList, subdirs, video_exts, root)
  File "C:\Users\USER\AppData\Local\Plex Media Server\Plug-ins\Scanners.bundle\Contents\Resources\Common\Filter.py", line 92, in Scan
    for match in glob.glob(pattern):
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\glob.py", line 27, in glob
    return list(iglob(pathname))
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\glob.py", line 59, in iglob
    for name in glob_in_dir(dirname, basename):
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\glob.py", line 73, in glob1
    names = os.listdir(dirname)
TypeError: must be (buffer overflow), not str
 
Feb 14, 2014 09:40:45:244 [2860] ERROR - We got an error scanning in Y:\TV

 

 

I've attempted to delete the system and framework bundles, but not really sure where to go from here.

 

 

My questions are:

 

Has there been an update to the server that solves the problem with nested subdirectories?

(I saw user sa2000 has asked the question, but hasn't received an answer yet.)

 

 

Any idea on what is wrong with my scanner? Is it tied to my .plexignore problem?

 

 

Thanks in advance for the help. If this issue can be fixed, I will buy PlexPass immediately. Otherwise, the slick interface and transcoding I've grown to love may be a fond memory. I realize all of the devs are very busy, just hoping this issue is being worked on or hopefully already resolved.

Can somebody give me their best guess on where to start to fix my scanner? Any help is appreciated. 

Can somebody give me their best guess on where to start to fix my scanner? Any help is appreciated. 

i have the same issue.

i deleted my whole plx setup annd reinstalled it agan. started with one simple movie in one folder. tried different plugin agent. it still gives m errors and wont recognise my file. i think it has something to do with python library or either system variabels on windows. i have not figured it out either. would appriciate if anyone can help. dont want to switch back to xbmc

Traceback (most recent call last):
  File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\Scanners.bundle\Contents\Resources\Movies\Plex Movie Scanner.py", line 15, in Scan
    VideoFiles.Scan(path, files, mediaList, subdirs, root)
  File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\Scanners.bundle\Contents\Resources\Common\VideoFiles.py", line 149, in Scan
    Filter.Scan(path, files, mediaList, subdirs, video_exts, root)
  File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\Scanners.bundle\Contents\Resources\Common\Filter.py", line 64, in Scan
    if os.path.exists(filename) == False or os.path.getsize(filename) == 0:
UnboundLocalError: local variable 'filename' referenced before assignment
May 29, 2014 20:37:39:591 [4916] ERROR - We got an error scanning in E:\Movie

Has this been solved yet?  It certainly doesn't seem to work in any way, shape or form on my fresh install on Ubuntu 14.04.

As a lifetime Plexpass member I'm wondering why such a simple and useful thing isn't working and begining to think Mediabrowser3 is going to be a better solution.

if the scanner crash, nothing will be added, period.

try to delete plugins in C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\ and Plex will re-generate them

Series scanner? try mine and post the custom log appearing alonside Plex logs (supports seasons, absolute mode, subdirectories correctly)

https://github.com/ZeroQI/Absolute-Series-Scanner/blob/master/Series/Absolute%20Series%20Scanner.py

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.