[Nuxeo-tickets] [Nuxeo Repository] #1701: Crash when reindexing the whole CPSLuceneCatalog

Nuxeo Repository trac at nuxeo.com
Mon Jul 17 19:13:19 CEST 2006


#1701: Crash when reindexing the whole CPSLuceneCatalog
---------------------+------------------------------------------------------
 Reporter:  ogrisel  |       Owner:  janguenot
     Type:  defect   |      Status:  new      
 Priority:  P3       |   Milestone:  CPS 3.4.2
Component:  Lucene   |     Version:  TRUNK    
 Severity:  major    |    Keywords:           
---------------------+------------------------------------------------------
 uid_view is not defined in that case:

 {{{
 Traceback (most recent call last):
   File "/opt/Zope-2.9/lib/python/ZPublisher/Publish.py", line 114, in
 publish
     request, bind=1)
   File "/opt/Zope-2.9/lib/python/ZPublisher/mapply.py", line 88, in mapply
     if debug is not None: return debug(object,args,context)
   File "/opt/Zope-2.9/lib/python/ZPublisher/Publish.py", line 40, in
 call_object
     result=apply(object,args) # Type s<cr> to step into published object.
   File
 "/home/ogrisel/instances/dgme/Products/CPSLuceneCatalog/catalog.py", line
 438, in manage_reindexProxies
     self.reindexObject(proxy, idxs=list(idxs))
   File
 "/home/ogrisel/instances/dgme/Products/CPSLuceneCatalog/catalog.py", line
 232, in reindexObject
     self.catalog_object(object, uid, idxs, update_metadata)
   File
 "/home/ogrisel/instances/dgme/Products/CPSLuceneCatalog/catalog.py", line
 336, in catalog_object
     uid = uid_view + '/' + lang
 UnboundLocalError: local variable 'uid_view' referenced before assignment
 }}}


 http://svn.nuxeo.org/trac/pub/changeset/46940

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1701>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository


More information about the Nuxeo-tickets mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.