Mastermjr commented on issue #37577:
URL: https://github.com/apache/airflow/issues/37577#issuecomment-3315185796

   is there anyway to add this to the documentation? this was affecting me as I 
had an expand -> a virtual environment operator and I  kept getting tripped up 
on this error: 
   
   ```python
   [2025-09-20, 07:00:42 UTC] {process_utils.py:190} INFO - Output:
   [2025-09-20, 07:00:43 UTC] {process_utils.py:194} INFO - Traceback (most 
recent call last):
   [2025-09-20, 07:00:43 UTC] {process_utils.py:194} INFO -   File 
"/tmp/venv-callvlnkqizi/script.py", line 49, in <module>
   [2025-09-20, 07:00:43 UTC] {process_utils.py:194} INFO -     arg_dict = 
pickle.load(file)
   [2025-09-20, 07:00:43 UTC] {process_utils.py:194} INFO -                
^^^^^^^^^^^^^^^^^
   [2025-09-20, 07:00:43 UTC] {process_utils.py:194} INFO - 
ModuleNotFoundError: No module named 'airflow.models'
   [2025-09-20, 07:00:43 UTC] {taskinstance.py:3336} ERROR - Task failed with 
exception
   ```
   
   I think because as the post says the airflow xcom is not actually unpacked 
before executing the virtual environment + script
   
   this is a bug and still present in 2.11.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to