OCIEnvCreate failed with return code -1 but error message text was not available. 

If anyone is getting this error it could be caused for a setting in the project properties:

change update Database to False and the error will go away.