[ckan-dev] Home/landing page
Judith Moran
Judith.Moran at nt.gov.au
Wed Mar 27 08:05:45 UTC 2019
HI,
Found this in the log
[Wed Mar 27 17:07:09.346778 2019] [:error] [pid 44503] [remote 155.205.101.73:0] File "/usr/local/ckan/lib/default/src/ckan/ckan/config/middleware/flask_app.py", line 104, in make_flask_stack
[Wed Mar 27 17:07:09.346894 2019] [:error] [pid 44503] [remote 155.205.101.73:0] from flask_debugtoolbar import DebugToolbarExtension
[Wed Mar 27 17:07:09.346914 2019] [:error] [pid 44503] [remote 155.205.101.73:0] ImportError: No module named flask_debugtoolbar
Looking at LOG looks like the debug extension is missing or something regarding flask?
103 if debug:
104 from flask_debugtoolbar import DebugToolbarExtension
105 app.config['DEBUG_TB_INTERCEPT_REDIRECTS'] = False
106 DebugToolbarExtension(app)
But when I search the 2.3.2 doco I cannot find anything on DebugToolbarExtension.
Any suggestions.
Jud
From: Judith Moran
Sent: Wednesday, 27 March 2019 5:14 PM
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
Subject: RE: Home/landing page
Hi,
I changed to false and the home page fails to load.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root at localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Previous CKAN person has made a new theme for site and it appears that debug does not work with the theme??
Hmm any suggestions.
Jud
From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of Neuvonen Samuli
Sent: Wednesday, 27 March 2019 3:48 PM
To: CKAN Development Discussions <ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>>
Subject: Re: [ckan-dev] Home/landing page
Hello,
Not much more than a novice myself, I found it useful to run CKAN indebug-mode (https://docs.ckan.org/en/2.8/maintaining/configuration.html?highlight=debug#debug) to see what templates are used in each view. See more in Customizing CKAN's templates (https://docs.ckan.org/en/2.8/theming/templates.html).
Also, the description of CKAN code architecture can help: https://docs.ckan.org/en/2.8/contributing/architecture.html
Regards,
Sam
From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of Judith Moran
Sent: 27. maaliskuuta 2019 7:12
To: CKAN Development Discussions
Subject: [ckan-dev] Home/landing page
Hi,
Totally novice to CKAN.
Can someone explain how the home page is instigated in CKAN.
Thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190327/41ccd70a/attachment-0002.html>
More information about the ckan-dev
mailing list