Comments (1)
Most probably the database file(sqlite in this case) is now owned by the user who also runs the apache server. In other words, the user does not have write permission on it.
When you run it as sudo, the sudoer user will have the write permission. So it will work.
You can give the write permission for your apache user but I suggest using mysql/postgresql or mongodb instead.
from flask-profiler.
Related Issues (20)
- Support Redis as storage option
- TypeError: Object of type 'Resource' class is not JSON serializable
- NULL result in a non-nullable column - Snowflake as storage
- AttributeError partially initialized module (most likely due to a circular import thrown during flask_profiler import
- Allow defining SQLite3 location HOT 1
- New release
- Endpoint call fails, if `flask-profiler` has error HOT 1
- RuntimeError: dictionary keys changed during iteration
- Text of Modal body with description of the API is overflowing.
- API body response is escaped with backslash
- Is Flask-SocketIO supported?
- pymongo 4.x not support ensure_index HOT 1
- Show variables in endpoints on dashboard
- ValueError: Empty module name HOT 1
- I only want an uncompressed JavaScript file to modify the page myself
- sqlite3.ProgrammingError: Recursive use of cursors not allowed HOT 8
- mysql has no index!!!!
- "before_first_request"
- TypeError: Object of type 'UUID' is not JSON serializable when url param is of type uuid
- "Dump current database" not workable for mongodb HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-profiler.