Comments (4)
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.
+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.
Problem was fixed in PuppetBoard.
I just updated to the latest version of PuppetBoard and everything is fine.
from puppet-puppetboard.
Yes works
from puppet-puppetboard.
Related Issues (20)
- Could not find resource HOT 4
- Support for AWS2 Linux?
- Puppet-python version dependency update HOT 1
- Allow OracleLinux as OS as same as CentOS/RedHat HOT 1
- No Module Named Flask HOT 1
- puppetboard has no explicit SELinux context for httpd HOT 2
- Debian 11 data targets incorrect system python version HOT 1
- Python version 3.8 incorrect for Debian 11 HOT 2
- Warning: The directory '/srv/puppetboard/puppetboard' contains 1936 entries, which exceeds the default soft limit 1000
- ModuleNotFoundError: No module named 'flask' on RHEL 8 HOT 5
- Path /srv/puppetboard/puppetboard exists and is not the desired repository HOT 6
- add support for ubuntu jammy - PR to accompany
- Please release 9.0.0 HOT 2
- Wrong SELinux type for wsgi.py, settings.py
- Unable to install version 4.0.3 on RHEL 8 using python 3.9
- Unable to install version > 3.6.1 on Ubuntu 18.04 using python 3.7 after module update HOT 10
- apache doesn't restart on an update to puppetboard
- Please release 9.1.0 HOT 2
- Need to keep the secret key HOT 4
- Drop support for EOL Ubuntu 18.04
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 puppet-puppetboard.