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

connection.set_row_trace - excepts; Connection.setrowtrace works #515

Closed
mohmad-null opened this issue May 4, 2024 · 4 comments
Closed

Comments

@mohmad-null
Copy link

connection.set_row_trace raises AttributeError: 'apsw.Connection' object has no attribute 'set_row_trace' despite using 3.43.0.

Connection.setrowtrace works fine but doesn't seem to be documented (I'm assuming as it's deprecated https://rogerbinns.github.io/apsw/changes.html#index-51) in the connection API - https://rogerbinns.github.io/apsw/connection.html

@rogerbinns
Copy link
Owner

The name changing happened in version 3.43.2.0 - currently in the changelog at this position https://rogerbinns.github.io/apsw/changes.html#id7

@mohmad-null
Copy link
Author

mohmad-null commented May 4, 2024

Oh, because in the logs (above link) it's under 3.0.8-r1 and the text implies they're available from that version with "The old names are still available maintaining". But yes, I see it's also under 3.43.2.

@rogerbinns
Copy link
Owner

3.0.8 came out 20 years ago! The changed names section is appended to the the changes page since that seemed the most logical place, and my hope was that virtually no one would ever need to see it because all the doc covers the pep 8 compliant names.

You unfortunately got caught out by using an old version of apsw with the newest version of the docs :-) Is there as reason you aren't using an up to date version of apsw?

@mohmad-null
Copy link
Author

20 years ago? You've been working on this almost as long as Dr H has! Yes, I can see the mismatch in docs/versions being a problem; I've had it occur before.

Is there as reason you aren't using an up to date version of apsw?

I believe that's the version that pip install apsw / my IDE gave me a couple days ago. It's giving me 3.45.3 now.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants