feng-tao commented on issue #4396: [AIRFLOW-3585] - Add edges to database
URL: https://github.com/apache/airflow/pull/4396#issuecomment-465005405
 
 
   @astahlman , when you have time, could you check out this latest branch?
   
   @ffinfo , I tried to build your branch on my local mac, but got:
   ```
   Traceback (most recent call last):
     File "/Users/tfeng/playground/incubator-airflow/venv/bin/airflow", line 
21, in <module>
       from airflow import configuration
     File "/Users/tfeng/playground/incubator-airflow/airflow/__init__.py", line 
36, in <module>
       from airflow import settings, configuration as conf
     File "/Users/tfeng/playground/incubator-airflow/airflow/settings.py", line 
257, in <module>
       logging_class_path = configure_logging()
     File 
"/Users/tfeng/playground/incubator-airflow/airflow/logging_config.py", line 67, 
in configure_logging
       dictConfig(logging_config)
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/config.py",
 line 794, in dictConfig
       dictConfigClass(config).configure()
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/config.py",
 line 568, in configure
       handler = self.configure_handler(handlers[name])
     File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/config.py",
 line 733, in configure_handler
       result = factory(**kwargs)
     File 
"/Users/tfeng/playground/incubator-airflow/airflow/utils/log/file_processor_handler.py",
 line 46, in __init__
       parse_template_string(filename_template)
     File "/Users/tfeng/playground/incubator-airflow/airflow/utils/helpers.py", 
line 297, in parse_template_string
       return None, Template(template_string)
     File 
"/Users/tfeng/playground/incubator-airflow/venv/lib/python2.7/site-packages/Jinja2-2.8.1-py2.7.egg/jinja2/environment.py",
 line 926, in __new__
       return env.from_string(source, template_class=cls)
     File 
"/Users/tfeng/playground/incubator-airflow/venv/lib/python2.7/site-packages/Jinja2-2.8.1-py2.7.egg/jinja2/environment.py",
 line 862, in from_string
       return cls.from_code(self, self.compile(source), globals, None)
     File 
"/Users/tfeng/playground/incubator-airflow/venv/lib/python2.7/site-packages/Jinja2-2.8.1-py2.7.egg/jinja2/environment.py",
 line 565, in compile
       self.handle_exception(exc_info, source_hint=source_hint)
     File 
"/Users/tfeng/playground/incubator-airflow/venv/lib/python2.7/site-packages/Jinja2-2.8.1-py2.7.egg/jinja2/environment.py",
 line 754, in handle_exception
       reraise(exc_type, exc_value, tb)
     File "<unknown>", line 1, in template
   jinja2.exceptions.TemplateSyntaxError: expected token ':', got '}'
   ```
   Do you have any idea how to resolve it?
   
   and regarding the button, will this "show graph latest from DAG file" button 
be exist in the graph view even there are DAG runs? Not very clear by reading 
code, but I could not build your branch on my local.  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to