Download & Extend

Errors when running manual cron

Project:Video
Version:6.x-4.0-beta1
Component:Miscellaneous
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

6.x-4.0-beta1 doesn't work locally on windows xp. Version 6.x-3.9 was working and transcoding the files.

I added a video filefield and enabled "Use Drupals built in cron" from Cron Settings. I then upload a video.

I run cron manually (using link from devel module) and I get the errors seen on image attached.

AttachmentSizeStatusTest resultOperations
beta1-errors.png77.63 KBIgnored: Check issue status.NoneNone

Comments

#1

Also, seems that it's not generating the thumbs. This image is from the error logs.

AttachmentSizeStatusTest resultOperations
beta1-errors2.png37.84 KBIgnored: Check issue status.NoneNone

#2

...and error logs page

AttachmentSizeStatusTest resultOperations
error-logs.png128.1 KBIgnored: Check issue status.NoneNone

#3

Can you try built in ffmpeg and not the wrapper. Can you also show me the commands that are being run when you do that.

#4

Thanks for the reply.

Did what you asked and changed to built in ffmpeg and not ffmpeg_wrapper.

Images attached.

I think 'nice' at the start of the command doesn't work on windows:
http://drupal.org/node/221893

AttachmentSizeStatusTest resultOperations
beta1-errors3.jpg139.98 KBIgnored: Check issue status.NoneNone
beta1-error4.png31.33 KBIgnored: Check issue status.NoneNone
cron-run.png73.15 KBIgnored: Check issue status.NoneNone
logs-page.png118.23 KBIgnored: Check issue status.NoneNone
beta1-error5.png31.5 KBIgnored: Check issue status.NoneNone
beta1-error6.png31.54 KBIgnored: Check issue status.NoneNone
beta1-error7.png31.54 KBIgnored: Check issue status.NoneNone

#5

Ok I see two issues. Lets clear out nice first.

Open video/transcoders/video_ffmpeg.inc

<?php
//change
protected $nice = 'nice -n 19';
//to
protected $nice = '';
?>

Also On your beta-error4.png screenshot. It is showing the %video tokens. I have updated those to ! and I am using the internal token function t(). So reset the system settings form on the Transcoder tab.

Tell me what happens and we will go from there.

#6

Thanks, it seems to be working now.

I switched back to ffmpeg_wrapper and it seems to be working too. Shall I stick with ffmpeg_wrapper or better to leave it on built ffmpeg?

#7

Two more issues:

- I have a content type with a cck video filefield set to unlimited values (multi files). So for this field, I upload a video then transcode it (i.e. convert it to flv on node submit or on cron). Then, for the same node, I upload another video with the same name as previous video, then transcode it, the second converted video overwrites the first converted video. This happens within the "converted" directory.

- Notice the layout bug on the attached image. The text extends outside the allocated container. Maybe just add some line breaks within the instructions text (ie and firefox)

AttachmentSizeStatusTest resultOperations
layout-bug.jpg230.32 KBIgnored: Check issue status.NoneNone

#8

Yea i need to verify the name, its on my list. Yea go back to ffmpeg_wrapper and see what happens. So we can iron out these issues for the next beta.

#9

Also that layout bug. Are you sure its not your styles? Try it with garland and see if it does the same.

#10

Another issue:

Page not found. See image

sites/all/modules/video/includes/transcoder.inc, line 41:

drupal_add_js(drupal_get_path('module', 'video'). '/js/admin.js');

This js file doesn't exist.

AttachmentSizeStatusTest resultOperations
page-not-found.png31.96 KBIgnored: Check issue status.NoneNone

#11

The style bug shouldn't be my style since I haven't done any theming, yet. It's Garland, Shiny Tomato. Tried Minnelli, same thing.

#12

Yea thats this issue here: http://drupal.org/node/802682

Thanks so much for testing!

#13

more issues:

- When running the module for the first time, it creates a directory 'video_thumb'. Then it creates another directory 'video_thumbs' which it uses for storing the thumb images. It should only create one directory for storing the thumbs and it should be the directory specified from the UI settings.

- The module also creates the disrectory 'videos' where it stores the original and converted videos. Would be nice to be able to specify this directory from the UI settings.

#14

Is there an ETA for getting those issues fixed? :)

#15

No ETA, I have a lot going on right now.

I will take a look on why its created multiple thumb folders and get that sorted. The module creates a videos folder where you can then specify another folder inside of that. So when you create a cck field as video, if you look at the filepath settings, you can add a new folder inside of the videos folder.

#16

Thanks iLLin. I know that you can specify a folder inside videos, but you can't specify outside. I'll just have them there.

Great work and thanks

#17

Status:active» fixed

http://drupal.org/cvs?commit=371816

#18

Thanks iLLin ;)

#19

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.