Giter Site home page Giter Site logo

Comments (7)

daenney avatar daenney commented on August 15, 2024

Can you show me a pip freeze? I'm curious what dependencies and versions show up. This seems quite strange.

from puppetboard.

daenney avatar daenney commented on August 15, 2024

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.

jasperla avatar jasperla commented on August 15, 2024

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.

daenney avatar daenney commented on August 15, 2024

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.

jasperla avatar jasperla commented on August 15, 2024

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.

daenney avatar daenney commented on August 15, 2024

Wait wait wait, Puppetboard has an OpenBSD port? That's awesome. Thank you for creating that.

from puppetboard.

jasperla avatar jasperla commented on August 15, 2024

Yup :) http://www.openbsd.org/cgi-bin/cvsweb/ports/www/puppetboard/

from puppetboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.