Errata

An Introduction to Flask

Errata for An Introduction to Flask

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Other Digital Version INTRODUCTION TO FLASK

hi,

the videos, when paused display a heading/text at the top covering the top portion of the video. since the display fills the entire screen, one cannot read or see what is behind this text. this makes learning difficult sometimes,, small but serious, irritating problem. i hope you can fix this easily

thank you
hara gopal

Hara Gopal  Jan 03, 2017 
Other Digital Version 9b
Deploying to Heroku

Hi, I believe in the latest Heroku Toolbelt (I have 3.42.44 on Mac) the locally run command is no longer 'foreman', rather it is changed to 'heroku local':

(venv) MacBook-Air:9b echou$ heroku --version
heroku-toolbelt/3.42.44 (x86_64-darwin10.8.0) ruby/1.9.3
heroku-cli/4.27.26-693efcb (amd64-darwin) go1.6
=== Installed Plugins
heroku-apps@1.2.7
heroku-cli-addons@0.2.1
heroku-fork@4.1.1
heroku-git@2.4.5
heroku-local@4.1.7
heroku-orgs@1.0.4
heroku-pipelines@1.1.1
heroku-run@2.9.2
heroku-spaces@2.0.14
heroku-status@2.1.0

(venv) MacBook-Air:9b echou$

(venv) MacBook-Air:9b echou$ foreman start
-bash: foreman: command not found

(venv) MacBook-Air:9b echou$ heroku local
forego | starting web.1 on port 5000
web.1 | [2016-03-18 21:15:51 -0700] [9772] [INFO] Starting gunicorn 19.4.5
web.1 | [2016-03-18 21:15:51 -0700] [9772] [INFO] Listening at: http://0.0.0.0:5000 (9772)
web.1 | [2016-03-18 21:15:51 -0700] [9772] [INFO] Using worker: sync
web.1 | [2016-03-18 21:15:51 -0700] [9775] [INFO] Booting worker with pid: 9775
^C | ctrl-c detected
forego | sending SIGTERM to web.1
web.1 | [2016-03-18 21:16:08 -0700] [9772] [INFO] Handling signal: term
(venv) MacBook-Air:9b echou$ forego | Grace time expired
forego | Killing web.1

(venv) MacBook-Air:9b echou$

Thanks.

Eric

Eric Chou  Mar 18, 2016