-
Notifications
You must be signed in to change notification settings - Fork 27
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
bug: AttributeError: 'str' object has no attribute 'append'
#294
Comments
@florian-ernst-alan Thanks for reporting! I see this change was introduced in #249 and should only impact tap-postgres/tap_postgres/tap.py Lines 533 to 535 in 7bb936b
|
Yes & Yes 🥲 Deleting the cache has no effect, it's reconstructed just like before. I had no issue using LOG_BASED replication before. |
I created #295 but I'm unsure how to test it at the moment |
Looks like dropping/re-upping the logical replication slot worked 🤷♂️ not sure why though. Maybe the user did not have the correct rights for the replication slot, but it didn't catch the actual problem (aka no replication) and instead raised a related issue? In any case my issue is fixed - I'll let you close if you want? |
Setup allowing pytest for log_based syncs Closes #294 --------- Co-authored-by: Edgar Ramírez Mondragón <[email protected]> Co-authored-by: Derek Visch <[email protected]>
#321 @florian-ernst-alan we think multiple instances of running log based could be your issue here. We're not sure. Please put in a seperate issue if you hit this though. We're going to fix the multiple instance issue (LSN will be wiped currently as the name for the replication slot is the same) but we're not sure this is the issue you hit or not. |
I updated my Meltano version recently (I think I was on the last Meltano 2), and updated the taps as well. Now I cannot sync my Postgres table anymore.
Running
meltano invoke tap-postgres--backend
raises the following error:Here is my
meltano.yml
config:After some manual debugging, I noticed the issue came from this line in
tap_postgres/tap.py
:I changed the code to check what property was failing: the property is
"data"
. There are several instances of"data"
property in my.meltano/run/tap-postgres--backend/tap.properties.json
file, and they are all equal to:Indeed,
type
is a string and not an object, so calling the append method fails.The weird thing is that I have another Postgres tap running just fine (also inheriting from
tap-postgres
). Any idea why this happens, and how to fix it?The text was updated successfully, but these errors were encountered: