Changes between Initial Version and Version 1 of Python Flask Gotchas Import Database Module Fails


Ignore:
Timestamp:
07/21/16 09:06:31 (8 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python Flask Gotchas Import Database Module Fails

    v1 v1  
     1= Python Flask Gotchas Import Database Module Fails
     2
     3Tags: [[Python Flask]] [[Gotchas_Category]]
     4
     5== Problem
     6
     7It fails with a `cannot access database` error in the log when it processes the first request after restarting Apache, but subsequent requests cause an `database module not found` error.
     8
     9== Solution
     10
     11This could actually be an error that the application does not have access to the database.
     12[[BackLinks]]