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

Getting errors after sampler run, logs hidden #52

Open
ghostsquad opened this issue Jun 19, 2024 · 3 comments
Open

Getting errors after sampler run, logs hidden #52

ghostsquad opened this issue Jun 19, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation runtime

Comments

@ghostsquad
Copy link

I have a workflow where I have a sampler, but I do more after the sampler is done. In VSCode, I see the image output/preview from the Sampler, but if there's a failure later, there's no logs.

@Chaoses-Ib Chaoses-Ib added documentation Improvements or additions to documentation runtime labels Jun 19, 2024
@Chaoses-Ib
Copy link
Owner

You can disable the preview with this:

queue.watch_display(False, False, False)

Though its interface is a bit tedious and I'm planning to change it to queue.watch_display(False).

@ghostsquad
Copy link
Author

thanks! I'll try that out.

@Chaoses-Ib
Copy link
Owner

Arguments of queue.watch_display() are changed:

Before:

def watch_display(self, display_node: bool = True, display_task: bool = True): ...
queue.watch_display(False, False)

Now:

def watch_display(self, all: bool | None = None, *, preview: bool | None = None, output: bool | None = None, task: bool | None = None): ...
queue.watch_display(False)
# or:
queue.watch_display(preview=False, output=False, task=False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation runtime
Projects
None yet
Development

No branches or pull requests

2 participants