Actually, underscores are allowed characters, so it shouldn't be that. Does the issue persist after restarting after effects? Another thing to try is clearing the render queue and deleting any leftover AVI files from failed GIF creation and then trying again. I've sometimes seen AE fail to render anything after pressing g Squirt. Usually manually rendering and then trying again fixes this.