-
Bug
-
Resolution: Fixed
-
Critical
-
None
With current HEAD of agl-demo-control-panel (i.e. commit 9af16ad) , I get the following exception when trying to run it:
Traceback (most recent call last): File "/home/scottm/dev/agl/agl-demo-control-panel/main.py", line 17, in <module> from Widgets.Dashboard import Dashboard File "/home/scottm/dev/agl/agl-demo-control-panel/Widgets/Dashboard.py", line 18, in <module> from extras.FeedKuksa import FeedKuksa File "/home/scottm/dev/agl/agl-demo-control-panel/extras/FeedKuksa.py", line 21, in <module> from . import UI_Handeler File "/home/scottm/dev/agl/agl-demo-control-panel/extras/UI_Handeler.py", line 17, in <module> from main import * File "/home/scottm/dev/agl/agl-demo-control-panel/main.py", line 17, in <module> from Widgets.Dashboard import Dashboard ImportError: cannot import name 'Dashboard' from partially initialized module 'Widgets.Dashboard' (most likely due to a circular import) (/home/scottm/dev/agl/agl-demo-control-panel/Widgets/Dashboard.py)
This is on my Fedora desktop where it worked on Thursday with a tree that was effectively at commit 20fe2d13 (I had cherry-picked that from Gerrit to test). Given how much is in commit 9af16ad to attempt to unpick, it may be better if you do not update changes in Gerrit with multiple fixes and try to stick with one functional change per commit even if that's more review load for us.