$ uname -a
Linux novo 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ zsh --version
zsh 5.4.2 (x86_64-ubuntu-linux-gnu)
when I open a the admin page I get a 500 error due to SQLite objects created in a thread can only be used in that same thread
.
add a get_session
like to db.py
Session = sessionmaker(bind=engine)
def get_session():
_engine = create_engine("sqlite:///%s" % DB_PATH)
session = sessionmaker(bind=_engine)
return session()
in order to create a new SQLite session (that will be destroyed)
this PR
@pawamoy thanks for your work
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too