Sn0wCrack / ExHen-Archive

System for crawling/archiving and viewing ExHen galleries
The Unlicense
89 stars 8 forks source link

Several issues with Sphinx #18

Open Zurplupz opened 3 years ago

Zurplupz commented 3 years ago

On Windows 10, in order to get sphinx running with the given configuration file I had to delete the following line in order to run enable_star = 1

Not doing so causes the following error on running searchd or indexer ERROR: unknown key name enable_star

Also had to do the following in order to get it to run with Sphinx 3.3.1 https://sphinxsearch.com/forum/view.html?id=16497

Download a previous release (3.1.1) and copy the following assemblies from the bin directories:

libeay32.dll msvcr120.dll ssleay32.dll

Can this be added on the windows-setup file?

Lastly there is this problem when archiving gallery, after running TaskRunner and gallery archived, they wont show immediately. and I have to index them manually. This error is displayed when indexer is ran after archiving


DEBUG: [2021-01-24 23:55:13][ExArchiver] Archive complete. Archived 1 galleries.

Sphinx 3.3.1 (commit b72d67bc)
Copyright (c) 2001-2020, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file './sphinx.conf'...
indexing index 'galleries'...
collected 2 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 2 docs, 1.1 Kb
total 0.1 sec, 19.3 Kb/sec, 34 docs/sec
indexing index 'suggested'...
collected 26 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 26 docs, 0.2 Kb
total 0.0 sec, 5.1 Kb/sec, 566 docs/sec
WARNING: could not open pipe (GetLastError()=5)
WARNING: indices NOT rotated.
DEBUG: [2021-01-24 23:55:13][TaskRunner] Finished running task Task_Archive
Sn0wCrack commented 3 years ago

The last confirmed working version of Sphinx I have for this is currently version 3.0.3-dev, you may want to try this on an older version, as I was never able to get the configuration working as they deprecated enable_star, which was relied upon by the application.