First time here? Check out the FAQ!
answered 7 years ago
It's because the first argument of set_name must be a string (the name you want to give to the differential form), i.e. the correct syntax is:
set_name
domega.set_name('domega', r'\mathrm{d}\omega')
Probably the error message should be more explicit.