No _writer_maker attribute on enginefacade.writer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.db |
Fix Released
|
Medium
|
Mike Bayer |
Bug Description
I've tried using it but it fails with the following traceback. This is either a bug or a "documentation problem" that does not enable me to use it correctly. ;)
gnocchi.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "gnocchi/
return func(*args, **kwargs)
File "gnocchi/
File "/Users/
with self._transacti
File "/usr/local/
return self.gen.next()
File "/Users/
File "/usr/local/
return self.gen.next()
File "/Users/
File "/Users/
return self._writer_
AttributeError: '_TransactionFa
Changed in oslo.db: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in oslo.db: | |
assignee: | nobody → Mike Bayer (zzzeek) |
status: | Confirmed → In Progress |
Changed in oslo.db: | |
milestone: | none → 3.2.0 |
status: | Fix Committed → Fix Released |
hi julien -
can you show me the setup code for this? if you're on enginefacade then everything has to be within a context. this is definitely bad error reporting on its part but it seems maybe you aren't in a context block/decorator here?