ytsm icon indicating copy to clipboard operation
ytsm copied to clipboard

Fresh install cant find thumbnails

Open gerroon opened this issue 7 years ago • 9 comments

I have been getting these kinds of errors

|139867251787520|django.request|log.py|228|WARNING|Not Found: /media/thumbs/video/DSZRM6IQ-Rg-best.jpe

So I went ahead wiped my database, recreated the whole thing, and I still get missing thumbnails. like above.

Here is the config

[global]
MediaRoot=/media/DRIVE/MEDIA/YTSM_MEDIA
YoutubeApiKey=AIzaSXXXXXXXXXXXXXXXXX
LogLevel=DEBUG
[user]
DownloadGlobalLimit=15
DownloadOrder=newest
DownloadPath=/media/DRIVE/MEDIA/YOUTUBE

I am on Debian Testing x64, I used Python3 virtualenv to install. Things like downloads seem to work, but I am missing thumbnails

"/media/DRIVE" is ntfs

gerroon avatar Dec 05 '18 04:12 gerroon

Here is a funny thing

139834639234816|django.request|log.py|228|WARNING|Not Found: /media/thumbs/video/XCITC08XMF4-best.jpe

Now lets see if they are there.

cd  /media/DRIVE/MEDIA/YTSM_MEDIA/thumbs/video

ls -alh|grep -i XCITC08XMF4

85K Dec  4 21:52 XCITC08XMF4-best.jpe
3.0K Dec  4 21:51 XCITC08XMF4-default.jpe

As you see they are there

gerroon avatar Dec 05 '18 04:12 gerroon

Here all these downloaded thumbnails today cant be found. Ytsm definetely downloads them to the proper place (the location in the config), but it seems like it is not finding them back

7143 Dec  5 12:16 XfU3WTt46To-best.jpe    
3828 Dec  5 12:16 XfU3WTt46To-default.jpe
3875 Dec  5 12:16 OSGsFuaSM6w-default.jpe
59445 Dec  5 12:16 OSGsFuaSM6w-best.jpe   
4150 Dec  5 12:16 by4O3iB0bfg-default.jpe
60314 Dec  5 12:16 by4O3iB0bfg-best.jpe   
3411 Dec  5 12:16 ZID6ht3ntE0-default.jpe
41604 Dec  5 12:16 ZID6ht3ntE0-best.jpe   
3520 Dec  5 12:16 OS4lOSnBMo0-default.jpe
55155 Dec  5 12:16 OS4lOSnBMo0-best.jpe   
3609 Dec  5 12:16 lfkQa9Da2dM-default.jpe
58713 Dec  5 12:16 lfkQa9Da2dM-best.jpe   
4218 Dec  5 10:15 qbZvlfRE2Hc-default.jpe
59360 Dec  5 10:15 qbZvlfRE2Hc-best.jpe   
3415 Dec  5 05:17 BqCs4ez_O40-default.jpe
46223 Dec  5 05:17 BqCs4ez_O40-best.jpe   
43002 Dec  5 04:15 kW3Jf9kljyA-best.jpe   
4742 Dec  5 04:15 5w4soQMn4pw-default.jpe
35472 Dec  5 04:15 5w4soQMn4pw-best.jpe   
4805 Dec  5 04:15 ljte4wjbuUQ-default.jpe
27379 Dec  5 04:15 ljte4wjbuUQ-best.jpe   
4879 Dec  5 04:15 kW3Jf9kljyA-default.jpe
4558 Dec  5 04:15 iztpxtqB4u4-default.jpe
20257 Dec  5 04:15 iztpxtqB4u4-best.jpe   
3362 Dec  5 04:15 ldJqLTMSvyU-default.jpe
13765 Dec  5 04:15 ldJqLTMSvyU-best.jpe   
19130 Dec  5 03:16 tdUtbVESugM-best.jpe   
4750 Dec  5 03:16 tdUtbVESugM-default.jpe
2013 Dec  4 21:57 pJTke-9Mvv8-default.jpe

gerroon avatar Dec 05 '18 18:12 gerroon

I do not know man, I think there is something goofy about the "MediaRoot" setting in the config, it is not reaching to the right folder when readin it seems

I even tried reinstalling regular system wide pip3 stuff with same results.

gerroon avatar Dec 06 '18 19:12 gerroon

having the same issue on a fresh install.

saveyour avatar Dec 26 '18 14:12 saveyour

@saveyour did you find a solution? I just tested the latest development branch and still missing thumbs

gerroon avatar Dec 29 '18 22:12 gerroon

Does this guide help? https://github.com/chibicitiberiu/ytsm/wiki/Troubleshooting

chibicitiberiu avatar Dec 30 '18 12:12 chibicitiberiu

I just pulled the dev version and the thumbs are there, not sure.

gerroon avatar Dec 30 '18 17:12 gerroon

Great! so it seems that they are fixed now. If you agree, I'll close the issue.

chibicitiberiu avatar Dec 30 '18 17:12 chibicitiberiu

i fiddled with config and restored it to default and it started working again. thanks!

saveyour avatar Dec 31 '18 00:12 saveyour