toluaina/pgsync

Getting `ModuleNotFoundError: No module named 'plugins'` when trying to index with plugins

vishnu-sequoiaat opened this issue · 1 comments

PGSync version: 2.5.0

Postgres version: 12

Elasticsearch version: 8.7.0

Redis version: 5.0.7

Python version: 3.8.10

Problem Description: I have requirement to edit elastic search document on indexing. I tried plugin. But I am getting ModuleNotFoundError: No module named 'plugins'. There is not much documentation given on plugins.

What I found was, I have issue in the python path.

Given below is my table structure
image

This is the code for my plugin
image

This is the starting of my schema.json
image

I am getting error message while using bootstap -c schema/schema.json

image

This is my env file attached
image