Questions tagged [flask-frozen]

3 questions
4
votes
0 answers

Frozen-Flask errors while running cProfile

Building my static site (which uses Flask-Frozen to freeze a Flask app) works fine, but when I tried to profile it with python -m cProfile athena.py, I get the error PermissionError: [Errno 13] Permission…
Josh Friedlander
  • 10,870
  • 5
  • 35
  • 75
1
vote
1 answer

Frozen-Flask, url_for() in Jinja2 and string concatenation during build

When running Flask normally, everything described below works absolutely fine. When running a build in Frozen-Flask however, I run into the following issue: In my Jinja2 template I tried this at first, where I'm having to create the route strings of…
DangerPaws
  • 765
  • 1
  • 7
  • 21
0
votes
2 answers

Python Flask Frozen has no attribute 'url_default_functions'

I have written my 1st Python API project with Flask and now am trying to deploy it to Netlify. Searched online and found I need to use Flask-Frozen to generate a static website. Not sure I'm doing it correctly, because my project is a API project…
Franva
  • 6,565
  • 23
  • 79
  • 144