NotImplementedError: Postgres FTS not available

Martin Östlund via Roundup-users <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Following along, the Upgrade documentation for 2.2.0 to enable 
native-fts for Postgres at
https://www.roundup-tracker.org/docs/upgrading.html#enhanced-full-text-search-optional

Changing indexer to native-fts i config.ini (and running a supported 
PostgreSQL), reindexing my database throws an exception:

[roundup@intlab roundup-2.2.0]$ /usr/local/bin/roundup-admin -i 
/opt/roundup/trackers/cendio-tracker/ reindex

Traceback (most recent call last):
   File "/usr/local/bin/roundup-admin", line 11, in <module>
     load_entry_point('roundup==2.2.0', 'console_scripts', 
'roundup-admin')()
   File 
"/usr/local/lib/python3.6/site-packages/roundup-2.2.0-py3.6.egg/roundup/scripts/roundup_admin.py", 
line 50, in run
     sys.exit(tool.main())
   File 
"/usr/local/lib/python3.6/site-packages/roundup-2.2.0-py3.6.egg/roundup/admin.py", 
line 1854, in main
     ret = self.run_command(args)
   File 
"/usr/local/lib/python3.6/site-packages/roundup-2.2.0-py3.6.egg/roundup/admin.py", 
line 1737, in run_command
     self.db = tracker.open(self.name)
   File 
"/usr/local/lib/python3.6/site-packages/roundup-2.2.0-py3.6.egg/roundup/instance.py", 
line 116, in open
     'db': backend.Database(self.config, name)
   File 
"/usr/local/lib/python3.6/site-packages/roundup-2.2.0-py3.6.egg/roundup/backends/rdbms_common.py", 
line 177, in __init__
     self.indexer = get_indexer(config, self)
   File 
"/usr/local/lib/python3.6/site-packages/roundup-2.2.0-py3.6.egg/roundup/backends/indexer_common.py", 
line 150, in get_indexer
     raise NotImplementedError("Postgres FTS not available")
NotImplementedError: Postgres FTS not available
[roundup@intlab roundup-2.2.0]$

149         if db.dbtype == "postgres":
150             raise NotImplementedError("Postgres FTS not available")
151             from roundup.backends.indexer_postgres_fts import Indexer
152             return Indexer(db)

Should it really raise an NotImplementedError here?

My postgres version:
[roundup@intlab roundup-2.2.0]$ psql
psql (13.7)
Type "help" for help.

Kind regards,
-- 
Martin Östlund          Support
Cendio AB               https://cendio.com
Teknikringen 8          https://twitter.com/ThinLinc
583 30 Linköping        https://facebook.com/ThinLinc


_______________________________________________
Roundup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.