bloodhound-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matevž Bradač <mat...@digiverse.si>
Subject Re: Bloodhound Login Error
Date Wed, 31 Jul 2013 11:48:50 GMT

On 31. Jul, 2013, at 10:54, Pedro Estrela wrote:

> I did that command:
> 
> tracd -p 8000 /var/www/bloodhound/installer/bloodhound/environments/main
> 
> and i get this errors on localhost:8000/main :
> 
> " Warning: Unknown theme bloodhound configured. Please check your trac.ini. You may need
to enable the theme's plugin. "
> 
> and
> 
> " Trac detected an internal error:
> 
> DataError: invalid input syntax for integer: "trac.wiki.api.WikiSystem.pages"
> LINE 1: SELECT generation FROM cache WHERE id=E'trac.wiki.api.WikiSy...
>                  
>                             ^"
> 

From the looks of it, it seems like you have a corrupt virtual environment
or something in that direction. I would suggest recreating the environment
from scratch, under the same user account that will be used for running
Apache. Note that you may have to manually remove Babel and replace it with an
older version (use Babel==0.9.6 with pip), as the newer versions may not work.
After the new environment has been set up, running a standalone tracd should
work properly.

Once this is fixed we can continue debugging the Apache issues.


> 
> 2013/7/30 Matevž Bradač <matevz@digiverse.si>
> 
> On 30. Jul, 2013, at 19:07, Pedro Estrela wrote:
> 
> >  /main is not on the root, is on /var/www/bloodhound/installer/bloodhound/environments/main
> 
> tracd should be started with a path to the bloodhound environment, e.g.:
>   tracd -p 8000 /var/www/bloodhound/installer/bloodhound/environments/main
> or, since you already cd-ed to the "environments" directory, as:
>   tracd -p 8000 main
> (note there is no / before main)
> 
> I'm not sure how tracd even ran in your case, I always get an error
> "Environment not found" with an incorrect path.
> 
> >
> >
> > 2013/7/30 Gary Martin <gary.martin@wandisco.com>
> > On 30/07/13 17:48, Pedro Estrela wrote:
> > No problem. I use PostgreSQL
> >
> >
> > 2013/7/30 Olemis Lang <olemis@gmail.com <mailto:olemis@gmail.com>>
> >
> >
> >     On 7/30/13, Pedro Estrela <p.estrela@campus.fct.unl.pt
> >     <mailto:p.estrela@campus.fct.unl.pt>> wrote:
> >     > this is what happen when I run tracd:
> >     >
> >     > "
> >     > (bloodhound)[root@lbtvmcentosbug bloodhound]# dir
> >     > bin  bloodhound  environments  include lib  lib64  site
> >     > (bloodhound)[root@lbtvmcentosbug bloodhound]# cd environments/
> >     > (bloodhound)[root@lbtvmcentosbug environments]# dir
> >     > main
> >     > (bloodhound)[root@lbtvmcentosbug environments]# tracd
> >     --port=8000 /main
> >     > Server starting in PID 46169.
> >     > Serving on 0.0.0.0:8000 <http://0.0.0.0:8000> view at
> >
> >     http://127.0.0.1:8000/
> >     > Using HTTP/1.1 protocol version
> >     > 127.0.0.1 - - [30/Jul/2013 12:25:53] "GET /main HTTP/1.1" 500 -
> >     > 127.0.0.1 - - [30/Jul/2013 12:25:53] "GET
> >     > /main/chrome/site/your_project_logo.png HTTP/1.1" 404 -
> >     > 127.0.0.1 - - [30/Jul/2013 12:26:00] "GET /main/login HTTP/1.1"
> >     500 -
> >     > 127.0.0.1 - - [30/Jul/2013 12:26:00] "GET
> >     > /main/chrome/site/your_project_logo.png HTTP/1.1" 404 -
> >     > 127.0.0.1 - - [30/Jul/2013 12:26:07] "GET /main HTTP/1.1" 500 -
> >     > 127.0.0.1 - - [30/Jul/2013 12:26:08] "GET
> >     > /main/chrome/site/your_project_logo.png HTTP/1.1" 404 -
> >     > "
> >     >
> >     > and here is a screen of localhost:8000/main
> >     >
> >
> >     I had never seen that error before . It is bizarre . What DB backend
> >     have you deployed ? SQLite ? PostgreSQL ? MySQL ?
> >
> >
> > Part of my confusion is why "tracd --port=8000 /main" even worked. Is there a /main
at the root of the filesystem?
> >
> > Cheers,
> >     Gary
> >
> 
> 
> <ss2.jpg>


Mime
View raw message