[GH-ISSUE #2] object has no attribute 'theme_cls' #1

Closed
opened 2026-03-13 15:15:27 +03:00 by kerem · 2 comments
Owner

Originally created by @gnu-like on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/absadiki/whatsapp-msgstore-viewer/issues/2

[ERROR  ] [whatsappMsgstoreViewer] Error when building app
Traceback (most recent call last):
  File "/home/linux/.local/lib/python3.9/site-packages/kivymd/tools/hotreload/app.py", line 284, in rebuild
    self.approot = self.build_app()
  File "/home/linux/whatsapp-msgstore-viewer/main.py", line 136, in build_app
    controller = screens[name_screen]["controller"](model)
  File "/home/linux/whatsapp-msgstore-viewer/Controller/login_screen.py", line 26, in __init__
    self.view = View.LoginScreen.login_screen.LoginScreenView(controller=self, model=self.model)
  File "/home/linux/whatsapp-msgstore-viewer/View/LoginScreen/login_screen.py", line 125, in __init__
    text_color=self.theme_cls.primary_color,
AttributeError: 'LoginScreenView' object has no attribute 'theme_cls'
 Traceback (most recent call last):
   File "/home/linux/whatsapp-msgstore-viewer/main.py", line 162, in <module>
     whatsappMsgstoreViewer().run()
   File "/home/linux/.local/lib/python3.9/site-packages/kivy/app.py", line 955, in run
     self._run_prepare()
   File "/home/linux/.local/lib/python3.9/site-packages/kivy/app.py", line 925, in _run_prepare
     root = self.build()
   File "/home/linux/.local/lib/python3.9/site-packages/kivymd/tools/hotreload/app.py", line 195, in build
     self.rebuild(first=True)
   File "/home/linux/.local/lib/python3.9/site-packages/kivymd/tools/hotreload/app.py", line 284, in rebuild
     self.approot = self.build_app()
   
Originally created by @gnu-like on GitHub (Nov 3, 2023). Original GitHub issue: https://github.com/absadiki/whatsapp-msgstore-viewer/issues/2 ``` [ERROR ] [whatsappMsgstoreViewer] Error when building app Traceback (most recent call last): File "/home/linux/.local/lib/python3.9/site-packages/kivymd/tools/hotreload/app.py", line 284, in rebuild self.approot = self.build_app() File "/home/linux/whatsapp-msgstore-viewer/main.py", line 136, in build_app controller = screens[name_screen]["controller"](model) File "/home/linux/whatsapp-msgstore-viewer/Controller/login_screen.py", line 26, in __init__ self.view = View.LoginScreen.login_screen.LoginScreenView(controller=self, model=self.model) File "/home/linux/whatsapp-msgstore-viewer/View/LoginScreen/login_screen.py", line 125, in __init__ text_color=self.theme_cls.primary_color, AttributeError: 'LoginScreenView' object has no attribute 'theme_cls' Traceback (most recent call last): File "/home/linux/whatsapp-msgstore-viewer/main.py", line 162, in <module> whatsappMsgstoreViewer().run() File "/home/linux/.local/lib/python3.9/site-packages/kivy/app.py", line 955, in run self._run_prepare() File "/home/linux/.local/lib/python3.9/site-packages/kivy/app.py", line 925, in _run_prepare root = self.build() File "/home/linux/.local/lib/python3.9/site-packages/kivymd/tools/hotreload/app.py", line 195, in build self.rebuild(first=True) File "/home/linux/.local/lib/python3.9/site-packages/kivymd/tools/hotreload/app.py", line 284, in rebuild self.approot = self.build_app() ```
kerem closed this issue 2026-03-13 15:15:32 +03:00
Author
Owner

@absadiki commented on GitHub (Nov 4, 2023):

@gnu-like, it looks like kivymd did some update that breaks the app.
Please reinstall the package, I have updated the requirements.txt file to use the specific commit hash which is working on my end.

<!-- gh-comment-id:1793569028 --> @absadiki commented on GitHub (Nov 4, 2023): @gnu-like, it looks like `kivymd` did some update that breaks the app. Please reinstall the package, I have updated the `requirements.txt` file to use the specific commit hash which is working on my end.
Author
Owner

@gnu-like commented on GitHub (Nov 8, 2023):

@gnu-like, it looks like kivymd did some update that breaks the app. Please reinstall the package, I have updated the requirements.txt file to use the specific commit hash which is working on my end.
@abdeladim-s thanks, solved

<!-- gh-comment-id:1801737648 --> @gnu-like commented on GitHub (Nov 8, 2023): > @gnu-like, it looks like `kivymd` did some update that breaks the app. Please reinstall the package, I have updated the `requirements.txt` file to use the specific commit hash which is working on my end. @abdeladim-s thanks, solved
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-msgstore-viewer#1
No description provided.