I just updated dynamic_dynamodb with pip and got version 2.0 and now am seeing this error. I noticed that logged capacities are now decimal percentages while in the old version they were ints - e.g. dynamic-dynamodb - INFO - DeviceMapping - Consumed read units: 75.17%
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb/__init__.py", line 98, in main
File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb/__init__.py", line 131, in execute
File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb/core/table.py", line 36, in ensure_provisioning
File "/usr/local/lib/python2.7/dist-packages/dynamic_dynamodb/core/table.py", line 871, in __ensure_provisioning_alarm
ValueError: Unknown format code 'd' for object of type 'float'
This is the latest package in pip:
pip show dynamic-dynamodb
Requires: boto, requests, logutils, retrying
Change decimal integers to floats in output #265
Is there a work around for current version in pip for this issue?
Disabling all *alarm-threshold in config file worked for me.
This has now been released in version 2.0.1