delete face

hi
I have a problem for delete all face on a cube. I can only delete three first face and after i have an error because i cant find another face.
I dont understand , can you help me ?

  1. Unless you are trying to do this with a python script, then this topic would be better suited to Blender General.

  2. Select the cube you wish to delete faces from.

  3. Go into Edit Mode (Tab)

  4. Press the A key to select all

  5. Press the X key

  6. Select Only Faces

All faces of the cube have now been deleted, leaving only the vertices and edges.