Blender 2.9- Grease Pencil Keymap Error

I would always get this error in my console after maybe a few seconds


I didn’t have this on 2.8 before and what I’ve noticed is that I cant draw grease pencil while holding G. It’s really annoying since I can’t see errors properly from the console for debugging.