New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output failed to show floats and crashed the daemon #229

Merged
merged 1 commit into from Dec 23, 2014

Conversation

Projects
None yet
2 participants
@nickveenhof
Contributor

nickveenhof commented Dec 23, 2014

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
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

This comment has been minimized.

Contributor

nickveenhof commented Dec 23, 2014

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

This comment has been minimized.

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