Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
-
fleXible
- Posts: 12
- Joined: 29 Aug 2019, 07:48
Post
by fleXible » 23 Nov 2019, 03:50
@doenerR: The error message suggests your system has no access to internet.
Try this on your console:
It should print the ip addresses of google.
-
deoneR
- Posts: 22
- Joined: 30 May 2013, 16:35
Post
by deoneR » 23 Nov 2019, 06:52
i am running windows server 2019
internet is working just fine on the machine
-
fleXible
- Posts: 12
- Joined: 29 Aug 2019, 07:48
Post
by fleXible » 24 Nov 2019, 01:12
Have you googled the error message already? There seem to be a lot of people with exactly this problem on Windows. Please check your local firewall settings.
Can you open a python shell and enter this:
Code: Select all
>>> import socket
>>> s = socket.socket()
>>> s.connect(('www.google.com', 80))
Code: Select all
>>> import requests
>>> requests.get('http://www.google.com')
Both should run without errors when your system is setup properly.
-
deoneR
- Posts: 22
- Joined: 30 May 2013, 16:35
Post
by deoneR » 24 Nov 2019, 12:22
ty for you help
thats what i get after this commands
Code: Select all
>>> import socket
>>> s = socket.socket()
>>> s.connect(('www.google.com', 80))
>>> import requests
>>> requests.get('http://www.google.com')
<Response [200]>
>>>
-
fleXible
- Posts: 12
- Joined: 29 Aug 2019, 07:48
Post
by fleXible » 25 Nov 2019, 06:11
Hey,
looks like everything is working. Have you since tried it again? Maybe the issue was only temporary.
-
fleXible
- Posts: 12
- Joined: 29 Aug 2019, 07:48
Post
by fleXible » 13 Mar 2020, 08:04
geewhiz wrote: ↑06 Nov 2019, 01:26
With python 2 support sun setting in 2020, does this script support python 3 yet? Thanks.
Python 3 support has finally arrived!
-
mannibis
- Posts: 60
- Joined: 29 Jul 2014, 15:10
Post
by mannibis » 20 Aug 2020, 00:19
I have added python3 compatibility and also started to store the auth_token to disk, so that the script does not sign-in with plex.tv every time it is ran. The auth_token will be re-used after the initial sign-in.
I have also created a GitHub repo here:
https://github.com/mannibis/NotifyPlex in case anyone wants the newest version
Who is online
Users browsing this forum: No registered users and 30 guests