You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/core/management/init.py", line 443, in execute_from_command_line
utility.execute()
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/core/management/init.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(_args, *_options.dict)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(_args, *_options)
File "/Users/jeff/Documents/projects/yacs/courses/management/commands/import_catalog_data.py", line 13, in handle
import_catalog(a=options.get('all', False))
File "/Users/jeff/Documents/projects/yacs/courses/bridge/rpi.py", line 310, in import_catalog
add_cross_listing()
File "/Users/jeff/Documents/projects/yacs/courses/bridge/rpi.py", line 326, in add_cross_listing
sc = SectionCrosslisting(semester=Semester.objects.get(id=course.semesters), ref=",".join(cross_list[i]))
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get
return self.get_query_set().get(_args, *_kwargs)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/query.py", line 361, in get
num = len(clone)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/query.py", line 85, in len
self._result_cache = list(self.iterator())
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/query.py", line 291, in iterator
for row in compiler.results_iter():
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter
for rows in self.execute_sql(MULTI):
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 818, in execute_sql
cursor.execute(sql, params)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/backends/util.py", line 40, in execute
return self.cursor.execute(sql, params)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
return self.cursor.execute(query, args)
django.db.utils.DatabaseError: more than one row returned by a subquery used as an expression
The text was updated successfully, but these errors were encountered:
Adding cross listing fails:
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/core/management/init.py", line 443, in execute_from_command_line
utility.execute()
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/core/management/init.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(_args, *_options.dict)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(_args, *_options)
File "/Users/jeff/Documents/projects/yacs/courses/management/commands/import_catalog_data.py", line 13, in handle
import_catalog(a=options.get('all', False))
File "/Users/jeff/Documents/projects/yacs/courses/bridge/rpi.py", line 310, in import_catalog
add_cross_listing()
File "/Users/jeff/Documents/projects/yacs/courses/bridge/rpi.py", line 326, in add_cross_listing
sc = SectionCrosslisting(semester=Semester.objects.get(id=course.semesters), ref=",".join(cross_list[i]))
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/manager.py", line 131, in get
return self.get_query_set().get(_args, *_kwargs)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/query.py", line 361, in get
num = len(clone)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/query.py", line 85, in len
self._result_cache = list(self.iterator())
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/query.py", line 291, in iterator
for row in compiler.results_iter():
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 763, in results_iter
for rows in self.execute_sql(MULTI):
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 818, in execute_sql
cursor.execute(sql, params)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/backends/util.py", line 40, in execute
return self.cursor.execute(sql, params)
File "/Users/jeff/.virtualenvs/yacs/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
return self.cursor.execute(query, args)
django.db.utils.DatabaseError: more than one row returned by a subquery used as an expression
The text was updated successfully, but these errors were encountered: