This error message suggests that you are trying to access an attribute named 'memo_items' on an instance of the 'CalendarExample' class, but that attribute does not exist.

There are a few possible reasons why this error might be occurring:

  1. The 'memo_items' attribute was never defined in the 'CalendarExample' class. In this case, you will need to add a new attribute to the class definition that corresponds to the 'memo_items' data.

  2. The 'memo_items' attribute was defined in the 'CalendarExample' class, but it was not initialized properly when creating an instance of the class. In this case, you will need to make sure that the attribute is properly initialized when creating new instances of the 'CalendarExample' class.

  3. There is a typo in the attribute name. Make sure that the attribute name is spelled correctly and matches the name used in the code.

To fix this error, you will need to identify which of these scenarios applies to your code and make the necessary changes to define or initialize the 'memo_items' attribute correctly

CalendarExample object has no attribute memo_items

原文地址: https://www.cveoy.top/t/topic/hodK 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录