55,534 questions
2votes
1answer
32views
Why is flask sqlalchemy giving me an error "no such table: users"
import os from flask import Flask, render_template, redirect, url_for, request from flask_login import LoginManager, UserMixin, login_user, current_user, logout_user from flask_sqlalchemy import ...
-2votes
0answers
30views
create a common wrapper around these two create agent apis [closed]
Send me a doc where you are showing two api calls (via curl or postman)-> one with provider Retell and one with provider Vapi and showing that in same api by changing the provider you are able to ...
0votes
1answer
27views
Nixos - Flask - ModuleNotFoundError
I wanted to add a form to my flask-based website, but I got the following error message: Apr 24 21:18:04 nixos uwsgi[2261]: from flask_wtf import FlaskForm Apr 24 21:18:04 nixos uwsgi[2261]: ...
-1votes
0answers
22views
Flask integration with Laravel for Object Detection [closed]
I'm trying to integrate Flask with Laravel for a Automatic Number Place Recognition System, the goal is to have Laravel as my main frontend and all object detections would be run on Flask, to create ...
0votes
0answers
26views
Closing a session in Flask, SQLAlchemy to delete the temporaryx file
I know there are similar questions out there, but none answered my problem. I am using a basic test setup in Flask using SQLAlchemy, that is a slightly modified version of the Flask-tutorial tests. My ...
0votes
1answer
26views
WeasyPrint in Flask server not generating PDF with images
I have a Flask server running in localhost python 3.9 and conda, with a route for pdf creation with WeasyPrint's python driver, the pdf's are generated correctly but I just cant put any images on it (...
0votes
0answers
41views
Python 3 Flask MySQL connection and handle error
I am build a system include server, mobile app and desktop app. server.py from flask import Flask, jsonify, request, g, send_file from flask_cors import CORS import mysql.connector import data.data as ...
0votes
0answers
34views
ormdata should be a multidict-type wrapper that supports the 'getlist' method [closed]
form_data = dict(request.form) form = HomeworkForm(form_data) if not form.validate(): return {"JOB":"Error", "errors": form.errors}, 400 homework = { "...
0votes
0answers
21views
i cant figure out why it keeps showing already selected keywords back in suggestions [closed]
in this function the selected keywords are shown again in suggestions and their is a recursive loop for eg: if network security selected->incident response->network security and so on. def ...
0votes
0answers
20views
Flasgger displaying Swagger page locally, but fails to load API definition on Azure
When I run this locally, the swagger page loads as normal, with all my endpoints and tests effectively. However, when I send it to Azure, I get the following page: Failed to load API Definition. When ...
0votes
0answers
59views
Return latest updated cell
I'm fairly new to the Google sheet API. I have been attempting to make a bot that takes IDs and processes them through an information system. I have run into a few issues such as getting the last ...
0votes
1answer
54views
How to make Flask app not raise 404 errors
I have made a 404 error handler on my flask app: @app.errorhandler(404) def handle_not_found_error(exc): err_code = util.generate_uuid()[:6] app.logger.error(f"Error code: {err_code}&...
0votes
0answers
40views
python flask web app "application root" settings error
i try publish my site but i cant. yes we can see "It works! Python v3.9.21" message but its only i can see this. i think my wrong "application root" value. my file manager ...
0votes
0answers
95views
Raspberry Pi Camera Flask Streaming
I am setting up a flask application on a pi zero to stream video via LAN. The camera can take normal pictures using libcamera-still command line, but when trying to stream the video the below blurry ...
-3votes
1answer
67views
Flask HTML Cootie Catcher -- 415 Unsupported Media Type
I am new to Python and Flask and am trying to write a cootie catcher program. I've looked at a few tutorials and am testing what the google AI gave me until I can understand what's happening. Whenever ...