Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #12977: Fix UnboundLocalError on host import via CSV file

Component User interface
Title Fix UnboundLocalError on host import via CSV file
Date Jul 14, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p8 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

If you used the option "Import hosts via CSV file" on page "Setup" - "Hosts" with option "Perform automatic service discovery" disabled, the following error "UnboundLocalError (local variable 'folder_path' referenced before assignment)" occured.

To the list of all Werks