learningequality / ka-lite

KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity
https://learningequality.org/ka-lite/
Other
457 stars 304 forks source link

Content packs in well-known locations do not automatically install during upgrade #5400

Closed benjaoming closed 7 years ago

benjaoming commented 7 years ago

Summary

When upgrading, using an installer that has bundled en.zip into the new well-known location, it isn't automatically installed.

Instead the user is given a warning.

System information

Please specify the KA Lite version you were using and your operating system!

Traceback or relevant snippet from server.log

-

How to reproduce

  1. Install 0.16.9
  2. Upgrade to any of the 0.17.0b? prereleases

Related

5285

benjaoming commented 7 years ago

'twas I!

I had a virtualenv activated while installing KA Lite. This meant that the well-known location changed from /usr/share/kalite/preseed to ~/.virtualenvs/myvirtualenv/share/kalite/preseed.