Questions tagged as 'flask'

1
answer

Web Forms with Python

He has asked me to automate a load of some records in a SQL database, with id, cedula, departamento y tipo de pago with Python. I have researched and found a framework called Flask, apparently it is simpler, but I have not managed to d...
asked by 07.09.2017 / 17:11
0
answers

DeprecationWarning: json is deprecated when testing with Pytest

I'm testing with Pytest 3.10 an application mounted on Flask 0.12.2 and Werkzeug 0.14.1. The testing works well only in the end, Pytest shows the summary of the warnings that have been detected throughout the test: ============================...
asked by 12.11.2018 / 10:01
1
answer

Error installing flask-mysql

I am new using python3 and I want you to help me because when you insert the command sudo pip3 install flask-mysqldb the following error occurs     
asked by 16.10.2018 / 21:10
0
answers

Lighttpd + fastcgi + python3 = child exited with status 8

I'm trying to run a small program in python: import os from flup.server.fcgi import WSGIServer from webapi import webapi from configuration import config from setup import setup if __name__ == "__main__": setup() if config.getboolean...
asked by 16.07.2018 / 20:52
1
answer

Problem installing flask-mysqldb on linux 16.04

I was trying to install the flask-mysqldb on my Linux 16.04 device but I found a problem, even with a virtual environment: _mysql.c: 32: 20: error fatal: Python.h: No existe ese archivo o directorio . (myFlaskAppenv) mike@mike-thinks:~/P...
asked by 02.06.2018 / 14:48
0
answers

Does Blueprint objects have no root attributes?

I followed the climate chatbot rasa provided by Justina Petraityte, you can find the GitHub repository here . She tries to connect her chatbot to Slack. This implies the use of Flask to create the links. However, unless I'm wrong, it seems that...
asked by 22.05.2018 / 20:56
0
answers

What does io.UnsupportedOperation error mean: fileno inside flask?

I am new to the world of programming and I run into this error when using Flask. I copied and pasted the code found on the official Flask website: from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'He...
asked by 06.05.2018 / 19:22
1
answer

How to insert data by default in Python-Flask avoiding duplication?

When you work with Flask in debug mode, Werzeug runs a child thread of your application which will receive the changes you make to the source code and update them live. You can disable this option of the son thread but what you read is not re...
asked by 15.04.2018 / 06:37
1
answer

Pythonanywhere: images with correct path do not load

I have a small application in Flask that uploads images with its description. The image is saved in a specific directory and the path is saved in a sqlite database next to the description. They are displayed in an html template. When loading...
asked by 17.07.2017 / 21:11
1
answer

How to respond with a status = 200 to a HTTPS POST in python

I am creating an application in Flask that receives an HTTPS POST message and processes the data it contains. Once I have received the HTTPS message, I have to answer the server with a code = 200 so that it knows that I have received the mess...
asked by 04.06.2017 / 17:09