mgaitan / waliki

A wiki engine powered by Django and Git
http://waliki.pythonanywhere.com
BSD 3-Clause "New" or "Revised" License
309 stars 56 forks source link

Search plugin template missing when waliki is installed via pip #148

Open satadev opened 7 years ago

satadev commented 7 years ago

Steps to reproduce:

$ pip install waliki
...
Successfully installed Genshi-0.7 Markups-2.0.1 Pygments-2.2.0 cssselect-1.0.1 
docutils-0.14 lxml-3.8.0 pyquery-1.2.17 rst2html5-1.9.3 sh-1.12.14 waliki-0.8.1

$ ls -la ~/.virtualenvs/wiki1/lib/python2.7/site-packages/waliki/search/templates/search/
total 12
drwxr-xr-x 2 dred dred 4096 Aug 18 00:08 .
drwxr-xr-x 3 dred dred 4096 Aug 18 00:08 ..
-rw-r--r-- 1 dred dred 1848 Aug 18 00:07 search.html

Therefore, templates/search/indexes/waliki/page_text.txt is missing.

Running the following on a working installation confirms this.

$ python manage.py rebuild_index
...
django.template.exceptions.TemplateDoesNotExist: search/indexes/waliki/page_text.txt

Thank you for your time.

satadev