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

fix: Exception when plan_data is None #1444

Merged

Conversation

tpd-opitz
Copy link
Contributor

2024-02-29 09:32:21,737 - {control.ev:338} - {ERROR:MainThread} - Fehler im ev-Modul 1
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/control/ev.py", line 274, in get_required_current
    if (self.soc_module and self.charge_template.data.chargemode.scheduled_charging.plans[plan_data.num].
AttributeError: 'NoneType' object has no attribute 'num'

@tpd-opitz tpd-opitz force-pushed the fix/scheduled_charging.plans_plan_data.num branch 2 times, most recently from fa95cd8 to 0bcce96 Compare February 29, 2024 11:27
@tpd-opitz
Copy link
Contributor Author

Habe den squash zurück genommen, weil er scheinbar nicht funktionierte...

@tpd-opitz tpd-opitz force-pushed the fix/scheduled_charging.plans_plan_data.num branch from 0bcce96 to 967a574 Compare February 29, 2024 17:19
@benderl benderl requested a review from LKuemmel March 1, 2024 15:38
@tpd-opitz tpd-opitz force-pushed the fix/scheduled_charging.plans_plan_data.num branch from 5111518 to 489243d Compare March 3, 2024 16:53
@tpd-opitz
Copy link
Contributor Author

rebase auf aktuellen master

@tpd-opitz tpd-opitz force-pushed the fix/scheduled_charging.plans_plan_data.num branch 2 times, most recently from 79e5664 to fc1154f Compare March 8, 2024 16:07
@tpd-opitz tpd-opitz force-pushed the fix/scheduled_charging.plans_plan_data.num branch from fc1154f to 2eec112 Compare March 15, 2024 15:45
@LKuemmel LKuemmel added this to the 2.4.1 Step 2 milestone Mar 22, 2024
@tpd-opitz tpd-opitz force-pushed the fix/scheduled_charging.plans_plan_data.num branch 2 times, most recently from 3cbc19a to 738ec1e Compare March 25, 2024 12:21
@tpd-opitz tpd-opitz closed this Mar 25, 2024
@tpd-opitz tpd-opitz deleted the fix/scheduled_charging.plans_plan_data.num branch March 25, 2024 12:27
@tpd-opitz tpd-opitz restored the fix/scheduled_charging.plans_plan_data.num branch March 25, 2024 12:28
@LKuemmel LKuemmel reopened this Mar 25, 2024
@LKuemmel
Copy link
Contributor

Ich habe ein "Reopen" des ursprünglichen PRs gemacht.

@tpd-opitz tpd-opitz force-pushed the fix/scheduled_charging.plans_plan_data.num branch from 738ec1e to d4ef2e4 Compare March 25, 2024 12:44
@tpd-opitz tpd-opitz force-pushed the fix/scheduled_charging.plans_plan_data.num branch from d4ef2e4 to 0f15f6d Compare March 26, 2024 07:52
@LKuemmel LKuemmel merged commit 409efbe into openWB:master Apr 2, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants