expected integer key in temp

Bug #710669 reported by Jim B. Glenn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Won't Fix
Low
Unassigned

Bug Description

reported via error monitor:

ENTRY
Fri Jan 28 12:12:19 2011
Exception when processing https://karl.soros.org/TEMP/b4065709-f1e7-43fe-8796-2d2d56ff82c9/
Traceback (most recent call last):
  File "/opt/karl/osi/3.32-0/src/karl/karl/errorlog.py", line 15, in middleware
    return app(environ, start_response)
  File "/opt/karl/osi/3.32-0/eggs/repoze.zodbconn-0.11-py2.5.egg/repoze/zodbconn/connector.py", line 21, in __call__
    result = self.next_app(environ, start_response)
  File "/opt/karl/osi/3.32-0/eggs/repoze.retry-0.9.4-py2.5.egg/repoze/retry/__init__.py", line 88, in __call__
    app_iter = self.application(environ, replace_start_response)
  File "/opt/karl/osi/3.32-0/eggs/repoze.tm2-1.0a5-py2.5.egg/repoze/tm/__init__.py", line 23, in __call__
    result = self.application(environ, save_status_and_headers)
  File "/opt/karl/osi/3.32-0/eggs/Paste-1.7.2-py2.5.egg/paste/registry.py", line 350, in __call__
    app_iter = self.application(environ, start_response)
  File "/opt/karl/osi/3.32-0/eggs/repoze.who-1.0.15-py2.5.egg/repoze/who/middleware.py", line 107, in __call__
    app_iter = app(environ, wrapper.wrap_start_response)
  File "/opt/karl/osi/3.32-0/eggs/repoze.browserid-0.3-py2.5.egg/repoze/browserid/middleware.py", line 127, in __call__
    return self.app(environ, start_response)
  File "/opt/karl/osi/3.32-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/router.py", line 130, in __call__
    response = view_callable(context, request)
  File "/opt/karl/osi/3.32-0/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1753, in _secured_view
    return view(context, request)
  File "/opt/karl/osi/3.32-0/src/karl/karl/content/views/files.py", line 457, in show_file_view
    tagbox = get_tags_client_data(context, request),
  File "/opt/karl/osi/3.32-0/src/karl/karl/views/tags.py", line 61, in get_tags_client_data
    records = tagquery.tagswithcounts,
  File "/opt/karl/osi/3.32-0/src/karl/karl/models/adapters.py", line 215, in tagswithcounts
    tagObjects = self.tags.getTagObjects(items=(self.docid,))
  File "/opt/karl/osi/3.32-0/src/karl/karl/tagging/__init__.py", line 153, in getTagObjects
    ids = self._getTagIds(items, users, tags, community)
  File "/opt/karl/osi/3.32-0/src/karl/karl/tagging/__init__.py", line 448, in _getTagIds
    res.update(bt.get(item, set()))
TypeError: expected integer key

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Wow, what on earth led to a https://karl.soros.org/TEMP/ URL being issued, especially via getTagObjects...

Changed in karl3:
assignee: nobody → Tres Seaver (tseaver)
importance: Undecided → Low
milestone: none → m53
Tres Seaver (tseaver)
Changed in karl3:
status: New → In Progress
Revision history for this message
Tres Seaver (tseaver) wrote :

By inspection of the code, it would seem that the temporary file is unknown
to the catalog's document_map. Since the file is no longer present in its
temporary location, I don't see any way to do further diagnosis: we can
neither reproduce the error nor do forensics on the corpse.

Changed in karl3:
status: In Progress → Incomplete
Changed in karl3:
assignee: Tres Seaver (tseaver) → nobody
milestone: m53 → m999
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.