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

ReGaHSS: .Format() -> Laufzeitfehler-Fehler bei Aufruf ohne Parameter #2669

Open
BadenPower opened this issue Mar 8, 2024 · 1 comment
Open
Labels
🐛 bug-report Something isn't working 🏷️ ReGaHss This refs the ReGaHss component

Comments

@BadenPower
Copy link

Describe the issue you are experiencing

Wird die Methode .Format() ohne Parameter ausgeführt, dann wird ein Laufzeitfehler (ScriptRuntimeError) ausgelöst.

Describe the behavior you expected

Erwartet würde eine ähnliche Ausgabe analog zu den Methoden .ToString(), .SunriseTime(), .SunsetTime() und .Date(), welche auch ohne Parametereingabe das Datum mit dem Variabletyp string zurückgeben.

Steps to reproduce the issue

Ausführung des folgenden Skriptes unter "Skript testen":

WriteLine("Start");
WriteLine(dom.BuildLabel());
time lTime = localtime;
var lResult;
lResult = system.Date();
WriteLine(lResult);
WriteLine(lResult.Type());
lResult = lTime.ToString();
WriteLine(lResult);
WriteLine(lResult.Type());
lResult = lTime.Format();
WriteLine(lResult);
WriteLine(lResult.Type());
WriteLine("Ende");

What is the version this bug report is based on?

CCU3 mit ReGaHSS-Version R1.00.0388.0235

Which base platform are you running?

rpi3 (RaspberryPi3)

Which HomeMatic/homematicIP radio module are you using?

n/a

Anything in the logs that might be useful for us?

bestehend seit:
ab ReGaHss-Version R1.00.0388.0109 (18.05.2017)
ältere ReGaHss-Versionen zeigen ein anderes Fehlerbild

Additional information

Ausgabe des Skriptes:

Start
R1.00.0388.0235
20:26:24 08.03.2024
string
2024-03-08 20:26:24
string

Das Skript wird bei der Ausführung von .Format() angebrochen.

@BadenPower BadenPower added the 🐛 bug-report Something isn't working label Mar 8, 2024
@BadenPower BadenPower changed the title ReGaHSS: .Format() -> Laufzeizfehler-Fehler bei Aufruf ohne Parameter ReGaHSS: .Format() -> Laufzeitfehler-Fehler bei Aufruf ohne Parameter Mar 8, 2024
Copy link
Contributor

github-actions bot commented Jun 7, 2024

There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest RaspberryMatic version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the 🧊 stale Ticket is in a stale state (about to be closed) label Jun 7, 2024
@jens-maus jens-maus added this to the future release milestone Jun 7, 2024
@jens-maus jens-maus added 🏷️ ReGaHss This refs the ReGaHss component and removed 🧊 stale Ticket is in a stale state (about to be closed) labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug-report Something isn't working 🏷️ ReGaHss This refs the ReGaHss component
Projects
Development

No branches or pull requests

2 participants