Bug #197

/accounting/marketorders/data/: DoesNotExist: Type matching query does not exist.

Added by Drezil 11 months ago. Updated 10 months ago.

Status:Closed Start date:Jun 24, 2012
Priority:High Due date:
Assignee:johnfoo % Done:

0%

Category:app-scheduler Spent time: -
Target version:2.1.0
Detected Version:2.0.5 Python Version:2.6

Description

[Django] ERROR (EXTERNAL IP): Internal Server Error:
  /accounting/marketorders/data/

      Traceback (most recent call last):

  File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/core/handlers/base.py", line 111, in
+get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/usr/local/lib/python2.6/dist-packages/ecm-2.0.5.2.dev-py2.6.egg/ecm/views/decorators.py", line 104, in
+_wrapped_view
    return view_function(request, *args, **kwargs)

  File "/usr/local/lib/python2.6/dist-packages/ecm-2.0.5.2.dev-py2.6.egg/ecm/plugins/accounting/views/marketorders.py",
+line 143, in marketorders_data
    eve_type = Type.objects.get(typeID=entry.typeID)

  File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/models/manager.py", line 131, in get
    return self.get_query_set().get(*args, **kwargs)

  File "/usr/local/lib/python2.6/dist-packages/Django-1.4-py2.6.egg/django/db/models/query.py", line 366, in get
    % self.model._meta.object_name)

DoesNotExist: Type matching query does not exist.

<WSGIRequest
path:/accounting/marketorders/data/,
GET:<QueryDict: {u'bSearchable_2': [u'true'], u'bSearchable_3': [u'true'], u'bSearchable_0': [u'true'],
+u'bSearchable_1': [u'true'], u'bSearchable_6': [u'true'], u'bSearchable_7': [u'true'], u'bSearchable_4': [u'true'],
+u'bSearchable_5': [u'true'], u'bRegex_10': [u'false'], u'bRegex_11': [u'false'], u'bSearchable_8': [u'true'],
+u'bSearchable_9': [u'true'], u'bSortable_8': [u'false'], u'bSortable_6': [u'false'], u'mDataProp_10': [u'10'],
+u'mDataProp_11': [u'11'], u'bSortable_7': [u'false'], u'bSearchable_10': [u'true'], u'mDataProp_2': [u'2'],
+u'bSortable_10': [u'false'], u'bSortable_11': [u'false'], u'bSortable_0': [u'true'], u'bSortable_4': [u'true'],
+u'sSearch_8': [u''], u'bSortable_3': [u'true'], u'bSortable_1': [u'true'], u'typeID': [u'0'], u'bSortable_2':
+[u'true'], u'sSearch_2': [u''], u'sSearch_11': [u''], u'sSearch_10': [u''], u'bSortable_5': [u'false'], u'sSearch_9':
+[u''], u'iSortCol_0': [u'0'], u'sSearch': [u''], u'sSortDir_0': [u'asc'], u'stateID': [u'-1'], u'sEch
 o': [u'1'], u'bSortable_9': [u'false'], u'sSearch_3': [u''], u'iColumns': [u'12'], u'iDisplayLength': [u'25'],
+u'sSearch_7': [u''], u'sSearch_6': [u''], u'sSearch_5': [u''], u'sSearch_4': [u''], u'mDataProp_8': [u'8'],
+u'mDataProp_9': [u'9'], u'sSearch_1': [u''], u'sSearch_0': [u''], u'mDataProp_4': [u'4'], u'mDataProp_5': [u'5'],
+u'mDataProp_6': [u'6'], u'mDataProp_7': [u'7'], u'mDataProp_0': [u'0'], u'mDataProp_1': [u'1'], u'iDisplayStart':
+[u'0'], u'mDataProp_3': [u'3'], u'bRegex_2': [u'false'], u'bRegex_3': [u'false'], u'bRegex_0': [u'false'],
+u'bRegex_1': [u'false'], u'bRegex_6': [u'false'], u'bRegex_7': [u'false'], u'bRegex_4': [u'false'], u'bRegex_5':
+[u'false'], u'sColumns': [u''], u'bRegex_8': [u'false'], u'bRegex_9': [u'false'], u'bRegex': [u'false'],
+u'iSortingCols': [u'1'], u'bSearchable_11': [u'true']}>,
POST:<QueryDict: {}>,
COOKIES:{'csrftoken': 'VfWJC2Cn4HeOYFGdMTsNxzHooSiT35vj',
 'sessionid': '480ef09aa477d96959b82e4af1ea710c'},
META:{'CSRF_COOKIE': 'VfWJC2Cn4HeOYFGdMTsNxzHooSiT35vj',
 'DOCUMENT_ROOT': '/etc/apache2/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',
 'HTTP_ACCEPT_LANGUAGE': 'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4',
 'HTTP_CACHE_CONTROL': 'max-age=0',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'csrftoken=VfWJC2Cn4HeOYFGdMTsNxzHooSiT35vj; sessionid=480ef09aa477d96959b82e4af1ea710c',
 'HTTP_HOST': 'ecm.hang0ver.tk',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04
+Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19',
 'PATH_INFO': u'/accounting/marketorders/data/',
 'PATH_TRANSLATED': '/home/hang0ver.tk/ecm-instance/wsgi/ecm.wsgi/accounting/marketorders/data/',
 'QUERY_STRING':
+'sEcho=1&iColumns=12&sColumns=&iDisplayStart=0&iDisplayLength=25&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2&mDataProp_3
+=3&mDataProp_4=4&mDataProp_5=5&mDataProp_6=6&mDataProp_7=7&mDataProp_8=8&mDataProp_9=9&mDataProp_10=10&mDataProp_11=11
+&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=true&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSear
+ch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearch
+able_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=true&sSearch_6=&bRegex_6=false&bSearchable_6=true&sSearch_7=&bRege
+x_7=false&bSearchable_7=true&sSearch_8=&bRegex_8=false&bSearchable_8=true&sSearch_9=&bRegex_9=false&bSearchable_9=true
+&sSearch_10=&bRegex_10=false&bSearchable_10=true&sSearch_11=&bRegex_11=false&bSearchable_11=true&iSortingCols=1&iSortC
+ol_0=0&sSortDir_0=asc&bSortable_0=true&bSortable_1=true&bSortable_2=true&bSortable_3=true&bSortable_4=true&bSortable_5
+=false&bSortable_6=false&bSor
 table_7=false&bSortable_8=false&bSortable_9=false&bSortable_10=false&bSortable_11=false&stateID=-1&typeID=0',
 'REMOTE_ADDR': '212.201.85.69',
 'REMOTE_PORT': '44368',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI':
+'/accounting/marketorders/data/?sEcho=1&iColumns=12&sColumns=&iDisplayStart=0&iDisplayLength=25&mDataProp_0=0&mDataPro
+p_1=1&mDataProp_2=2&mDataProp_3=3&mDataProp_4=4&mDataProp_5=5&mDataProp_6=6&mDataProp_7=7&mDataProp_8=8&mDataProp_9=9&
+mDataProp_10=10&mDataProp_11=11&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=true&sSearch_1=&bRegex_1
+=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sS
+earch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=true&sSearch_6=&bRegex_6=false&bSea
+rchable_6=true&sSearch_7=&bRegex_7=false&bSearchable_7=true&sSearch_8=&bRegex_8=false&bSearchable_8=true&sSearch_9=&bR
+egex_9=false&bSearchable_9=true&sSearch_10=&bRegex_10=false&bSearchable_10=true&sSearch_11=&bRegex_11=false&bSearchabl
+e_11=true&iSortingCols=1&iSortCol_0=0&sSortDir_0=asc&bSortable_0=true&bSortable_1=true&bSortable_2=true&bSortable_3=tr
+ue&bSortable_4=true&bSortable_

+5=false&bSortable_6=false&bSortable_7=false&bSortable_8=false&bSortable_9=false&bSortable_10=false&bSortable_11=false&
+stateID=-1&typeID=0',
 'SCRIPT_FILENAME': '/home/hang0ver.tk/ecm-instance/wsgi/ecm.wsgi',

(Note: after most newlines is an added "+" from mutt. just ignore)

History

#1 Updated by Drezil 11 months ago

also applies to:
/accounting/journal/data/
/accounting/transactions/data/
/accounting/marketorders/data/

--

looks like something in the model.py is broken.

#2 Updated by johnfoo 11 months ago

typeID=0 is #system in the inferno datadump, which one are you using ?

#3 Updated by johnfoo 11 months ago

  • Category set to app-scheduler
  • Status changed from New to Resolved
  • Assignee set to johnfoo
  • Target version set to 32

was solved solving issue #201

#4 Updated by diabeteman 11 months ago

  • Target version changed from 32 to 2.1.0

#5 Updated by Drezil 10 months ago

  • Status changed from Resolved to Closed
  • Detected Version changed from to 2.0.5

Also available in: Atom PDF