I have been developing my own Xblock to install on our Open edX instance. The Xblock displays properly in the preview, however when I click edit, it says “We’re having trouble rendering your component”. I have checked the logs but I can find no error in them. I pasted the logs here just incase I am overlooking something. Does anyone have an idea on how I can properly debug or fix this issue?
cms_1 | 2022-04-15 17:00:51,129 INFO 7 [tracking] [user 4] [ip 172.18.0.1] logger.py:41 - {"name": "/xblock/", "context": {"user_id": 4, "path": "/xblock/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "empowr", "session": "88931a9352426436ff252c40fd45d31e", "ip": "172.18.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36", "host": "studio.local.overhang.io", "referer": "http://studio.local.overhang.io/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-04-15T17:00:51.128776+00:00", "event_type": "/xblock/", "event_source": "server", "page": null}
cms_1 | [pid: 7|app: 0|req: 39/225] 172.18.0.4 () {56 vars in 2313 bytes} [Fri Apr 15 17:00:51 2022] POST /xblock/ => generated 155 bytes in 40 msecs (HTTP/1.1 200) 6 headers in 298 bytes (1 switches on core 0)
cms_1 | 2022-04-15 17:00:51,173 INFO 21 [tracking] [user 4] [ip 172.18.0.1] logger.py:41 - {"name": "/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/reorderable_container_child_preview", "context": {"user_id": 4, "path": "/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/reorderable_container_child_preview", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "empowr", "session": "88931a9352426436ff252c40fd45d31e", "ip": "172.18.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36", "host": "studio.local.overhang.io", "referer": "http://studio.local.overhang.io/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"_\": [\"1650042025263\"]}, \"POST\": {}}", "time": "2022-04-15T17:00:51.173056+00:00", "event_type": "/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/reorderable_container_child_preview", "event_source": "server", "page": null}
cms_1 | [pid: 21|app: 0|req: 46/226] 172.18.0.4 () {50 vars in 2443 bytes} [Fri Apr 15 17:00:51 2022] GET /xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/reorderable_container_child_preview?_=1650042025263 => generated 17681 bytes in 63 msecs (HTTP/1.1 200) 7 headers in 468 bytes (1 switches on core 0)
cms_1 | 2022-04-15 17:00:51,259 INFO 7 [tracking] [user 4] [ip 172.18.0.1] logger.py:41 - {"name": "/preview/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/handler/has_problem_solution", "context": {"user_id": 4, "path": "/preview/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/handler/has_problem_solution", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "empowr", "session": "88931a9352426436ff252c40fd45d31e", "ip": "172.18.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36", "host": "studio.local.overhang.io", "referer": "http://studio.local.overhang.io/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {\"{}\": [\"\"]}}", "time": "2022-04-15T17:00:51.259628+00:00", "event_type": "/preview/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/handler/has_problem_solution", "event_source": "server", "page": null}
cms_1 | 2022-04-15 17:00:51,259 INFO 21 [tracking] [user 4] [ip 172.18.0.1] logger.py:41 - {"name": "/preview/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/handler/get_problem_description", "context": {"user_id": 4, "path": "/preview/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/handler/get_problem_description", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "empowr", "session": "88931a9352426436ff252c40fd45d31e", "ip": "172.18.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36", "host": "studio.local.overhang.io", "referer": "http://studio.local.overhang.io/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {\"{}\": [\"\"]}}", "time": "2022-04-15T17:00:51.259685+00:00", "event_type": "/preview/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/handler/get_problem_description", "event_source": "server", "page": null}
cms_1 | [pid: 7|app: 0|req: 40/227] 172.18.0.4 () {56 vars in 2574 bytes} [Fri Apr 15 17:00:51 2022] POST /preview/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/handler/has_problem_solution => generated 69 bytes in 26 msecs (HTTP/1.1 200) 5 headers in 268 bytes (1 switches on core 0)
cms_1 | [pid: 21|app: 0|req: 47/228] 172.18.0.4 () {56 vars in 2580 bytes} [Fri Apr 15 17:00:51 2022] POST /preview/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/handler/get_problem_description => generated 73 bytes in 27 msecs (HTTP/1.1 200) 5 headers in 268 bytes (1 switches on core 0)
cms_1 | 2022-04-15 17:00:51,288 INFO 7 [tracking] [user 4] [ip 172.18.0.1] logger.py:41 - {"name": "/xblock/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d", "context": {"user_id": 4, "path": "/xblock/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "empowr", "session": "88931a9352426436ff252c40fd45d31e", "ip": "172.18.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36", "host": "studio.local.overhang.io", "referer": "http://studio.local.overhang.io/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2022-04-15T17:00:51.288187+00:00", "event_type": "/xblock/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d", "event_source": "server", "page": null}
cms_1 | [pid: 7|app: 0|req: 41/229] 172.18.0.4 () {50 vars in 2384 bytes} [Fri Apr 15 17:00:51 2022] GET /xblock/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d => generated 11994 bytes in 54 msecs (HTTP/1.1 200) 6 headers in 300 bytes (1 switches on core 0)
cms_1 | 2022-04-15 17:00:54,494 INFO 21 [tracking] [user 4] [ip 172.18.0.1] logger.py:41 - {"name": "/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/studio_view", "context": {"user_id": 4, "path": "/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/studio_view", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "empowr", "session": "88931a9352426436ff252c40fd45d31e", "ip": "172.18.0.1", "agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36", "host": "studio.local.overhang.io", "referer": "http://studio.local.overhang.io/container/block-v1:edX+DemoX+Demo_Course+type@vertical+block@33487545aa9a4e158942bf15c37d3a7d", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {\"_\": [\"1650042025270\"]}, \"POST\": {}}", "time": "2022-04-15T17:00:54.494093+00:00", "event_type": "/xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/studio_view", "event_source": "server", "page": null}
cms_1 | [pid: 21|app: 0|req: 48/230] 172.18.0.4 () {50 vars in 2395 bytes} [Fri Apr 15 17:00:54 2022] GET /xblock/block-v1:edX+DemoX+Demo_Course+type@swiftplugin+block@fb7fe1f9a4c4477bbc2224736b0cf85c/studio_view?_=1650042025270 => generated 488 bytes in 45 msecs (HTTP/1.1 200) 7 headers in 466 bytes (1 switches on core 0)