Error opening democrat