Custom video_xblock not working on quince release

I was using https://github.com/appsembler/xblock-video on lilac and it was working fine.
I am trying my xblock installation with the latest quince release.
But on installing the video_xblock, gives the following error

Traceback (most recent call last):
tutor_local-cms-1  |   File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 55, in inner
tutor_local-cms-1  |     response = get_response(request)
tutor_local-cms-1  |   File "/openedx/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 197, in _get_response
tutor_local-cms-1  |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
tutor_local-cms-1  |   File "/opt/pyenv/versions/3.8.18/lib/python3.8/contextlib.py", line 75, in inner
tutor_local-cms-1  |     return func(*args, **kwds)
tutor_local-cms-1  |   File "/openedx/venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapper_view
tutor_local-cms-1  |     return view_func(request, *args, **kwargs)
tutor_local-cms-1  |   File "/openedx/edx-platform/./cms/djangoapps/contentstore/views/course.py", line 308, in course_handler
tutor_local-cms-1  |     return course_index(request, CourseKey.from_string(course_key_string))
tutor_local-cms-1  |   File "/openedx/venv/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapper_view
tutor_local-cms-1  |     return view_func(request, *args, **kwargs)
tutor_local-cms-1  |   File "/openedx/venv/lib/python3.8/site-packages/django/utils/decorators.py", line 134, in _wrapper_view
tutor_local-cms-1  |     response = view_func(request, *args, **kwargs)
tutor_local-cms-1  |   File "/openedx/edx-platform/./cms/djangoapps/contentstore/views/course.py", line 626, in course_index
tutor_local-cms-1  |     course_block = get_course_and_check_access(course_key, request.user, depth=None)
tutor_local-cms-1  |   File "/openedx/edx-platform/./cms/djangoapps/contentstore/views/course.py", line 161, in get_course_and_check_access
tutor_local-cms-1  |     course_block = modulestore().get_course(course_key, depth=depth)
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 90, in inner
tutor_local-cms-1  |     retval = func(field_decorator=strip_key_collection, *args, **kwargs)
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 413, in get_course
tutor_local-cms-1  |     return store.get_course(course_key, depth=depth, **kwargs)
tutor_local-cms-1  |   File "/opt/pyenv/versions/3.8.18/lib/python3.8/contextlib.py", line 75, in inner
tutor_local-cms-1  |     return func(*args, **kwds)
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split_draft.py", line 61, in get_course
tutor_local-cms-1  |     return super().get_course(course_id, depth=depth, **kwargs)
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 1105, in get_course
tutor_local-cms-1  |     return self._get_structure(course_id, depth, **kwargs)
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 1095, in _get_structure
tutor_local-cms-1  |     result = self._load_items(structure_entry, [root], depth, **kwargs)
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 771, in _load_items
tutor_local-cms-1  |     runtime = self.create_runtime(course_entry, lazy)
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 3297, in create_runtime
tutor_local-cms-1  |     return CachingDescriptorSystem(
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/modulestore/split_mongo/caching_descriptor_system.py", line 63, in __init__
tutor_local-cms-1  |     super().__init__(
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/mako_block.py", line 16, in __init__
tutor_local-cms-1  |     super().__init__(**kwargs)
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/x_module.py", line 1376, in __init__
tutor_local-cms-1  |     super().__init__(**kwargs)
tutor_local-cms-1  |   File "/openedx/edx-platform/xmodule/x_module.py", line 934, in __init__
tutor_local-cms-1  |     super().__init__(**kwargs)
tutor_local-cms-1  |   File "/openedx/venv/lib/python3.8/site-packages/xblock/runtime.py", line 569, in __init__
tutor_local-cms-1  |     self.user_id = None
tutor_local-cms-1  | AttributeError: can't set attribute

Can someone please tell me, why this is happening?

How did you install the xblock? If you have it as a file in a forked repo make sure you update that file to the latest version supported by quince. Also note that quince changed the way it install extra plugins and xblocks as can be seen in their release notes now.

I copied it into my docker containers and pip installed it.
That is the standard way, as per my knowledge.

There is nothing that needs changing as far as xblocks are concerned i think, as i do have some xblocks that ran fine with v12 lilac, and run fine in v17 quince too.
I suspect the problem is with appsembler’s xblock-video fork and its compatibility with quince release.

Though what you said about the plugins, i will look into that.
Thanks :slight_smile: