some database problem after ux2 removal

Bug #1390860 reported by Balazs Ree
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL4
New
Undecided
Unassigned

Bug Description

After ux2 removal, I cannot add a community. Looks like some inconsistency with the database. This also makes samplegen fail.

Running dropdb karltest; createdb -O karltest karltest did not help.

This looks like #807227 from earlier.

URL: http://127.0.0.1.xip.io:3000/communities/add_community.html
Module paste.evalexception.middleware:306 in respond
>> app_iter = self.application(environ, detect_start_response)
Module karl.timeit:49 in __call__
>> resp = req.get_response(self.app)
Module webob.request:1086 in get_response
>> application, catch_exc_info=False)
Module webob.request:1055 in call_application
>> app_iter = application(self.environ, start_response)
Module repoze.browserid.middleware:127 in __call__
>> return self.app(environ, start_response)
Module pyramid.router:176 in __call__
>> response = self.handle_request(request)
Module perfmetrics:270 in handle
>> return handler(request)
Module slowlog.tween:38 in __call__
>> return self.handler(request)
Module pyramid.tweens:17 in excview_tween
>> response = handler(request)
Module pyramid_tm:107 in tm_tween
>> return response
Module pyramid_tm:75 in __exit__
>> return self._retry_or_raise(t, v, tb)
Module pyramid_tm:60 in _retry_or_raise
>> reraise(t, v, tb) # otherwise reraise the exception
Module pyramid_tm:100 in tm_tween
>> response = handler(request)
Module pyramid.router:153 in handle_request
>> response = view_callable(context, request)
Module pyramid.config.views:523 in __call__
>> return view(context, request)
Module pyramid.config.views:266 in attr_view
>> return view(context, request)
Module pyramid.config.views:239 in predicate_wrapper
>> return view(context, request)
Module pyramid.config.views:186 in _secured_view
>> return view(context, request)
Module pyramid.config.views:292 in rendered_view
>> result = view(context, request)
Module pyramid_formish.zcml:171 in __call__
>> return submitted(request, form, controller, self.action, controller)
Module pyramid_formish.zcml:210 in submitted
>> result = getattr(controller, handler)(converted)
Module karl.views.community:347 in handle_submit
>> context[name] = community
Module repoze.folder:113 in __setitem__
>> return self.add(name, other)
Module repoze.folder:146 in add
>> objectEventNotify(ObjectAddedEvent(other, self, name))
Module zope.component.event:33 in objectEventNotify
>> adapters = zope.component.subscribers((event.object, event), None)
Module zope.component._api:138 in subscribers
>> return sitemanager.subscribers(objects, interface)
Module zope.component.registry:315 in subscribers
>> return self.adapters.subscribers(objects, provided)
Module zope.interface.adapter:535 in subscribers
>> subscription(*objects)
Module karl.models.subscribers:77 in index_content
>> catalog.index_doc(docid, node)
Module karl.models.catalog:47 in index_doc
>> super(CachingCatalog, self).index_doc(*arg, **kw)
Module repoze.catalog.catalog:31 in index_doc
>> index.index_doc(docid, obj)
Module perfmetrics:151 in call_with_metric
>> return f(*args, **kw)
Module repoze.pgtextindex.index:146 in index_doc
>> self._index_null(docid)
Module repoze.pgtextindex.index:195 in _index_null
>> self._upsert(docid, ('0.0', []), 'null')
Module repoze.pgtextindex.index:209 in _upsert
>> cursor.execute(stmt, tuple(params) + (docid,))
ProgrammingError: relation "pgtextindex" does not exist LINE 2: UPDATE pgtextindex SET ^

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.