Changes between Version 1 and Version 2 of Ticket #29834


Ignore:
Timestamp:
Oct 9, 2018, 10:29:09 AM (6 years ago)
Author:
Sergei Maertens
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29834 – Description

    v1 v2  
    2929  File "<input>", line 1, in <module>
    3030    qs
    31   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/mod
    32 els/query.py", line 248, in __repr__
     31  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/models/query.py", line 248, in __repr__
    3332    data = list(self[:REPR_OUTPUT_SIZE + 1])
    34   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/mod
    35 els/query.py", line 272, in __iter__
     33  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/models/query.py", line 272, in __iter__
    3634    self._fetch_all()
    37   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/mod
    38 els/query.py", line 1179, in _fetch_all
     35  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/models/query.py", line 1179, in _fetch_all
    3936    self._result_cache = list(self._iterable_class(self))
    40   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/mod
    41 els/query.py", line 53, in __iter__
    42     results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=
    43 self.chunk_size)
    44   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/mod
    45 els/sql/compiler.py", line 1068, in execute_sql
     37  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__
     38    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
     39  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1068, in execute_sql
    4640    cursor.execute(sql, params)
    47   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/bac
    48 kends/utils.py", line 100, in execute
     41  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/backends/utils.py", line 100, in execute
    4942    return super().execute(sql, params)
    50   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/bac
    51 kends/utils.py", line 68, in execute
    52     return self._execute_with_wrappers(sql, params, many=False, executor=self._e
    53 xecute)
    54   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/bac
    55 kends/utils.py", line 77, in _execute_with_wrappers
     43  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute
     44    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
     45  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
    5646    return executor(sql, params, many, context)
    57   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/bac
    58 kends/utils.py", line 85, in _execute
     47  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
    5948    return self.cursor.execute(sql, params)
    60   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/uti
    61 ls.py", line 89, in __exit__
     49  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__
    6250    raise dj_exc_value.with_traceback(traceback) from exc_value
    63   File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/bac
    64 kends/utils.py", line 85, in _execute
     51  File "/home/bbt/.virtualenvs/ispnext/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute
    6552    return self.cursor.execute(sql, params)
    6653django.db.utils.ProgrammingError: ORDER BY position 4 is not in select list
Back to Top