Hello again to all,
Recently I updated ArcGIS Pro to 2.8 to access more recent version of arcpy (thank you, Dan Patterson). However, I ran into a problem where that version froze on using the exportToJPEG() function, completely breaking some of my production scripts. This was eventually fixed by downgrading to ArcGIS Pro 2.7. However, has anyone else had issues with this? It's mystifying...
Thank you for reporting this. This is a known issue and will be addressed in the 2.8.2 patch.
Jeff - Layout and arcpy.mp teams
Thank you for the quick reply - glad to know that it isn't a problem on my end.