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

New issue 1371 by ruijin.ma: rb-site install issue on windows: unable to  
open database file
http://code.google.com/p/reviewboard/issues/detail?id=1371

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

What version are you running?
1.1alpha1

What's the URL of the page containing the problem?
N/A

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?
WinXP

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:

     C:\www\reviews

     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,
     http://reviews.example.com/. In this case, you would specify "/".

     However, if you want to listen to, say,
     http://example.com/reviews/, 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
     C:\www\reviews\db\reviewboard.db

     If you are migrating from an existing installation, you can move
     your existing database there, or edit settings_local.py 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
     Board.

     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]:

Password:

[!] You must answer this question.
Password:

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\rb-site-script.py", line 8, in <module>
     load_entry_point('ReviewBoard==1.1alpha1', 'console_scripts', 'rb-
site')()
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
py2.5.egg\reviewboar
d\cmdline\rbsite.py", line 1493, in main
     command.run()
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
py2.5.egg\reviewboar
d\cmdline\rbsite.py", line 1093, in run
     self.show_install_status()
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
py2.5.egg\reviewboar
d\cmdline\rbsite.py", line 1344, in show_install_status
     site.sync_database)
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
py2.5.egg\reviewboar
d\cmdline\rbsite.py", line 665, in step
     func()
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
py2.5.egg\reviewboar
d\cmdline\rbsite.py", line 320, in sync_database
     self.run_manage_command("syncdb", params)
   File "c:\python25\lib\site-packages\ReviewBoard-1.1alpha1-
py2.5.egg\reviewboar
d\cmdline\rbsite.py", line 359, in run_manage_command
     execute_manager(reviewboard.settings, [__file__, cmd] + params)
   File "c:\python25\lib\site-packages\django-1.1.1-
py2.5.egg\django\core\managem
ent\__init__.py", line 362, in execute_manager
     utility.execute()
   File "c:\python25\lib\site-packages\django-1.1.1-
py2.5.egg\django\core\managem
ent\__init__.py", line 303, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
   File "c:\python25\lib\site-packages\django-1.1.1-
py2.5.egg\django\core\managem
ent\base.py", line 195, in run_from_argv
     self.execute(*args, **options.__dict__)
   File "c:\python25\lib\site-packages\django-1.1.1-
py2.5.egg\django\core\managem
ent\base.py", line 222, in execute
     output = self.handle(*args, **options)
   File "c:\python25\lib\site-packages\django-1.1.1-
py2.5.egg\django\core\managem
ent\base.py", line 351, in handle
     return self.handle_noargs(**options)
   File "c:\python25\lib\site-packages\django-1.1.1-
py2.5.egg\django\core\managem
ent\commands\syncdb.py", line 93, in handle_noargs
     cursor.execute(statement)
   File "c:\python25\lib\site-packages\django-1.1.1-
py2.5.egg\django\db\backends\
sqlite3\base.py", 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:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to