Open dertown opened 2 years ago
Thanks for the report.
Can you give me the following information:
cat /etc/os-release
Are you using the SDL Card or did you spin your own?
I'm thinking this is a version problem, since we aren't seeing the error.
BP
I spun my own sd card.
cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Thanks. It is definitely a version problem and we will add it to our bug list. We will try to duplicate it next.
Hi Support I spun my own sd card.
cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
On 3/27/2022 12:36:04 PM, SwitchDoc Labs @.> wrote: Thanks for the report. Can you give me the following information: cat /etc/os-release Are you using the SDL Card or did you spin your own? I'm thinking this is a version problem, since we aren't seeing the error. BP — Reply to this email directly, view it on GitHub [https://github.com/switchdoclabs/SDL_Pi_SmartGarden3/issues/1#issuecomment-1079966404], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AKR7AUCZPQLUD6UNBYZZUNTVCCE7DANCNFSM5RYQZBIA]. You are receiving this because you authored the thread.Message ID: @.> [0dab4b07-bfd8-4e53-ba95-2fd3a4780cd9]
I also think it is a version problem, having had the same issue, with dash-bootstrap-components. git loads latest at version 2.x I believe and gutter was deprecated after version 1.13 from my memory. Having loaded dash-bootstrap-components at <2 , the problem clears but leads to other problems. with dash, in fact there are several files which all need to be versioned correctly to display the graphics with the python files. Is there a way to list the versions that are on the working SD card. I had bought a copy but mine stopped working and I cleared the card and started again.
When running the index.py. The status page gives an error in the command line and the page does not render
begin= 2022-03-27 10:27:05 pathname= /status_page previousPathname= /hydroponics_page i= ['url.pathname'] TRIGGER(S): ['url.pathname'] [2022-03-27 10:27:05,410] ERROR in app: Exception on /_dash-update-component [POST] Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2073, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1518, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1516, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1502, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(req.view_args) File "/usr/local/lib/python3.7/dist-packages/dash/dash.py", line 1344, in dispatch response.set_data(func(args, outputs_list=outputs_list)) File "/usr/local/lib/python3.7/dist-packages/dash/_callback.py", line 151, in add_context output_value = func(func_args, func_kwargs) # %% callback invoked %% File "index.py", line 154, in display_page myLayout = status_page.StatusPage() File "/home/pi/SwitchDoc/SDL_Pi_SmartGarden3/dash_app/status_page.py", line 808, in StatusPage no_gutters=True, File "/usr/local/lib/python3.7/dist-packages/dash/development/base_component.py", line 425, in wrapper return func(*args, kwargs) File "/usr/local/lib/python3.7/dist-packages/dash_bootstrap_components/_components/Row.py", line 76, in init super(Row, self).init(children=children, args) File "/usr/local/lib/python3.7/dist-packages/dash/development/base_component.py", line 138, in init ", ".join(sorted(self._prop_names)) TypeError: The
dash_bootstrap_components.Row
component (version 1.0.3) received an unexpected keyword argument:no_gutters
Allowed arguments: align, children, className, class_name, id, justify, key, loading_state, style