2378: Uncorrect initial location of reviewboard.db file

iant*****@issar***** (Google Code) (Is this you? Claim this profile.)
Sept. 28, 2012
I am running ReviewBoard 1.6.1, on Windows Vista.

I made follow steps (now, i am in "C:\Reviewboard"):

1. git clone git://github.com/reviewboard/reviewboard.git,
2. git checkout -b release-1.6.x remotes/origin/release-1.6.x
3.      $ cd reviewboard
        $ python setup.py develop
        $ python contrib/internal/prepare-dev.py

4. After that, non-empty file reviewboard.db appeared in "C:\Reviewboard\reviewboard\reviewboard",
5. python contrib/internal/devserver.py,
6. Reviewboard said that i don`t have django_site table,
7. Stopped devserver,
8. Found that _empty_ file reviewboard.db appeared in "C:\Reviewboard\reviewboard",
9. python reviewboard/manage.py syncdb,
10. Found that empty reviewboard.db (from step 8) became non-empty.
This file and file from step 4, have same size.

May be something went wrong in prepare-dev.py, because it create
reviewboard.db at another directory? And may be by similar way "data"
folder, wasn`t created in proper location?
david
#1 david
This is fixed in a newer version.

By the way, if you merely want to run reviewboard, you probably want to follow the admin guide instead of the development documentation (and not run on a windows host)
  • +Fixed