ERROR: no camera

hi,
i’m new to blender though i do understand it a little already. for a project i’m working on i need to be able to render at command line, but when i do that i get an error returned saying “ERROR: no camera”. however when opening the blend file in a blender window i can see the camera and have no problem rendering either.
can anyone help me plz ?

In the 3D view, select the camera, and then View->Cameras->set active object as camera. Then save your file and you should be good to go. if not, i cant help u, dont render from command line and dont know of any docs to help. sorry.

problem not solved :frowning:

same problem when trying to render under a windows machine. also gives a warning saying python not installed, although i did

Huh? Did you actually save again, after selecting the camera, as Roger suggested? Have you tried to render other files and did you encounter similar problems? Also, if you go there again (View -> Cameras), is there indicated that at least one Camera is active?

By the way, Blender does not need the most recent Python versions. It wants to have 2.4, not 2.5.

problem with python now solved. the camera problem is solved too now. i’m sorry to have disturbed you with this since it was only a syntax problem in my command line.
where i did: ./blender -b -f 1 test.blend
it should have been: ./blender -b test.blend -f 1
thanks for the help though

i have the same issue right now

drqueue is creating the script correctly too…

blender -b “$SCENE” -s $DRQUEUE_FRAME -e $BLOCK -a

The solution for me was to make sure that the blender file was created with the same blender version as the blender that is used for rendering the file from the command line.