The most useless warning message ever?
-
Hi guys,
while I tried to get my CoreXYV running, I frequently ran M98 P"config.g" to see any faults.
One time I got a warning like " improper use of 'P' parameter" without further details. (don't remember the real words)
I opened config.g and highlighted all 'P' characters. There were 50+...
It's like finding a needle in the hay... -
@o_lampe Time for the good old binary search. Try with only first half of config.g, if a match, first half of that; otherwise second half of original. Repeat until only one P remains (-:
(I searched the source code for "improper" but nothing comes up. A genuine replica of the error might help pin stuff down).
-
@o_lampe said in The most useless warning message ever?:
Hi guys,
while I tried to get my CoreXYV running, I frequently ran M98 P"config.g" to see any faults.
One time I got a warning like " improper use of 'P' parameter" without further details. (don't remember the real words)
I opened config.g and highlighted all 'P' characters. There were 50+...
It's like finding a needle in the hay...Which firmware version? Standalone or with SBC?
-
@dc42
It's RRF3.3.b2 in standalone mode, Duet2WiFi
The error only appeared once, I had no chance to take a screenshot -
@o_lampe said in The most useless warning message ever?:
@dc42
It's RRF3.3.b2 in standalone mode, Duet2WiFi
The error only appeared once, I had no chance to take a screenshotThanks. I too searched the code base for the word "improper", and it doesn't appear anywhere. So I think it must have been a different word.
All RRF error messages that report a problem interpreting a command also report which command (G- or M-code) it was processing at the time.
If you get a useless error message again, please take a screen shot.
-
Casting a wider net, I found something in Endstops/EndstopsManager.cpp in GCodeResult EndstopsManager::HandleM574. Maybe that helps (i.e., check your M574s).
-
@oliof said in The most useless warning message ever?:
Casting a wider net, I found something in Endstops/EndstopsManager.cpp in GCodeResult EndstopsManager::HandleM574. Maybe that helps (i.e., check your M574s).
Thanks. I found "Invalid use of P parameter" there, however if this message was produced then it should have been prefixed by "M574: ".
-
@oliof
Might be, I had some endstop-warning, too. But not at the same time. IIRC it claimed some endstop was already in use. But in fact it wasn't. -
@dc42 said in The most useless warning message ever?:
@oliof said in The most useless warning message ever?:
Casting a wider net, I found something in Endstops/EndstopsManager.cpp in GCodeResult EndstopsManager::HandleM574. Maybe that helps (i.e., check your M574s).
Thanks. I found "Invalid use of P parameter" there, however if this message was produced then it should have been prefixed by "M574: ".
No there was no hint of anything. No line number or G-code relation.
-
I just noticed, I had RRF3.3.b2 running, but DWC is still 3.2.
Could this lead to unexpected behaviour, like echos of previous reboots popping up
Will upgrade ASAP.