Skip to content
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

Closed
kenzabenjelloun opened this issue Apr 23, 2024 · 2 comments
Closed

[BUG] Running executable fails #2962

kenzabenjelloun opened this issue Apr 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working no-recent-activity There has been no recent activity on this issue/pull request

Comments

@kenzabenjelloun
Copy link

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 !

@kenzabenjelloun kenzabenjelloun added the bug Something isn't working label Apr 23, 2024
@wxpjimmy
Copy link
Contributor

wxpjimmy commented Apr 24, 2024

@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?

Copy link

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!

@github-actions github-actions bot added the no-recent-activity There has been no recent activity on this issue/pull request label May 24, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-recent-activity There has been no recent activity on this issue/pull request
Projects
None yet
Development

No branches or pull requests

2 participants