Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detected non-one byte encoding, trying to fix config for db #154

Closed
SvyatSoft opened this issue Sep 21, 2021 · 9 comments
Closed

detected non-one byte encoding, trying to fix config for db #154

SvyatSoft opened this issue Sep 21, 2021 · 9 comments
Assignees
Labels
bug Something isn't working waiting for reply Awaiting for feedback from user/reporter

Comments

@SvyatSoft
Copy link

[03:54:22] Rats 1.8.0
[03:54:22] Platform: win32
[03:54:22] Arch: x64
[03:54:22] OS Release: 6.1.7601
[03:54:22] CPU: Intel(R) Xeon(R)
[03:54:22] CPU Logic cores: 8
[03:54:22] Total memory: 16383.49 MB
[03:54:22] Free memory: 12930.76 MB
[03:54:22] NodeJS: v14.16.0
[03:54:22] Desktop server
[03:54:22] listening udp tracker respose on 0.0.0.0:4446
[03:54:22] Sphinx Path: C:\Users\Администратор\AppData\Local\Programs\rats-search\x64\searchd.exe
[03:54:22] detected non-one byte encoding, trying to fix config for db path C:\Users\Администратор\AppData\Roaming\Rats on The Boat false
[03:54:22] config encoded to cp1251
[03:54:22] writed sphinx config to C:\Users\Администратор\AppData\Roaming\Rats on The Boat
[03:54:22] db path: C:\Users\Администратор\AppData\Roaming\Rats on The Boat
[03:54:22] sphinx closed with code 3221225781 and signal null

@DEgITx
Copy link
Owner

DEgITx commented Sep 21, 2021

Is this Windows 7? Это 7 винда?

@DEgITx DEgITx added the waiting for reply Awaiting for feedback from user/reporter label Sep 21, 2021
@SvyatSoft
Copy link
Author

Is this Windows 7? Это 7 винда?

Это Windows Server 2008 R2. После автоматической перенастройки sphinx.conf пути выглядят так:

pid_file = C:\Users\Администратор\AppData\Roaming\Rats on The Boat/searchd.pid
log = C:\Users\Администратор\AppData\Roaming\Rats on The Boat/searchd.log
query_log = C:\Users\Администратор\AppData\Roaming\Rats on The Boat/query.log
binlog_path = C:\Users\Администратор\AppData\Roaming\Rats on The Boat

После исправления всех путей вручную, файл конфигурации все-равно каждый раз автоматически преобразовывается в изначальный вид.

@DEgITx
Copy link
Owner

DEgITx commented Sep 21, 2021

это происходит из-за того что у вас в пути есть русские символы "Администратор"
на 10 выполняется конвертация, в 2008 видно она не помогает, но таких старых систем поддержка изначально не задумывалось

можете переименовать пользователя в Administator - и тогда у вас все запустится

@SvyatSoft
Copy link
Author

Не помогло. Создал нового пользователя системы, скопировал в его профиль фалы программы, но автокорректировка файла sphinx.conf все-равно происходит и поисковик не запускается.

  index torrents
  {
    type = rt
    path = C:\Users\rats\AppData\Roaming\Rats on The Boat/database/torrents

[20:36:40] Rats 1.8.0
[20:36:40] Platform: win32
[20:36:40] Arch: x64
[20:36:40] OS Release: 6.1.7601
[20:36:40] CPU: Intel(R) Xeon(R)
[20:36:40] CPU Logic cores: 8
[20:36:40] Total memory: 16383.49 MB
[20:36:40] Free memory: 13172.52 MB
[20:36:40] NodeJS: v14.16.0
[20:36:40] Desktop server
[20:36:40] listening udp tracker respose on 0.0.0.0:4446
[20:36:40] Sphinx Path: C:\Users\rats\AppData\Local\Programs\rats-search\x64\searchd.exe
[20:36:40] writed sphinx config to C:\Users\rats\AppData\Roaming\Rats on The Boat
[20:36:40] db path: C:\Users\rats\AppData\Roaming\Rats on The Boat

@DEgITx DEgITx added bug Something isn't working and removed waiting for reply Awaiting for feedback from user/reporter labels Sep 22, 2021
@DEgITx
Copy link
Owner

DEgITx commented Sep 22, 2021

Есть идея почему так происходит, попробую сделать патч. Если не поможет, скажу как исправить руками.

DEgITx added a commit that referenced this issue Sep 22, 2021
github-actions bot pushed a commit that referenced this issue Sep 22, 2021
## [1.8.1](v1.8.0...v1.8.1) (2021-09-22)

### Bug Fixes

* **windows:** missed library [#154](#154) ([b23b9c7](b23b9c7))
@DEgITx
Copy link
Owner

DEgITx commented Sep 22, 2021

Проверьте теперь

@DEgITx
Copy link
Owner

DEgITx commented Sep 22, 2021

в версии 1.8.1

@DEgITx DEgITx self-assigned this Sep 22, 2021
@DEgITx DEgITx added the waiting for reply Awaiting for feedback from user/reporter label Sep 22, 2021
@DEgITx DEgITx assigned SvyatSoft and unassigned DEgITx Sep 22, 2021
@DEgITx
Copy link
Owner

DEgITx commented Sep 23, 2021

пока что закрываю

@DEgITx DEgITx closed this as completed Sep 23, 2021
@SvyatSoft
Copy link
Author

Не помогло

[20:27:43] Rats 1.8.1
[20:27:43] Platform: win32
[20:27:43] Arch: x64
[20:27:43] OS Release: 6.1.7601
[20:27:43] CPU: Intel(R) Xeon(R) CPU E5-2430L 0 @ 2.00GHz
[20:27:43] CPU Logic cores: 8
[20:27:43] Total memory: 16383.49 MB
[20:27:43] Free memory: 14582.12 MB
[20:27:43] NodeJS: v14.16.0
[20:27:43] Desktop server
[20:27:43] listening udp tracker respose on 0.0.0.0:4446
[20:27:43] Sphinx Path: C:\Users\Администратор\AppData\Local\Programs\rats-search\x64\searchd.exe
[20:27:43] detected non-one byte encoding, trying to fix config for db path C:\Users\Администратор\AppData\Roaming\Rats on The Boat false
[20:27:44] config encoded to cp1251
[20:27:44] writed sphinx config to C:\Users\Администратор\AppData\Roaming\Rats on The Boat
[20:27:44] db path: C:\Users\Администратор\AppData\Roaming\Rats on The Boat

DEgITx added a commit that referenced this issue Jun 1, 2023
DEgITx pushed a commit that referenced this issue Jun 1, 2023
## [1.8.1](v1.8.0...v1.8.1) (2021-09-22)

### Bug Fixes

* **windows:** missed library [#154](#154) ([b23b9c7](b23b9c7))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for reply Awaiting for feedback from user/reporter
Projects
None yet
Development

No branches or pull requests

2 participants