Page 1 of 1
Не грабит custom галеры
Posted: Thu Oct 17, 2013 12:54 am
by ink
Не грабятся кастом галеры. пробовали с разных источников - одно и то-же. в логе написано, что тумбы создаются - но по факту потом в конце - там пусто. один сайт ноывй, другой после переезда и кучкой кастомных галь уже.
где копать?
Re: Не грабит custom галеры
Posted: Thu Oct 17, 2013 1:09 am
by admin
Показывайте что конкретно в логах и как понять пусто в конце.
Re: Не грабит custom галеры
Posted: Thu Oct 17, 2013 5:27 am
by ink
Пусто в конце - значит что никакой галеры не добавилось/не сграбилось.
Лог:
Code: Select all
thumb_ratio: 1.33333333333 img_ratio: 1.25 to ../tmp/18/0/018/7_t.jpg (5.94177508354, 0.131624937057)
2013-10-16 20:38 Cut image (5.94204306602, 0.00026798248291)
2013-10-16 20:38 IM Cmd custom : /usr/bin//convert -crop 800x600+0+20 -resize !180x135 -filter Blackman -modulate 105,102,100 -enhance -sharpen 1x1 -quality 90 -strip ../tmp/18/0/018/7_t.jpg.tmp.jpg ../tmp/18/0/018/7_t.jpg (5.94218015671, 0.000137090682983)
2013-10-16 20:38 DL big content http://cdn1.galleries2.amakings.com/watchmygf/pictures/10407-amateur-babes-showing-their-naked-bodies/8.jpg => 7_92.jpg (6.03857207298, 0.096391916275)
2013-10-16 20:38 DL image for thumb http://cdn1.galleries2.amakings.com/watchmygf/pictures/10407-amateur-babes-showing-their-naked-bodies/9.jpg (6.05248808861, 0.013916015625)
2013-10-16 20:38 Make thumb ../tmp/18/0/018/tmp.jpg (6.07164502144, 0.0191569328308)
2013-10-16 20:38 Creating thumb (../tmp/18/0/018/8_t.jpg.tmp.jpg -> ../tmp/18/0/018/8_t.jpg) (6.07192802429, 0.000283002853394)
2013-10-16 20:38 Identify /usr/bin//identify -verbose ../tmp/18/0/018/8_t.jpg.tmp.jpg (6.07208609581, 0.000158071517944)
2013-10-16 20:38 Size: 800x599 (../tmp/18/0/018/8_t.jpg.tmp.jpg) thumb: 180x135
thumb_ratio: 1.33333333333 img_ratio: 1.33555926544 to ../tmp/18/0/018/8_t.jpg (6.19742918015, 0.125343084335)
2013-10-16 20:38 Cut image (6.19769620895, 0.000267028808594)
2013-10-16 20:38 IM Cmd custom : /usr/bin//convert -crop 799x599+1+0 -resize !180x135 -filter Blackman -modulate 105,102,100 -enhance -sharpen 1x1 -quality 90 -strip ../tmp/18/0/018/8_t.jpg.tmp.jpg ../tmp/18/0/018/8_t.jpg (6.19782710075, 0.000130891799927)
2013-10-16 20:38 DL big content http://cdn1.galleries2.amakings.com/watchmygf/pictures/10407-amateur-babes-showing-their-naked-bodies/9.jpg => 8_757.jpg (6.30266904831, 0.104841947556)
2013-10-16 20:38 DL image for thumb http://cdn1.galleries2.amakings.com/watchmygf/pictures/10407-amateur-babes-showing-their-naked-bodies/10.jpg (6.31628417969, 0.0136151313782)
2013-10-16 20:38 Make thumb ../tmp/18/0/018/tmp.jpg (6.33335518837, 0.0170710086823)
2013-10-16 20:38 Creating thumb (../tmp/18/0/018/9_t.jpg.tmp.jpg -> ../tmp/18/0/018/9_t.jpg) (6.33364605904, 0.000290870666504)
2013-10-16 20:38 Identify /usr/bin//identify -verbose ../tmp/18/0/018/9_t.jpg.tmp.jpg (6.33379721642, 0.00015115737915)
2013-10-16 20:38 Size: 600x800 (../tmp/18/0/018/9_t.jpg.tmp.jpg) thumb: 180x135
thumb_ratio: 1.33333333333 img_ratio: 0.75 to ../tmp/18/0/018/9_t.jpg (6.4539501667, 0.120152950287)
2013-10-16 20:38 Cut image (6.4543390274, 0.000388860702515)
2013-10-16 20:38 IM Cmd custom : /usr/bin//convert -crop 600x450+0+175 -resize !180x135 -filter Blackman -modulate 105,102,100 -enhance -sharpen 1x1 -quality 90 -strip ../tmp/18/0/018/9_t.jpg.tmp.jpg ../tmp/18/0/018/9_t.jpg (6.45453214645, 0.000193119049072)
2013-10-16 20:38 DL big content http://cdn1.galleries2.amakings.com/watchmygf/pictures/10407-amateur-babes-showing-their-naked-bodies/10.jpg => 9_203.jpg (6.4946410656, 0.0401089191437)
2013-10-16 20:38 Uploading files ../tmp/18 (6.51036214828, 0.0157210826874)
2013-10-16 20:38 Deleting tmp folders (6.51563715935, 0.00527501106262)
2013-10-16 20:38 Nothing to grab (6.51768302917, 0.00204586982727)
Re: Не грабит custom галеры
Posted: Thu Oct 17, 2013 11:24 am
by admin
Это content_cron.log как я понимаю
Что в preload.log ?
Re: Не грабит custom галеры
Posted: Thu Oct 17, 2013 3:48 pm
by ink
судя по всему, проблема в том, что сайт прописан у меня на компе в hosts файле, а скрипт пытается скачать картинки по адресу сайта. это может быть причиной?
а по второму сайту все решилось.
Re: Не грабит custom галеры
Posted: Thu Oct 17, 2013 3:51 pm
by admin
Да, скрипт не знает про хосты у вас на локале.
Пропишите такие же хосты на серваке.
Re: Не грабит custom галеры
Posted: Thu Oct 17, 2013 4:03 pm
by ink
понятно, спасибо

Re: Не грабит custom галеры
Posted: Thu Oct 17, 2013 4:14 pm
by admin
NP