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

Current Development version likely to have breaking changes
Post Reply
IgorA100
Posts: 206
Joined: Sat Feb 03, 2024 11:55 am

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

Post 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.
IgorA100
Posts: 206
Joined: Sat Feb 03, 2024 11:55 am

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

Post by IgorA100 »

Does anyone have any thoughts?
User avatar
iconnor
Posts: 3391
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

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

Post 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.
IgorA100
Posts: 206
Joined: Sat Feb 03, 2024 11:55 am

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

Post 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.
Post Reply