Git Product home page Git Product logo

Comments (3)

joshkehn avatar joshkehn commented on July 29, 2024

Same issue, installing the old version (2.4.5) didn't resolve it.

from django-postgrespool.

joshkehn avatar joshkehn commented on July 29, 2024

Different traceback too:

---------------------------------------------------------------------------
ImproperlyConfigured                      Traceback (most recent call last)
/Projects/webapp/venv/lib/python2.7/site-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)
    176             else:
    177                 filename = fname
--> 178             __builtin__.execfile(filename, *where)

/Projects/webapp/manage.py in <module>()
      8     from django.core.management import execute_from_command_line
      9
---> 10     execute_from_command_line(sys.argv)

/Projects/webapp/venv/lib/python2.7/site-packages/django/core/management/__init__.pyc in execute_from_command_line(argv)
    441     """
    442     utility = ManagementUtility(argv)
--> 443     utility.execute()
    444
    445 def execute_manager(settings_mod, argv=None):

/Projects/webapp/venv/lib/python2.7/site-packages/django/core/management/__init__.pyc in execute(self)
    380             sys.stdout.write(self.main_help_text() + '\n')
    381         else:
--> 382             self.fetch_command(subcommand).run_from_argv(self.argv)
    383
    384 def setup_environ(settings_mod, original_settings_path=None):

/Projects/webapp/venv/lib/python2.7/site-packages/django/core/management/base.pyc in run_from_argv(self, argv)
    194         options, args = parser.parse_args(argv[2:])
    195         handle_default_options(options)
--> 196         self.execute(*args, **options.__dict__)
    197
    198     def execute(self, *args, **options):

/Projects/webapp/venv/lib/python2.7/site-packages/django/core/management/base.pyc in execute(self, *args, **options)
    230             if self.requires_model_validation:
    231                 self.validate()
--> 232             output = self.handle(*args, **options)
    233             if output:
    234                 if self.output_transaction:

/Projects/webapp/venv/lib/python2.7/site-packages/django/core/management/base.pyc in handle(self, *args, **options)
    369         if args:
    370             raise CommandError("Command doesn't accept any arguments")
--> 371         return self.handle_noargs(**options)
    372
    373     def handle_noargs(self, **options):

/Projects/webapp/venv/lib/python2.7/site-packages/django/core/management/commands/shell.pyc in handle_noargs(self, **options)
     43         # XXX: (Temporary) workaround for ticket #1796: force early loading of all
     44         # models from installed apps.
---> 45         from django.db.models.loading import get_models
     46         get_models()
     47

/Projects/webapp/venv/lib/python2.7/site-packages/django/db/__init__.py in <module>()
     38
     39 connection = DefaultConnectionProxy()
---> 40 backend = load_backend(connection.settings_dict['ENGINE'])
     41
     42 # Register an event that closes the database connection

/Projects/webapp/venv/lib/python2.7/site-packages/django/db/__init__.py in __getattr__(self, item)
     32     """
     33     def __getattr__(self, item):
---> 34         return getattr(connections[DEFAULT_DB_ALIAS], item)
     35
     36     def __setattr__(self, name, value):

/Projects/webapp/venv/lib/python2.7/site-packages/django/db/utils.pyc in __getitem__(self, alias)
     90         self.ensure_defaults(alias)
     91         db = self.databases[alias]
---> 92         backend = load_backend(db['ENGINE'])
     93         conn = backend.DatabaseWrapper(db, alias)
     94         setattr(self._connections, alias, conn)

/Projects/webapp/venv/lib/python2.7/site-packages/django/db/utils.pyc in load_backend(backend_name)
     42                          "is one of:\n    %s\nError was: %s" %
     43                          (backend_name, ", ".join(backend_reprs), e_user))
---> 44             raise ImproperlyConfigured(error_msg)
     45         elif not full_notation:
     46             # user tried to use the old notation for the database backend

ImproperlyConfigured: 'django_postgrespool' isn't an available database backend.
Try using django.db.backends.XXX, where XXX is one of:
    'dummy', 'mysql', 'oracle', 'postgresql_psycopg2', 'sqlite3'
Error was: dlopen(/Projects/webapp/venv/lib/python2.7/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: @loader_path/../lib/libssl.1.0.0.dylib
  Referenced from: /Projects/webapp/venv/lib/python2.7/site-packages/psycopg2/_psycopg.so
  Reason: image not found

from django-postgrespool.

kennethreitz avatar kennethreitz commented on July 29, 2024

Looks like both of these issues were caused by psycopg2 installations.

from django-postgrespool.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.