-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bw_plex watch errors #34
Comments
Thanks for trying. This is a parser error while trying to logon to your plex server. Can you double check your config file |
I seem to have fixed the config I believe. but I'm getting Aborted! now `PS C:\Users\patrick> bw_plex watch Aborted! Aborted!` |
It’s just to given you a notice that you have cancel the cli using control c. Try letting it run for a while |
it gives me that aborted! immediately after typing in bw_plex watch without touching anything else. |
Hm, i have no idea why that happens. Can you try to upgrade bw_plex? |
2.7.13 python version, 64 bit So, I tried pip install -U bw_plex and it just said 'Requirement not upgraded as not directly required:' Then I deleted the hashes.pklz and tried bw_plex watch again and I'm getting the first error in my first post again with the parser errors. I try bw_plex watch again. I'm getting the second errors saying its !aborted. So I'm guessing I somehow don't have my config file correct. I tried bw_plex process -n Archer since I know I have some of those episodes.
I click 0 and it brings up the episodes, I click the number for the episode and I get the same error below.
I'll give a general idea of what my config file looks like without giving away my info and you let me know if something is out of place.
I'll keep fiddling with it and seeing if something else works. |
Config looks good. I don’t get why this happens. Only think I could think on some exceptions getting swallowed while loading the hash table. Is there any themes in the theme and temp themes folder if so can you delete them and the hashtable file and try to run the program in cmd.exe? If this doesn’t I’ll work I’ll write a branch with more logging |
Nothing in either theme folder sadly. Let me know if you update the branch, Thanks! |
Can you post the full log in a gist? Just make sure you replaces any tokens (I plan to add a sanitation to the log later) |
These are the only logs I found in your .config folder https://gist.github.com/notnicecream/5873fcf2ac29980fc16726d0f2597c93 But I also copied over the errors from my cmd to this gist for you as well |
Awesome. The logs indicate a memory errror (generally this means you have to little memory in general or that the process used to much memory. How much memory do you have on your computer? Do you have several python versions installed? Python 32 and 64 bit python 3 and python 2? |
I have 16gbs of memory, I had around 7gbs of free memory when I first tried it. I stopped running everything else just incase it needed more than 7gbs and its still giving the same memory error. I'm 95% sure I only have python 2.7 64bit As for running python plex.py watch, it's giving me basically the same error, see below.
|
If you just write python in cmd it should start idle. The version type is listed at the top. Highest memory usage I have seen so far is around 2 gb. 7 should be plenty. |
Ok, so I had 32 bit python apparently. I went on to uninstall everything and reinstall everything but using python 64 bit 2.7.15. It seems to be running now. the only thing is I get the warning below.
I tried doing pip install bw_plex[all] but it says everything is already downloaded. But besides the warning it is now finding what show I am watching, granted I've only tried a few shows so far but they are all saying
All different rating key numbers but they all fail. and it doesn't skip any intro's or credits yet, so i'll keep at it trying to figure out what to do. |
Try doing As for the message |
I tried How long does it usually take to analyze and add a show? Because I've had it running for over a day now and it hasn't said anything besides Thanks for the help so far, I appreciate it. |
That depends on how big the file we analyze what what you want to analyze, when i do it on my i7, it usually takes like 2-4 minutes for each item.
|
I have an I7 as well, and I checked ffmpeg on my cmd.exe and it's working as well. I kept it running all weekend hoping it would maybe start working. But it's just the same.
Eventually near the end it just stopped even trying. Just outputting this without even trying to download the first 10 minutes.
Not really sure what else to do. |
Can you post the entire log to a gist? remember to remove any plex-api token. |
Thanks, so it reaches process_to_db then "nothing happens" so, can you try to run |
ok, here's the gist file of what happened. https://gist.github.com/notnicecream/7db906d207770e47a3c22e16332737cb |
Ok, i have no idea why that happend. Are you using the version on pypi or from github? If its not from github
Your my hero, thanks :) |
Here's my most recent gist :) https://gist.github.com/notnicecream/e76bdb3bb0497f10aac9e19aab956bf8 I have no problem testing stuff, I just don't have much if at all experience with python so I'm winging it. |
Sorry, it was pip install -e . Not python setup.py -e . Sorry my bad. Remember to remove media.db hashes.pklz and the log before you try again. |
mmk, newest gist - https://gist.github.com/notnicecream/f6205ac327d1f5f865ea0aafa002332e |
Only thing i can think if is a ffmeg error. Can you try to execute: and see what it returns/does ? If this doesnt work ill have to create a new branch with additional logging. |
Looks like that did something. here - https://gist.github.com/notnicecream/5fcfc63a6defac7a9410e174810b9845 |
Hm, we should catch more info now. Delete log, hashes and media.db. do a git pull and then do: bw_plex process -n Archer |
I got that exact same error earlier today. |
I have forced that value to int now. Dunno why it happened |
I tried deleting a couple things. I believe the error Sadly it's mostly the same scenario, still getting this error when trying to run bw_plex process -n Archer https://gist.github.com/notnicecream/8079aef424898308afb13b8e643c272b It seems to be creating video files in the Themes folder and bw_plex watch isn't giving any errors but it's still not skipping any intro/outro credits. |
The version your using dont have addition logging, there is also a bug where that make this uncompat with python 2 (what your using.) To fix this your need to update the package from github. Delete log, hashes.pklz and the db (there was some db changes) and do: |
Ionno, I've reinstalled everything again. Here's the Gist - https://gist.github.com/notnicecream/e81817938b938ff2f167e459bfde41e7 |
Nothing usefull in the log (the same error). Okei i have created a new branch where we dont to any threading, this should show the entire traceback. Since you have installed from source you should be able to just use git.
|
Docker support was just added. :) |
The only time I have encountered a quick exit is if there is a hashes.plkz file but it’s like 1 kB. Try the docker |
I tried it again. removed everything started from scratch, getting these errors when I run bw_plex watch. |
Still the same issue as before. If can’t find llvmlite.dll |
Hi, I've installed everything that was required and I've setup the config file to what I believe is correct.
So I've tried running bw_plex watch but I'm getting these errors.
I'm on Windows 7.
File "c:\Python27\Scripts\bw_plex-script.py", line 11, in <module> load_entry_point('bw-plex', 'console_scripts', 'bw_plex')() File "c:\python27\lib\site-packages\click\core.py", line 722, in __call__ return self.main(*args, **kwargs) File "c:\python27\lib\site-packages\click\core.py", line 697, in main rv = self.invoke(ctx) File "c:\python27\lib\site-packages\click\core.py", line 1063, in invoke Command.invoke(self, ctx) File "c:\python27\lib\site-packages\click\core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "c:\python27\lib\site-packages\click\core.py", line 535, in invoke return callback(*args, **kwargs) File "c:\users\patrick\src\bw-plex\bw_plex\plex.py", line 176, in cli verify_ssl=verify_ssl) File "c:\users\patrick\src\bw-plex\bw_plex\misc.py", line 44, in get_pms PMS = PlexServer(url, token, sess) File "c:\python27\lib\site-packages\plexapi\server.py", line 102, in __init_ data = self.query(self.key, timeout=timeout) File "c:\python27\lib\site-packages\plexapi\server.py", line 348, in query return ElementTree.fromstring(data) if data.strip() else None File "<string>", line 124, in XML lementTree.ParseError: not well-formed (invalid token): line 20, column 56
Then I tried installing pip again incase something was missing and I got these errors.
File "c:\Python27\Scripts\bw_plex-script.py", line 11, in <module> load_entry_point('bw-plex', 'console_scripts', 'bw_plex')() File "c:\python27\lib\site-packages\click\core.py", line 722, in __call__ return self.main(*args, **kwargs) File "c:\python27\lib\site-packages\click\core.py", line 697, in main rv = self.invoke(ctx) File "c:\python27\lib\site-packages\click\core.py", line 1063, in invoke Command.invoke(self, ctx) File "c:\python27\lib\site-packages\click\core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "c:\python27\lib\site-packages\click\core.py", line 535, in invoke return callback(*args, **kwargs) File "c:\users\patrick\src\bw-plex\bw_plex\plex.py", line 176, in cli verify_ssl=verify_ssl) File "c:\users\patrick\src\bw-plex\bw_plex\misc.py", line 44, in get_pms PMS = PlexServer(url, token, sess) File "c:\python27\lib\site-packages\plexapi\server.py", line 102, in __init_ data = self.query(self.key, timeout=timeout) File "c:\python27\lib\site-packages\plexapi\server.py", line 348, in query return ElementTree.fromstring(data) if data.strip() else None File "<string>", line 124, in XML lementTree.ParseError: not well-formed (invalid token): line 20, column 56
The text was updated successfully, but these errors were encountered: