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
    • Docs Text:
      Hide
      root@uat01:/home/airflow# pip list
      Package Version
      ---------------- ----------
      alembic 0.9.10
      amqp 2.4.1
      apache-airflow 1.10.3
      asn1crypto 0.24.0
      Babel 2.6.0
      bcrypt 3.1.6
      billiard 3.5.0.5
      bleach 2.1.4
      celery 4.1.1
      certifi 2018.11.29
      cffi 1.12.2
      chardet 3.0.4
      Click 7.0
      colorama 0.4.1
      configparser 3.5.3
      croniter 0.3.27
      cryptography 2.6.1
      defusedxml 0.5.0
      dill 0.2.9
      dnspython 1.16.0
      docutils 0.14
      enum34 1.1.6
      eventlet 0.24.1
      Flask 1.0.2
      Flask-Admin 1.5.3
      Flask-AppBuilder 1.12.3
      Flask-Babel 0.12.2
      Flask-Bcrypt 0.7.1
      Flask-Caching 1.3.3
      Flask-Login 0.4.1
      Flask-OpenID 1.2.5
      Flask-SQLAlchemy 2.3.2
      flask-swagger 0.2.13
      Flask-WTF 0.14.2
      flower 0.9.2
      funcsigs 1.0.0
      future 0.16.0
      gevent 1.4.0
      gitdb2 2.0.5
      GitPython 2.1.11
      greenlet 0.4.15
      gunicorn 19.9.0
      html5lib 1.0.1
      idna 2.8
      iso8601 0.1.12
      itsdangerous 1.1.0
      Jinja2 2.10
      json-merge-patch 0.2
      kombu 4.3.0
      ldap3 2.5.2
      librabbitmq 2.0.0
      lockfile 0.12.2
      lxml 4.3.2
      Mako 1.0.7
      Markdown 2.6.11
      MarkupSafe 1.1.1
      monotonic 1.5
      numpy 1.16.2
      ordereddict 1.1
      pandas 0.24.1
      pendulum 1.4.4
      pip 19.1
      psutil 5.5.1
      psycopg2 2.7.7
      psycopg2-binary 2.7.7
      pyasn1 0.4.5
      pycparser 2.19
      pycurl 7.43.0
      Pygments 2.3.1
      pygobject 3.20.0
      pymssql 2.1.4
      python-apt 0.0.0
      python-daemon 2.1.2
      python-dateutil 2.8.0
      python-debian 0.1.23
      python-editor 1.0.4
      python-nvd3 0.15.0
      python-slugify 2.0.1
      python-systemd 0.0.9
      python3-openid 3.1.0
      pytz 2018.9
      pytzdata 2018.9
      PyYAML 3.13
      redis 2.10.6
      requests 2.21.0
      setproctitle 1.1.10
      setuptools 20.7.0
      six 1.10.0
      slackclient 1.3.1
      smmap2 2.0.5
      SQLAlchemy 1.2.18
      ssh-import-id 5.5
      tabulate 0.8.2
      tenacity 4.12.0
      text-unidecode 1.2
      thrift 0.11.0
      tornado 5.1.1
      tzlocal 1.5.1
      unicodecsv 0.14.1
      Unidecode 1.0.23
      urllib3 1.24.1
      vine 1.2.0
      webencodings 0.5.1
      websocket-client 0.54.0
      Werkzeug 0.14.1
      wheel 0.29.0
      WTForms 2.2.1
      zope.deprecation 4.4.0
      Show
      root@uat01 :/home/airflow# pip list Package Version ---------------- ---------- alembic 0.9.10 amqp 2.4.1 apache-airflow 1.10.3 asn1crypto 0.24.0 Babel 2.6.0 bcrypt 3.1.6 billiard 3.5.0.5 bleach 2.1.4 celery 4.1.1 certifi 2018.11.29 cffi 1.12.2 chardet 3.0.4 Click 7.0 colorama 0.4.1 configparser 3.5.3 croniter 0.3.27 cryptography 2.6.1 defusedxml 0.5.0 dill 0.2.9 dnspython 1.16.0 docutils 0.14 enum34 1.1.6 eventlet 0.24.1 Flask 1.0.2 Flask-Admin 1.5.3 Flask-AppBuilder 1.12.3 Flask-Babel 0.12.2 Flask-Bcrypt 0.7.1 Flask-Caching 1.3.3 Flask-Login 0.4.1 Flask-OpenID 1.2.5 Flask-SQLAlchemy 2.3.2 flask-swagger 0.2.13 Flask-WTF 0.14.2 flower 0.9.2 funcsigs 1.0.0 future 0.16.0 gevent 1.4.0 gitdb2 2.0.5 GitPython 2.1.11 greenlet 0.4.15 gunicorn 19.9.0 html5lib 1.0.1 idna 2.8 iso8601 0.1.12 itsdangerous 1.1.0 Jinja2 2.10 json-merge-patch 0.2 kombu 4.3.0 ldap3 2.5.2 librabbitmq 2.0.0 lockfile 0.12.2 lxml 4.3.2 Mako 1.0.7 Markdown 2.6.11 MarkupSafe 1.1.1 monotonic 1.5 numpy 1.16.2 ordereddict 1.1 pandas 0.24.1 pendulum 1.4.4 pip 19.1 psutil 5.5.1 psycopg2 2.7.7 psycopg2-binary 2.7.7 pyasn1 0.4.5 pycparser 2.19 pycurl 7.43.0 Pygments 2.3.1 pygobject 3.20.0 pymssql 2.1.4 python-apt 0.0.0 python-daemon 2.1.2 python-dateutil 2.8.0 python-debian 0.1.23 python-editor 1.0.4 python-nvd3 0.15.0 python-slugify 2.0.1 python-systemd 0.0.9 python3-openid 3.1.0 pytz 2018.9 pytzdata 2018.9 PyYAML 3.13 redis 2.10.6 requests 2.21.0 setproctitle 1.1.10 setuptools 20.7.0 six 1.10.0 slackclient 1.3.1 smmap2 2.0.5 SQLAlchemy 1.2.18 ssh-import-id 5.5 tabulate 0.8.2 tenacity 4.12.0 text-unidecode 1.2 thrift 0.11.0 tornado 5.1.1 tzlocal 1.5.1 unicodecsv 0.14.1 Unidecode 1.0.23 urllib3 1.24.1 vine 1.2.0 webencodings 0.5.1 websocket-client 0.54.0 Werkzeug 0.14.1 wheel 0.29.0 WTForms 2.2.1 zope.deprecation 4.4.0

      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:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: