Wash squids. Sauté the onion cubes in half of the oil. Add pine nuts, raisins, rice and parsley, season with salt and pepper. Fill the tubes with this mixture (but not completely so that the rice can swell). Sew up the openings (is tedious!) Or clip them shut.
Heat the rest of the oil in the pan and fry the stuffed squids over high heat. Deglaze with white wine and tomato juice. Salt, cover and stew on a low flame for 1 1/2 hours. Take out the squids and let the sauce reduce a little.