Carlos, if it's ok with you, I'd like to close this ticket and make a new ticket for the investigation. Since I don't know what you have in mind, I'd like you to make the new ticket, reference this ticket from it, and mark this ticket as Fix Committed. --Paul On Jan 20, 2012, at 7:21 PM, Carlos de la Guardia wrote: > There seems to be some problem with the catalog, as this issue is caused > by a query with an existing path returning None as docid when getting > the tag objects. I put in a fix for the tags, so the page should at > least not crash when this happens. However, I think we must investigate > the root cause as well. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/918255 > > Title: > Non-integer key in _getTagIds > > Status in KARL3: > In Progress > > Bug description: > > Wed Jan 18 10:31:21 2012 Exception when processing https://karl.soros.org/communities/justice-initiative-administration/files/staff/ Referer: None Traceback (most recent call last): File "/srv/osfkarl/production/39/eggs/karl-3.80-py2.6.egg/karl/errorlog.py", line 18, in middleware return app(environ, start_response) File "/srv/osfkarl/production/39/eggs/repoze.retry-0.9.4-py2.6.egg/repoze/retry/__init__.py", line 88, in __call__ app_iter = self.application(environ, replace_start_response) File "/srv/osfkarl/production/39/eggs/repoze.zodbconn-0.11-py2.6.egg/repoze/zodbconn/connector.py", line 21, in __call__ result = self.next_app(environ, start_response) File "/srv/osfkarl/production/39/eggs/repoze.tm2-1.0a5-py2.6.egg/repoze/tm/__init__.py", line 23, in __call__ result = self.application(environ, save_status_and_headers) File "/srv/osfkarl/production/39/eggs/repoze.who-1.0.15-py2.6.egg/repoze/who/middleware.py", line 107, in __call__ app_iter = app(environ, wrapper.wrap_start_response) File "/srv/osfkarl/production/39/eggs/repoze.urchin-0.2-py2.6.egg/repoze/urchin/__init__.py", line 53, in __call__ resp = req.get_response(self.app) File "/srv/osfkarl/production/39/eggs/WebOb-1.1.1-py2.6.egg/webob/request.py", line 1086, in get_response application, catch_exc_info=False) File "/srv/osfkarl/production/39/eggs/WebOb-1.1.1-py2.6.egg/webob/request.py", line 1055, in call_application app_iter = application(self.environ, start_response) File "/srv/osfkarl/production/39/eggs/pyramid-1.2.1-py2.6.egg/pyramid/router.py", line 176, in __call__ response = self.handle_request(request) File "/srv/osfkarl/production/39/eggs/pyramid-1.2.1-py2.6.egg/pyramid/tweens.py", line 17, in excview_tween response = handler(request) File "/srv/osfkarl/production/39/eggs/pyramid-1.2.1-py2.6.egg/pyramid/router.py", line 153, in handle_request response = view_callable(context, request) File "/srv/osfkarl/production/39/eggs/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 186, in _secured_view return view(context, request) File "/srv/osfkarl/production/39/eggs/pyramid-1.2.1-py2.6.egg/pyramid/config/views.py", line 292, in rendered_view result = view(context, request) File "/srv/osfkarl/production/39/eggs/karl-3.80-py2.6.egg/karl/content/views/files.py", line 172, in show_folder_view tagbox = get_tags_client_data(context, request), File "/srv/osfkarl/production/39/eggs/karl-3.80-py2.6.egg/karl/views/tags.py", line 61, in get_tags_client_data records = tagquery.tagswithcounts, File "/srv/osfkarl/production/39/eggs/karl-3.80-py2.6.egg/karl/models/adapters.py", line 218, in tagswithcounts tagObjects = self.tags.getTagObjects(items=(self.docid,)) File "/srv/osfkarl/production/39/eggs/karl-3.80-py2.6.egg/karl/tagging/__init__.py", line 153, in getTagObjects ids = self._getTagIds(items, users, tags, community) File "/srv/osfkarl/production/39/eggs/karl-3.80-py2.6.egg/karl/tagging/__init__.py", line 448, in _getTagIds res.update(bt.get(item, set())) TypeError: expected integer key > > To manage notifications about this bug go to: > https://bugs.launchpad.net/karl3/+bug/918255/+subscriptions