does it run or does it try to open and doesn't. If it doesn't move at all then it is a fuse or maybe the motor, if it does open sun but not like it should then the frame assembly is broken and you need to get the whole assembly replaced. I had the same problem with mine dealer priced it at $1600 in parts and labor. Sorry to hear all of this hope that it's just a fuse or motor, it'll be a lot cheaper.
2006 Pontiac G6 Sedan 3.5 V6
Mods: Drop in K&N Air Filter, Partially debadged, Vinyl overlay on door trim and darts.
To come: Ehaust, Tint and much more.