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

Unknown rule: "undefined" #147

Open
e-i-k-e opened this issue Jun 19, 2022 · 7 comments
Open

Unknown rule: "undefined" #147

e-i-k-e opened this issue Jun 19, 2022 · 7 comments

Comments

@e-i-k-e
Copy link

e-i-k-e commented Jun 19, 2022

Hello,
after starting the adapter via the admin interface, I get the following message: "Unknown rule: "undefined". Please report an issue on Github!"

After I have confirmed this a few times, he opens the adapter.

node: v16.15.1
js controller: 4.0.23
admin 6.0.5
text2command 2.2.2

@stale
Copy link

stale bot commented Sep 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix label Sep 21, 2022
@SirFlour
Copy link

SirFlour commented Oct 2, 2022

i am also having that issue. looks like there are some text 2 commands available, but i dont see them after getting this error message

@stale stale bot removed the wontfix label Oct 2, 2022
@Apollon77
Copy link
Collaborator

Please provide a debug log

@SirFlour
Copy link

SirFlour commented Oct 4, 2022

yeah sure:

I am clicking on Commands on the left navigation.

I get this Error Message:

grafik

And this is the info from the debug

grafik

So far i guess it looks good. Hope you can see more.

Or can i provide more / other infos?

@DieWaldfee
Copy link

DieWaldfee commented Nov 14, 2022

Hi together,
I have the same problem after testing some minutes.
(starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.text2command, node: v16.17.1, js-controller: 4.0.23)

I think i´ve forgotten to save the last rule and jumped to another page in ioBroker.
I had one saved roule and one unsaved - now the rules-list is empty. When entering the text2command-page the same errormessage is shown as in the post above.

Is there a folder for temp-data? maybe there is a crashed part of the unsaved rule.

....edit:
I just deinstalled and installed again, an the error is gone.
Maybe something other with this issue: in the first installation the %s and %u are posted as "%s %u" instead of the temperature and an unit. After the 2nd installation it works fine.

with best regards.

@SPIDERTREE
Copy link

SPIDERTREE commented Feb 4, 2023

Hello together,
i have the same Problem, "Unknown rule: "undefined". Please report an issue on Github!"
from the Log:

text2command.0 2023-02-02 14:04:48.561 info starting. Version 2.3.0 in /opt/iobroker/node_modules/iobroker.text2command, node: v16.19.0, js-controller: 4.0.24
host.raspberrypi 2023-02-02 14:04:46.706 info instance system.adapter.text2command.0 started with pid 313877
host.raspberrypi 2023-02-02 14:04:44.732 info instance system.adapter.text2command.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
host.raspberrypi 2023-02-02 14:04:44.656 info stopInstance system.adapter.text2command.0 killing pid 313849
text2command.0 2023-02-02 14:04:44.116 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
text2command.0 2023-02-02 14:04:44.114 info terminating
text2command.0 2023-02-02 14:04:43.610 info Got terminate signal TERMINATE_YOURSELF
host.raspberrypi 2023-02-02 14:04:43.611 info stopInstance system.adapter.text2command.0 send kill signal
host.raspberrypi 2023-02-02 14:04:43.528 info stopInstance system.adapter.text2command.0 (force=false, process=true)

Den "Name oder Regeltyp bearbeiten" funktioniert leider nicht, es wird dann eine neue Regel angelegt.
Bei Speichern wird eine neue Regel übernommen und es erscheint ein blauer Pfeil an der Stelle wo in der vorrigen Regel eine rote Linie ist. Siehe Bild:
grafik

I created another instance in hopes of avoiding this error. This only worked to the extent that the error message for the new instance is not thrown. I couldn't get rid of the bug with the blue arrow.

It is my first Postet Issue, please excuse any rule violations
SPIDERTREE
And Thanks für any Help

@GermanBluefox
Copy link
Contributor

Please retest with 3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants