Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4942

Cannot run agl-demo-control-panel

XMLWordPrintable

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            suchinton2001 Suchinton Chakravarty
            scottm Scott Murray
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: