Guest User

Untitled

a guest
Feb 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. (ligonier)ligweb@lmwebnw:~/ligonier$ ./manage.py import_series -c fal11
  2. Traceback (most recent call last):
  3. File "./manage.py", line 11, in <module>
  4. execute_manager(settings)
  5. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager
  6. utility.execute()
  7. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute
  8. self.fetch_command(subcommand).run_from_argv(self.argv)
  9. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
  10. self.execute(*args, **options.__dict__)
  11. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute
  12. output = self.handle(*args, **options)
  13. File "/home/ligweb/ligonier/apps/learn/management/commands/import_series.py", line 34, in handle
  14. self.import_series(series_path)
  15. File "/home/ligweb/ligonier/apps/learn/management/commands/import_series.py", line 44, in import_series
  16. self.create_series()
  17. File "/home/ligweb/ligonier/apps/learn/management/commands/import_series.py", line 114, in create_series
  18. series = get_object_or_None(Series, lig_code__iexact=series_code)
  19. File "/home/ligweb/ligonier/shared/annoying/functions.py", line 17, in get_object_or_None
  20. return queryset.get(*args, **kwargs)
  21. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/query.py", line 344, in get
  22. num = len(clone)
  23. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/query.py", line 82, in __len__
  24. self._result_cache = list(self.iterator())
  25. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/query.py", line 273, in iterator
  26. for row in compiler.results_iter():
  27. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 680, in results_iter
  28. for rows in self.execute_sql(MULTI):
  29. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 734, in execute_sql
  30. cursor = self.connection.cursor()
  31. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/backends/__init__.py", line 252, in cursor
  32. cursor = util.CursorWrapper(self._cursor(), self)
  33. File "/home/ligweb/.virtualenvs/ligonier/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 140, in _cursor
  34. self.connection = Database.connect(**conn_params)
  35. psycopg2.OperationalError: could not connect to server: No such file or directory
  36. Is the server running locally and accepting
  37. connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Add Comment
Please, Sign In to add comment