Open seatedscribe opened 2 years ago
Hope someone could shed a light on this as I think this is exactly the right tool for a lot of solutions to problems out there... Anyway:
after a little searching, I found this same issue on the referenced mailing list: https://groups.google.com/g/newtdb/c/kxWreXzTGew
Please try installing RelStorage < 3. I'm afraid that RelStorage 3 involved large internal refactorings that were incompatible with netwdb.
This is not enough though, as an ImportError arises when doing import:
>>>import newt.db
ImportError: cannot import name '_cache_ring' from 'relstorage.cache' (/opt/xpend/venv/lib/python3.7/site-packages/relstorage/cache/__init__.py)
Hope someone could give here the "magic version numbers" for a working newtdb deploy ;)
On Sun, Nov 21, 2021 at 9:29 AM Tarquin Winot @.***> wrote:
Hope someone could shed a light on this as I think this is exactly the right tool for a lot of solutions to problems out there...
I agree, but I'm not working on anything anymore that can benefit and can't spend time maintaining it.
Maybe someone else will step forward.
Jim
-- Jim Fulton http://jimfulton.info
I agree, but I'm not working on anything anymore that can benefit and can't spend time maintaining it. Maybe someone else will step forward. Jim
This is perfectly understandable, time is precious! :smiley:
I also think it would be easier for someone to step forward if he could start studying the details and make experiments from a working codebase.
If you, or someone else, could spend a little time finding out the correct version of RelStorage (and/or other packages) for this project to stay alive, I would be immensely grateful.
Regards, Enrico
OK, I beat my head on this a bit today. The following combination works (pasts tests and import doesn't error) for me:
I'll make a 0.9.1 release soon that limits these versions.
Hello. I am trying to get confident with newtdb and followed the "getting started" tutorial on the website I installed postgresql locally (on a raspberry) and pip installed newt.db inside a virtual environment (python 3.7.3)
This is what happened:
I modified line 13 of newt/db/_adapter.py to become driver = relstorage.adapters.postgresql.drivers.select_driver(self.options) but then another exception occurred:
Should I downgrade some package? To which version?
Thanks in advance Enrico