pallets / flask-website Goto Github PK
View Code? Open in Web Editor NEWThe Flask website, built with Flask!
Home Page: http://flask.pocoo.org
License: Other
The Flask website, built with Flask!
Home Page: http://flask.pocoo.org
License: Other
Trying to go to the site with SSL (https://flask.pocoo.org/) gives an invalid cert error :(
At the Snippet 89 there is a link pointing to Localtunnel website. Unfortunelly, Localtunnel home page has changed from http://progrium.com/localtunnel/ to http://localtunnel.me/
In the main website, github links for minitwit and flaskr are broken.
That's a shame because I'd love to see them.
When I click on PDF link, i have 404 webpages
(flask) C:\Users\admin\Desktop\website>python run.py
Traceback (most recent call last):
File "run.py", line 1, in
from flask_website import app
File "C:\Users\admin\Desktop\website\flask_website__init__.py", line 35, in <
module>
from flask_website.views import general
File "C:\Users\admin\Desktop\website\flask_website\views\general.py", line 6,
in
from flask_website.utils import requires_login, request_wants_json
File "C:\Users\admin\Desktop\website\flask_website\utils.py", line 2, in
import creoleparser
ImportError: No module named 'creoleparser'
When installing distribute
on Python 2.7, it raises an ImportError
:
Collecting distribute (from -r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/5f/ad/1fde06877a8d7d5c9b60eff7de2d452f639916ae1d48f0b8f97bf97e570a/distribute-0.7.3.zip (145kB)
100% |████████████████████████████████| 153kB 9.0MB/s
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/distribute.egg-info
writing requirements to pip-egg-info/distribute.egg-info/requires.txt
writing pip-egg-info/distribute.egg-info/PKG-INFO
writing top-level names to pip-egg-info/distribute.egg-info/top_level.txt
writing dependency_links to pip-egg-info/distribute.egg-info/dependency_links.txt
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-KsAMCS/distribute/setup.py", line 58, in <module>
setuptools.setup(**setup_params)
File "/opt/python/2.7.14/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/opt/python/2.7.14/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/opt/python/2.7.14/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setuptools/command/egg_info.py", line 177, in run
writer = ep.load(installer=installer)
File "pkg_resources.py", line 2241, in load
if require: self.require(env, installer)
File "pkg_resources.py", line 2254, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "pkg_resources.py", line 2471, in requires
dm = self._dep_map
File "pkg_resources.py", line 2682, in _dep_map
self.__dep_map = self._compute_dependencies()
File "pkg_resources.py", line 2699, in _compute_dependencies
from _markerlib import compile as compile_marker
ImportError: No module named _markerlib
The full traceback can be found in here.
Tired to easy_install distribute
, but no work, see #68 for more details.
The link to http://flask.pocoo.org/docs/0.12/.latex/Flask.pdf on the home page of the Flask website gives a 404 error.
A search of this Github repo for ".pdf" yields a single search result: flask_website/static/logo/flask.pdf, which is damaged.
If I try to search for “flash”, I get a 500 error:
http://flask.pocoo.org/search/?q=flash
I’ve found a few other searches related to flash that seem to fail; they may or may not be related:
And some searches that work:
Repro’d in Safari and Chrome on OS X. I’m coming from a UK-based ISP, if that’s significant.
I was trying to search for the pages on message flashing. I couldn’t find a pattern to rejected searches, except that they all involve the word “flash”.
http://flask.pocoo.org/docs/0.12/.latex/Flask.pdf link from http://flask.pocoo.org/ gives a 404 error.
> pip install creoleparser
Collecting creoleparser
Downloading https://files.pythonhosted.org/packages/2a/0c/f442415eae7f0bb077fed28f6f8b1ddb07b32f216b2268dca9c267655f0d/Creoleparser-0.7.4.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-za4c4apq\creoleparser\setup.py", line 6
print 'setuptools not installed, using distutils.core'
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-za4c4apq\creoleparser\
On the examples page:
"http://flask.pocoo.org/community/poweredby/"
many links are dead.
I think this prevents newcomers from being awe-inspired by what one can do with flask.
I don't know what the pallets team's stance is on Python package managers. I guess it's good to point out that when it comes to application dependency management, the Python Software Foundation officially recommends Pipenv:
https://packaging.python.org/guides/tool-recommendations/#application-dependency-management
It would be nice to see popular frameworks like Flask or Django, etc. start advocating it, or at least including it in their quickstart guides! I only discovered it through someone's Flask tutorial.
Anyway, I'm sure you guys have thought about it, but just putting it out there~
Do we need a clean up?
I'll +1 if you'd like to keep the ones that WAS powered by Flask once upon a time. But I will not accept one like this http://meetupmeeter.com/, whose footer says Proudly powered by WordPress
.
And this one http://rydehhffps.org.au/. Powered by Webpedia
The app runs very slow, it takes minutes to open the page...
/flask_website/init.py
# from flask_openid.ext.openid import OpenID
from flask_openid import OpenID
Should like this.
> pip install creoleparser
Looking in indexes: https://pypi.douban.com/simple/
Collecting creoleparser
Https://pypi.doubanio.com/packages/2a/0c/f442415eae7f0bb077fed28f6f8b1ddb07b32f216b2268dca9c267655f0d/Creoleparser-0.7.4.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-659maz3o\creoleparser\setup.py", line 6
print 'setuptools not installed, using distutils.core'
^
SyntaxError: Missing parentheses in call to 'print'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-659maz3o\creoleparser\
releases.py
(and the live website) still list 0.11 for the latest release:
https://github.com/pallets/flask-website/blob/master/flask_website/listings/releases.py#L41
Just so you know 😃
http://flask.pocoo.org/docs/flask-docs.zip return a 404 Error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.