Page 1 of 1

Problem with dayfile editor

Posted: Sun 05 Mar 2023 5:03 pm
by OBSERWACJEMETEO
Hello,
When I try to save changes in the dayfile editor, I get a message

Code: Select all

DataTables warning: table id=dayfile - Requested unknown parameter '0' for row 5, column 0. For more information about this error, please see http://datatables.net/tn/4
Attached is a screen shot. Does this problem occurs only with me or someone has met with a similar probem?

Image

Re: Problem with dayfile editor

Posted: Sun 05 Mar 2023 5:30 pm
by mcrossley
Are you using v3.23.1?
Could you scroll up the edit dialog and show the top of it?

Re: Problem with dayfile editor

Posted: Sun 05 Mar 2023 5:59 pm
by OBSERWACJEMETEO
Yes, I am using version 3.23.1.
I made a screen shot from the top. Is this the right way?
Image

Re: Problem with dayfile editor

Posted: Sun 05 Mar 2023 7:58 pm
by mcrossley
This is going to be tricky! :(

Could you confirm...

1. All the /interface files from the b3221 zip file have been copied to your CMX folder.
2. If you open the page in an Incognito/InPrivate window in your browser you get the same error

Re: Problem with dayfile editor

Posted: Mon 06 Mar 2023 6:41 pm
by OBSERWACJEMETEO
I downloaded the latest version of cumulus today and uploaded all the files from scratch. I re-uploaded the data files. And I still have a problem when editing daily entries. I am guessing that this problem occurs only with me. Opening in private mode also causes an error. :D

Re: Problem with dayfile editor

Posted: Mon 06 Mar 2023 10:21 pm
by ConligWX
OBSERWACJEMETEO wrote: Mon 06 Mar 2023 6:41 pm I downloaded the latest version of cumulus today and uploaded all the files from scratch. I re-uploaded the data files. And I still have a problem when editing daily entries. I am guessing that this problem occurs only with me. Opening in private mode also causes an error. :D

to check your file run the hash checker against your cmx install

Code: Select all

# Checking CumulusMX file integrity on Linux
# go to your installation directory (eg. /opt/CumulusMX/)
# and run the following command (add --quiet to end of line if only want to see errors):
# ---------------------------------------------------
#  md5sum --check hash_md5_3221.txt
# ----------------------------------------------------
#
# Checking file integrity on Windows
# Start a PowerShell session
# go to your installation folder (eg. cd C:\CumulusMX)
# and run the following command:
# ---------------------------------------------------
#  .\MXutils\windows\CheckMD5HashFile.ps1 -HashFile .\hash_md5_3221.txt
# ---------------------------------------------------

Re: Problem with dayfile editor

Posted: Tue 07 Mar 2023 6:16 am
by OBSERWACJEMETEO
I have CMX on Windows 10. Can I run this script on Windows 10?

Re: Problem with dayfile editor

Posted: Tue 07 Mar 2023 9:22 am
by water01
Yes, look at the last few lines quoted
# Checking file integrity on Windows
# Start a PowerShell session
# go to your installation folder (eg. cd C:\CumulusMX)
# and run the following command:
# ---------------------------------------------------
# .\MXutils\windows\CheckMD5HashFile.ps1 -HashFile .\hash_md5_3221.txt
# ---------------------------------------------------
and run this in a DOS command window.

Re: Problem with dayfile editor

Posted: Tue 07 Mar 2023 9:40 am
by OBSERWACJEMETEO
Ok, I try run this on DOS command window and let you know.

Re: Problem with dayfile editor

Posted: Tue 07 Mar 2023 5:51 pm
by SamiS
water01 wrote: Tue 07 Mar 2023 9:22 am Yes, look at the last few lines quoted

and run this in a DOS command window.
Not in a DOS window, but in a Powershell window. You might also encounter a problem that an execution policy blocks running the script since it does not have a digital signature. This can be overridden by opening powershell originally with the following command line (use win+r -shortcut key to open run dialog)

PowerShell.exe -ExecutionPolicy Bypass

Then go to the CMX folder by typing

cd C:\CumulusMX\

and then run the check with

.\MXutils\windows\CheckMD5HashFile.ps1 -HashFile .\hash_md5_3221.txt

Note the period at start of the line. If you have installed cmx somewhere else, then you have to adjust the path of the cd command.

Re: Problem with dayfile editor

Posted: Sat 01 Apr 2023 7:05 pm
by OBSERWACJEMETEO
I uploaded the latest version of the program and the problem no longer occurs. The topic can be closed. Thank you for your help. ;)