(Headless) Manage_selective_sync error with ver. 3.1.6

I have insync headless version 3.1.6 through a Gentoo package net-misc/insync version 3.1.6.50206.

$ insync manage_selective_sync <gmail>
Traceback (most recent call last):
File "<string>", line 6, in <module>
File "__main__.py", line 128, in <module>
File "__main__insync-portable__.py", line 150, in <module>
File "isyncd/linux/headless/selsync_manager.py", line 163, in show
File "curses/wrapper.py", line 22, in wrapper
File "curses/__init__.py", line 33, in initscr
_curses.error: setupterm: could not find terminal

Any debugging hints will be greatly appreciated.

Hello, @cfgauss! Could you confirm if the same output persists on v3.2.1? https://www.insynchq.com/downloads?mt=server

Also - could you please confirm: the title originally shows “ver 3.6.1” which I edited to 3.1.6 following the information in the post itself.

Could you confirm if you’re pertaining to 3.1.6 Headless, or 3.6.1 with a GUI?

The version is 3.6.1. Can I edit my original post?

The version is 3.6.1 headless.

The executable is insync-portable.

Hi @cfgauss! Please send your logs.db and out.txt files to support@insynchq.com with the link to this post :slight_smile:

For Headless, those two files should be in ~/.config/Insync-headless.