Page 1 of 1

Attempt to fetch string value for ZM_STRICT_VIDEO_CONFIG, actual type is boolean. Try running 'zmupdate.pl -f' to reload

Posted: Wed Jun 25, 2025 8:28 am
by IgorA100
I needed to run "zmupdate.pl -f'". After running it, I got an error:
Attempt to fetch string value for ZM_STRICT_VIDEO_CONFIG, actual type is boolean. Try running 'zmupdate.pl -f' to reload config.]
I tried running "zmupdate.pl -f'" a few more times, but it didn't help. The error remained.
In my ConfigData.pm file:

Code: Select all

  {
    name        => 'ZM_STRICT_VIDEO_CONFIG',
    default     => 'yes',
    description => 'Allow errors in setting video config to be fatal',
    help        => q`
      With some video devices errors can be reported in setting the
      various video attributes when in fact the operation was
      successful. Switching this option off will still allow these
      errors to be reported but will not cause them to kill the video
      capture daemon. Note however that doing this will cause all
      errors to be ignored including those which are genuine and
      which may cause the video capture to not function correctly.
      Use this option with caution.
      `,
    type        => $types{boolean},
    category    => 'config',
  },
I tried to remove this code and run "zmupdate.pl -f'" again. In this case, the error disappears and the entry "ZM_STRICT_VIDEO_CONFIG" is removed from the DB

Code: Select all

zmupdate.pl -f

Freshening configuration in database
Migrating passwords, if any...
Loading config from DBNo option 'ZM_STRICT_VIDEO_CONFIG' found, removing.
241 entries
Saving config to DB 241 entries
I added the code to "ConfigData.pm" again and ran "zmupdate.pl -f'".
The option 'ZM_STRICT_VIDEO_CONFIG' is added to the DB and the type mismatch error appears again.
I'm confused.

Re: Attempt to fetch string value for ZM_STRICT_VIDEO_CONFIG, actual type is boolean. Try running 'zmupdate.pl -f' to re

Posted: Fri Jun 27, 2025 2:09 pm
by IgorA100
Does anyone have any thoughts?

Re: Attempt to fetch string value for ZM_STRICT_VIDEO_CONFIG, actual type is boolean. Try running 'zmupdate.pl -f' to re

Posted: Fri Jun 27, 2025 3:55 pm
by iconnor
The ZM_STRICT_VIDEO_CONFIG is a bit of a red herring. The error could pertain to any config value. That's just the first it hits.

There is a disconnect between your dbconfig entries and what is compiled into zmc.

Are you self-compiling zm? If you have updated zmc etc, but not updated the perl scripts section, then zmupdate.pl won't have the updated config entries and can't update the db.

Re: Attempt to fetch string value for ZM_STRICT_VIDEO_CONFIG, actual type is boolean. Try running 'zmupdate.pl -f' to re

Posted: Fri Jun 27, 2025 4:36 pm
by IgorA100
iconnor wrote: Fri Jun 27, 2025 3:55 pm Are you self-compiling zm?
No.
Ok, I get it. I probably edited something somewhere by hand at some point. I don't remember what exactly and where I did it.
Thank you, I got the gist of the problem.
Let it be as is for now.
I don't want to update for now, because I have two global PRs and I'm waiting for some information on them.
I hope that the problem will disappear after the update.