Files
@ 531ab818cc3d
Branch filter:
Location: kallithea/docs/usage/debugging.rst - annotation
531ab818cc3d
1.1 KiB
text/prs.fallenstein.rst
Add javascript for Object Code excanvas (flot) version herein included and use that instead of minified version.
I had a bit of trouble finding the upstream on excanvas, as the version from
Google, which appears to be the original source, seems unmaintained.
However, it appears the version we're carrying in Kallithea is indeed from
the excanvas era of flot.
$ (cd /tmp; \
svn -r 135 checkout http://flot.googlecode.com/svn/trunk/ flot )
$ cp /tmp/flot/excanvas.js rhodecode/public/js/excanvas.js
I also verified the sha256sum of the min file matched ours:
$ sha256sum /tmp/flot/excanvas.min.js rhodecode/public/js/excanvas.min.js
5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 /tmp/flot/excanvas.min.js
5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 rhodecode/public/js/excanvas.min.js
I had a bit of trouble finding the upstream on excanvas, as the version from
Google, which appears to be the original source, seems unmaintained.
However, it appears the version we're carrying in Kallithea is indeed from
the excanvas era of flot.
$ (cd /tmp; \
svn -r 135 checkout http://flot.googlecode.com/svn/trunk/ flot )
$ cp /tmp/flot/excanvas.js rhodecode/public/js/excanvas.js
I also verified the sha256sum of the min file matched ours:
$ sha256sum /tmp/flot/excanvas.min.js rhodecode/public/js/excanvas.min.js
5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 /tmp/flot/excanvas.min.js
5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 rhodecode/public/js/excanvas.min.js
4d076981a7b1 4d076981a7b1 4d076981a7b1 097327aaf2ad 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 8b8edfc25856 097327aaf2ad 097327aaf2ad 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 4d076981a7b1 097327aaf2ad 097327aaf2ad 097327aaf2ad 097327aaf2ad 097327aaf2ad 097327aaf2ad | .. _debugging:
===================
Debugging RhodeCode
===================
If you encountered problems with RhodeCode here are some instructions how to
possibly debug them.
** First make sure you're using the latest version available.**
enable detailed debug
---------------------
RhodeCode uses standard python logging modules to log it's output.
By default only loggers with INFO level are displayed. To enable full output
change `level = DEBUG` for all logging handlers in currently used .ini file.
This change will allow to see much more detailed output in the logfile or
console. This generally helps a lot to track issues.
enable interactive debug mode
-----------------------------
To enable interactive debug mode simply comment out `set debug = false` in
.ini file, this will trigger and interactive debugger each time there an
error in browser, or send a http link if error occured in the backend. This
is a great tool for fast debugging as you get a handy python console right
in the web view. ** NEVER ENABLE THIS ON PRODUCTION ** the interactive console
can be a serious security threat to you system.
|