Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1371 by rb-site install issue on windows: unable to  
open database file

*NOTE: Do not post confidential information in this bug report.*

What version are you running?

What's the URL of the page containing the problem?

What steps will reproduce the problem?
1. Install Python2.5, apache2.2, mod_python, patch, PIL, Crypto
2. download and easy_install ReviewBoard-1.1alpha1-py2.5.egg
3. "rb-site install reviews" in c:\www

What is the expected output? What do you see instead?

What operating system are you using? What browser?

Please provide any additional information below.

Hi, I'm setting up review board on a winxp virtual machine with
VirtualBox. But I was always meeting the following error, either with the
stable release 1.0.5 or 1.1alpha1. I failed to find help by google. So, I
have to ask help here. The following is the message during rb-site install:

     This will prepare a Review Board site installation in:


     We need to know a few things before we can prepare your site for
     installation. This will only take a few minutes.

* Make sure you have the modules you need.

     Depending on your installation, you may need certain Python
     modules and servers that are missing.

     If you need support for any of the following, you will need to
     install the necessary modules and restart the install.

     Databases (optional):
         * MySQL (MySQLdb)
         * PostgreSQL (psycopg2)

* What's the host name for this site?

     This should be the fully-qualified host name without the http://,
     port or path.

Domain Name: reviews

* What URL path points to Review Board?

     Typically, Review Board exists at the root of a URL. For example, In this case, you would specify "/".

     However, if you want to listen to, say,, you can specify "/reviews/".

     Note that this is the path relative to the domain and should not
     include the domain name.

     The default is /

Root Path [/]:

* What URL will point to the media files?

     While most installations distribute media files on the same server
     as the rest of Review Board, some custom installs may instead have
     a separate server for this purpose.

     The default is media/

Media URL [media/]:

* What database type will you be using?

     You can type either the name or the number from the list below.

     (1) sqlite3

Database Type: 1

* Determining database file path.

     The sqlite database file will be stored in

     If you are migrating from an existing installation, you can move
     your existing database there, or edit to point
     to your old location.

* What cache mechanism should be used?

     memcached is strongly recommended. Use it unless you have a good
     reason not to.

     You can type either the name or the number from the list below.

     (1) memcached
     (2) file

Cache Type: 1

* What memcached connection string should be used?

     This is generally in the format of memcached://hostname:port/

     The default is memcached://localhost:11211/

Memcache Server [memcached://localhost:11211/]:

* What web server will you be using?

     You can type either the name or the number from the list below.

     (1) apache
     (2) lighttpd

Web Server: 1

* What Python loader module will you be using?

     Based on our experiences, we recommend using modpython with Review

     You can type either the name or the number from the list below.

     (1) modpython
     (2) fastcgi

Python Loader: 1

* Create an administrator account

     To configure Review Board, you'll need an administrator account.
     It is advised to have one administrator and then use that account
     to grant administrator permissions to your personal user account.

     If you plan to use NIS or LDAP, use an account name other than
     your NIS/LDAP account so as to prevent conflicts.

     The default is admin

Username [admin]:


[!] You must answer this question.

E-Mail Address: xxx

* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... Creating table django_admin_log
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_site
Creating table django_session
Creating table siteconfig_siteconfiguration
Creating table accounts_reviewrequestvisit
Creating table accounts_profile
Creating table changedescs_changedescription
Creating table diffviewer_filediff
Creating table diffviewer_diffset
Creating table diffviewer_diffsethistory
Creating table reviews_group
Creating table reviews_defaultreviewer
Creating table reviews_screenshot
Creating table reviews_reviewrequest
Creating table reviews_reviewrequestdraft
Creating table reviews_comment
Creating table reviews_screenshotcomment
Creating table reviews_review
Creating table scmtools_tool
Creating table scmtools_repository
Creating table django_project_version
Creating table django_evolution
Traceback (most recent call last):
   File "c:\Python25\Scripts\", line 8, in <module>
     load_entry_point('ReviewBoard==1.1alpha1', 'console_scripts', 'rb-
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
d\cmdline\", line 1493, in main
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
d\cmdline\", line 1093, in run
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
d\cmdline\", line 1344, in show_install_status
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
d\cmdline\", line 665, in step
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
d\cmdline\", line 320, in sync_database
     self.run_manage_command("syncdb", params)
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
d\cmdline\", line 359, in run_manage_command
     execute_manager(reviewboard.settings, [__file__, cmd] + params)
   File "c:\python25\lib\site-packages\django-1.1.1-
ent\", line 362, in execute_manager
   File "c:\python25\lib\site-packages\django-1.1.1-
ent\", line 303, in execute
   File "c:\python25\lib\site-packages\django-1.1.1-
ent\", line 195, in run_from_argv
     self.execute(*args, **options.__dict__)
   File "c:\python25\lib\site-packages\django-1.1.1-
ent\", line 222, in execute
     output = self.handle(*args, **options)
   File "c:\python25\lib\site-packages\django-1.1.1-
ent\", line 351, in handle
     return self.handle_noargs(**options)
   File "c:\python25\lib\site-packages\django-1.1.1-
ent\commands\", line 93, in handle_noargs
   File "c:\python25\lib\site-packages\django-1.1.1-
sqlite3\", line 193, in execute
     return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: unable to open database file

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to