Failed to load the editor

Which tool versions are you using?

SDK: v14.23.0
Platform: v24.x.x
Python: v3.12
Isolation mode: venv

Current Behavior

In the published app, when users create a new entity, they get this error message:
image
Entities that were created in the past still work fine, and if I copy them to make new entities, that also works.

When loading the development app (run viktor-cli start), I get this log:

Client log
2025-12-18 12:00:07.595 INFO    :   *    *  ()   *    __      __ __  __  __          *  ()       *
2025-12-18 12:00:07.595 INFO    : *       * /\        \ \  * / / | | | |/ /  *        * /\
2025-12-18 12:00:07.595 INFO    :      *   /i\\    *   \ \  / /  | | | ' /    *    *   /i\\    *
2025-12-18 12:00:07.595 INFO    :    *     o/\\  *      \ \/ / * | | |  <           *  o/\\        *       
2025-12-18 12:00:07.595 INFO    :  *      ///\i\      *  \  /    | | | . \     *      ///\i\  *
2025-12-18 12:00:07.595 INFO    :     *   /*/o\\  *       \/  *  |_| |_|\_\       *   /*/o\\
2025-12-18 12:00:07.595 INFO    :   *    /i//\*\       _______   ____    _____   *   /i//\*\   *   *
2025-12-18 12:00:07.595 INFO    :        /o/*\\i\     |__   __| / __ \  |  __ \      /o/*\\i\       *    
2025-12-18 12:00:07.595 INFO    :  *    //i//o\\\\   *   | |   | |* | | | |__) |    //i//o\\\\ *
2025-12-18 12:00:07.595 INFO    :    * /*////\\\\i\*     | | * | |  | | |  _  /  * /*////\\\\i\   *    
2025-12-18 12:00:07.595 INFO    : *    //o//i\\*\\\ *    | |   | |__| | | | \ \    //o//i\\*\\\     *
2025-12-18 12:00:07.595 INFO    :  *    *   ||     *     |_|    \____/  |_| *\_\  *     ||     *
2025-12-18 12:00:07.595 INFO    : VIKTOR connector : v6.7.1
2025-12-18 12:00:07.595 INFO    : VIKTOR CLI       : v0.45.0
2025-12-18 12:00:07.595 INFO    : VIKTOR SDK       : v14.23.0
2025-12-18 12:00:07.629 INFO    : Connecting to vinci.viktor.ai...
2025-12-18 12:00:08.591 INFO    : Connection is established (use Ctrl+C to close)
2025-12-18 12:00:08.591 INFO    : 
2025-12-18 12:00:08.591 INFO    : Navigate to the link below to see your app in the browser
2025-12-18 12:00:08.591 INFO    :     https://vinci.viktor.ai/workspaces/342/app
2025-12-18 12:00:08.591 INFO    :
2025-12-18 12:00:08.591 INFO    : Loading app...
2025-12-18 12:00:12.718 INFO    : Job (uid: 844453) received - EntityType: Folder - call: parametrization
2025-12-18 12:00:12.718 WARNING : Job (uid: 844453) discarded because app is (re)loading
2025-12-18 12:00:12.897 INFO    : App code loaded, waiting for jobs...
2025-12-18 12:00:13.902 INFO    : Job (uid: 844454) received - EntityType: Folder - call: parametrization
2025-12-18 12:00:14.041 INFO    : Job (uid: 844454) started
2025-12-18 12:00:14.041 INFO    : Job (uid: 844454) completed successfully in 0ms
2025-12-18 12:00:15.988 INFO    : Job (uid: 844455) received - EntityType: Agency - call: parametrization
2025-12-18 12:00:16.138 INFO    : Job (uid: 844455) started
2025-12-18 12:00:16.139 INFO    : Job (uid: 844455) completed successfully in 2ms
2025-12-18 12:00:18.517 INFO    : Job (uid: 844456) received - EntityType: Predalle - call: parametrization
2025-12-18 12:00:18.659 INFO    : Job (uid: 844456) started
2025-12-18 12:00:18.662 ERROR   : Exception is raised
Traceback (most recent call last):
  File "viktor_connector\\connector.pyx", line 370, in connector.Job.execute
  File "viktor\\core.pyx", line 2100, in viktor.core._handle_job
  File "viktor\\core.pyx", line 2033, in viktor.core._handle_job._handle_parametrization
  File "viktor\\parametrization.pyx", line 4026, in viktor.parametrization.Parametrization._generate
  File "viktor\\parametrization.pyx", line 4364, in viktor.parametrization.Step._generate
  File "viktor\\parametrization.pyx", line 4105, in viktor.parametrization._Group._generate
  File "viktor\\parametrization.pyx", line 4105, in viktor.parametrization._Group._generate
  File "viktor\\parametrization.pyx", line 4105, in viktor.parametrization._Group._generate
  File "viktor\\parametrization.pyx", line 1065, in viktor.parametrization.DynamicArray._generate
  File "viktor\\parametrization.pyx", line 2221, in viktor.parametrization._SelectField._generate
  File "viktor\\parametrization.pyx", line 2333, in viktor.parametrization._SelectField._handle_options_constraint    
  File "viktor\\parametrization.pyx", line 2262, in viktor.parametrization._SelectField._sanitize_and_check_options   
TypeError: 'NoneType' object is not iterable
2025-12-18 12:00:18.669 WARNING : Job (uid: 844456) completed in 9ms with errors

Expected Behavior

In the past I had no problem creating entities and never got this error message. My other apps don’t have this problem.

Hi Remi

Could we connect privately, so I could check out the Parametrization class?