I think...
... the main reason people get charged with offences when they try this (even though like you've said it is impossible to open the doors), is the panic that it can cause on a flight.
It is not common knowledge that Airline doors cannot be opened in flight and even for a large number of people who suspect it might be the case, they're still not 100% sure (just check the comments on this article from supposedly technical people).
So for those people who dont know about the impossibility, what do they see? Someone who they think is trying to cause the aircraft to crash. Whats the likely outcome? Panic and pandemonium on the aircraft, as some of the more action driven people rush to tackle this person and lets face it they're unlikely to be polite about it to either the person trying to open the door or to anyone in their way to getting to that person. This will lead to a great deal of injuries, shouting and screaming in the cabin, people running around and basic chaos. This could quite quickly lead to distractions in the cockpit as the pilots think something is happening in the cabin (terrorist attack maybe?) and you are then walking a very quick path to disaster.
This is the thinking of the authorities when they look at an event like this, so i have no problem with the person being charged. In this case, she's gotten off because of the Panic attack and whilst i can understand that to some degree, the fact is that she boarded the flight without taking her meds knowing that a Panic attack was a likely event. Really that sort of negligence on her part should see her get some sort of punishment - community service would seem a fitting punishment ot me...
Anyway just my 2p...