Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-4431

Gantt chart tab do not showing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.10.3
    • Fix Version/s: None
    • Component/s: webserver
    • Labels:
    • Environment:
      Ubuntu 16
      Python 3.5.2

      Description

      There is an error when opening Gantt chart in WebUI

      Traceback (most recent call last):
        File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 2292, in wsgi_app
          response = self.full_dispatch_request()
        File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1815, in full_dispatch_request
          rv = self.handle_user_exception(e)
        File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1718, in handle_user_exception
          reraise(exc_type, exc_value, tb)
        File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 35, in reraise
          raise value
        File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1813, in full_dispatch_request
          rv = self.dispatch_request()
        File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1799, in dispatch_request
          return self.view_functions[rule.endpoint](**req.view_args)
        File "/usr/local/lib/python3.5/dist-packages/flask_admin/base.py", line 69, in inner
          return self._run_view(f, *args, **kwargs)
        File "/usr/local/lib/python3.5/dist-packages/flask_admin/base.py", line 368, in _run_view
          return fn(self, *args, **kwargs)
        File "/usr/local/lib/python3.5/dist-packages/flask_login/utils.py", line 261, in decorated_view
          return func(*args, **kwargs)
        File "/usr/local/lib/python3.5/dist-packages/airflow/www/utils.py", line 275, in wrapper
          return f(*args, **kwargs)
        File "/usr/local/lib/python3.5/dist-packages/airflow/utils/db.py", line 73, in wrapper
          return func(*args, **kwargs)
        File "/usr/local/lib/python3.5/dist-packages/airflow/www/views.py", line 1988, in gantt
          'startDate': wwwutils.epoch(start_date),
        File "/usr/local/lib/python3.5/dist-packages/airflow/www/utils.py", line 245, in epoch
          return int(time.mktime(dttm.timetuple())) * 1000,
      AttributeError: 'NoneType' object has no attribute 'timetuple'
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                diederikwp Diederik Perdok
                Reporter:
                kotyara Dmytro Kulyk
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: