I'm sure Christian is right about the Django stuff, but, just in case
it helps, I found that I had to use the absolute path to my sqlite
database in settings_local.py:

DATABASE_NAME = 'C:/reviewboard/reviewboard.sqlite'  # Or path to
database file if using sqlite3.


On Sep 22, 11:13 pm, "Atul Phalke" <[EMAIL PROTECTED]>
wrote:
> Yes I have file
> /usr/lib/python2.5/site-packages/django/db/backends/sqlite3/base.py on my
> system.  System is FC8.
> uname -a output---
> Linux <ip-address> 2.6.21-2950.fc8xen #1 SMP Tue Oct 23 12:24:34 EDT 2007
> i686 i686 i386 GNU/Linux
>
> On Tue, Sep 23, 2008 at 11:38 AM, Christian Hammond <[EMAIL PROTECTED]>wrote:
>
> > It has nothing to do with the database file and everything to do with
> > Django's install. It sounds like a file is missing.
>
> > Please look at my previous e-mail about looking for a particular file on
> > your system.
>
> > Also, what sort of system is this installed on?
>
> > Christian
>
> > --
> > Christian Hammond - [EMAIL PROTECTED]
> > VMware, Inc.
>
> > On Mon, Sep 22, 2008 at 10:39 PM, Atul Phalke <[EMAIL PROTECTED]
> > > wrote:
>
> >> HI,
> >>    I created reviewboard database by executing command "sqlite3
> >> reviewboarddb" . I gave this file path in settings_local.py. Still I am
> >> facing same problem.
> >> Traceback (most recent call last):
> >>   File "./manage.py", line 144, in <module>
> >>     fix_django_evolution_issues()
> >>   File "./manage.py", line 128, in fix_django_evolution_issues
> >>     import django.db.models.fields as model_fields
> >>   File "/usr/lib/python2.5/site-packages/django/db/__init__.py", line 24,
> >> in <module>
> >>     backend = __import__('%s.base' % settings.DATABASE_ENGINE, {}, {},
> >> [''])
> >> ImportError: No module named base
>
> >> Anything extra I need to do regarding database?
>
> >> Atul.
>
> >> On Tue, Sep 23, 2008 at 11:05 AM, Atul Phalke <
> >> [EMAIL PROTECTED]> wrote:
>
> >>> Its '2.3.2'
> >>> Atul.
>
> >>> On Tue, Sep 23, 2008 at 10:29 AM, Christian Hammond <[EMAIL PROTECTED]
> >>> > wrote:
>
> >>>> Also, run:
>
> >>>> $ python
> >>>> >>> import sqlite3
> >>>> >>> sqlite3.version
>
> >>>> Show the output here.
>
> >>>> Christian
>
> >>>> --
> >>>> Christian Hammond - [EMAIL PROTECTED]
> >>>> VMware, Inc.
>
> >>>> On Mon, Sep 22, 2008 at 9:58 PM, Christian Hammond <[EMAIL PROTECTED]
> >>>> > wrote:
>
> >>>>> Just to be sure, you do have a
> >>>>> /usr/lib/python2.5/site-packages/django/db/backends/sqlite3/base.py, 
> >>>>> right?
> >>>>> (If using python 2.4, check /usr/lib/python2.4 instead of python2.5).
>
> >>>>> Christian
>
> >>>>> --
> >>>>> Christian Hammond - [EMAIL PROTECTED]
> >>>>> VMware, Inc.
>
> >>>>> On Mon, Sep 22, 2008 at 9:17 PM, Atul Phalke <
> >>>>> [EMAIL PROTECTED]> wrote:
>
> >>>>>> I think I should try this option as per following line
> >>>>>> DATABASE_NAME = 'reviewboard.sqlite'  # Or path to database file if
> >>>>>> using sqlite3.
>
> >>>>>> Atul.
>
> >>>>>> On Tue, Sep 23, 2008 at 9:43 AM, Atul Phalke <
> >>>>>> [EMAIL PROTECTED]> wrote:
>
> >>>>>>> No. I didn't try. But as per the steps given there is no need for
> >>>>>>> sqlite I guess . See
> >>>>>>>    http://code.google.com/p/reviewboard/wiki/GettingStarted
>
> >>>>>>> Thanks,
> >>>>>>> Atul.
>
> >>>>>>> On Tue, Sep 23, 2008 at 9:38 AM, Jeff Andros <[EMAIL PROTECTED]>wrote:
>
> >>>>>>>> shouldn't the DATABASE_NAME be a path?  have you tried it with the
> >>>>>>>> absolute path to your database file?
> >>>>>>>> Jeff
> >>>>>>>> O|||||||O
>
> >>>>>>>> Help me and the Leukemia and Lymphoma society fight blood cancers:
> >>>>>>>>http://pages.teamintraining.org/dm/tucson08/jandros
>
> >>>>>>>> On Mon, Sep 22, 2008 at 8:52 PM, Atul Phalke <
> >>>>>>>> [EMAIL PROTECTED]> wrote:
>
> >>>>>>>>> It's sqlite3.
>
> >>>>>>>>> DATABASE_ENGINE = 'sqlite3'      # 'postgresql', 'mysql', 'sqlite3'
> >>>>>>>>> or 'ado_mssql'.
> >>>>>>>>> DATABASE_NAME = 'reviewboard.sqlite'  # Or path to database file if
> >>>>>>>>> using sqlite3.
> >>>>>>>>> DATABASE_USER = '********'     # Not used with sqlite3.
> >>>>>>>>> DATABASE_PASSWORD = '********' # Not used with sqlite3.
> >>>>>>>>> DATABASE_HOST = ''             # Set to empty string for localhost.
> >>>>>>>>> DATABASE_PORT = ''             # Set to empty string for default.
>
> >>>>>>>>> On Tue, Sep 23, 2008 at 3:26 AM, Christian Hammond <
> >>>>>>>>> [EMAIL PROTECTED]> wrote:
>
> >>>>>>>>>> What's DATABASE_ENGINE set to in settings_local.py?
>
> >>>>>>>>>> Christian
>
> >>>>>>>>>> --
> >>>>>>>>>> Christian Hammond - [EMAIL PROTECTED]
> >>>>>>>>>> VMware, Inc.
>
> >>>>>>>>>> On Mon, Sep 22, 2008 at 3:42 AM, Atul Phalke <
> >>>>>>>>>> [EMAIL PROTECTED]> wrote:
>
> >>>>>>>>>>> Hi,
> >>>>>>>>>>>    Can anybody help me resolve following issue. I am using
> >>>>>>>>>>> Revieboard - trunk
> >>>>>>>>>>> Django - 1.0
> >>>>>>>>>>> Sqlite 3.3
>
> >>>>>>>>>>> If I run ./manage.py syncdb, I get following error
>
> >>>>>>>>>>> [EMAIL PROTECTED] reviewboard]# ./manage.py syncdb
> >>>>>>>>>>> Traceback (most recent call last):
> >>>>>>>>>>>   File "./manage.py", line 144, in <module>
> >>>>>>>>>>>     fix_django_evolution_issues()
> >>>>>>>>>>>   File "./manage.py", line 128, in fix_django_evolution_issues
> >>>>>>>>>>>     import django.db.models.fields as model_fields
> >>>>>>>>>>>   File "/usr/lib/python2.5/site-packages/django/db/__init__.py",
> >>>>>>>>>>> line 24, in <module>
> >>>>>>>>>>>     backend = __import__('%s.base' % settings.DATABASE_ENGINE,
> >>>>>>>>>>> {}, {}, [''])
> >>>>>>>>>>> ImportError: No module named base
> >>>>>>>>>>> [EMAIL PROTECTED] reviewboard]#
>
> >>>>>>>>>>> It seems like some database related issue.
>
> >>>>>>>>>>> Any response would be appreciated.
> >>>>>>>>>>> Thanks in advance,
> >>>>>>>>>>> Atul Balwant Phalke.
>
> >>>>>>>>>>> On Mon, Sep 15, 2008 at 5:57 PM, Atul Phalke <
> >>>>>>>>>>> [EMAIL PROTECTED]> wrote:
>
> >>>>>>>>>>>> Hey Christian,
> >>>>>>>>>>>>     Sorry for delay in response. I am using reviewboard code
> >>>>>>>>>>>> from trunk and django version 1.0. Any response would be 
> >>>>>>>>>>>> appreciated.
> >>>>>>>>>>>> Thanks,
> >>>>>>>>>>>> Atul.
>
> >>>>>>>>>>>> On Fri, Sep 5, 2008 at 4:20 PM, Christian Hammond <
> >>>>>>>>>>>> [EMAIL PROTECTED]> wrote:
>
> >>>>>>>>>>>>> Review Board hasn't worked with 0.96 in over a year. Actually,
> >>>>>>>>>>>>> I'm not sure it ever worked with 0.96. What version of Django 
> >>>>>>>>>>>>> are you using
> >>>>>>>>>>>>> now? And what revision of Review Board?
>
> >>>>>>>>>>>>> Christian
>
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> Christian Hammond - [EMAIL PROTECTED]
> >>>>>>>>>>>>> VMware, Inc.
>
> >>>>>>>>>>>>> On Fri, Sep 5, 2008 at 2:56 AM, Atul Phalke <
> >>>>>>>>>>>>> [EMAIL PROTECTED]> wrote:
>
> >>>>>>>>>>>>>> Hi Team,
> >>>>>>>>>>>>>>    I am getting following error if I run command './manage.py
> >>>>>>>>>>>>>> syncdb'
> >>>>>>>>>>>>>> Traceback (most recent call last):
> >>>>>>>>>>>>>>   File "./manage.py", line 164, in <module>
> >>>>>>>>>>>>>>     fix_django_evolution_issues()
> >>>>>>>>>>>>>>   File "./manage.py", line 132, in fix_django_evolution_issues
> >>>>>>>>>>>>>>     import django.db.models.fields.files as model_files
> >>>>>>>>>>>>>>   File
> >>>>>>>>>>>>>> "/usr/lib/python2.5/site-packages/django/db/models/fields/files.py",
> >>>>>>>>>>>>>>  line 7,
> >>>>>>>>>>>>>> in <module>
> >>>>>>>>>>>>>>     from django.core.files.storage import default_storage
> >>>>>>>>>>>>>>   File
> >>>>>>>>>>>>>> "/usr/lib/python2.5/site-packages/django/core/files/storage.py",
> >>>>>>>>>>>>>>  line 223,
> >>>>>>>>>>>>>> in <module>
> >>>>>>>>>>>>>>     DefaultStorage =
> >>>>>>>>>>>>>> get_storage_class(settings.DEFAULT_FILE_STORAGE)
> >>>>>>>>>>>>>>   File
> >>>>>>>>>>>>>> "/usr/lib/python2.5/site-packages/django/conf/__init__.py", 
> >>>>>>>>>>>>>> line 32, in
> >>>>>>>>>>>>>> __getattr__
> >>>>>>>>>>>>>>     return getattr(self._target, name)
> >>>>>>>>>>>>>> AttributeError: 'Settings' object has no attribute
> >>>>>>>>>>>>>> 'DEFAULT_FILE_STORAGE'
>
> >>>>>>>>>>>>>> Earlier I was using django 0.96 version, that time I didn't
> >>>>>>>>>>>>>> face this issue. Now I am facing this problem, sqlite and 
> >>>>>>>>>>>>>> other required
> >>>>>>>>>>>>>> things are installed. Any help would be appreciated.
>
> >>>>>>>>>>>>>> Thanks in advance.
> >>>>>>>>>>>>>> Regards,
> >>>>>>>>>>>>>> Atul Balwant Phalke.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to