2013/7/6 Ryan Ollos <[email protected]>

> On Fri, Jul 5, 2013 at 2:23 PM, Hua Xiang <[email protected]> wrote:
>
> > 2013/7/5 Anze Staric <[email protected]>
> >
> > > Virtual environments usually stop working when you move them around.
> > > Can you try recreating the virtualenv? (virtualenv step ... followed
> > > by pip install -r ...).
> >
> >
> > Thanks Anze.
> > Now, I can run localhost without "Address already in use" error.
> > However, after I ran *tracd --port=8000 /home/usr/bh/sqlite*
> > I got: *sqlite: Error*
> > Then I ran: *trac-admin /home/usr/bh/sqlite upgrade*
> > I got: *The upgrade failed. Please fix the issue and try again.*
> > *         IntegrityError: Columns prefix, name are not unique.*
> >
>
> I had a suspicion that you may have accidentally installed the packages
> globally rather than in the virtualenv,

Yes. You are right.


> but so far I've been unable to
> reproduce the same issue.

Did you delete your virutalenv directory before
> installing the new one?

No.


> Did you run the "activate" command after creating
> the new virtualenv and before running the "pip install" command?
>
Yes.

> Did you install the packages from requirements.txt or requirements-dev.txt?
>
Yes. "$ pip install -r requirements-dev.txt "

What version of Bloodhound were you running before you did these steps, and
> what version are you running now?
>
Both are 0.5.3


> What is the output of?:
> `trac-admin /home/user/bh/sqlite product list`
>

$ trac-admin /home/user/bh/sqlite product list
TracError: The Trac Environment needs to be upgraded.
Run "trac-admin /homeng/bhlite upgrade"

$ trac-admin /home/user/bh/sqlite upgrade
The upgrade failed. Please fix the issue and try again.
IntegrityError: columns prefix, name are not unique

I think the key point might be I have installed the package globally. I
will try to figure out.

Thanks Ryan!

Reply via email to