Hi Team,
I've been experiencing an issue with my RevPi system for the past couple of days. When trying to access the PLC log, it starts populating logs from several months ago and takes a while to load the most recent entries. While this was manageable during debugging, as the system continued running normally, I can no longer open the PLC log at all from the RevPi Commander. When I click the button, nothing happens.
I am unsure of another way to monitor the code, and this is currently preventing me from debugging effectively.
Any help would be highly appreciated.
Regards,
Rejoy
RevPi Commander PLC Log
Moderator: RevPiModIO
Re: RevPi Commander PLC Log
Hello!rejgeo wrote: 28 Feb 2025, 01:12 Hi Team,
I've been experiencing an issue with my RevPi system for the past couple of days. When trying to access the PLC log, it starts populating logs from several months ago and takes a while to load the most recent entries. While this was manageable during debugging, as the system continued running normally, I can no longer open the PLC log at all from the RevPi Commander. When I click the button, nothing happens.
I am unsure of another way to monitor the code, and this is currently preventing me from debugging effectively.
Any help would be highly appreciated.
Regards,
Rejoy
I know this post is old but just leaving this here in case it helps someone else:
it looks like you're running into the same issue I had. After digging into it, I found that the application's settings had become corrupted, which was preventing a window from opening.
The solution is to manually delete the application's configuration from the Windows Registry. The application will automatically create fresh, default settings the next time you launch it.
Here are the step-by-step instructions:
Warning: Editing the registry can be risky. Please be careful and only delete the specific key mentioned below.
Open the Run Dialog: Press the Windows Key + R on your keyboard.
Open the Registry Editor: Type regedit into the Run dialog and press Enter. You may need to grant administrator permissions.
Navigate to the Correct Path: In the Registry Editor, use the folder tree on the left to navigate to the following location:
HKEY_CURRENT_USER\Software\revpimodio.org\revpicommander\logfile
Delete the folder "logfile":
Right-click on the logfile folder (which is called a "key" in the registry).
Select Delete from the context menu.
Confirm the deletion when prompted.
Close the Registry Editor.
Hope this helps!
- RevPiModIO
- KUNBUS
- Posts: 356
- Joined: 20 Jan 2017, 08:44
- Contact:
Re: RevPi Commander PLC Log
Hi!
It could be that we have two problems here:
1) The size of the log file.
Through logrotate, the log files should be kept at a maximum size of 1 MB. If Logrotate is not installed in a system, the files grow to infinity. It would be interesting what the command `ls -lah /var/log/revpipyload*` outputs. The affected log files are "revpipyload" and "revpipyloadapp". Logrotate controls the packing via the file "/etc/logrotate.d/revpipyload".
2) Window display options in the settings.
We could add a menu item in the RevPi Commander that resets all window positions and window sizes to default values to fix the problem. Perhaps it happens that a window position is stored on another monitor, which is no longer connected and the window is in a non-visible area.
Sven
It could be that we have two problems here:
1) The size of the log file.
Through logrotate, the log files should be kept at a maximum size of 1 MB. If Logrotate is not installed in a system, the files grow to infinity. It would be interesting what the command `ls -lah /var/log/revpipyload*` outputs. The affected log files are "revpipyload" and "revpipyloadapp". Logrotate controls the packing via the file "/etc/logrotate.d/revpipyload".
2) Window display options in the settings.
We could add a menu item in the RevPi Commander that resets all window positions and window sizes to default values to fix the problem. Perhaps it happens that a window position is stored on another monitor, which is no longer connected and the window is in a non-visible area.
Sven
python3-RevPiModIO - https://revpimodio.org/ || Der RevPi ist das Beste, was passieren konnte!