Comments (7)
FWIW, I was using flask-profiler 1.7 all this while and didnt face an issue for a year. I just moved to 1.8.1 and am seeing it multiple times.
from flask-profiler.
Hi nlohmann,
I am facing the same issue. Did you get to resolve the issue?
Thanks
Subhash
from flask-profiler.
We could not resolve the issue and decided to stop using Flask Profiler.
from flask-profiler.
Oh I am putting a fix and let you know if it works. However, did you get any other open source project to do the same.
from flask-profiler.
No, we implemented some profiling ourselves. Nothing fancy, and a plugin like this would be appreciated.
from flask-profiler.
Was a solution for this problem found? I'm getting something very similar and cant figure it out.
Traceback (most recent call last):
File "\lib\site-packages\flask\app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "\lib\site-packages\flask\app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "\lib\site-packages\flask\app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "\lib\site-packages\flask_httpauth.py", line 93, in decorated
return f(*args, **kwargs)
File "\lib\site-packages\flask_profiler\flask_profiler.py", line 212, in getRequestsTimeseries
return jsonify({"series": collection.getTimeseries(args)})
File "\lib\site-packages\flask_profiler\storage\sqlite.py", line 158, in getTimeseries
self.cursor.execute(sql)
ProgrammingError: Recursive use of cursors not allowed.
from flask-profiler.
The problem here is with a shared sqlite3 cursor.
https://stackoverflow.com/questions/26629080/python-and-sqlite3-programmingerror-recursive-use-of-cursors-not-allowed
If this is the reason, using another storage will fix the problem.
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.