Absolute Series Scanner (for anime mainly)

Forgot the Plex Media Scanner (custom ASS).log file. My bad:

http://pastebin.com/f84aD3fB

@Favna
The files are showing in Plex with right season and ep number, so the scanner did its job.
“japanese translated titles instead of the english ones” that’s an agent issue.
Please follow agent reade trouble shooting section and paste to the agent thread

@ZeroQI
You didn’t read my issue correctly - The issue is that I cannot even select the Absolute Series Scanner anymore. I can however select the HamaMovies Agent.

Oh wow nvm! I’m so sorry! I’m making a really stupid mistake. I accidentally put to Movies instead of TV Shows! So sorry!

My agent and scanner manage movies in tv series libraries. I thought most people would use that since it’s more convenient
I was considering a movie scanner, but the default one isn’t bad so i didn’t bother. Thanks for updating the thread, most people wouldn’t have

Hi, I’m using the latest versions of ASS from GitHub but it can’t scan anything, here’s the error log:

Aug 05, 2016 00:32:02.749 [5832] ERROR - No module in Absolute Series Scanner
Aug 05, 2016 00:32:02.749 [5832] ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
File “C:\Users\hoang\AppData\Local\Plex Media Server\Scanners\Series\Absolute Series Scanner.py”, line 9, in
from lxml import etree # fromstring
ImportError: DLL load failed: The specified module could not be found.

I have tried installing a bunch of Visual C++ Packages but none of them works.

The readme states one patch, not a bunch, that corrected it for somebody else on this forum with the exact message:

On windows install https://www.microsoft.com/en-us/download/details.aspx?id=5555 if you experience this error:
Jul 23, 2016 12:55:54.558 [5288] ERROR - Error scanning directory .
Jul 23, 2016 12:55:54.574 [5288] ERROR - No module in Absolute Series Scanner
Jul 23, 2016 12:55:54.574 [5288] ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
File “C:\Users\Administrator\AppData\Local\Plex Media Server\Scanners\Series\Absolute Series Scanner.py”, line 8, in
from lxml import etree # fromstring
ImportError: DLL load failed: The specified module could not be found.

Did you try this exact package: https://www.microsoft.com/en-us/download/details.aspx?id=5555 ?
http://stackoverflow.com/questions/7228229/lxml-dll-load-failed-the-specified-module-could-not-be-found
http://www.lfd.uci.edu/~gohlke/pythonlibs/

Many binaries depend on numpy-1.11+mkl and the Microsoft Visual C++ 2008 (x64, x86, and SP1 for CPython 2.6 and 2.7), Visual C++ 2010 (x64, x86, for CPython 3.3 and 3.4), or the Visual C++ 2015 (x64 and x86 for CPython 3.5) redistributable packages.
Please try one by one, and i will update the readme with the run-time you found solving this issue, unless https://www.microsoft.com/en-us/download/details.aspx?id=5555 solved in, in which case you didn’t read the thread nor the readme and you should feel bad

Well, installed a bunch of them following your post in HAMA thread

@ZeroQI said:
@7gartner : http://lmgtfy.com/?q="ImportError%3A+DLL+load+failed%3A+The+specified+module+could+not+be+found"+etree
try to install the following, try again and report which solved the issue
https://www.microsoft.com/en-us/download/details.aspx?id=48145
https://www.microsoft.com/en-us/download/details.aspx?id=5555
https://www.microsoft.com/en-us/download/details.aspx?id=40784

@ToxicPanda : Scanner readme states “The files choosen by the scanner will be showing in Plex. The Plex metadata agent will find metadata for files showing.”. if files are not showing it’s a scanner issue. Please post to github or scanner thread the custom scanner log and plex scanner logs, list in the readme, in the troubleshooting steps

And I have installed all of the packages that were mentioned here: Archived: Python Extension Packages for Windows - Christoph Gohlke
Microsoft Visual C++ 2008 (x64, x86, and SP1 for CPython 2.6 and 2.7), Visual C++ 2010 (x64, x86, for CPython 3.3 and 3.4), or the Visual C++ 2015 (x64 and x86 for CPython 3.5) redistributable packages. Unfortunately, none of them works

Aug 05, 2016 08:09:11.607 [5304] ERROR - No module in Absolute Series Scanner
Aug 05, 2016 08:09:11.607 [5304] ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
File “C:\Users\hoang\AppData\Local\Plex Media Server\Scanners\Series\Absolute Series Scanner.py”, line 9, in
from lxml import etree # fromstring
ImportError: DLL load failed: The specified module could not be found.

Check path variable with ‘set’



Dependency walker would tell you missing dll

Um sorry but I don’t know anything about Python programming


With Dependency Walker, when I loaded Absolute Series Scanner.py it says: No DOS or PE signature found. This is not a valid 32-bit or 64-bit Windows module.

Also, I tried the ASS version attached to your first post in HAMA thread and it’s working but there is a problem, some series got all episodes merge into 1.

So you understand your windows miss dlls. My scanner doesn’t load ddls, but plex does. My scanner is fine under windows for other people, although it in latest version calls for a library (“from lxml import etree”) causing issues on windows only and for some people only. Someone updated the given package and i documented it in the readme

Some would have given their windows version and “Plex Media Server” version as 32/64 bit could change the packet needed


windows command prompt: “set”

http://www.dependencywalker.com/ > load the scanner or or whatever file with lxml in the name

None of it is programming


Ah my bad, I’m using Windows 10 64-bit with the latest Plex Media Server, version 1.0.3.2461 but I have already installed both 32 and 64 bit version of that Visual C++ 2010 Redistributable Package and well
 they are not working

And sorry but I don’t quite understand, can you please type out the exact command I should enter to Command Prompt to find these missing dll files? Please bear with me, I’m just a casual Windows user


Try all the below. some share the same filename, they’re still different:
https://www.microsoft.com/en-us/download/details.aspx?id=5582 Visual C++ 2008 sp1 (x86)
https://www.microsoft.com/en-us/download/details.aspx?id=2092 Visual C++ 2008 sp1 (x64)
https://www.microsoft.com/en-us/download/details.aspx?id=8328 Visual C++ 2010 sp1 (x86)*
https://www.microsoft.com/en-us/download/details.aspx?id=13523 Visual C++ 2010 sp1 (x64)*
https://www.microsoft.com/en-us/download/details.aspx?id=40784 Visual C++ 2013 (both+arm)*
https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ 2015 (both)

You could test the Absolute Series Scanner.pyc (not “.py”) with “Dependency Walker” and it should tell you the missing DLL.
http://www.dependencywalker.com/

in command prompt type “set” and paste the content of “PATH” variable

As for the Visual C++ Redistributable Packages, I have already installed all of them (2005 to 2015, both 32 and 64 bit) since yesterday.
As for Dependency Walker, I download the 64-bit version, extract and open it then load the “Absolute Series Scanner.pyc” ( Which I rename from “Absolute Series Scanner.py”?) but the result is still the same: “No DOS or PE signature found. This is not a valid 32-bit or 64-bit Windows module.”
As for Command Promt, I guess the “PATH” you mentioned is the result from Dependency Walker which is not working?
May I ask if you still keep any older version that doesn’t have this missing dll issue? I haven’t update Absolute Series Scanner for sometime now and it was working perfectly until I decided to update it yesterday, bad move


the pyc should be generated by plex in same folder.
set: https://technet.microsoft.com/en-us/library/bb490998.aspx
the scanner is in PYTHON and doesn’t carry DLL. the scanner work in nas, linux, windows, macos

you could try installing .net. Plex install lack dependencies, nothing i can do apart re-writing to not use this module, which would be tricky.

Look like recent versions of Plex Media Server doesn’t generated the .pyc file any more.
Anyway, I have just rollback to version 0.9.17.3 and now it’s working great again! So turned out the problem is Plex Media Server version 1, guess I will have to stick with version 0.9.17.3 for now, hopefully you or the Plex team can find a fix for this. Thank you for your time!

I’m running into the same issue as Reaper. Since the latest version of plex doesn’t generate compiled python, i compiled Absolute Series Scanner.py myself using:
import py_compile
py_compile.compile(’/Absolute Series Scanner.py’)

However, Dependency Walker spat the pyc back out in my face saying that it isn’t a valid 32 bit or 64 bit Windows module.

@Reaper 1610 said:
Look like recent versions of Plex Media Server doesn’t generated the .pyc file any more.
Anyway, I have just rollback to version 0.9.17.3 and now it’s working great again! So turned out the problem is Plex Media Server version 1, guess I will have to stick with version 0.9.17.3 for now, hopefully you or the Plex team can find a fix for this. Thank you for your time!

Where did you get the server file to rollback. I also would like to go back but cannot find it.