[ckan-dev] Unable to set debug mode (or reload development.ini file)

Vitor Baptista vitor at vitorbaptista.com
Wed Jun 11 19:34:57 UTC 2014


Hi John,

The error you get from running paster serve indicates that there's another
process using the same port as paster would use, most likely Apache. If you
stop apache and run the same paster command, does it work?

Try also to disable your custom theme and open CKAN on your browser again,
just to make sure that you're not overloading the themes that add the debug
information. You should see something like:

Controller : home
> Action : index


On the top left side on every page (the controller/action pair will depend
on the page you're looking).

Cheers,


2014-06-11 10:53 GMT-03:00 John Brisbin <john at boab.info>:

>  G'Day all,
>
> We are creeping up on having a successful install, I think...but at the
> moment I seem to be unable to restart the service so that the
> development.ini file is reloaded.
>
> I have the spatial search module installed, and have started a custom
> extension to contain a few theme modifications. The CKAN docs (
> http://docs.ckan.org/en/latest/theming/templates.html) about a third the
> way down advise us to set the debug mode to *true*, and then we should
> get a new link to a panel of information in the footer of the CKAN homepage.
>
> I set the debug to *true*, saved the development.ini file and restarted
> Apache. However, we get no debug option in the footer of the front page (or
> any page).
>
> We're trying to get the ini file reloaded by using the command:
>
> paster serve --reload /etc/ckan/default/development.ini
>
> (from an activated virtualenv)
>
> Running this --reload command results in about 18 lines of traceback, and
> ends with:
>
> return getattr(self._sock,name)(*args)
> socket.error: [Errno 98] Address already in use
>
> I think this means the server has not restarted, and thus the .ini file
> has not been reloaded?
>
> Any clues most gratefully received!
>
> Kind regards,
>
> JB
>
> --
> John Brisbin
> Managing Director, BoaB interactive Pty Ltd
> POB 248, MT Molloy QLD 4871
>
> E: john at boab.info
> M: 0407 471 565 | P: 07 4094 2172
> Skype: boabjohn | Twitter: @boabjohn
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>


-- 

Vítor Baptista

Developer  |  http://vitorbaptista.com | LinkedIn
<http://www.linkedin.com/in/vitorbaptista> | @vitorbaptista
<http://twitter.com/vitorbaptista>

The Open Knowledge Foundation <http://okfn.org>

*Empowering through Open Knowledge*

http://okfn.org/  |  @okfn <http://twitter.com/okfn>  |  OKF on Facebook
<https://www.facebook.com/OKFNetwork>  |  Blog <http://blog.okfn.org/>  |
Newsletter <http://okfn.org/about/newsletter/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140611/ef137d53/attachment-0003.html>


More information about the ckan-dev mailing list