I had this problem before. Debian (and Debian-based distros) package flot and
other JS library separately. You will find them in /usr/share/javascript/. Flot
is in /usr/share/javascript/flot/
I created (or did the trac-bitten package to it?) symbolic links in
/usr/share/pyshared/bitten/htdocs/ to flot and excanvas and the plots worked
again.
Regards
Lee
On Mon, 15 Sep 2014 13:53:19 potter wrote:
> Went looking for excanvas.js and jquery.flot.js. Found them on the old
> host inside the bitten/htdocs directory, but they where not in the new
> hosts bitten/htdocs or anywhere else.
>
> Tried to remember how I installed bitten (apt-get, ez_install or pip).
> Using dpkg --list | grep bitten discovered I had used apt-get.
>
> Uninstalled bitten and re-install using apt-get. Checked the bitten/htdocs
> directory. Still no excanvas.js or jquery.flot.js.
>
> Uninstalled bitten using apt-get. Installed bitten via:
>
> - svn check-out
http://svn.edgewall.org/repos/bitten/tags/0.6 bitten-0.6
> - cd bitten-0.6
> - sudo python setup.py install
>
> Check bitten/htdocs, excanvas.js and jquery.flot.js now exist.
>
> Re-imported the backup data from the old host and retest, and we have
> graphs.
>
> Thanks.
>
> On Monday, September 15, 2014 2:21:48 PM UTC-4, potter wrote:
> > Sure enough:
> >
> > Failed to load resource: the server responded with a status of 404 (Not
> > Found)
> > http://*host*/trac/chrome/bitten/excanvas.js
> > Failed to load resource: the server responded with a status of 404 (Not
> > Found)
> > http://*host*/trac/chrome/bitten/jquery.flot.js