Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (ligonier)ligweb@lmwebnw:~/ligonier$ ./manage.py import_series -c fal11
- Traceback (most recent call last):
- File "./manage.py", line 11, in <module>
- execute_manager(settings)
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager
- utility.execute()
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute
- output = self.handle(*args, **options)
- File "/home/ligweb/ligonier/apps/learn/management/commands/import_series.py", line 34, in handle
- self.import_series(series_path)
- File "/home/ligweb/ligonier/apps/learn/management/commands/import_series.py", line 44, in import_series
- self.create_series()
- File "/home/ligweb/ligonier/apps/learn/management/commands/import_series.py", line 114, in create_series
- series = get_object_or_None(Series, lig_code__iexact=series_code)
- File "/home/ligweb/ligonier/shared/annoying/functions.py", line 17, in get_object_or_None
- return queryset.get(*args, **kwargs)
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/query.py", line 344, in get
- num = len(clone)
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/query.py", line 82, in __len__
- self._result_cache = list(self.iterator())
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/query.py", line 273, in iterator
- for row in compiler.results_iter():
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 680, in results_iter
- for rows in self.execute_sql(MULTI):
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 734, in execute_sql
- cursor = self.connection.cursor()
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/backends/__init__.py", line 252, in cursor
- cursor = util.CursorWrapper(self._cursor(), self)
- File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 140, in _cursor
- self.connection = Database.connect(**conn_params)
- psycopg2.OperationalError: could not connect to server: No such file or directory
- Is the server running locally and accepting
- connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Add Comment
Please, Sign In to add comment