gluster / ascii_binder_search_plugin

A seamless search integration plugin for ascii_binder generated sites
MIT License
2 stars 5 forks source link

Fix path to search.html #12

Closed bexelbie closed 7 years ago

bexelbie commented 7 years ago

I suspect this is not hte right fix - sorry about that.

This is the error:

$ ascii_binder_search 
Traceback (most recent call last):
  File "/home/bexelbie/Repositories/Fedora/docs_reboot/asciibindersearch_venv/bin/ascii_binder_search", line 5, in <module>
    ascii_binder_search.main()
  File "/home/bexelbie/Repositories/Fedora/docs_reboot/asciibindersearch_venv/lib64/python3.5/site-packages/ascii_binder_search/ascii_binder_search.py", line 110, in main
    generate_dump()
  File "/home/bexelbie/Repositories/Fedora/docs_reboot/asciibindersearch_venv/lib64/python3.5/site-packages/ascii_binder_search/ascii_binder_search.py", line 88, in generate_dump
    copyfile(search_file_path, '_package/{}/search.html'.format(site_folder))
  File "/usr/lib64/python3.5/shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/home/bexelbie/Repositories/Fedora/docs_reboot/asciibindersearch_venv/lib/python3.5/site-packages/static/search.html'
smitthakkar96 commented 7 years ago

can you ls the site-packages and past the output, cause it is running on my end