Hey folks,
While I’m not planning to hack SC in the near future, I thought I’d try getting it up and running on my Infrabook (opposite of an Ultrabook - 2008 model Dell Vostro 1500 with a Core 2 Duo CPU and 4GB of RAM).
I started here: Developer Setup Guide
When I get to running the server with invoke server
I get the following output:
Building Text Image Index
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/jhanarato/.pyenv/versions/3.5.0/lib/python3.5/threading.py", line 923, in _bootstrap_inner
self.run()
File "/home/jhanarato/.pyenv/versions/3.5.0/lib/python3.5/threading.py", line 871, in run
self._target(*self._args, **self._kwargs)
File "/home/jhanarato/suttacentral/sc/init.py", line 208, in inner
init()
File "/home/jhanarato/suttacentral/sc/init.py", line 63, in init
sc.text_image_index.build()
File "/home/jhanarato/suttacentral/sc/text_image_index.py", line 21, in build
index = create_index_and_update_symlinks()
File "/home/jhanarato/suttacentral/sc/text_image_index.py", line 32, in create_index_and_update_symlinks
symlink_md5 = sc.util.get_folder_shallow_md5(folder=sc.text_image_symlink_dir, check_mtime=False, include_filter=image_filter)
File "/home/jhanarato/suttacentral/sc/util.py", line 277, in get_folder_shallow_md5
files = sorted(os.scandir(str(folder)), key=lambda f: f.name)
FileNotFoundError: [Errno 2] No such file or directory: '/home/jhanarato/suttacentral/static/text_images'
CherryPy Checker:
'/home/jhanarato/suttacentral/static/text_images' (root + dir) is not an existing filesystem path.
section: [/text_images]
root: '/home/jhanarato/suttacentral/static'
dir: 'text_images'
Metta