glow bar works oven/broiler won't light

When I try to turn on the oven or broiler neither lights. The glow bar seems to be working fine and after some time I can smell some gas. For a while I could light the burner with an outside source but I can’t even do that any more. I replaced the oven valve about 6 years ago.
Would this be something that would not involve the thermostat?