For ucb7, getting a redirect with an error on the RCAMP page: '''We're sorry...
An error has occurred! Contact rc-help with any questions.'''
The error issue is RCAMP isn't making a ucb7_summit3. Instead, it's trying to approve/create the allocation with ucb7_summi2, which was last years allocation and already exists in the db. This leads to the following:
Internal Server Error: /admin/projects/project/7/
Traceback (most recent call last):
...
IntegrityError: (1062, "Duplicate entry 'ucb7_summit2' for key 'allocation_id'")
This is the first _summit3, which could mean it's a parsing error of some sort and any allocation going on it's third renewal will break.
Full error log:
Internal Server Error: /admin/projects/project/7/
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, callback_kwargs)
File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 618, in wrapper
return self.admin_site.admin_view(view)(*args, *kwargs)
File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
response = view_func(request, args, kwargs)
File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
response = view_func(request, *args, kwargs)
File "/usr/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 233, in inner
return view(request, *args, *kwargs)
File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1521, in change_view
return self.changeform_view(request, object_id, form_url, extra_context)
File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 34, in _wrapper
return bound_func(args, kwargs)
File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
response = view_func(request, *args, kwargs)
File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 30, in bound_func
return func.get(self, type(self))(*args2, *kwargs2)
File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner
return func(args, kwargs)
File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1470, in changeform_view
self.save_related(request, form, formsets, not add)
File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1104, in save_related
self.save_formset(request, form, formset, change=change)
File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1092, in save_formset
formset.save()
File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 636, in save
return self.save_existing_objects(commit) + self.save_new_objects(commit)
File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 753, in save_existing_objects
saved_instances.append(self.save_existing(form, obj, commit=commit))
File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 623, in save_existing
return form.save(commit=commit)
File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 459, in save
construct=False)
File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 105, in save_instance
instance.save()
File "./projects/models.py", line 180, in save
amount_awarded = self.amount_awarded
File "./projects/models.py", line 91, in create_allocation_from_request
alloc = self.create(alloc_fields)
File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, *kwargs)
File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 348, in create
obj.save(force_insert=True, using=self.db)
File "./projects/models.py", line 135, in save
super(Allocation,self).save(args,kwargs)
File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 734, in save
force_update=force_update, update_fields=update_fields)
File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 762, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 846, in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 885, in _do_insert
using=using, raw=raw)
File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 920, in _insert
return query.get_compiler(using=using).execute_sql(return_id)
File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 974, in execute_sql
cursor.execute(sql, params)
File "/usr/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/lib/python2.7/site-packages/django/db/utils.py", line 98, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 124, in execute
return self.cursor.execute(query, args)
File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
IntegrityError: (1062, "Duplicate entry 'ucb7_summit2' for key 'allocation_id'")
For ucb7, getting a redirect with an error on the RCAMP page: '''We're sorry... An error has occurred! Contact rc-help with any questions.'''
The error issue is RCAMP isn't making a ucb7_summit3. Instead, it's trying to approve/create the allocation with ucb7_summi2, which was last years allocation and already exists in the db. This leads to the following: Internal Server Error: /admin/projects/project/7/ Traceback (most recent call last): ... IntegrityError: (1062, "Duplicate entry 'ucb7_summit2' for key 'allocation_id'")
This is the first _summit3, which could mean it's a parsing error of some sort and any allocation going on it's third renewal will break.
Full error log: Internal Server Error: /admin/projects/project/7/ Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response response = wrapped_callback(request, *callback_args, callback_kwargs) File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 618, in wrapper return self.admin_site.admin_view(view)(*args, *kwargs) File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view response = view_func(request, args, kwargs) File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func response = view_func(request, *args, kwargs) File "/usr/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 233, in inner return view(request, *args, *kwargs) File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1521, in change_view return self.changeform_view(request, object_id, form_url, extra_context) File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 34, in _wrapper return bound_func(args, kwargs) File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view response = view_func(request, *args, kwargs) File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 30, in bound_func return func.get(self, type(self))(*args2, *kwargs2) File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 145, in inner return func(args, kwargs) File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1470, in changeform_view self.save_related(request, form, formsets, not add) File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1104, in save_related self.save_formset(request, form, formset, change=change) File "/usr/lib/python2.7/site-packages/django/contrib/admin/options.py", line 1092, in save_formset formset.save() File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 636, in save return self.save_existing_objects(commit) + self.save_new_objects(commit) File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 753, in save_existing_objects saved_instances.append(self.save_existing(form, obj, commit=commit)) File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 623, in save_existing return form.save(commit=commit) File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 459, in save construct=False) File "/usr/lib/python2.7/site-packages/django/forms/models.py", line 105, in save_instance instance.save() File "./projects/models.py", line 180, in save amount_awarded = self.amount_awarded File "./projects/models.py", line 91, in create_allocation_from_request alloc = self.create(alloc_fields) File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method return getattr(self.get_queryset(), name)(*args, *kwargs) File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 348, in create obj.save(force_insert=True, using=self.db) File "./projects/models.py", line 135, in save super(Allocation,self).save(args,kwargs) File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 734, in save force_update=force_update, update_fields=update_fields) File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 762, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 846, in _save_table result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File "/usr/lib/python2.7/site-packages/django/db/models/base.py", line 885, in _do_insert using=using, raw=raw) File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 920, in _insert return query.get_compiler(using=using).execute_sql(return_id) File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 974, in execute_sql cursor.execute(sql, params) File "/usr/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute return self.cursor.execute(sql, params) File "/usr/lib/python2.7/site-packages/django/db/utils.py", line 98, in exit six.reraise(dj_exc_type, dj_exc_value, traceback) File "/usr/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute return self.cursor.execute(sql, params) File "/usr/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 124, in execute return self.cursor.execute(query, args) File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute self.errorhandler(self, exc, value) File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue IntegrityError: (1062, "Duplicate entry 'ucb7_summit2' for key 'allocation_id'")