I solved the problem. Valentina seems to be very picky and dies in ungracious ways if every little detail isn't just right (in initializing valentina). For example I was getting an error code of 2 after trying to open a database. So encryption wasn't the root problem.