Server error when moving files #1552

Closed
opened 2013-05-31 15:06:47 +00:00 by rlx · 1 comment
Owner

move 0xF47D3940A0681E94 to 0140384 before marking fixed

Traceback (most recent call last):

  File "/srv/oxdb/src/django/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/srv/oxdb/src/python-ox/ox/django/api/views.py", line 35, in api
    response = f(request)

  File "/srv/oxdb/src/python-ox/ox/django/decorators.py", line 18, in _wrapped_view
    return function(request, *args, **kwargs)

  File "/srv/oxdb/pandora/archive/views.py", line 370, in moveMedia
    f.save()

  File "/srv/oxdb/pandora/archive/models.py", line 250, in save
    super(File, self).save(*args, **kwargs)

  File "/srv/oxdb/src/django/django/db/models/base.py", line 463, in save
    self.save_base(using=using, force_insert=force_insert, force_update=force_update)

  File "/srv/oxdb/src/django/django/db/models/base.py", line 529, in save_base
    rows = manager.using(using).filter(pk=pk_val)._update(values)

  File "/srv/oxdb/src/django/django/db/models/query.py", line 560, in _update
    return query.get_compiler(self.db).execute_sql(None)

  File "/srv/oxdb/src/django/django/db/models/sql/compiler.py", line 988, in execute_sql
    cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)

  File "/srv/oxdb/src/django/django/db/models/sql/compiler.py", line 818, in execute_sql
    cursor.execute(sql, params)

  File "/srv/oxdb/src/django/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
    return self.cursor.execute(query, args)

IntegrityError: null value in column "path" violates not-null constraint
move 0xF47D3940A0681E94 to 0140384 before marking fixed ``` Traceback (most recent call last): File "/srv/oxdb/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/srv/oxdb/src/python-ox/ox/django/api/views.py", line 35, in api response = f(request) File "/srv/oxdb/src/python-ox/ox/django/decorators.py", line 18, in _wrapped_view return function(request, *args, **kwargs) File "/srv/oxdb/pandora/archive/views.py", line 370, in moveMedia f.save() File "/srv/oxdb/pandora/archive/models.py", line 250, in save super(File, self).save(*args, **kwargs) File "/srv/oxdb/src/django/django/db/models/base.py", line 463, in save self.save_base(using=using, force_insert=force_insert, force_update=force_update) File "/srv/oxdb/src/django/django/db/models/base.py", line 529, in save_base rows = manager.using(using).filter(pk=pk_val)._update(values) File "/srv/oxdb/src/django/django/db/models/query.py", line 560, in _update return query.get_compiler(self.db).execute_sql(None) File "/srv/oxdb/src/django/django/db/models/sql/compiler.py", line 988, in execute_sql cursor = super(SQLUpdateCompiler, self).execute_sql(result_type) File "/srv/oxdb/src/django/django/db/models/sql/compiler.py", line 818, in execute_sql cursor.execute(sql, params) File "/srv/oxdb/src/django/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute return self.cursor.execute(query, args) IntegrityError: null value in column "path" violates not-null constraint ```
j added the
backend
label 2013-05-31 15:06:47 +00:00
j added this to the 13.02 milestone 2013-05-31 15:06:47 +00:00
j self-assigned this 2013-05-31 15:06:47 +00:00
j added the
major
defect
labels 2013-05-31 15:06:47 +00:00
Owner

In []changeset:pandora,3123:

#!CommitTicketReference repository="" revision="pandora,3123"
make sure file is in item files while updating item, fixes #1552
In []changeset:pandora,3123: ``` #!CommitTicketReference repository="" revision="pandora,3123" make sure file is in item files while updating item, fixes #1552 ```
j added the
fixed
label 2013-05-31 15:26:50 +00:00
j closed this issue 2013-05-31 15:26:50 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#1552
No description provided.