Comments (7)
Can you show me a pip freeze
? I'm curious what dependencies and versions show up. This seems quite strange.
from puppetboard.
Flask's stream_with_context
was added in 0.9 so if it's raising an ImportError I'm guessing it's picking up an older Flask version from somewhere.
from puppetboard.
Output from pip freeze
:
Babel==1.3
BeautifulSoup==3.2.1
Cheetah==2.4.4
Flask==0.8
Flask-WTF==0.9.4
Jinja2==2.6
M2Crypto==0.21.1
Markdown==2.3.1
MarkupSafe==0.15
Pillow==1.7.8
PyXML==0.8.4
Pygments==1.6
SQLAlchemy==0.7.1
Sphinx==1.1.3
Twisted-Core==11.1.0
Twisted-Web==11.1.0
Twisted-Words==11.1.0
WTForms==1.0.5
Werkzeug==0.8.3
blinker==1.3
certifi==0.0.8
chardet==1.0.1
distribute==0.6.24
dnspython==1.11.1
docutils==0.11
elib.intl==0.0.3.dev
futures==2.1.4
gourmet==0.16.1
gps==2.95
gunicorn==18.0
html2text==3.200.3
isodate==0.4.9
itsdangerous==0.23
nose==1.1.2
numpy==1.6.0
py==1.4.15
pyOpenSSL==0.13
pycrypto==2.6
pydns==2.3.6
pygit2==0.20.0
pygobject==3.10.2
pypuppetdb==0.1.0
pysqlite==2.6.0
pytest==2.3.5
python-distutils-extra==2.36
pytz==2013b
pyxdg==0.25
pyxmpp==1.1.2
rdflib==3.2.2
requests==0.11.2
rope==0.9.4
setproctitle==1.1.8
simplejson==2.5.0
soco==0.6
wsgiref==0.1.2
youtube-dl==2013.12.17.2
zope.interface==3.6.1
Since you mention this is an unlikely error, I will retry it shortly on another machine.
from puppetboard.
It's an issue with your environment. If you look at the output of pip freeze
you'll see this: Flask==0.8
. That's a too old version of Flask, Puppetboard's setup.py
specifies>=0.10.1
as does the requirements.txt
file.
It looks like the dependencies weren't installed / updated.
That being said, Puppetboard will work with Flask >= 0.9
but 0.8
just won't do. Your environment also shows a very old version of requests, requests==0.11.2
, we need at least a 1.x
to work which is specified by pypuppetdb's setup.py
.
I'm not entirely sure what happend in your environment but it looks like a set of dependencies are out of date or that older ones are being picked up on.
from puppetboard.
I've got no idea why pip came up with the numbers it did, as I do have the python packages for the required Flask, Requests etc though my package manager. So yeah, that system needs some cleaning.
Having said that, it works fine on a clean host with all the dependencies installed though my package manager; I'll push the 0.0.4 update into OpenBSD ports later today.
from puppetboard.
Wait wait wait, Puppetboard has an OpenBSD port? That's awesome. Thank you for creating that.
from puppetboard.
Yup :) http://www.openbsd.org/cgi-bin/cvsweb/ports/www/puppetboard/
from puppetboard.
Related Issues (20)
- memcached enabled and 'Error: no memcache module found'
- Localize timezones on dailyReportsChart
- Regular expressions in the node tab
- Add OpenShift Template to build Puppetboard
- The PUPPETBOARD_URL_PREFIX does not set flask's APPLICATION_ROOT
- system_uptime structured fact does not sort correctly
- Implement support for multiple PuppetDBs
- Installing PuppetBoard on a different host to PuppetDB
- Inventory tab feature legacy facts HOT 2
- puppetboard fails to start with scheduler enabled
- [BUG] applied changes during puppet run show empty on puppetboard if containing xml HOT 1
- puppetboard fails to start because module 'flask.json' has no attribute 'JSONEncoder'
- Setting GRAPH_FACTS causes a 500 error
- Intermittent errors after PuppetDB 8.0 to 8.1 upgrade HOT 13
- better support structured facts HOT 3
- Facts only showing RedHat HOT 1
- Pattern for python_version do not allow 3.11 HOT 3
- Make it More Apparent that SECRET_KEY cannot be blank HOT 3
- Allow puppetboard to start without a running puppetdb
- Offline mode tries to load external resources HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppetboard.