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

task with paddleOCR as object not starting (however gui shows it is running) #16501

Open
ramelito opened this issue Dec 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ramelito
Copy link

ramelito commented Dec 25, 2024

Bug summary

Having these flow and task prefect not starting task extract_some_text (no print output in the logs) actually however shows in gui task in working

@task(cache_policy=INPUTS + RUN_ID)
def extract_some_text(reader: ContainsNonSerializableObject):

	result="we are here"

	print(result)

	return result
	

@flow(log_prints=True)
def extractor():

    # init paddle OCR
    reader = ContainsNonSerializableObject(
        name="reader",
        bad_object=PaddleOCR(use_angle_cls=True, lang='en')
    )
	
	result = extract_some_text(reader=reader)

Version info

Version:             3.1.8
API version:         0.8.4
Python version:      3.12.3
Git commit:          53a83ebc
Built:               Tue, Dec 17, 2024 10:20 AM
OS/Arch:             linux/x86_64
Profile:             local
Server type:         server
Pydantic version:    2.9.2

Additional context

No response

@ramelito ramelito added the bug Something isn't working label Dec 25, 2024
@zzstoatzz
Copy link
Collaborator

hi @ramelito - I think we'll need some more information in order to understand what's going wrong here. can you make a minimal reproducible example of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants