Giter Site home page Giter Site logo

Comments (4)

furlongm avatar furlongm commented on September 2, 2024

Also seeing the same error on a fresh install:

/srv/puppetboard/puppetboard/puppetboard/forms.py:4: ExtDeprecationWarning: Importing flask.ext.wtf is deprecated, use flask_wtf instead.
  from flask.ext.wtf import Form
Traceback (most recent call last):
  File "/srv/puppetboard/puppetboard/wsgi.py", line 15, in <module>
    from puppetboard.app import app as application
  File "/srv/puppetboard/puppetboard/puppetboard/app.py", line 130, in <module>
    abort.mapping[204] = NoContent
AttributeError: 'function' object has no attribute 'mapping'

Installed using the puppetboard puppet module in a virtualenv.

from puppet-puppetboard.

adenau avatar adenau commented on September 2, 2024

+1

Fresh install of Centos 7,

# puppetserver --version
puppetserver version: 2.7.2
# puppet --version
4.9.4

Apache Logs

on Mar 20 20:21:36.162670 2017] [:error] [pid 15648] [remote 10.0.1.154:144] mod_wsgi (pid=15648): Target WSGI script '/srv/puppetboard/puppetboard/wsgi.py' cannot be loaded as Python module.
[Mon Mar 20 20:21:36.162704 2017] [:error] [pid 15648] [remote 10.0.1.154:144] mod_wsgi (pid=15648): Exception occurred processing WSGI script '/srv/puppetboard/puppetboard/wsgi.py'.
[Mon Mar 20 20:21:36.162743 2017] [:error] [pid 15648] [remote 10.0.1.154:144] Traceback (most recent call last):
[Mon Mar 20 20:21:36.162774 2017] [:error] [pid 15648] [remote 10.0.1.154:144]   File "/srv/puppetboard/puppetboard/wsgi.py", line 15, in <module>
[Mon Mar 20 20:21:36.162881 2017] [:error] [pid 15648] [remote 10.0.1.154:144]     from puppetboard.app import app as application
[Mon Mar 20 20:21:36.162904 2017] [:error] [pid 15648] [remote 10.0.1.154:144]   File "/srv/puppetboard/puppetboard/puppetboard/app.py", line 130, in <module>
[Mon Mar 20 20:21:36.163333 2017] [:error] [pid 15648] [remote 10.0.1.154:144]     abort.mapping[204] = NoContent
[Mon Mar 20 20:21:36.163399 2017] [:error] [pid 15648] [remote 10.0.1.154:144] AttributeError: 'function' object has no attribute 'mapping'

from puppet-puppetboard.

adenau avatar adenau commented on September 2, 2024

Problem was fixed in PuppetBoard.

voxpupuli/puppetboard#370

I just updated to the latest version of PuppetBoard and everything is fine.

from puppet-puppetboard.

bissa avatar bissa commented on September 2, 2024

Yes works

from puppet-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.