You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (Jira)" <ji...@apache.org> on 2019/12/10 21:23:00 UTC

[jira] [Closed] (AIRFLOW-2580) Conflict with imported package

     [ https://issues.apache.org/jira/browse/AIRFLOW-2580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ash Berlin-Taylor closed AIRFLOW-2580.
--------------------------------------
    Resolution: Cannot Reproduce

You haven't given us enough info to reproduce or help you debug this (sorry, massively old issue I know.)

> Conflict with imported package
> ------------------------------
>
>                 Key: AIRFLOW-2580
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2580
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webserver
>    Affects Versions: 1.9.0
>         Environment: Python 3.6, RHEL 7
>            Reporter: Stephen Omondi Otieno Anyango
>            Priority: Major
>
> I have a package that I call within a DAG as 
> from pdbecommon.utils import function_name
> The function sources a file and adds the declared variables to os.environ. Nothing fancy.
> When I run airflow webserver, I get the error:
> Logfiles:. ../airflow/logs/ws-access.log .../airflow/logs/ws-error.log
> =================================================================
> Error: No module named airflow.[www.gunicorn_config|http://www.gunicorn_config/]
>  
>  
> When I run in debug mode (airflow webserver --debug) it works.
> When I remove the import above from the dag, and uninstall the package, it works. 
> Is there a possibility of a conflict in dag import 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)