Error selecting video component to delete / modify

What I’m trying to do:

I have a video_player component. I’m trying to delete it.

What I’ve tried and what’s not working:

I can’t select it by either clicking on it in the designer or in the component list on the right. When I click on it I get the error below…

Design Output Terminal Error

RecursionError: Maximum call stack size exceeded

  • at app/Video_Player/video/__init__.py:24
  • called from app/Video_Player/video/__init__.py:24
  • called from app/Video_Player/video/__init__.py:24
  • called from app/Video_Player/video/__init__.py:24
  • called from app/Video_Player/video/__init__.py:24

Could you provide a clone link of the app you’re working on
and steps to reproduce the issue

A code snippet of where the error is occurring might be enough for others to help.
See your stack trace,
what’s at line app/Video_Player/video/__init__.py:24 ?

If you click on the ‘About’ form then try and select the video_player component.

You csnt actually select it.

Have you checked the dependency the video player is coming from? Since I don’t have the dependency that’s about all anyone can guess right now.

here’s a link to the video dependency

your vide component has this property on line 24

  @property
  def source(self):
    '''The source of Video Component'''
    return self.source

which is an infinite loop

it should probably be

  @property
  def source(self):
    '''The source of Video Component'''
    return self.video_dom.src
2 Likes

Thanks yeah i’ve got to the bottom of this now.

Because the component work and the video played i didnt come across this bug when i first made the custom component.

Thank you so much :slight_smile:

1 Like