الفرق بين المراجعتين لصفحة «مشاكل متكررة في بندورا»
اذهب إلى التنقل
اذهب إلى البحث
(مشكلة 2، ظهرت بعد 1) |
(+ دمج في Pandora Knowledge base (Project J)) |
||
| سطر 1: | سطر 1: | ||
| + | {{دمج في|Pandora Knowledge base (Project J)}} | ||
== كيف نجبر إعادة تحميل ملفات معينة == | == كيف نجبر إعادة تحميل ملفات معينة == | ||
المراجعة الحالية بتاريخ 19:45، 27 مارس 2014
كيف نجبر إعادة تحميل ملفات معينة
لإجبار بندورة على إعادة تحميل ملفات معينة، نقوم بإختيار الفيديو الذي ننوي إعادة تحميل الملفات به: مثلا، إذا كان الفيديو يمعرف بالمعرف AB:
باستخدام
./manage.py shell
import item.models i = item.models.Item.objects.filter(itemId='AB')[0] i.files.filter(is_video=True).update(available=False, wanted=True)
خطأ request returned error, will try again in 5 seconds أثناء الرفع
في Debug يظهر في View Error Logs:
ValueError: The 'video' attribute has no file associated with it.
ValueError: The 'video' attribute has no file associated with it.
j^ قال أن المشكلة كانت: the encoding process was somehow stuck and locked the python-ox files db, that caused uploads to fail since it could not save the stream الحل المقترح إعادة تشغير المرمز:
service pandora-encoding restart