-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Running executable fails #2962
Comments
@kenzabenjelloun could you share the opentelemetry-api and opentelemetry-sdk version installed in your running env? Also, could you share the promptflow related package version in your environment and how you install these promptflow packages? |
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you! |
Hello ! When trying to run an executable of python scripts that uses a flow as function (not using the pf build command), I got the following error with pf 1.9.0 :
"Traceback (most recent call last): File "prepdocs.py", line 3, in File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "commands\doc_index.py", line 9, in File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "promptflow_init.py", line 19, in from promptflow._sdk._pf_client import PFClient as _PFClient File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "promptflow_sdk_pf_client.py", line 23, in from .operations import RunOperations File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "promptflow_sdk\operations_init.py", line 7, in from ._flow_operations import FlowOperations File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "promptflow_sdk\operations_flow_operations.py", line 34, in from promptflow._sdk._orchestrator import TestSubmitter File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "promptflow_sdk_orchestrator_init.py", line 5, in from .test_submitter import TestSubmitter File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "promptflow_sdk_orchestrator\test_submitter.py", line 15, in from promptflow._internal import ConnectionManager File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "promptflow_internal_init.py", line 104, in from promptflow.core._serving.utils import ( File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "promptflow\core_serving\utils.py", line 14, in from opentelemetry.propagate import extract, set_global_textmap File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "opentelemetry\propagate_init.py", line 148, in raise ValueError( ValueError: Propagator tracecontext not found. It is either misspelled or not installed. "
But it works with pf 1.5 !
The text was updated successfully, but these errors were encountered: