charles-001 / dolphie

Your single pane of glass for real-time analytics into MySQL/MariaDB & ProxySQL
https://pypi.org/project/dolphie/
GNU General Public License v3.0
651 stars 40 forks source link

AttributeError: 'Dolphie' object has no attribute 'notify' #57

Closed felimwhiteley closed 7 months ago

felimwhiteley commented 7 months ago

Heya,

Installed via pip on ubuntu 22.04 (Python 3.10), I got past it by commenting out the dolphie.notify but I'm sure it'll be more obvious to you how to fix it properly. Sorry with the formatting below!

│ /home/felim/VENV/dolphie/lib/python3.10/site-packages/dolphie/Panels/processlist_panel.py:15 in create_panel │ │ │ │ 12 │ dolphie = tab.dolphie
│ 13 │ │ │ 14 │ if not dolphie.performance_schema_enabled and dolphie.use_performance_schema: │ ❱ 15 │ │ dolphie.notify("Performance Schema is not enabled on this host, using Informatio
│ 16 │ │ dolphie.use_performance_schema = False
│ 17 │ │ │ 18 │ columns = [

felimwhiteley commented 7 months ago

Sorry Dolphie version 4.3.1, MariaDB 10.6.16

charles-001 commented 7 months ago

Hi @felimwhiteley - I'm away on vacation atm, but I'll look into this when I'm back this weekend. Thanks for your bug report!

charles-001 commented 7 months ago

Hi @felimwhiteley - I see the issue here. I've fixed the code for the next version I release which should be soon. Thanks again!

charles-001 commented 7 months ago

New version is released, please let me know if it works for you now :)

felimwhiteley commented 7 months ago

Sorted! Thank you! :-)