Re: strange exception

Sanjay Rao <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
one more exception is coming in similar setup

 transactionManager.commit()
  File 
"C:\Python27\lib\site-packages\transaction-1.6.1-py2.7.egg\transaction\_manager.py"
, line 123, in commit
    return self.get().commit()
  File 
"C:\Python27\lib\site-packages\transaction-1.6.1-py2.7.egg\transaction\_transaction.py"
, line 280, in commit
    reraise(t, v, tb)
  File 
"C:\Python27\lib\site-packages\transaction-1.6.1-py2.7.egg\transaction\_transaction.py"
, line 271, in commit
    self._commitResources()
  File 
"C:\Python27\lib\site-packages\transaction-1.6.1-py2.7.egg\transaction\_transaction.py"
, line 416, in _commitResources
    reraise(t, v, tb)
  File 
"C:\Python27\lib\site-packages\transaction-1.6.1-py2.7.egg\transaction\_transaction.py"
, line 398, in _commitResources
    rm.tpc_finish(self)
  File 
"C:\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\ZODB\Connection.py", 
line 817, in tpc_finish
    serial = self._storage.tpc_finish(transaction, callback)
  File 
"C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\ClientStorage.py", 
line 1163, in tpc_finish
    self._update_cache(tid)
  File 
"C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\ClientStorage.py", 
line 1222, in _update_cache
    target_blob_file_name,
  File "C:\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\ZODB\blob.py", 
line 921, in rename_or_copy_blob
    remove_committed(f1)
  File "C:\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\ZODB\blob.py", 
line 931, in remove_committed
    os.remove(filename)
WindowsError: [Error 32] The process cannot access the file because it is 
being used by another process: u
'D:\\sites\\sites_7_0_scale\\batonSites\\CheckerServer\\var\\blobs\\124\\0x00cdvcft.tmp-'
------


On Thursday, 22 December 2016 14:55:29 UTC+5:30, Sanjay Rao wrote:
>
> Does anyone has any idea that in what conditions this exception can occur ?
>
>   File "C:\Python27\lib\site-packages\zope\app\component\hooks.py", line 
> 89, in getSiteManager
>     context, zope.component.getGlobalSiteManager())
>   File "C:\Python27\lib\site-packages\zope\app\component\hooks.py", line 
> 95, in adapter_hook
>     return siteinfo.adapter_hook(interface, object, name, default)
>   File "C:\Python27\lib\site-packages\zope\app\component\site.py", line 
> 407, in SiteManagerAdapter
>     current = getattr(current, '__parent__', None)
>   File 
> "C:\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\ZODB\Connection.py", 
> line 899, in setstate
>     self._setstate(obj, oid)
>   File 
> "C:\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\ZODB\Connection.py", 
> line 943, in _setstate
>     p, serial = self._storage.load(oid, '')
>   File 
> "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\ClientStorage.py", 
> line 825, in load
>     result = self.loadBefore(oid, m64)
>   File 
> "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\ClientStorage.py", 
> line 851, in loadBefore
>     self._cache.store(oid, tid, end, data)
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\cache.py", 
> line 139, in _locked_wrapper
>     return func(inst, *args, **kwargs)
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\cache.py", 
> line 647, in store
>     self._store(oid, start_tid, end_tid, data, size)
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\cache.py", 
> line 661, in _store
>     nfreebytes = self._makeroom(size+1)
>   File "C:\Python27\lib\site-packages\zeo-4.3.0-py2.7.egg\ZEO\cache.py", 
> line 447, in _makeroom
>     del current[oid]
>   File 
> "C:\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\ZODB\fsIndex.py", 
> line 167, in __delitem__
>     del tree[key[6:]]
> KeyError: '_\t'
>
>

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.