After upgrading from Schooltool 2.6 to 2.8 I wanted to add a new location for one of the courses.
I went to the School tab, clicked on Resources then on the link "Add Location" and got a white page with the following writing:
No data received
ERR_EMPTY_RESPONSE
Unable to load the webpage because the server sent no data.
In the error.log file I found the following:
*********************************************************
2016-01-14 14:20:43,250 http://192.168.20.90:7080/resources/addLocation.html
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 135, in publish
response.setResult(result)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,342 Exception while rendering view on exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 380, in handleException
response.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,344 http://192.168.20.90:7080/resources/addLocation.html
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 380, in handleException
response.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,349 Exception during task
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/server/taskthreads.py", line 49, in handlerThread
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/serverchannelbase.py", line 205, in service
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/http/httptask.py", line 67, in service
self.channel.server.executeRequest(self)
File "/usr/lib/python2.7/dist-packages/zope/server/http/wsgihttpserver.py", line 109, in executeRequest
result = self.application(env, curriedStartResponse(task))
File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 206, in __call__
return app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/zope/app/wsgi/__init__.py", line 59, in __call__
request = publish(request, handle_errors=handle_errors)
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 142, in publish
obj, request, exc_info, True)
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 411, in handleException
response.handleException(exc_info)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 850, in handleException
self.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,456 http://192.168.20.90:7080/resources/addLocation.html
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 135, in publish
response.setResult(result)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,547 Exception while rendering view on exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 380, in handleException
response.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,550 http://192.168.20.90:7080/resources/addLocation.html
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 380, in handleException
response.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,555 Exception during task
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/server/taskthreads.py", line 49, in handlerThread
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/serverchannelbase.py", line 205, in service
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/http/httptask.py", line 67, in service
self.channel.server.executeRequest(self)
File "/usr/lib/python2.7/dist-packages/zope/server/http/wsgihttpserver.py", line 109, in executeRequest
result = self.application(env, curriedStartResponse(task))
File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 206, in __call__
return app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/zope/app/wsgi/__init__.py", line 59, in __call__
request = publish(request, handle_errors=handle_errors)
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 142, in publish
obj, request, exc_info, True)
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 411, in handleException
response.handleException(exc_info)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 850, in handleException
self.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,662 http://192.168.20.90:7080/resources/addLocation.html
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 135, in publish
response.setResult(result)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,753 Exception while rendering view on exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 380, in handleException
response.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,756 http://192.168.20.90:7080/resources/addLocation.html
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 380, in handleException
response.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,762 Exception during task
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/server/taskthreads.py", line 49, in handlerThread
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/serverchannelbase.py", line 205, in service
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/http/httptask.py", line 67, in service
self.channel.server.executeRequest(self)
File "/usr/lib/python2.7/dist-packages/zope/server/http/wsgihttpserver.py", line 109, in executeRequest
result = self.application(env, curriedStartResponse(task))
File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 206, in __call__
return app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/zope/app/wsgi/__init__.py", line 59, in __call__
request = publish(request, handle_errors=handle_errors)
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 142, in publish
obj, request, exc_info, True)
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 411, in handleException
response.handleException(exc_info)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 850, in handleException
self.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,959 Exception while rendering view on exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 380, in handleException
response.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:43,966 Exception during task
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/server/taskthreads.py", line 49, in handlerThread
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/serverchannelbase.py", line 205, in service
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/http/httptask.py", line 67, in service
self.channel.server.executeRequest(self)
File "/usr/lib/python2.7/dist-packages/zope/server/http/wsgihttpserver.py", line 109, in executeRequest
result = self.application(env, curriedStartResponse(task))
File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 206, in __call__
return app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/zope/app/wsgi/__init__.py", line 59, in __call__
request = publish(request, handle_errors=handle_errors)
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 142, in publish
obj, request, exc_info, True)
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 411, in handleException
response.handleException(exc_info)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 850, in handleException
self.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:44,290 Exception while rendering view on exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 380, in handleException
response.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:44,298 Exception during task
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/server/taskthreads.py", line 49, in handlerThread
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/serverchannelbase.py", line 205, in service
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/http/httptask.py", line 67, in service
self.channel.server.executeRequest(self)
File "/usr/lib/python2.7/dist-packages/zope/server/http/wsgihttpserver.py", line 109, in executeRequest
result = self.application(env, curriedStartResponse(task))
File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 206, in __call__
return app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/zope/app/wsgi/__init__.py", line 59, in __call__
request = publish(request, handle_errors=handle_errors)
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 142, in publish
obj, request, exc_info, True)
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 411, in handleException
response.handleException(exc_info)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 850, in handleException
self.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:49,500 Exception while rendering view on exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 380, in handleException
response.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
2016-01-14 14:20:49,507 Exception during task
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zope/server/taskthreads.py", line 49, in handlerThread
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/serverchannelbase.py", line 205, in service
task.service()
File "/usr/lib/python2.7/dist-packages/zope/server/http/httptask.py", line 67, in service
self.channel.server.executeRequest(self)
File "/usr/lib/python2.7/dist-packages/zope/server/http/wsgihttpserver.py", line 109, in executeRequest
result = self.application(env, curriedStartResponse(task))
File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 206, in __call__
return app(environ, start_response)
File "/usr/lib/python2.7/dist-packages/zope/app/wsgi/__init__.py", line 59, in __call__
request = publish(request, handle_errors=handle_errors)
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 142, in publish
obj, request, exc_info, True)
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 411, in handleException
response.handleException(exc_info)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 850, in handleException
self.setResult(body)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 776, in setResult
r, headers = self._implicitResult(r)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 114, in _implicitResult
html = self._generateIncludes(resource_libraries)
File "/usr/lib/python2.7/dist-packages/zc/resourcelibrary/publication.py", line 158, in _generateIncludes
url = library_resources[file_name]()
File "/usr/lib/python2.7/dist-packages/zope/browserresource/directory.py", line 70, in __getitem__
raise KeyError(name)
KeyError: u'3.6.1/ckeditor/ckeditor.js'
*********************************************************
Any ideas how I can fix this so that I can add a Location?
THanks.
It is strange that 2.6 worked. Maybe you upgraded Ubuntu, too?
Try restarting schooltool
$ sudo service schooltool stop
$ sudo service schooltool start
See https:/ /answers. launchpad. net/schooltool/ +question/ 254111
The bug is https:/ /bugs.launchpad .net/ubuntu/ +source/ zope.html/ +bug/1306986 but that has been fixed long ago.