Skip to content
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

Application crashes if 'period' or'data_retention' are not explicitly defined by the YAML file #8

Closed
Drolla opened this issue Nov 14, 2021 · 1 comment

Comments

@Drolla
Copy link
Owner

Drolla commented Nov 14, 2021

This issue relates to pull request #7. In case period or data_retention is not explicitly defined by the YAML configuration file, the application returns with the following failure

Read configuration file /opt/waveplus_bridge/waveplus_bridge.fusion18.basic.yaml
2021-11-14 08:45:50 - Opening CSV data log file None
2021-11-14 08:45:50 -   Error accessing CSV file! None : unsupported operand type(s) for /: 'str' and 'int'

This error is also encountered if the two parameters are not defined by the YAML file, but if they are explicitly defined by the command line arguments --period and --data_retention.

Drolla pushed a commit that referenced this issue Nov 14, 2021
…re not explicitly defined by the YAML file).
@Drolla
Copy link
Owner Author

Drolla commented Nov 14, 2021

Fixed with commit 5162536

@Drolla Drolla closed this as completed Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant