Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread anoop kc
Hi christian,

Thanks for the update. I am glad that I could help you sort this out and
that may be the reason why I could not find a workaround over the net.


Thanks & Regards,

*Anoop K. C.*



Baabte System Technologies Pvt Ltd.

*An ISO 9001:2008 certified company*

Mob :  +91 9746854752 |  Office :- +91 495-2295550

www.baabte.com <http://www.baabte.com%20/> | www.baabtra.com |
www.massbaab.com

On Mon, Nov 24, 2014 at 3:27 PM, Christian Hammond  wrote:

> Glad to help!
>
> What happened is that a third-party module we use, Django Pipeline, just
> recently released a new 1.4 (and follow-up 1.4.1) release. This release is
> not compatible with prior releases, and, amongst other incompatibilities,
> they apparently no longer have a particular sub-module we're trying to
> import (default_storage).
>
> Our Djblets module, which is a Django utility module that we maintain for
> Review Board and other projects, had a requirement of
> "django_pipeline>=1.3.23," which resulted in it installing the latest 1.4.1
> release.
>
> What we did was remove the 1.4.1 release and install a compatible version
> (1.3.23).
>
> I'm glad we sorted this out. This was the first report of the issue I've
> seen, but you're probably not the first person to hit this issue. The
> newly-issued release of Djblets 0.8.13 tonight will solve this for any new
> installs.
>
> Christian
>
> --
> Christian Hammond - christ...@beanbaginc.com
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> -Original Message-
> From: anoop kc 
> Reply: reviewboard@googlegroups.com >
> Date: November 24, 2014 at 1:45:54 AM
> To: Christian Hammond >
> Cc: reviewboard@googlegroups.com >
> Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146,
> "Table 'reviewboard.auth_user' doesn't exist")
>
> > Hi christian,
> >
> > Yes, that worked. Thanks my friend, you saved my day. I was behind this
> for
> > a couple of days. It will be great if you can tell me what exactly was
> the
> > issue.
> >
> > Thanks again.
> >
> >
> > Thanks & Regards,
> >
> > *Anoop K. C.*
> >
> >
> >
> > Baabte System Technologies Pvt Ltd.
> >
> > *An ISO 9001:2008 certified company*
> >
> > Mob : +91 9746854752 | Office :- +91 495-2295550
> >
> > www.baabte.com | www.baabtra.com |
> > www.massbaab.com
> >
> > On Mon, Nov 24, 2014 at 3:06 PM, Christian Hammond > > wrote:
> >
> > > Ah, there we go.
> > >
> > > So I gave the wrong rm command for that. Do:
> > >
> > > $ rm -rf /usr/local/lib/python2.7/dist-packages/django_pipeline*
> > > $ easy_install django_pipeline==1.3.23
> > >
> > > That should take care of it.
> > >
> > > I just released a new Djblets that restricts the allowed versions of
> > > django_pipeline during installation so this won't happen for any new
> > > installs or upgrades.
> > >
> > > Christian
> > >
> > > --
> > > Christian Hammond - christ...@beanbaginc.com
> > > Review Board - https://www.reviewboard.org
> > > Beanbag, Inc. - https://www.beanbaginc.com
> > >
> > > -Original Message-
> > > From: anoop kc
> > > Reply: reviewboard@googlegroups.com >
> > > Date: November 24, 2014 at 1:34:17 AM
> > > To: Christian Hammond >
> > > Cc: reviewboard@googlegroups.com >
> > > Subject: Re: rb-site fails with django.db.utils.ProgrammingError:
> (1146,
> > > "Table 'reviewboard.auth_user' doesn't exist")
> > >
> > > > Hi christian,
> > > >
> > > > sorry, missed out the latter part of the mail. Here are the contents
> of
> > > > /usr/local/lib/python2.7/dist-packages/
> > > >
> > > > root@user-desktop:~# cd /usr/local/lib/python2.7/dist-packages/
> > > > root@user-desktop:/usr/local/lib/python2.7/dist-packages# ls
> > > >
> > > > django Djblets-0.8.12-py2.7.egg
> > > > Markdown-2.4.1-py2.7.egg python_memcached-1.53-py2.7.egg
> > > > Django-1.6.8-py2.7.egg docutils-0.12-py2.7.egg
> > > > mimeparse-0.1.3-py2.7.egg pytz-2014.9-py2.7.egg
> > > > django_evolution-0.7.4-py2.7.egg easy-install.pth
> > > > paramiko-1.15.1-py2.7.egg recaptcha_client-1.0.6-py2.7.egg
> > > > django_haystack-2.3.1-py2.7.egg ecdsa-0.11-py2.7.egg
> > > > PIL-1.1.6-py2.7-linux-x86_64.egg Review

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread Christian Hammond
Glad to help!

What happened is that a third-party module we use, Django Pipeline, just 
recently released a new 1.4 (and follow-up 1.4.1) release. This release is not 
compatible with prior releases, and, amongst other incompatibilities, they 
apparently no longer have a particular sub-module we're trying to import 
(default_storage).

Our Djblets module, which is a Django utility module that we maintain for 
Review Board and other projects, had a requirement of 
"django_pipeline>=1.3.23," which resulted in it installing the latest 1.4.1 
release.

What we did was remove the 1.4.1 release and install a compatible version 
(1.3.23).

I'm glad we sorted this out. This was the first report of the issue I've seen, 
but you're probably not the first person to hit this issue. The newly-issued 
release of Djblets 0.8.13 tonight will solve this for any new installs.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: anoop kc 
Reply: reviewboard@googlegroups.com >
Date: November 24, 2014 at 1:45:54 AM
To: Christian Hammond >
Cc: reviewboard@googlegroups.com >
Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146, 
"Table 'reviewboard.auth_user' doesn't exist")

> Hi christian,
>  
> Yes, that worked. Thanks my friend, you saved my day. I was behind this for
> a couple of days. It will be great if you can tell me what exactly was the
> issue.
>  
> Thanks again.
>  
>  
> Thanks & Regards,
>  
> *Anoop K. C.*
>  
>  
>  
> Baabte System Technologies Pvt Ltd.
>  
> *An ISO 9001:2008 certified company*
>  
> Mob : +91 9746854752 | Office :- +91 495-2295550
>  
> www.baabte.com | www.baabtra.com |
> www.massbaab.com
>  
> On Mon, Nov 24, 2014 at 3:06 PM, Christian Hammond > > wrote:
>  
> > Ah, there we go.
> >
> > So I gave the wrong rm command for that. Do:
> >
> > $ rm -rf /usr/local/lib/python2.7/dist-packages/django_pipeline*
> > $ easy_install django_pipeline==1.3.23
> >
> > That should take care of it.
> >
> > I just released a new Djblets that restricts the allowed versions of
> > django_pipeline during installation so this won't happen for any new
> > installs or upgrades.
> >
> > Christian
> >
> > --
> > Christian Hammond - christ...@beanbaginc.com
> > Review Board - https://www.reviewboard.org
> > Beanbag, Inc. - https://www.beanbaginc.com
> >
> > -Original Message-
> > From: anoop kc  
> > Reply: reviewboard@googlegroups.com >
> > Date: November 24, 2014 at 1:34:17 AM
> > To: Christian Hammond >
> > Cc: reviewboard@googlegroups.com >
> > Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146,
> > "Table 'reviewboard.auth_user' doesn't exist")
> >
> > > Hi christian,
> > >
> > > sorry, missed out the latter part of the mail. Here are the contents of
> > > /usr/local/lib/python2.7/dist-packages/
> > >
> > > root@user-desktop:~# cd /usr/local/lib/python2.7/dist-packages/
> > > root@user-desktop:/usr/local/lib/python2.7/dist-packages# ls
> > >
> > > django Djblets-0.8.12-py2.7.egg
> > > Markdown-2.4.1-py2.7.egg python_memcached-1.53-py2.7.egg
> > > Django-1.6.8-py2.7.egg docutils-0.12-py2.7.egg
> > > mimeparse-0.1.3-py2.7.egg pytz-2014.9-py2.7.egg
> > > django_evolution-0.7.4-py2.7.egg easy-install.pth
> > > paramiko-1.15.1-py2.7.egg recaptcha_client-1.0.6-py2.7.egg
> > > django_haystack-2.3.1-py2.7.egg ecdsa-0.11-py2.7.egg
> > > PIL-1.1.6-py2.7-linux-x86_64.egg ReviewBoard-1.6.5-py2.7.egg
> > > django_pipeline-1.3.23-py2.7.egg feedparser-5.1.3-py2.7.egg
> > > pillowfight-0.2-py2.7.egg ReviewBoard-2.0.11-py2.7.egg
> > > django_pipeline-1.4.1-py2.7.egg flup-1.0.3.dev_20110405-py2.7.egg
> > > Pygments-2.0.1-py2.7.egg ReviewBoard-2.0.9-py2.7.egg
> > > Djblets-0.6.16-py2.7.egg futures-2.2.0-py2.7.egg
> > > python_dateutil-1.5-py2.7.egg Whoosh-2.6.0-py2.7.egg
> > >
> > > root@user-desktop:/usr/local/lib/python2.7/dist-packages#
> > >
> > >
> > >
> > > Thanks & Regards,
> > >
> > > *Anoop K. C.*
> > >
> > >
> > >
> > > Baabte System Technologies Pvt Ltd.
> > >
> > > *An ISO 9001:2008 certified company*
> > >
> > > Mob : +91 9746854752 | Office :- +91 495-2295550
> > >
> > > www.baabte.com | www.baabtra.com |
> >

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread anoop kc
Hi christian,

Yes, that worked. Thanks my friend, you saved my day. I was behind this for
a couple of days. It will be great if you can tell me what exactly was the
issue.

Thanks again.


Thanks & Regards,

*Anoop K. C.*



Baabte System Technologies Pvt Ltd.

*An ISO 9001:2008 certified company*

Mob :  +91 9746854752 |  Office :- +91 495-2295550

www.baabte.com <http://www.baabte.com%20/> | www.baabtra.com |
www.massbaab.com

On Mon, Nov 24, 2014 at 3:06 PM, Christian Hammond  wrote:

> Ah, there we go.
>
> So I gave the wrong rm command for that. Do:
>
> $ rm -rf /usr/local/lib/python2.7/dist-packages/django_pipeline*
> $ easy_install django_pipeline==1.3.23
>
> That should take care of it.
>
> I just released a new Djblets that restricts the allowed versions of
> django_pipeline during installation so this won't happen for any new
> installs or upgrades.
>
> Christian
>
> --
> Christian Hammond - christ...@beanbaginc.com
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> -Original Message-
> From: anoop kc 
> Reply: reviewboard@googlegroups.com >
> Date: November 24, 2014 at 1:34:17 AM
> To: Christian Hammond >
> Cc: reviewboard@googlegroups.com >
> Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146,
> "Table 'reviewboard.auth_user' doesn't exist")
>
> > Hi christian,
> >
> > sorry, missed out the latter part of the mail. Here are the contents of
> > /usr/local/lib/python2.7/dist-packages/
> >
> > root@user-desktop:~# cd /usr/local/lib/python2.7/dist-packages/
> > root@user-desktop:/usr/local/lib/python2.7/dist-packages# ls
> >
> > django Djblets-0.8.12-py2.7.egg
> > Markdown-2.4.1-py2.7.egg python_memcached-1.53-py2.7.egg
> > Django-1.6.8-py2.7.egg docutils-0.12-py2.7.egg
> > mimeparse-0.1.3-py2.7.egg pytz-2014.9-py2.7.egg
> > django_evolution-0.7.4-py2.7.egg easy-install.pth
> > paramiko-1.15.1-py2.7.egg recaptcha_client-1.0.6-py2.7.egg
> > django_haystack-2.3.1-py2.7.egg ecdsa-0.11-py2.7.egg
> > PIL-1.1.6-py2.7-linux-x86_64.egg ReviewBoard-1.6.5-py2.7.egg
> > django_pipeline-1.3.23-py2.7.egg feedparser-5.1.3-py2.7.egg
> > pillowfight-0.2-py2.7.egg ReviewBoard-2.0.11-py2.7.egg
> > django_pipeline-1.4.1-py2.7.egg flup-1.0.3.dev_20110405-py2.7.egg
> > Pygments-2.0.1-py2.7.egg ReviewBoard-2.0.9-py2.7.egg
> > Djblets-0.6.16-py2.7.egg futures-2.2.0-py2.7.egg
> > python_dateutil-1.5-py2.7.egg Whoosh-2.6.0-py2.7.egg
> >
> > root@user-desktop:/usr/local/lib/python2.7/dist-packages#
> >
> >
> >
> > Thanks & Regards,
> >
> > *Anoop K. C.*
> >
> >
> >
> > Baabte System Technologies Pvt Ltd.
> >
> > *An ISO 9001:2008 certified company*
> >
> > Mob : +91 9746854752 | Office :- +91 495-2295550
> >
> > www.baabte.com | www.baabtra.com |
> > www.massbaab.com
> >
> > On Mon, Nov 24, 2014 at 3:00 PM, anoop kc wrote:
> >
> > > Hi christian,
> > >
> > > Here is the outputs for the commands
> > >
> > > root@user-desktop:~# python
> > > Python 2.7.6 (default, Mar 22 2014, 22:59:56)
> > > [GCC 4.8.2] on linux2
> > > Type "help", "copyright", "credits" or "license" for more information.
> > > >>> import pipeline
> > > >>> print pipeline.__file__
> > >
> > >
> /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/__init__.pyc
> > > >>> from pipeline.storage import default_storage
> > > Traceback (most recent call last):
> > > File "", line 1, in
> > > File
> > >
> "/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/storage.py",
> > > line 7, in
> > > from django.contrib.staticfiles import finders
> > > File
> > >
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/finders.py",
> > > line 12, in
> > > from django.contrib.staticfiles.storage import AppStaticStorage
> > > File
> > >
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/storage.py",
> > > line 8, in
> > > from django.core.cache import (get_cache, InvalidCacheBackendError,
> > > File
> > >
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/core/cache/__init__.py",
> > > line 69, in
> > > if DEFAULT_CACHE_ALIAS not in se

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread Christian Hammond
Ah, there we go.

So I gave the wrong rm command for that. Do:

    $ rm -rf /usr/local/lib/python2.7/dist-packages/django_pipeline*
    $ easy_install django_pipeline==1.3.23

That should take care of it.

I just released a new Djblets that restricts the allowed versions of 
django_pipeline during installation so this won't happen for any new installs 
or upgrades.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: anoop kc 
Reply: reviewboard@googlegroups.com >
Date: November 24, 2014 at 1:34:17 AM
To: Christian Hammond >
Cc: reviewboard@googlegroups.com >
Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146, 
"Table 'reviewboard.auth_user' doesn't exist")

> Hi christian,
>  
> sorry, missed out the latter part of the mail. Here are the contents of
> /usr/local/lib/python2.7/dist-packages/
>  
> root@user-desktop:~# cd /usr/local/lib/python2.7/dist-packages/
> root@user-desktop:/usr/local/lib/python2.7/dist-packages# ls
>  
> django Djblets-0.8.12-py2.7.egg
> Markdown-2.4.1-py2.7.egg python_memcached-1.53-py2.7.egg
> Django-1.6.8-py2.7.egg docutils-0.12-py2.7.egg
> mimeparse-0.1.3-py2.7.egg pytz-2014.9-py2.7.egg
> django_evolution-0.7.4-py2.7.egg easy-install.pth
> paramiko-1.15.1-py2.7.egg recaptcha_client-1.0.6-py2.7.egg
> django_haystack-2.3.1-py2.7.egg ecdsa-0.11-py2.7.egg
> PIL-1.1.6-py2.7-linux-x86_64.egg ReviewBoard-1.6.5-py2.7.egg
> django_pipeline-1.3.23-py2.7.egg feedparser-5.1.3-py2.7.egg
> pillowfight-0.2-py2.7.egg ReviewBoard-2.0.11-py2.7.egg
> django_pipeline-1.4.1-py2.7.egg flup-1.0.3.dev_20110405-py2.7.egg
> Pygments-2.0.1-py2.7.egg ReviewBoard-2.0.9-py2.7.egg
> Djblets-0.6.16-py2.7.egg futures-2.2.0-py2.7.egg
> python_dateutil-1.5-py2.7.egg Whoosh-2.6.0-py2.7.egg
>  
> root@user-desktop:/usr/local/lib/python2.7/dist-packages#
>  
>  
>  
> Thanks & Regards,
>  
> *Anoop K. C.*
>  
>  
>  
> Baabte System Technologies Pvt Ltd.
>  
> *An ISO 9001:2008 certified company*
>  
> Mob : +91 9746854752 | Office :- +91 495-2295550
>  
> www.baabte.com | www.baabtra.com |
> www.massbaab.com
>  
> On Mon, Nov 24, 2014 at 3:00 PM, anoop kc wrote:
>  
> > Hi christian,
> >
> > Here is the outputs for the commands
> >
> > root@user-desktop:~# python
> > Python 2.7.6 (default, Mar 22 2014, 22:59:56)
> > [GCC 4.8.2] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import pipeline
> > >>> print pipeline.__file__
> >
> > /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/__init__.pyc
> >   
> > >>> from pipeline.storage import default_storage
> > Traceback (most recent call last):
> > File "", line 1, in  
> > File
> > "/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/storage.py",
> >   
> > line 7, in  
> > from django.contrib.staticfiles import finders
> > File
> > "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/finders.py",
> >   
> > line 12, in  
> > from django.contrib.staticfiles.storage import AppStaticStorage
> > File
> > "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/storage.py",
> >   
> > line 8, in  
> > from django.core.cache import (get_cache, InvalidCacheBackendError,
> > File
> > "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/core/cache/__init__.py",
> >   
> > line 69, in  
> > if DEFAULT_CACHE_ALIAS not in settings.CACHES:
> > File
> > "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py",
> >   
> > line 54, in __getattr__
> > self._setup(name)
> > File
> > "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py",
> >   
> > line 47, in _setup
> > % (desc, ENVIRONMENT_VARIABLE))
> > django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but  
> > settings are not configured. You must either define the environment
> > variable DJANGO_SETTINGS_MODULE or call settings.configure() before
> > accessing settings.
> > >>> from django.contrib.messages.storage import default_storage
> > >>> from django.core.files.storage import default_storage
> > >>>
> >
> >
>  
> --
> Get the Review B

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread anoop kc
Hi christian,

sorry, missed out the latter part of the mail. Here are the contents of
/usr/local/lib/python2.7/dist-packages/

root@user-desktop:~# cd /usr/local/lib/python2.7/dist-packages/
root@user-desktop:/usr/local/lib/python2.7/dist-packages# ls

djangoDjblets-0.8.12-py2.7.egg
Markdown-2.4.1-py2.7.egg  python_memcached-1.53-py2.7.egg
Django-1.6.8-py2.7.eggdocutils-0.12-py2.7.egg
mimeparse-0.1.3-py2.7.egg pytz-2014.9-py2.7.egg
django_evolution-0.7.4-py2.7.egg  easy-install.pth
paramiko-1.15.1-py2.7.egg recaptcha_client-1.0.6-py2.7.egg
django_haystack-2.3.1-py2.7.egg   ecdsa-0.11-py2.7.egg
PIL-1.1.6-py2.7-linux-x86_64.egg  ReviewBoard-1.6.5-py2.7.egg
django_pipeline-1.3.23-py2.7.egg  feedparser-5.1.3-py2.7.egg
pillowfight-0.2-py2.7.egg ReviewBoard-2.0.11-py2.7.egg
django_pipeline-1.4.1-py2.7.egg   flup-1.0.3.dev_20110405-py2.7.egg
Pygments-2.0.1-py2.7.egg  ReviewBoard-2.0.9-py2.7.egg
Djblets-0.6.16-py2.7.egg  futures-2.2.0-py2.7.egg
python_dateutil-1.5-py2.7.egg Whoosh-2.6.0-py2.7.egg

root@user-desktop:/usr/local/lib/python2.7/dist-packages#



Thanks & Regards,

*Anoop K. C.*



Baabte System Technologies Pvt Ltd.

*An ISO 9001:2008 certified company*

Mob :  +91 9746854752 |  Office :- +91 495-2295550

www.baabte.com  | www.baabtra.com |
www.massbaab.com

On Mon, Nov 24, 2014 at 3:00 PM, anoop kc  wrote:

> Hi christian,
>
> Here is the outputs for the commands
>
> root@user-desktop:~# python
> Python 2.7.6 (default, Mar 22 2014, 22:59:56)
> [GCC 4.8.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pipeline
> >>> print pipeline.__file__
>
> /usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/__init__.pyc
> >>> from pipeline.storage import default_storage
> Traceback (most recent call last):
>   File "", line 1, in 
>   File
> "/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/storage.py",
> line 7, in 
> from django.contrib.staticfiles import finders
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/finders.py",
> line 12, in 
> from django.contrib.staticfiles.storage import AppStaticStorage
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/storage.py",
> line 8, in 
> from django.core.cache import (get_cache, InvalidCacheBackendError,
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/core/cache/__init__.py",
> line 69, in 
> if DEFAULT_CACHE_ALIAS not in settings.CACHES:
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py",
> line 54, in __getattr__
> self._setup(name)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py",
> line 47, in _setup
> % (desc, ENVIRONMENT_VARIABLE))
> django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but
> settings are not configured. You must either define the environment
> variable DJANGO_SETTINGS_MODULE or call settings.configure() before
> accessing settings.
> >>> from django.contrib.messages.storage import default_storage
> >>> from django.core.files.storage import default_storage
> >>>
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread anoop kc
Hi christian,

Here is the outputs for the commands

root@user-desktop:~# python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pipeline
>>> print pipeline.__file__
/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/__init__.pyc
>>> from pipeline.storage import default_storage
Traceback (most recent call last):
  File "", line 1, in 
  File
"/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.23-py2.7.egg/pipeline/storage.py",
line 7, in 
from django.contrib.staticfiles import finders
  File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/finders.py",
line 12, in 
from django.contrib.staticfiles.storage import AppStaticStorage
  File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/contrib/staticfiles/storage.py",
line 8, in 
from django.core.cache import (get_cache, InvalidCacheBackendError,
  File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/core/cache/__init__.py",
line 69, in 
if DEFAULT_CACHE_ALIAS not in settings.CACHES:
  File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py",
line 54, in __getattr__
self._setup(name)
  File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/conf/__init__.py",
line 47, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but
settings are not configured. You must either define the environment
variable DJANGO_SETTINGS_MODULE or call settings.configure() before
accessing settings.
>>> from django.contrib.messages.storage import default_storage
>>> from django.core.files.storage import default_storage
>>>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread Christian Hammond
Okay, show me all this:

    $ python
    >>> import pipeline
    >>> print pipeline.__file__
    >>> from pipeline.storage import default_storage
    >>> from django.contrib.messages.storage import default_storage
    >>> from django.core.files.storage import default_storage

Also, the contents of /usr/local/lib/python2.7/dist-packages/

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: anoop kc 
Reply: reviewboard@googlegroups.com >
Date: November 24, 2014 at 1:19:42 AM
To: Christian Hammond >
Cc: reviewboard@googlegroups.com >
Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146, 
"Table 'reviewboard.auth_user' doesn't exist")

> Hi christian,
>  
> This also did not fix the issue, the same out put as earlier. [?]
>  
>  
> Thanks & Regards,
>  
> *Anoop K. C.*
>  
>  
>  
> Baabte System Technologies Pvt Ltd.
>  
> *An ISO 9001:2008 certified company*
>  
> Mob : +91 9746854752 | Office :- +91 495-2295550
>  
> www.baabte.com | www.baabtra.com |
> www.massbaab.com
>  
> On Mon, Nov 24, 2014 at 2:41 PM, Christian Hammond > > wrote:
>  
> > Hmm, looks like it's probably due to a version bump in Django Pipeline.
> > Try removing the old version and installing an older one:
> >
> > $ rm -rf /usr/local/lib/python2.7/dist-packages/django-pipeline*
> > $ easy_install django-pipeline==1.3.23
> >
> > Going to put out a new Djblets release that fixes the dependency.
> >
> > Christian
> >
> > --
> > Christian Hammond - christ...@beanbaginc.com
> > Review Board - https://www.reviewboard.org
> > Beanbag, Inc. - https://www.beanbaginc.com
> >
> > -Original Message-
> > From: anoop kc  
> > Reply: anoop kc >
> > Date: November 24, 2014 at 1:04:55 AM
> > To: Christian Hammond >
> > Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146,
> > "Table 'reviewboard.auth_user' doesn't exist")
> >
> > > Hi christian,
> > >
> > > I reinstalled django 1.6.8 and again the same issue.
> > >
> > > Creating database ...
> > > [!] Unable to execute the manager command syncdb: cannot import name
> > > default_storage
> > >
> > > [!] Unable to execute the manager command registerscmtools: cannot
> > > import name default_storage
> > > OK
> > > Performing migrations ...
> > > [!] Unable to execute the manager command evolve: cannot import name
> > > default_storage
> > > OK
> > >
> > > For your reference I am attaching the full out put here
> > >
> > > root@user-desktop:~# rm -rf
> > /usr/local/lib/python2.7/dist-packages/Django-*
> > > root@user-desktop:~# easy_install Django==1.6.8
> > > Searching for Django==1.6.8
> > > Reading https://pypi.python.org/simple/Django/
> > > Best match: Django 1.6.8
> > > Downloading
> > >
> > https://pypi.python.org/packages/source/D/Django/Django-1.6.8.tar.gz#md5=b00f9f73535db7c9ce52a6f707d61ab6
> >   
> > > Processing Django-1.6.8.tar.gz
> > > Writing /tmp/easy_install-1vhXjJ/Django-1.6.8/setup.cfg
> > > Running Django-1.6.8/setup.py -q bdist_egg --dist-dir
> > > /tmp/easy_install-1vhXjJ/Django-1.6.8/egg-dist-tmp-EJ8GfH
> > > warning: no previously-included files matching '__pycache__' found under
> > > directory '*'
> > > warning: no previously-included files matching '*.py[co]' found under
> > > directory '*'
> > > zip_safe flag not set; analyzing archive contents...
> > > django.test._doctest: module references __file__
> > > django.test._doctest: module MAY be using inspect.getsourcefile
> > > django.template.loaders.app_directories: module references __file__
> > > django.db.utils: module references __file__
> > > django.db.models.loading: module references __file__
> > > django.db.models.loading: module references __path__
> > > django.views.i18n: module references __file__
> > > django.contrib.auth.tests.test_forms: module references __file__
> > > django.contrib.auth.tests.test_views: module references __file__
> > > django.contrib.auth.tests.test_context_processors: module references
> > > __file__
> > > django.contrib.formtools.tests.tests: module references __file__
> > > django.contrib.formtools.tests.wizard

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread anoop kc
Hi christian,

This also did not fix the issue,  the same out put as earlier. [?]


Thanks & Regards,

*Anoop K. C.*



Baabte System Technologies Pvt Ltd.

*An ISO 9001:2008 certified company*

Mob :  +91 9746854752 |  Office :- +91 495-2295550

www.baabte.com <http://www.baabte.com%20/> | www.baabtra.com |
www.massbaab.com

On Mon, Nov 24, 2014 at 2:41 PM, Christian Hammond  wrote:

> Hmm, looks like it's probably due to a version bump in Django Pipeline.
> Try removing the old version and installing an older one:
>
> $ rm -rf /usr/local/lib/python2.7/dist-packages/django-pipeline*
> $ easy_install django-pipeline==1.3.23
>
> Going to put out a new Djblets release that fixes the dependency.
>
> Christian
>
> --
> Christian Hammond - christ...@beanbaginc.com
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> -Original Message-
> From: anoop kc 
> Reply: anoop kc >
> Date: November 24, 2014 at 1:04:55 AM
> To: Christian Hammond >
> Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146,
> "Table 'reviewboard.auth_user' doesn't exist")
>
> > Hi christian,
> >
> > I reinstalled django 1.6.8 and again the same issue.
> >
> > Creating database ...
> > [!] Unable to execute the manager command syncdb: cannot import name
> > default_storage
> >
> > [!] Unable to execute the manager command registerscmtools: cannot
> > import name default_storage
> > OK
> > Performing migrations ...
> > [!] Unable to execute the manager command evolve: cannot import name
> > default_storage
> > OK
> >
> > For your reference I am attaching the full out put here
> >
> > root@user-desktop:~# rm -rf
> /usr/local/lib/python2.7/dist-packages/Django-*
> > root@user-desktop:~# easy_install Django==1.6.8
> > Searching for Django==1.6.8
> > Reading https://pypi.python.org/simple/Django/
> > Best match: Django 1.6.8
> > Downloading
> >
> https://pypi.python.org/packages/source/D/Django/Django-1.6.8.tar.gz#md5=b00f9f73535db7c9ce52a6f707d61ab6
> > Processing Django-1.6.8.tar.gz
> > Writing /tmp/easy_install-1vhXjJ/Django-1.6.8/setup.cfg
> > Running Django-1.6.8/setup.py -q bdist_egg --dist-dir
> > /tmp/easy_install-1vhXjJ/Django-1.6.8/egg-dist-tmp-EJ8GfH
> > warning: no previously-included files matching '__pycache__' found under
> > directory '*'
> > warning: no previously-included files matching '*.py[co]' found under
> > directory '*'
> > zip_safe flag not set; analyzing archive contents...
> > django.test._doctest: module references __file__
> > django.test._doctest: module MAY be using inspect.getsourcefile
> > django.template.loaders.app_directories: module references __file__
> > django.db.utils: module references __file__
> > django.db.models.loading: module references __file__
> > django.db.models.loading: module references __path__
> > django.views.i18n: module references __file__
> > django.contrib.auth.tests.test_forms: module references __file__
> > django.contrib.auth.tests.test_views: module references __file__
> > django.contrib.auth.tests.test_context_processors: module references
> > __file__
> > django.contrib.formtools.tests.tests: module references __file__
> > django.contrib.formtools.tests.wizard.namedwizardtests.tests: module
> > references __file__
> > django.contrib.formtools.tests.wizard.wizardtests.tests: module
> references
> > __file__
> > django.contrib.staticfiles.storage: module references __file__
> > django.contrib.sitemaps.tests.test_http: module references __file__
> > django.contrib.flatpages.tests.test_templatetags: module references
> __file__
> > django.contrib.flatpages.tests.test_views: module references __file__
> > django.contrib.flatpages.tests.test_csrf: module references __file__
> > django.contrib.flatpages.tests.test_middleware: module references
> __file__
> > django.contrib.admin.bin.compress: module references __file__
> > django.contrib.admindocs.views: module references __file__
> > django.contrib.gis.tests.layermap.tests: module references __file__
> > django.contrib.gis.tests.geogapp.tests: module references __file__
> > django.contrib.gis.tests.geo3d.tests: module references __file__
> > django.contrib.gis.geometry.test_data: module references __file__
> > django.core.management.__init__: module references __path__
> > django.core.management.templates: module references __path__
> > django.core.management.sql: mod

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread Christian Hammond
Hmm, looks like it's probably due to a version bump in Django Pipeline. Try 
removing the old version and installing an older one:

    $ rm -rf /usr/local/lib/python2.7/dist-packages/django-pipeline*
    $ easy_install django-pipeline==1.3.23

Going to put out a new Djblets release that fixes the dependency.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: anoop kc 
Reply: anoop kc >
Date: November 24, 2014 at 1:04:55 AM
To: Christian Hammond >
Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146, 
"Table 'reviewboard.auth_user' doesn't exist")

> Hi christian,
>  
> I reinstalled django 1.6.8 and again the same issue.
>  
> Creating database ...
> [!] Unable to execute the manager command syncdb: cannot import name
> default_storage
>  
> [!] Unable to execute the manager command registerscmtools: cannot
> import name default_storage
> OK
> Performing migrations ...
> [!] Unable to execute the manager command evolve: cannot import name
> default_storage
> OK
>  
> For your reference I am attaching the full out put here
>  
> root@user-desktop:~# rm -rf /usr/local/lib/python2.7/dist-packages/Django-*  
> root@user-desktop:~# easy_install Django==1.6.8
> Searching for Django==1.6.8
> Reading https://pypi.python.org/simple/Django/
> Best match: Django 1.6.8
> Downloading
> https://pypi.python.org/packages/source/D/Django/Django-1.6.8.tar.gz#md5=b00f9f73535db7c9ce52a6f707d61ab6
>   
> Processing Django-1.6.8.tar.gz
> Writing /tmp/easy_install-1vhXjJ/Django-1.6.8/setup.cfg
> Running Django-1.6.8/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-1vhXjJ/Django-1.6.8/egg-dist-tmp-EJ8GfH
> warning: no previously-included files matching '__pycache__' found under
> directory '*'
> warning: no previously-included files matching '*.py[co]' found under
> directory '*'
> zip_safe flag not set; analyzing archive contents...
> django.test._doctest: module references __file__
> django.test._doctest: module MAY be using inspect.getsourcefile
> django.template.loaders.app_directories: module references __file__
> django.db.utils: module references __file__
> django.db.models.loading: module references __file__
> django.db.models.loading: module references __path__
> django.views.i18n: module references __file__
> django.contrib.auth.tests.test_forms: module references __file__
> django.contrib.auth.tests.test_views: module references __file__
> django.contrib.auth.tests.test_context_processors: module references
> __file__
> django.contrib.formtools.tests.tests: module references __file__
> django.contrib.formtools.tests.wizard.namedwizardtests.tests: module
> references __file__
> django.contrib.formtools.tests.wizard.wizardtests.tests: module references  
> __file__
> django.contrib.staticfiles.storage: module references __file__
> django.contrib.sitemaps.tests.test_http: module references __file__
> django.contrib.flatpages.tests.test_templatetags: module references __file__  
> django.contrib.flatpages.tests.test_views: module references __file__
> django.contrib.flatpages.tests.test_csrf: module references __file__
> django.contrib.flatpages.tests.test_middleware: module references __file__  
> django.contrib.admin.bin.compress: module references __file__
> django.contrib.admindocs.views: module references __file__
> django.contrib.gis.tests.layermap.tests: module references __file__
> django.contrib.gis.tests.geogapp.tests: module references __file__
> django.contrib.gis.tests.geo3d.tests: module references __file__
> django.contrib.gis.geometry.test_data: module references __file__
> django.core.management.__init__: module references __path__
> django.core.management.templates: module references __path__
> django.core.management.sql: module references __file__
> django.core.management.commands.makemessages: module references __file__
> django.utils.version: module references __file__
> django.utils.module_loading: module references __path__
> django.utils.autoreload: module references __file__
> django.utils.six: module references __file__
> django.utils.six: module references __path__
> django.utils.unittest.collector: module references __file__
> django.utils.unittest.loader: module references __file__
> django.utils.translation.trans_real: module references __file__
> django.conf.project_template.project_name.settings: module references
> __file__
> Adding Django 1.6.8 to easy-install.pth file
> Installing django-admin.py script to /usr/local/bin
>  
> Installed /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg
> Proc

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread Christian Hammond
Okay. First thing to try is to re-install Django from scratch:

    $ rm -rf /usr/local/lib/python2.7/dist-packages/Django-*
    $ easy_install Django==1.6.8

Then try to re-create the site and see if it goes any better. That'll help 
determine whether or not it's a corrupt Django install.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: anoop kc 
Reply: reviewboard@googlegroups.com >
Date: November 24, 2014 at 12:55:45 AM
To: Christian Hammond >
Cc: reviewboard@googlegroups.com >
Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146, 
"Table 'reviewboard.auth_user' doesn't exist")

> Hi christian,
>  
> The following are the outputs of the commands
>  
> root@user-desktop:~# python
> Python 2.7.6 (default, Mar 22 2014, 22:59:56)
> [GCC 4.8.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import django
> >>> print django.__file__
> /usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/__init__.pyc
>   
> >>>
>  
>  
>  
> Thanks & Regards,
>  
> *Anoop K. C.*
>  
>  
>  
> Baabte System Technologies Pvt Ltd.
>  
> *An ISO 9001:2008 certified company*
>  
> Mob : +91 9746854752 | Office :- +91 495-2295550
>  
> www.baabte.com | www.baabtra.com |
> www.massbaab.com
>  
> On Mon, Nov 24, 2014 at 2:20 PM, Christian Hammond > > wrote:
>  
> > Hi,
> >
> > Okay, the core problem is definitely those default_storage errors, Those
> > are likely referring to the default_storage variable in Django, which it
> > should definitely be able to find. I'm suspicious of the Django install.
> >
> > Can you run this and show the output:
> >
> > $ python
> > >>> import django
> > >>> print django.__file__
> >
> > Show the full input and output.
> >
> > Christian
> >
> > --
> > Christian Hammond - christ...@beanbaginc.com
> > Review Board - https://www.reviewboard.org
> > Beanbag, Inc. - https://www.beanbaginc.com
> >
> > -Original Message-
> > From: anoop kc  
> > Reply: reviewboard@googlegroups.com >
> > Date: November 24, 2014 at 12:45:26 AM
> > To: reviewboard@googlegroups.com >
> > Cc: an...@baabte.com >, christ...@beanbaginc.com <
> > christ...@beanbaginc.com>>
> > Subject: Re: rb-site fails with django.db.utils.ProgrammingError: (1146,
> > "Table 'reviewboard.auth_user' doesn't exist")
> >
> > > Hi hristian,
> > >
> > > Than you very much for the quick response.
> > >
> > > The version of review board is 2.0.9 and I installed it using
> > *easy_install
> > > reviewboard==2.0.9* . The following is the full log of the command as
> > well
> > > as output
> > >
> > > root@user-desktop:~# rb-site install /var/www/reviews.localhost
> > >
> > >
> > > * Welcome to the Review Board site installation wizard
> > >
> > > This will prepare a Review Board site installation in:
> > >
> > > /var/www/reviews.localhost
> > >
> > > 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):
> > > * 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: localhost
> > >
> > >
> > > * 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 th

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread anoop kc
Hi christian,

The following are the outputs of the commands

root@user-desktop:~# python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> print django.__file__
/usr/local/lib/python2.7/dist-packages/Django-1.6.8-py2.7.egg/django/__init__.pyc
>>>



Thanks & Regards,

*Anoop K. C.*



Baabte System Technologies Pvt Ltd.

*An ISO 9001:2008 certified company*

Mob :  +91 9746854752 |  Office :- +91 495-2295550

www.baabte.com <http://www.baabte.com%20/> | www.baabtra.com |
www.massbaab.com

On Mon, Nov 24, 2014 at 2:20 PM, Christian Hammond  wrote:

> Hi,
>
> Okay, the core problem is definitely those default_storage errors, Those
> are likely referring to the default_storage variable in Django, which it
> should definitely be able to find. I'm suspicious of the Django install.
>
> Can you run this and show the output:
>
> $ python
> >>> import django
> >>> print django.__file__
>
> Show the full input and output.
>
> Christian
>
> --
> Christian Hammond - christ...@beanbaginc.com
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> -Original Message-
> From: anoop kc 
> Reply: reviewboard@googlegroups.com >
> Date: November 24, 2014 at 12:45:26 AM
> To: reviewboard@googlegroups.com >
> Cc: an...@baabte.com >, christ...@beanbaginc.com <
> christ...@beanbaginc.com>>
> Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146,
> "Table 'reviewboard.auth_user' doesn't exist")
>
> > Hi hristian,
> >
> > Than you very much for the quick response.
> >
> > The version of review board is 2.0.9 and I installed it using
> *easy_install
> > reviewboard==2.0.9* . The following is the full log of the command as
> well
> > as output
> >
> > root@user-desktop:~# rb-site install /var/www/reviews.localhost
> >
> >
> > * Welcome to the Review Board site installation wizard
> >
> > This will prepare a Review Board site installation in:
> >
> > /var/www/reviews.localhost
> >
> > 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):
> > * 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: localhost
> >
> >
> > * 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 [/]: /reviews.localhost
> >
> >
> > * What database type will you be using?
> >
> > You can type either the name or the number from the list below.
> >
> > (1) mysql
> > (2) sqlite3 (not supported for production use)
> >
> > Database Type: 1
> >
> >
> > * What database name should Review Board use?
> >
> > NOTE: You need to create this database and grant user modification
> > rights before continuing. See your database documentation for more
> > information.
> >
> > The default is reviewboard
> >
> > Database Name [reviewboard]:
> >
> >
> > * What is the database server's address?
> >
> > This should be specified in hostname:port form. The port is
> > optional if you're using a standard port for the database type.
> >
> > The default is localhost
> >
> > Database Server [localhost]:
> >
> >
> > * What is the login and password for this database?
> >
> > This must be a user that has table creation and modification
> > rights on the database you already specified.
> >

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread Christian Hammond
Hi,

Okay, the core problem is definitely those default_storage errors, Those are 
likely referring to the default_storage variable in Django, which it should 
definitely be able to find. I'm suspicious of the Django install.

Can you run this and show the output:

    $ python
    >>> import django
    >>> print django.__file__

Show the full input and output.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: anoop kc 
Reply: reviewboard@googlegroups.com >
Date: November 24, 2014 at 12:45:26 AM
To: reviewboard@googlegroups.com >
Cc: an...@baabte.com >, christ...@beanbaginc.com 
>
Subject:  Re: rb-site fails with django.db.utils.ProgrammingError: (1146, 
"Table 'reviewboard.auth_user' doesn't exist")

> Hi hristian,
>  
> Than you very much for the quick response.
>  
> The version of review board is 2.0.9 and I installed it using *easy_install
> reviewboard==2.0.9* . The following is the full log of the command as well
> as output
>  
> root@user-desktop:~# rb-site install /var/www/reviews.localhost
>  
>  
> * Welcome to the Review Board site installation wizard
>  
> This will prepare a Review Board site installation in:
>  
> /var/www/reviews.localhost
>  
> 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):
> * 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: localhost
>  
>  
> * 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 [/]: /reviews.localhost
>  
>  
> * What database type will you be using?
>  
> You can type either the name or the number from the list below.
>  
> (1) mysql
> (2) sqlite3 (not supported for production use)
>  
> Database Type: 1
>  
>  
> * What database name should Review Board use?
>  
> NOTE: You need to create this database and grant user modification
> rights before continuing. See your database documentation for more
> information.
>  
> The default is reviewboard
>  
> Database Name [reviewboard]:
>  
>  
> * What is the database server's address?
>  
> This should be specified in hostname:port form. The port is
> optional if you're using a standard port for the database type.
>  
> The default is localhost
>  
> Database Server [localhost]:
>  
>  
> * What is the login and password for this database?
>  
> This must be a user that has table creation and modification
> rights on the database you already specified.
>  
> Database Username: rb
>  
> Database Password:
>  
> Confirm Database Password:
>  
>  
> * What memcached host should be used?
>  
> This is in the format of hostname:port
>  
> The default is localhost:11211
>  
> Memcache Server [localhost:11211]:
>  
>  
> * 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]: admin
>  
> Password:
>  
> Confirm Password:
>  
> E-Mail Address: xx
>  
> Company/Organization Name (optional):xx
>  
>  
> * Enable collection of data for better support
>  
> We would like to periodically collect data and statistics about
> your installation to provide a better support experience for you
> and your users.
>  
> The data collected includes basic information such as your company
> name, the version of Review Board, and the size of your install.
> 

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-24 Thread anoop kc
Hi hristian,

Than you very much for the quick response.

The version of review board is 2.0.9 and I installed it using *easy_install 
reviewboard==2.0.9* . The following is the full log of the command as well 
as output

root@user-desktop:~# rb-site install /var/www/reviews.localhost


* Welcome to the Review Board site installation wizard

This will prepare a Review Board site installation in:

/var/www/reviews.localhost

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):
* 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: localhost


* 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 [/]: /reviews.localhost


* What database type will you be using?

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

(1) mysql
(2) sqlite3 (not supported for production use)

Database Type: 1


* What database name should Review Board use?

NOTE: You need to create this database and grant user modification
rights before continuing. See your database documentation for more
information.

The default is reviewboard

Database Name [reviewboard]: 


* What is the database server's address?

This should be specified in hostname:port form. The port is
optional if you're using a standard port for the database type.

The default is localhost

Database Server [localhost]: 


* What is the login and password for this database?

This must be a user that has table creation and modification
rights on the database you already specified.

Database Username: rb

Database Password: 

Confirm Database Password: 


* What memcached host should be used?

This is in the format of hostname:port

The default is localhost:11211

Memcache Server [localhost:11211]: 


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

Password: 

Confirm Password: 

E-Mail Address: xx

Company/Organization Name (optional):xx


* Enable collection of data for better support

We would like to periodically collect data and statistics about
your installation to provide a better support experience for you
and your users.

The data collected includes basic information such as your company
name, the version of Review Board, and the size of your install.
It does NOT include confidential data such as source code. Data
collected never leaves our server and is never given to any third
parties for any purposes.

We use this to provide a user support page that's more specific to
your server. We also use it to determine which versions to
continue to support, and to help track how upgrades affect our
number of bug reports and support incidents.

You can choose to turn this off at any time in Support Settings in
Review Board.

Allow us to collect support data? [Y/n]: n


* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ... 
[!] Unable to execute the manager command syncdb: cannot import name
default_storage

[!] Unable to execute the manager command registerscmtools: cannot
import name default_storage
OK
Performing migrations ... 
[!] Unable to execute the manager command evolve: cannot import name
default_storage
OK
Creating administrator account ... Traceback (most recent call last):
  File "/usr/local/bin/rb-site", line 9, in 
load_entry_point('ReviewBoard==2.0.9', 'console_scripts', 'rb-site')()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.9-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1877, in main
command.run()
  File 
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.9-py2.7.egg/reviewboard/cmdline/rbsite.py",
 
line 1235, in run
self.show_install_status()
  File 
"/usr/local/lib/python2.7/dist-pac

Re: rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user' doesn't exist")

2014-11-23 Thread Christian Hammond
Hi,

You definitely want Django 1.6.8 for Review Board 2.0.x.

Can you try deleting and re-creating both the database and site again, and 
showing a full log of all commands you run and all output? This will help us to 
know what went wrong.

The errors below look like some sort of broken install. What version of Review 
Board are you using, and how did you install it?

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-Original Message-
From: anoop kc 
Reply: reviewboard@googlegroups.com >
Date: November 23, 2014 at 10:40:20 PM
To: reviewboard@googlegroups.com >
Subject:  rb-site fails with django.db.utils.ProgrammingError: (1146, "Table 
'reviewboard.auth_user' doesn't exist")

> Hi Folks,
>  
> I am new to reviewboard, so please excuse me if this question is on a
> novice level.
>  
> I was trying to install reviewboard on one of our linux machines - Ubuntu
> 14.04.1 LTS. Everything went well untill I tried to run the rb-site
> command. I have created a mysql database for reviewboard and a user with
> all privileges on the database. When I filled up all the details and
> pressed enter, my site generation task failed with the following error
>  
> django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user'
> doesn't exist")
>  
> on the top of the log I can also see errors like
>  
> Creating database ...
> [!] Unable to execute the manager command syncdb: cannot import name
> default_storage
>  
> [!] Unable to execute the manager command registerscmtools: cannot
> import name default_storage
> OK
> Performing migrations ...
> [!] Unable to execute the manager command evolve: cannot import name
> default_storage
> OK
>  
> my django version is 1.6.8. I had a look at another thread on google groups
> which proposes a workaround of replacing django 1.6.8 with 1.4.13 to solve
> the issue. But then my rb-site task does not run saying that it needs a
> django version which should be >1.6 and <1.7.
>  
> Any help is highly appreciated.
>  
>  
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups 
> "reviewboard"  
> group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.  
> For more options, visit https://groups.google.com/d/optout.
>  

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site fails

2014-09-25 Thread Pierre Leroy
Hi Chris,

with RBTools, it works fine so I'll go this way!
Thx,

/// Pierre

On Wednesday, September 24, 2014 7:15:22 PM UTC+2, Christian Hammond wrote:
>
> Hi Pierre, 
>
> Can you try using RBTools to post a change? 
>
> Christian 
>
> -- 
> Christian Hammond - chri...@beanbaginc.com  
> Review Board - https://www.reviewboard.org 
> Beanbag, Inc. - https://www.beanbaginc.com 
>
>
> On September 24, 2014 at 6:29:41 AM, Pierre Leroy (pierre@gmail.com 
> ) wrote: 
> > Hi Chris, 
> > 
> > thanks a lot, the --console flag helped me in sorting out my 
> installation 
> > issue. Now, I've got a ReviewBoard site running correclty, I think. 
> > 
> > Going a bit further, though, I'm a bit stuck in my workflow with RB and 
> > Mercurial and maybe you could help again. 
> > 
> > On the RB website, I've configured a mercurial repository. 
> > Then, I've cloned this repository on my local machine and made some 
> > changes. 
> > I've generated a patch with the following command: 
> > 
> > $> hg diff > diff.txt 
> > 
> > When I try to create a new review request and upload the diff.txt file 
> > generated as described above, I've got the error message: *"The selected 
> > file does not appear to be a diff"*. 
> > 
> > Any idea what I'm doing wrong here again? 
> > 
> > Thanks a lot, 
> > 
> > /// Pierre 
> > 
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site fails

2014-09-24 Thread Christian Hammond
Hi Pierre,

Can you try using RBTools to post a change?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - https://www.reviewboard.org 
Beanbag, Inc. - https://www.beanbaginc.com


On September 24, 2014 at 6:29:41 AM, Pierre Leroy (pierre.lero...@gmail.com) 
wrote:
> Hi Chris,
> 
> thanks a lot, the --console flag helped me in sorting out my installation
> issue. Now, I've got a ReviewBoard site running correclty, I think.
> 
> Going a bit further, though, I'm a bit stuck in my workflow with RB and
> Mercurial and maybe you could help again.
> 
> On the RB website, I've configured a mercurial repository.
> Then, I've cloned this repository on my local machine and made some
> changes.
> I've generated a patch with the following command:
> 
> $> hg diff > diff.txt
> 
> When I try to create a new review request and upload the diff.txt file
> generated as described above, I've got the error message: *"The selected
> file does not appear to be a diff"*.
> 
> Any idea what I'm doing wrong here again?
> 
> Thanks a lot,
> 
> /// Pierre
> 

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site fails

2014-09-24 Thread Pierre Leroy
Hi Chris,

thanks a lot, the --console flag helped me in sorting out my installation 
issue. Now, I've got a ReviewBoard site running correclty, I think.

Going a bit further, though, I'm a bit stuck in my workflow with RB and 
Mercurial and maybe you could help again. 

On the RB website, I've configured a mercurial repository. 
Then, I've cloned this repository on my local machine and made some 
changes. 
I've generated a patch with the following command:

$> hg diff > diff.txt

When I try to create a new review request and upload the diff.txt file 
generated as described above, I've got the error message: *"The selected 
file does not appear to be a diff"*.

Any idea what I'm doing wrong here again? 

Thanks a lot, 

/// Pierre

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site fails

2014-09-22 Thread Christian Hammond
Hi Pierre,

Looks like a bug in the backport of a change in Review Board 1.7.x. I assume 
you're running on Linux in a graphical shell.

Try running:

    rb-site install --console /var/www/reviews.example.com
 
Christian

--  
Christian Hammond - christ...@beanbaginc.com
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com


On September 22, 2014 at 10:33:17 AM, Pierre Leroy (pierre.lero...@gmail.com) 
wrote:
> Hi,
>  
> I'm trying to install ReviewBoard on a VM running under Linux Fedora and
> when I try to create an RB site with the command:
>  
>  
> $ rb-site install /var/www/reviews.example.com
>  
> I get the following error:
>  
> Traceback (most recent call last):
> File "/bin/rb-site", line 9, in  
> load_entry_point('ReviewBoard==1.7.27', 'console_scripts', 'rb-site')()
> File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", line  
> 2170, in main
> command.run()
> File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", line  
> 1546, in run
> self.ask_admin_user()
> File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", line  
> 1824, in ask_admin_user
> save_obj=site, save_vars="company", optional=True)
> TypeError: prompt_input() got an unexpected keyword argument 'optional'
>  
> What am I doing wrong?
>  
> Thanks for your support
>  
> /// Pierre
>  
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups 
> "reviewboard"  
> group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.  
> For more options, visit https://groups.google.com/d/optout.
>  

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.