Skip to content

Commit

Permalink
Update readme with Houdini 18.5 details.
Browse files Browse the repository at this point in the history
  • Loading branch information
instance-id committed Oct 21, 2020
1 parent 4badd70 commit d28562e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 279 deletions.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@
---
Thanks for checking out Searcher. Below are the instructions to get you up and running.

## Note for Houdini 18.5
SideFX has only included SQLite v 3.31.0 with H18.5 and their support has told me they have no plans to upgrade it to 3.33.0 (which has FTS5 enabled (Full-Text Search), which is needed by Searcher). Because of this, an extra step is required to install/use Searcher with Houdini 18.5 until/unless they decide to include SQLite 3.33.0 instead of 3.31.0.

Download:
Windows x64: [SQLite v3.33.0](https://www.sqlite.org/2020/sqlite-dll-win64-x64-3330000.zip)
- Extract the downloaded sqlite-dll-win64-x64-3330000.zip file, then in another window browse to your Houdini installation directory: aka `$HFS/bin`.
By default this is located at: `C:\Program Files\SideFX\Houdini18.5.351\bin`
- In the Houdini $HFS/bin folder, locate the `sqlite3.dll` file and either make a backup copy to save elsewhere (just in case), or simply rename it to `sqlite3.dll.bak`
- From the extracted sqlite-dll-win64-x64-3330000.zip, locate the new `sqlite3.dll` then copy and paste it into the `$HFS/bin` folder.

From my testing, that was all that needed to be done, as Searcher worked for me at that point, but Houdini support mentioned that the sqlite3.dll located in the `$HFS/python27/dlls` folder should be replaced as well. Just make sure to back it up/rename it as well. Always better to be safe than sorry!

The process is the same for Unix OS's, you just have to go to the `$HFS/bin` folder that cooresponds to your particular OS and instead of looking for sqlite3.dll, the file will just be `sqlite3`. I would love to test it, but Houdini 18.5 on Linux crashes when I try to open it on both my laptop and VM on my desktop.

Linux: [SQLite v3.33.0](https://www.sqlite.org/2020/sqlite-tools-linux-x86-3330000.zip)
MacOS: [SQLite v3.33.0](https://www.sqlite.org/2020/sqlite-tools-osx-x86-3330000.zip)

---
#### Install

1. Extract/unzip 'Searcher_\<version>.zip'. (ex. Searcher_{#version}.zip) Inside will be a packages and Searcher folder as well as a README.md and a url link to this page.
Expand All @@ -19,7 +37,8 @@ Thanks for checking out Searcher. Below are the instructions to get you up and r
|__ Searcher_install_instructions.url
```

2. Move the Searcher folder somewhere permanent. It can be placed where ever you would like. Make note of the folder path, as it will be needed in a later step. Examples below:
2. Move the Searcher folder somewhere permanent. It can be placed where ever you would like. Make note of the folder path, as it will be needed in a later step. Examples below:

| OS | Path (replace \<user> with your actual username) |
| -------------------------------------------- | ------------------------------------------------- |
| <i class="fa fa-windows fa-1x"></i> Windows: | C:\Users\\\<user>\houdini_addons\Searcher |
Expand Down
276 changes: 0 additions & 276 deletions dso/sqlite3.def

This file was deleted.

4 changes: 2 additions & 2 deletions python2.7libs/searcher/platformselect.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def get_platform():
return PLATFORM

def get_sqlite():
if get_platform() == "Windows":
path_sqlite_dll = os.path.join(SEARCHER_PATH, 'python27/dlls/sqlite3.dll')
if get_platform() == "windows":
path_sqlite_dll = os.path.join(SEARCHER_PATH, 'dso/sqlite3.dll')
ctypes.cdll.LoadLibrary(path_sqlite_dll)
elif get_platform() == "Darwin":
path_sqlite_dll = os.path.join(SEARCHER_PATH, 'python27/dlls/sqlite3.dll')
Expand Down

0 comments on commit d28562e

Please sign in to comment.