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 <an...@baabte.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: November 24, 2014 at 1:45:54 AM
To: Christian Hammond <christ...@beanbaginc.com>>
Cc: reviewboard@googlegroups.com <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 |
> > > 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.
> > >
> >
> >
>  
> --
> 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.

Reply via email to