[Twisted-Python] callback errors?

Joseph Turian turian at gmail.com
Thu Apr 20 12:12:10 MDT 2006


[Posting this to twisted and zope3 user, since I'm not sure which is
more germane]

I just install zope 3.2.0 on Gentoo.
I then manually configured a zope instance in /var/lib/zope/zope-3.2.0/
When I access the zope server at 192.168.0.100:8080, I get the
following error messages on my terminal:

What do these mean?
How can I resolve them?

------
2006-04-20T13:45:39 WARNING ZODB.FileStorage Ignoring index for
/var/lib/zope/zope-3.2.0/var/Data.fs
------
2006-04-20T13:45:39 INFO root -- HTTP:localhost:8080 Server started.
	Hostname: localhost
	Port: 8080
------
2006-04-20T13:45:39 INFO root Startup time: 4.060 sec real, 4.070 sec CPU
192.168.0.69 - - [20/Apr/2006:13:45:46 -0400] "GET
/@@login.html?nextURL=http%3A//192.168.0.100%3A8080/%40%40index.html
HTTP/1.1" 303 0 "http://192.168.0.100:8080/" "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2"
192.168.0.69 - - [20/Apr/2006:13:45:46 -0400] "GET /@@index.html
HTTP/1.1" 200 4392 "http://192.168.0.100:8080/" "Mozilla/5.0 (Windows;
U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2"
192.168.0.69 - - [20/Apr/2006:13:45:46 -0400] "GET
/@@/zope3_tablelayout.css HTTP/1.1" 304 0
"http://192.168.0.100:8080/@@index.html" "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2"
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
353, in writeResponse
    response.stream.close()
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/log.py", line 41, in close
    self.stream.close()
exceptions.AttributeError: 'NoneType' object has no attribute 'close'
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
363, in filterit
    return f(self, response, self._requestContext)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
43, in preconditionfilter
    newresponse = http.checkPreconditions(request, response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
198, in checkPreconditions
    raise HTTPError(NotModifiedResponse(response))
twisted.web2.http.HTTPError:
192.168.0.69 - - [20/Apr/2006:13:45:46 -0400] "GET /@@/zope3.js
HTTP/1.1" 304 0 "http://192.168.0.100:8080/@@index.html" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308
Firefox/1.5.0.2"
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
353, in writeResponse
    response.stream.close()
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/log.py", line 41, in close
    self.stream.close()
exceptions.AttributeError: 'NoneType' object has no attribute 'close'
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
363, in filterit
    return f(self, response, self._requestContext)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
43, in preconditionfilter
    newresponse = http.checkPreconditions(request, response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
198, in checkPreconditions
    raise HTTPError(NotModifiedResponse(response))
twisted.web2.http.HTTPError:
192.168.0.69 - - [20/Apr/2006:13:45:46 -0400] "GET /@@/xmltree.js
HTTP/1.1" 304 0 "http://192.168.0.100:8080/@@index.html" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308
Firefox/1.5.0.2"
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
353, in writeResponse
    response.stream.close()
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/log.py", line 41, in close
    self.stream.close()
exceptions.AttributeError: 'NoneType' object has no attribute 'close'
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
363, in filterit
    return f(self, response, self._requestContext)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
43, in preconditionfilter
    newresponse = http.checkPreconditions(request, response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
198, in checkPreconditions
    raise HTTPError(NotModifiedResponse(response))
twisted.web2.http.HTTPError:
192.168.0.69 - - [20/Apr/2006:13:45:46 -0400] "GET /@@/zope3logo.gif
HTTP/1.1" 304 0 "http://192.168.0.100:8080/@@index.html" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308
Firefox/1.5.0.2"
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
353, in writeResponse
    response.stream.close()
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/log.py", line 41, in close
    self.stream.close()
exceptions.AttributeError: 'NoneType' object has no attribute 'close'
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
363, in filterit
    return f(self, response, self._requestContext)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
43, in preconditionfilter
    newresponse = http.checkPreconditions(request, response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
198, in checkPreconditions
    raise HTTPError(NotModifiedResponse(response))
twisted.web2.http.HTTPError:
192.168.0.69 - - [20/Apr/2006:13:45:47 -0400] "GET
/@@singleBranchTree.xml HTTP/1.1" 200 289 "-" "Mozilla/5.0 (Windows;
U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2"
192.168.0.69 - - [20/Apr/2006:13:45:47 -0400] "GET
/@@/zope-app-folder-interfaces-IFolder-zmi_icon.gif HTTP/1.1" 304 0
"http://192.168.0.100:8080/@@index.html" "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2"
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
353, in writeResponse
    response.stream.close()
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/log.py", line 41, in close
    self.stream.close()
exceptions.AttributeError: 'NoneType' object has no attribute 'close'
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
363, in filterit
    return f(self, response, self._requestContext)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
43, in preconditionfilter
    newresponse = http.checkPreconditions(request, response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
198, in checkPreconditions
    raise HTTPError(NotModifiedResponse(response))
twisted.web2.http.HTTPError:
192.168.0.69 - - [20/Apr/2006:13:45:47 -0400] "GET /@@/pl.gif
HTTP/1.1" 304 0 "http://192.168.0.100:8080/@@index.html" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308
Firefox/1.5.0.2"
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
353, in writeResponse
    response.stream.close()
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/log.py", line 41, in close
    self.stream.close()
exceptions.AttributeError: 'NoneType' object has no attribute 'close'
Traceback (most recent call last):
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
373, in _cbFinishRender
    d.callback(response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 229, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 294, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/internet/defer.py",
line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
363, in filterit
    return f(self, response, self._requestContext)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/server.py", line
43, in preconditionfilter
    newresponse = http.checkPreconditions(request, response)
  File "/usr/lib64/zope-3.2.0/lib/python/twisted/web2/http.py", line
198, in checkPreconditions
    raise HTTPError(NotModifiedResponse(response))
twisted.web2.http.HTTPError:




--
http://www.cs.nyu.edu/~turian/




More information about the Twisted-Python mailing list