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, but so far I've been unable to reproduce the same issue. Did you delete your virutalenv directory before installing the new one? Did you run the "activate" command after creating the new virtualenv and before running the "pip install" command? Did you install the packages from requirements.txt or requirements-dev.txt? What version of Bloodhound were you running before you did these steps, and what version are you running now? What is the output of?: `trac-admin /home/user/bh/sqlite product list`
