Hi, getting a 500 server error when trying to access certain comics in my list:
https://pastebin.com/WN0QhNze
No errors in the log. Persists after restart.
Any ideas on this one?
Cheers,
G
TypeError: stat: path should be string (help please?)
-
- Posts: 13
- Joined: Sun Jun 17, 2018 5:21 am
-
- Posts: 13
- Joined: Sun Jun 17, 2018 5:21 am
Re: TypeError: stat: path should be string (help please?)
Version: v0.6.1 (master)
- evilhero
- Site Admin
- Posts: 2883
- Joined: Sat Apr 20, 2013 3:43 pm
- Contact:
Re: TypeError: stat: path should be string (help please?)
Is your python version 3.6?
Mylar won't run properly unless it's at least 3.7.5+ (preferably 3.8 or newer), as per the installation instructions on github.
Mylar won't run properly unless it's at least 3.7.5+ (preferably 3.8 or newer), as per the installation instructions on github.
-
- Posts: 13
- Joined: Sun Jun 17, 2018 5:21 am
Re: TypeError: stat: path should be string (help please?)
Thanks for the reply, I appreciate it.
It’s 3.6.9 so that probably explains it, thank you.
I will update and see how it goes.
Cheers,
G.
It’s 3.6.9 so that probably explains it, thank you.
I will update and see how it goes.
Cheers,
G.
-
- Posts: 13
- Joined: Sun Jun 17, 2018 5:21 am
Re: TypeError: stat: path should be string (help please?)
$ ls /usr/bin/python*
/usr/bin/python /usr/bin/python3.5m
/usr/bin/python2 /usr/bin/python3.6
/usr/bin/python2.7 /usr/bin/python3.6m
/usr/bin/python3 /usr/bin/python3.9
/usr/bin/python3.5 /usr/bin/python3m
OK installed Python 3.9 and now I have all the versions.
I attempted to be clever and ran:
~/.mylar3 $ python3.9 Mylar.py
Traceback (most recent call last):
File "/home/gregory/.mylar3/Mylar.py", line 26, in <module>
import mylar
File "/home/gregory/.mylar3/mylar/__init__.py", line 36, in <module>
from apscheduler.schedulers.background import BackgroundScheduler
ModuleNotFoundError: No module named 'apscheduler'
Sorry, a little out of my depth perhaps.
Any suggestions still gratefully accepted.
Thank you.
G.
/usr/bin/python /usr/bin/python3.5m
/usr/bin/python2 /usr/bin/python3.6
/usr/bin/python2.7 /usr/bin/python3.6m
/usr/bin/python3 /usr/bin/python3.9
/usr/bin/python3.5 /usr/bin/python3m
OK installed Python 3.9 and now I have all the versions.
I attempted to be clever and ran:
~/.mylar3 $ python3.9 Mylar.py
Traceback (most recent call last):
File "/home/gregory/.mylar3/Mylar.py", line 26, in <module>
import mylar
File "/home/gregory/.mylar3/mylar/__init__.py", line 36, in <module>
from apscheduler.schedulers.background import BackgroundScheduler
ModuleNotFoundError: No module named 'apscheduler'
Sorry, a little out of my depth perhaps.
Any suggestions still gratefully accepted.
Thank you.
G.
- evilhero
- Site Admin
- Posts: 2883
- Joined: Sat Apr 20, 2013 3:43 pm
- Contact:
Re: TypeError: stat: path should be string (help please?)
You need to install the requirements for mylar against that specific version of python.
From the mylar3 wiki:
From the mylar3 wiki:
In your case, because you have several different versions installed, you need to make sure it's against the python3.9 version, most likely the pip command is pip3.9 instead of pip3 indicated above, so replace that when you run the install command above and you should be good thereafter.from the root of the mylar installation, run the following command pip3 install -r requirements.txt to install all required dependencies not included.