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

After inja errors out with wrong template, you have to hide/show the source for templating to work back properly #43

Open
Destroy666x opened this issue Oct 20, 2023 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@Destroy666x
Copy link
Contributor

Or anything like that, not too sure. But it's not full stable in terms of outputting parsed content.

@royshil
Copy link
Collaborator

royshil commented Oct 20, 2023

Can you show some specific problems e.g with a screenshot?

@Destroy666x
Copy link
Contributor Author

Destroy666x commented Oct 20, 2023

Not sure what you'd like me to screenshot, but here are much more accurate steps:

  1. Define some URL and output
  2. Use incorrect template, like:
{{somenonexistentvar}}

or:

{% if klkjrll %}

and wait untl it executes at least once.
3. Use some proper template like {{output}}
4. {{output}} will be stuck as text until you hide and show the source, even though it's proper and it refreshes every second.

So inja error = source stuck until restart.

@royshil royshil added the bug Something isn't working label Oct 20, 2023
@royshil royshil added this to the 0.2.1 milestone Oct 20, 2023
@royshil royshil self-assigned this Oct 20, 2023
@royshil
Copy link
Collaborator

royshil commented Nov 2, 2023

i'm unable to replicate this... did you check on 0.2.0?

@Destroy666x
Copy link
Contributor Author

I think I have 0.2 installed but I'll check later.

@royshil
Copy link
Collaborator

royshil commented Nov 5, 2023

@Destroy666x
Copy link
Contributor Author

Still occurs. Windows 10, latest OBS, that build. Rarely it works, but most often not.

@royshil
Copy link
Collaborator

royshil commented Nov 5, 2023

ok i'm able to replicate. i can fix it

@royshil
Copy link
Collaborator

royshil commented Nov 5, 2023

@Destroy666x unfortunately i'm unable to find the root cause, and i suspect OBS in this case, since everything is working fine on my end, i keep sending frames to the obs source as soon as the template is valid again, but it doesn't show them on screen. i've no idea what might have gone wrong or changed

@royshil
Copy link
Collaborator

royshil commented Nov 6, 2023

@Destroy666x i'd like to close this issue and release 0.2.1
do you have any reservations? do you want to keep this open?

@Destroy666x
Copy link
Contributor Author

Your choice. I'd personally keep it open just to track it and perhaps you'll find a solution one day. But not a big problem either way.

@royshil royshil removed this from the 0.2.1 milestone Nov 16, 2023
@MarkWasfy00
Copy link

MarkWasfy00 commented Jan 28, 2024

The issue is when setting properties for the API plugin :
1
then close obs, I must change some properties for the changes to take effect again like trigger 'run this while not visible' :
2
After changing it gets back to its normal phase :
1

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

3 participants