Adding a Location in School/Resources causes an error and blank screen

Bug #1534130 reported by caveman
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
New
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

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.

Revision history for this message
caveman (caveman-poid) wrote :

Hi Gediminas,

I tried stopping and restarting as you suggested but it is still not working properly. I glanced at the solution you suggested but would prefer not to do a total reinstall if necessary...

Any other suggestions?

Thanks,

Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

This is a ckeditor related issue, right?

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

No, reinstall is not what I suggest, that's what a user did and it somehow helped.

You can try reinstalling only the problematic package

$ sudo apt-get install --reinstall python-zope.html

and start/stop schooltool.

What versions of the packages do you have: python-schooltool, python-schooltool.gradebook, python-zope.html? You can do this with a command, that also lets determine where that package came from.

$ apt-cache policy python-zope.html
python-zope.html:
  Installed: 2.2.0-0ubuntu11
  Candidate: 2.2.0-0ubuntu11
  Version table:
 *** 2.2.0-0ubuntu11 0
        500 http://lt.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
        100 /var/lib/dpkg/status

I suspect from Bug #1533147 you reported earlier, the problem is that you have a local copy of an old version somewhere, and it gets picked up first.

Does this output anything?

$ grep ckeditor /etc/schooltool/standard/plugins

Revision history for this message
caveman (caveman-poid) wrote :

Hi Gediminas,

Here is what I got with the version checks:

$ apt-cache policy python-schooltool
python-schooltool:
  Installed: 1:2.8.4-0ubuntu1
  Candidate: 1:2.8.4-0ubuntu1
  Version table:
 *** 1:2.8.4-0ubuntu1 0
        500 http://ppa.launchpad.net/schooltool-owners/2.8/ubuntu/ trusty/main i386 Packages
        100 /var/lib/dpkg/status
     1:2.6.3-0ubuntu2 0
        500 http://mirror.amsiohosting.net/archive.ubuntu.com/ trusty-updates/universe i386 Packages
     1:2.6.3-0ubuntu1 0
        500 http://mirror.amsiohosting.net/archive.ubuntu.com/ trusty/universe i386 Packages

$ apt-cache policy python-schooltool.gradebook
python-schooltool.gradebook:
  Installed: 2.8.4.1-0ubuntu1
  Candidate: 2.8.4.1-0ubuntu1
  Version table:
 *** 2.8.4.1-0ubuntu1 0
        500 http://ppa.launchpad.net/schooltool-owners/2.8/ubuntu/ trusty/main i386 Packages
        100 /var/lib/dpkg/status
     2.6.3-0ubuntu1 0
        500 http://mirror.amsiohosting.net/archive.ubuntu.com/ trusty/universe i386 Packages

$ apt-cache policy python-zope.html
python-zope.html:
  Installed: 2.4.2-0ubuntu1
  Candidate: 2.4.2-0ubuntu1
  Version table:
 *** 2.4.2-0ubuntu1 0
        500 http://ppa.launchpad.net/schooltool-owners/2.8/ubuntu/ trusty/main i386 Packages
        100 /var/lib/dpkg/status
     2.2.0-0ubuntu11 0
        500 http://mirror.amsiohosting.net/archive.ubuntu.com/ trusty/universe i386 Packages

Then with the grep output I got:

$ grep ckeditor /etc/schooltool/standard/plugins
grep: /etc/schooltool/standard/plugins: Is a directory

Since it looked like the python-zope.html package was (as you mentioned) an old version I did the following:

$ sudo apt-get install --reinstall python-zope.html

and start/stop schooltool.

Then I checked the package again:

$ apt-cache policy python-zope.html
python-zope.html:
  Installed: 2.4.2-0ubuntu1
  Candidate: 2.4.2-0ubuntu1
  Version table:
 *** 2.4.2-0ubuntu1 0
        500 http://ppa.launchpad.net/schooltool-owners/2.8/ubuntu/ trusty/main i386 Packages
        100 /var/lib/dpkg/status
     2.2.0-0ubuntu11 0
        500 http://mirror.amsiohosting.net/archive.ubuntu.com/ trusty/universe i386 Packages

It looks like nothing changed but everything now works fine...

Thanks for your help!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.