-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
The .commands file is getting corrupted #24
Comments
Hello. The log screenshot you shared does not match the contents of the .log file you linked to. In the .log file I don't see this error happening. To help me debug this, can you get me a .log file that shows the operations before and after the shutdown where the .commands file was lost/corrupted? |
Also, is there something about your network connection which is preventing MCE Controller from checking for new versions?
I don't think this could be related, but I'd like to ensure I don't have a bug in the update code. Thanks. |
Hello, that's right, sorry. I made the screenshot in November, on a different device than the one I took the .log-file from. There are no more operations to see before the error occurs. Everytime it happens (all in all 15 times by now) it's right after the start, where it says in the log "Error parsing .commands XML. Das Stammelement ist nicht vorhanden. (The trunk element does not exist.)" Regarding your other question: Our PCs do not have internet connection and are supposed not to have. We downloaded the most recent version. Thanks for your quick reply! |
Can you please share a full .log file from one of the PCs where the error has occured? |
Also, in the screenshot it appears you edited the .commands file and saved it manually. Is that correct? |
One more request: Next time this happens, please check to see if If it does, please send me a copy. If it does not, please let me know. |
Yes, I will send you a .log file of one of the error-PCs. Unfortunately, I can only access them on Tuesdays, since they are part of a running installation. No, I didn't save the .commands file manually. Yes, next time I will check if the .commands file exists, it really seems like it either doesn't exist and is newly created or it is corrupt and therefore "lost" the one defined command. |
I've been travelling so have not been able to check in on this. I'm now in a more stable location and have time today. If you can get met the logs and other info, I should be able to focus on helping fix this! Let me kow. |
Hi, no problem! I'm sorry, but again, there is nohing to see in the logs - they seem to "restart" after the error occurs, and so now when I checked, they didn't pass back until the time of the error (last November). You can see it only on the screenshot I put in the first description. |
Hi! MCE_error_1_6006 |
MCEControl_6126.log I copied the complete MCE-folder, if you also need the .commands and -settings files. I can't paste them here but can send you a link or mail. Let me know. Thank You! |
These two log files appear to be from Sept 2021. Did you capture any log files from around Feb 01 when the screen shots above were taken? |
You're right, I didn't check on this, because I captured them just on Tuesday, when I took the screenshots. I checked on the other log files from PCs withour the error, and they all date back to August/September 2021, although I captured them just this year. Seems like the log isn't written over the entire period? |
This is really concerning. I can't understand how recent logs are not being written. Can you please exit and restart MCE controller on one of the machines that is working ok and then send me
|
- Commands file not saved at exit anymore - Only watching changes - Display log threshold settings dialog now works correctly
In addition to doing the above, please:
This new release has better logging and I tweaked some things that MIGHT fix this problem. However, without full logs, I can't know for certain why the .commands file is getting written as empty. |
OK, I can do that tomorrow. |
The log file from one of the working machines - it just dates back to January 17. And the screenshot from the directory. It starts with C:\Users\kiosk |
I updated MCE Controller on some of the machines an tested several times. Using another strategy, I wrote a batch file that always copies the correct .commands file to the right directory when the PC boots. Both seems to work, but if it will for a long period of time, we can only observe. |
Thanks. FWIW, the Please send me ALL files in that directory. Thanks. |
Ok. As usual, I can give you these files next Tuesday. |
Describe the bug
We use only the "shutdown"-command in MCE Controller. After a period of time, MCE Controller won't load the commands correctly, so "shutdown" is no longer enabled and therefore the PC won't shut down.
To Reproduce
We haven't found a way yet to reproduce the error, but think it may be related to power failure.
Expected behavior
We expected MCE Controller to shut the PC down, as it always had done. We use the tool on 50 PCs, and have the problem only on 5 devices. The error started occuring after 2 months.
Screenshots
Version Information
MCE Controller v2.2.7.67 - OS: Microsoft Windows NT 10.0.17763.0 on x64 - .NET: 4.0.30319.42000
Snippets from the log
Desktop (please complete the following information):
Microsoft Windows 10 Pro
Version 10.0.17763 Build 17763
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: