Q:

kivy: __init__() is missing x required positional arguments

I have the class Movie as follows:
class Movie(Widget):
    def __init__(self, title, image, time, description, trailer, fsk, threeD, **kwargs):
        super(Movie, self).__init__(title, image, time, description, trailer, fsk, threeD, **kwargs)
        title = StringProperty()
        image = StringProperty()
        time = StringProperty()
        description = StringProperty()
        trailer = StringProperty()
        fsk = NumericProperty()
        threeD = BooleanProperty()

When I run my script Python interpreter tells me this:
TypeError: __init__() missing 7 required positional arguments: 'title', 'image', 'time', 'description', 'trailer', 'fsk', and 'threeD'

So what am I doing wrong? I struggle with this some time already.

Whole source code relevant to this issue:
class Movie(Widget):
    def __init__(self, title, image, time, description, trailer, fsk, threeD, **kwargs):
        super(Movie, self).__init__(title, image, time, description, trailer, fsk, threeD, **kwargs)
        title = StringProperty()
        image = StringProperty()
        time = StringProperty()
        description = StringProperty()
        trailer = StringProperty()
        fsk = NumericProperty()
        threeD = BooleanProperty()

class MainView(Widget):
    def __init__(self, **kwargs):
        super(MainView, self).__init__(**kwargs)
        movies = ListProperty()
        # movies = self.getMovies()
        # for movie in movies:
        #   self.add_widget(movie)

    def getMovies(self, url="http://.../"):
        html = lxml.html.parse(url)
        titles = html.xpath("//h5")
        times = html.xpath("//td[@class='pday ptoday']/span/a")
        trailers = html.xpath("//a[@data-modal-trailer-url]/@data-modal-trailer-url")
        fsks = html.xpath("//tr[@data-fsk]/@data-fsk")
        movies = list()
        # for i in range(0, len(titles)):
        #   movie = Movie(titles[i].text, "images[i]", times[i].text, "", "https:" + trailers[i][:-11], fsks[i], "no")
        #   movies.append(movie)
        return movies

A:

I've found out that the kv-lang-file was the reason for this object initialization error. So I don't know how to fix it but I think that is an other question as this is about why __init__ is being called

