Skip to content

Conversation

nickveenhof
Copy link
Contributor

Output failed to show floats and crashed the daemon. Forcing to show integers in the output while not affecting the rest of the program

Output failed to show floats and crashed the daemon. Forcing to show integers in the output while not affecting the rest of the program
@nickveenhof
Copy link
Contributor Author

Error message:

2014-12-23 13:51:21,083 - dynamic-dynamodb - INFO - production.Frequencies.20141223 - Consumed read units: 40% 2014-12-23 13:51:21,113 - dynamic-dynamodb - INFO - production.Frequencies.20141223 - Read throttle count: 0 2014-12-23 13:51:21,113 - dynamic-dynamodb - INFO - production.Frequencies.20141223 - Consecutive read checks 0/1 2014-12-23 13:51:21,202 - dynamic-dynamodb - INFO - production.Frequencies.20141223 - Consumed write units: 100% 2014-12-23 13:51:21,233 - dynamic-dynamodb - INFO - production.Frequencies.20141223 - Write throttle count: 37893 2014-12-23 13:51:21,234 - dynamic-dynamodb - ERROR - Unknown format code 'd' for object of type 'float' Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/dynamic_dynamodb/__init__.py", line 50, in run execute() File "/usr/lib/python2.6/site-packages/dynamic_dynamodb/__init__.py", line 131, in execute table_num_consec_write_checks) File "/usr/lib/python2.6/site-packages/dynamic_dynamodb/core/table.py", line 48, in ensure_provisioning num_consec_write_checks) File "/usr/lib/python2.6/site-packages/dynamic_dynamodb/core/table.py", line 423, in __ensure_provisioning_writes table_name) File "/usr/lib/python2.6/site-packages/dynamic_dynamodb/calculators.py", line 288, in increase_writes_in_percent updated_provisioning)) ValueError: Unknown format code 'd' for object of type 'float'

@sebdah sebdah merged commit c6c19b5 into sebdah:master Dec 23, 2014
@sebdah
Copy link
Owner

sebdah commented Dec 23, 2014

Many thanks for this @nickveenhof. It has been merged and released in version 1.20.2.

@sebdah sebdah added this to the 1.20.x milestone Dec 23, 2014
@sebdah sebdah self-assigned this Dec 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants