I’m not quite sure what the issue is then. On centos, you need to run that whole command every time.
Oh I see. The way I understood this was that I needed to only run plexemail.py. I was hoping I didn’t have to run that long command every time.
EDIT Is there any way I can place that long command in a bash script and run it? The command works fine when I run it as root from the shell, but I get errors as root running from a bash script.
OK, I waited until today for my launchd job to trigger (I’m on Mac), but it didn’t. I was able to open Terminal and run the command manually inside my PlexEmail folder (which worked), but I’m not sure why updating killed the launchd (cron) job…
Ever since I updated (I’m on Mac) the script will not automatically run. It was running great via launchd before. I tried changing the permissions on the file to no avail. Anyone have any ideas?
@DoubleAC said:
error coming up that I can’t figure out…
Searching this thread for word ‘ordinal’ comes up a few times.
Simply put, python is choking on a bit of text it can’t convert.
I remember in one instance I helped someone here find that the ‘list’ of friends names/emails/servers shared with them had an incorrect quote (` instead of ') not understood by python without filtering/escaping/special treatment. I was under the assumption @eadwyn fixed that ascii/utf-8 issue though in the latest release.
Are you using the latest from github?
If not, perhaps @eadwyn can weigh in and see if there is anything else they can do.
I found this discussion on stackoverflow- seems to have ideas about working around python’s ascii / utf-8 issues. api - UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128) - Stack Overflow
Is there a really dummies guide to installing on Mac? I really want to use this but can’t get the python script to even start without a missing module error.
Are you still having this issue? Maybe Cloudinary was down for a bit?
@jlomaga said:
Is there a really dummies guide to installing on Mac? I really want to use this but can’t get the python script to even start without a missing module error.
I don’t have a mac, but if someone isn’t able to help you with a better guide personalized to mac in the next week, I’ll see what I can do.
@Desy said:
Got everything working on windows, just wanted to give you a shout out for the awesome app. I’ll be tossing you some beer money.
Thanks!
Glad to hear that you got it working, let me know if you run into any issues. Thanks for the donation, really appreciated!
Are you still having this issue? Maybe Cloudinary was down for a bit?
@jlomaga said:
Is there a really dummies guide to installing on Mac? I really want to use this but can’t get the python script to even start without a missing module error.
I don’t have a mac, but if someone isn’t able to help you with a better guide personalized to mac in the next week, I’ll see what I can do.
@Desy said:
Got everything working on windows, just wanted to give you a shout out for the awesome app. I’ll be tossing you some beer money.
Thanks!
Glad to hear that you got it working, let me know if you run into any issues. Thanks for the donation, really appreciated!
I run into this (was unmounted) now after re-mounting the jail storage.
Hi to all,
I´m trying to install this tool in my QNAP NAS which runs Python 2.7.10 [GCC 4.8.3]. Wheh I run the script I get this error:
Traceback (most recent call last):
File "plexEmail.py", line 9, in <module>
import requests
ImportError: No module named requests
I´ve read in another post that it´s possible get the request module for windows… It´s also possible with linux?
And… where should I place that file/s?
Thanks
@Thunder7ga said:
Decided to give this script a go today, and I believe I have everything set, but I am seeing the following when using GMail to send from:
Traceback (most recent call last):
File “d:\plexemail\scripts\plexEmail.py”, line 1553, in success = sendMail(‘’)
File “d:\plexemail\scripts\plexEmail.py”, line 482, in sendMail server = smtplib.SMTP(smtp_address, smtp_port)
File “c:\python27\lib\smtplib.py”, line 239, in init (code, msg) = self.connect(host, port)
File “c:\python27\lib\smtplib.py”, line 296, in connect (code, msg) = self.getreply()
File “c:\python27\lib\smtplib.py”, line 343, in getreply
raise SMTPServerDisconnected(“Connection unexpectedly closed”)
smtplib.SMTPServerDisconnected: Connection unexpectedly closed
Something like that would be amazing! sounds similar to PlexRequest
Those were the instructions for installing on mac (note that you will have to open up the command line). Follow the readme on how to configure the config file and feel free to ask me any questions (just give me info on what you are looking for it to do).
After you use nano to modify the config file, you can test it by running:
python PlexEmail/scripts/plexEmail.py -t
Once you get that far I can help you with setting up a cron job.