Thanks for your patience. I read the Installation part of the git page (and did find it a little tricky to follow) but believe I created the necessary folders and placed files in the correct places. I did not see about the rawgit.com fix or the DefaultPrefs.json, so clearly I overlooked important parts. I will go back and start over to see if anything changes.
Edit: Looks like the file I downloaded was HAMA _ Absolute Series Scanner 2014-08-04 00h37.zip. Guess I ended up at an old download page somehow. Well, I guess that explains some of my problems!
(That said, this is my first time dealing with Agents and Scanners so I don’t understand them very well.)
Thanks for the honest answer.
That is as old as it gets so try latest version, most issues should be solved. It will solve the agent crashing therefore not finishing the job…
The agent logs show it cannot write pictures so you might want to recheck…
Hama was working fine yesterday and the day before and this morning i tried to scan in a new eps and got the following (Plex Scanner Log):
Aug 17, 2016 08:58:48.771 [0716] ERROR - No module in VideoFiles
Aug 17, 2016 08:58:48.772 [0716] ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
File "P:\Data\Plex Media Server\Scanners\Series\Absolute Series Scanner.py", line 9, in <module>
from lxml import etree # fromstring
ImportError: DLL load failed: The specified module could not be found.
Aug 17, 2016 08:58:48.845 [0716] ERROR - Error scanning directory Dragon Ball Super.
Aug 17, 2016 08:58:48.860 [0716] ERROR - No module in Absolute Series Scanner
Aug 17, 2016 08:58:48.860 [0716] ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
File "P:\Data\Plex Media Server\Scanners\Series\Absolute Series Scanner.py", line 9, in <module>
from lxml import etree # fromstring
ImportError: DLL load failed: The specified module could not be found.
Aug 17, 2016 08:58:48.868 [0716] ERROR - We got an error scanning in D:\Videos\Anime\Dragon Ball Super
Aug 17, 2016 08:58:49.028 [0716] ERROR - There were errors scanning location: D:\Videos\Anime
Aug 17, 2016 08:58:49.028 [0716] DEBUG - Since it was an incomplete scan, we are not going to whack missing media.
Aug 17, 2016 08:58:49.029 [0716] DEBUG - Refreshing section 15 of type: 2
I might try to restart plex to see if it fixes the issue. I had gotten a auto-restart of my windows due to windows update.
@saitoh183 said:
Hama was working fine yesterday and the day before and this morning i tried to scan in a new eps and got the following (Plex Scanner Log):
Aug 17, 2016 08:58:48.771 [0716] ERROR - No module in VideoFiles
Aug 17, 2016 08:58:48.772 [0716] ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
File "P:\Data\Plex Media Server\Scanners\Series\Absolute Series Scanner.py", line 9, in <module>
from lxml import etree # fromstring
ImportError: DLL load failed: The specified module could not be found.
Aug 17, 2016 08:58:48.845 [0716] ERROR - Error scanning directory Dragon Ball Super.
Aug 17, 2016 08:58:48.860 [0716] ERROR - No module in Absolute Series Scanner
Aug 17, 2016 08:58:48.860 [0716] ERROR - Error in Python: Looking up module:
Traceback (most recent call last):
File "P:\Data\Plex Media Server\Scanners\Series\Absolute Series Scanner.py", line 9, in <module>
from lxml import etree # fromstring
ImportError: DLL load failed: The specified module could not be found.
Aug 17, 2016 08:58:48.868 [0716] ERROR - We got an error scanning in D:\Videos\Anime\Dragon Ball Super
Aug 17, 2016 08:58:49.028 [0716] ERROR - There were errors scanning location: D:\Videos\Anime
Aug 17, 2016 08:58:49.028 [0716] DEBUG - Since it was an incomplete scan, we are not going to whack missing media.
Aug 17, 2016 08:58:49.029 [0716] DEBUG - Refreshing section 15 of type: 2
I might try to restart plex to see if it fixes the issue. I had gotten a auto-restart of my windows due to windows update.
@ZeroQI
A restart of plex fixed it…but this isnt the first time i get this problem and i have to restart plex to fix it…i wonder what triggers it?
@saitoh183 plex upgrade caused a requirement fot visualc++ runtime, some solved by installing it, others had to downgrade plex windows version. Each time “from lxml import etree” is responsible, but need the library and function…
Solve the dll issue with dependency checkers and you could make loads of people happy
I am one of the ones that downgraded. I love the scanner and agent but they stopped working for me. Downgraded and had it working then it quit scanning stuff in again and I realized I had auto update checked. I removed that and downgraded again. Hopefully a new Plex server will fix this issue. I could live without the agent but not the ass scanner.
@mrazianz not an agent issue specific to my agent i am afraid… If you do discover how, i can document it in the readme install part.
@Darkzoid Thanks, that warm my dead inside heart That took some work but i can say it scans most things effortlessly (except the use who had the ep number in brackets, seriously, who does that?) and thanks to EndOfLine369 we have few more modes that allow super unique and funky stuff. Am really happy you like the scanner. It’s made from my blood and tears
@ZeroQI said: @mrazianz not an agent issue specific to my agent i am afraid… If you do discover how, i can document it in the readme install part.
@Darkzoid Thanks, that warm my dead inside heart That took some work but i can say it scans most things effortlessly (except the use who had the ep number in brackets, seriously, who does that?) and thanks to EndOfLine369 we have few more modes that allow super unique and funky stuff. Am really happy you like the scanner. It’s made from my blood and tears
Yeah, thanks for all your hard work. When I started using Plex I hated it (Plex that is) but coming from a WDLive to a Roku 4 it seemed the right choice for an upgrade. Everything hated all my anime or did not see it at all. Until I got ASS+HAMA and instantly fell in love with Plex. I than bought a Plex pass and got my wife the Roku also. Without Ass, I would still be searching.
@lekarnicka said:
My mistake, sorry. I replaced line 59 but error is still same.
I will try tomorrow morning install plex on my working PC. Maybe is problem only on my side (Local PC)
2016-06-29 23:30:09,101 (139c) : DEBUG (networking:166) - Requesting ‘http://127.0.0.1:32400’
2016-06-29 23:30:09,104 (30c) : CRITICAL (core:574) - Exception while loading code (most recent call last):
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a17e99e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\core.py”, line 563, in load_code
self.init_code = self.loader.load(self.init_path, elevated, use_xpython = Framework.constants.flags.use_xpython in self.sandbox.flags)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a17e99e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\loader.py”, line 47, in load
code = self.compile(str(source), str(uni(filename)), elevated)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a17e99e\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\loader.py”, line 52, in compile
return RestrictedPython.compile_restricted(source, name, ‘exec’, elevated=elevated)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a17e99e\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 115, in compile_restricted
gen.compile()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a17e99e\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 68, in compile
tree = self._get_tree()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a17e99e\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 59, in _get_tree
tree = self.parse()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a17e99e\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 56, in parse
return niceParse(self.source, self.filename, self.mode)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-a17e99e\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 38, in niceParse
compile(source, filename, mode)
TypeError: compile() expected string without null bytes
How did you install the MCM Agent. I am having the same issue and cannot get past the same. I have tried installing it and configuring two times already
MCM? this doesn’t even list the agent code, only Plex
you messed up the install or didn’t gave the right logs, i list what to include in the readme…
You might be missing visual c++ runtime, install the ones linked in my readme
@ZeroQI said:
MCM? this doesn’t even list the agent code, only Plex
you messed up the install or didn’t gave the right logs, i list what to include in the readme…
You might be missing visual c++ runtime, install the ones linked in my readme
I got it work finally. there was a permission issue on the Windows 2008 R2 folder under the …\Users\Administrator\AppData\Local\Plex Media Server\ plugin and scanner folder. Once that was done it worked fine.
Not the best way to do this probably but it does the trick.
In the wiki you were asking about a way to do updating. Have you tried running the WebTools channel/plugin for plex? One part of it is the Unsupported AppStore which lets you add plugins by just supplying the git URL. It can then also go out and pull updates. Might be worth a shot if it works for ASS and/or HAMA.
@KapsUs what rights did you have and which did you put ? will update the readme install section with your feedback @deusxanime My issue is the agent data folder since i need folders created there, am the only one using that to my knowledge and am unsure it will work for the agent. Am also unaware of any scanner in the Unsupported AppStore.
Developers Only
If you are a developer, and want your work added to the new UAS, or want to make changes to some of your work already there, or sadly removed from the UAS , please visit the UAS2Res
Adding or removing to this repository
Setup a git repository (github.com) for your plugin.
Check that your work will install, when doing a manual install from within WebTools/UAS
I downloaded the newest version of Hama on windows 8.1 Pro 64bit and I’m getting the following error in logs agent.hama. This was downloaded correctly with no HTML tags in the *.py scripts. I’ve already downloaded the https://www.microsoft.com/en-us/download/details.aspx?id=48145 file and it didn’t change anything. I’ve also made sure I was the owner of the files and the permissions seem fine.
2016-09-11 23:10:38,128 (1bf0) : CRITICAL (core:574) - Exception while loading code (most recent call last):
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6f64a8d\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\core.py”, line 563, in load_code
self.init_code = self.loader.load(self.init_path, elevated, use_xpython = Framework.constants.flags.use_xpython in self.sandbox.flags)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6f64a8d\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\loader.py”, line 47, in load
code = self.compile(str(source), str(uni(filename)), elevated)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6f64a8d\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\loader.py”, line 52, in compile
return RestrictedPython.compile_restricted(source, name, ‘exec’, elevated=elevated)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6f64a8d\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 115, in compile_restricted
gen.compile()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6f64a8d\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 68, in compile
tree = self._get_tree()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6f64a8d\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 59, in get_tree
tree = self.parse()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6f64a8d\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 56, in parse
return niceParse(self.source, self.filename, self.mode)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-6f64a8d\Framework.bundle\Contents\Resources\Platforms\Shared\Libraries\RestrictedPython\RCompile.py”, line 38, in niceParse
compile(source, filename, mode)
File "C:\Users\Daniel\AppData\Local\Plex Media Server\Plug-ins\Hama.bundle\Contents\Code_init.py", line 216
elif if metadata_id_source in [“tmdb”, “tsdb”]:
^
SyntaxError: invalid syntax
The code had an error. you pasted it. corrected it. will test it to be sure…
Checking source again and will add unsupported appstore support but will have possibly to disable agent data folders useage by default. I like that you never have to download posters, themes, fanart, and if the site is down you reuse last downloaded one but no other agent use that and unsupported appstore will not support that possibly…
Hello everyone!
Can i ask you how to correctly assignment Berserk anime with movie into one PLEX folder ? Berserk has 3 movies and 2 series. One series from 2016 and second from 1997. I have same problem with K movie and K series
I will be very grateful from any answer
Please check forcing ids section on the scanner read-me in my signature
You need to add E:\Anime\Kenpuu Denki Berserk as root folder to your library as it is a grouping folder otherwise it all falls into one series, but with the way it looks, it show the 3 Plex series (one being a 3 part movie if we want to be precise ), one per folder you have, as designed exactly, all is right.
you could put the movies as options of berzerk with “Berserk Ougon Jidai Hen [anidb-11851-s00e01]”
you could put the serie as season 2 with “Kenpuu Denki Berserk [anidb-11851-s02]” but no metadata then since you are not following tvdb convention, nor anidb convention.