مشاكل متكررة في بندورا

من ويكي أضِف
اذهب إلى التنقل اذهب إلى البحث


كيف نجبر إعادة تحميل ملفات معينة

لإجبار بندورة على إعادة تحميل ملفات معينة، نقوم بإختيار الفيديو الذي ننوي إعادة تحميل الملفات به: مثلا، إذا كان الفيديو يمعرف بالمعرف 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