Skip to content
Discussion options

You must be logged in to vote

For those with the same issue, I modified the path outputs lists from the krita_server.py side instead of the plug side. The action must be performed after saving, since it will run under the WSL path /mnt/c/ or any other drive where the krita_server is located from the perspective of the server. krita_diff.py will receive modified outputs lists types. We modified the list by deleting the /mnt/c in the path and replacing it with c:/

I put this loop:

    for i, s in enumerate(outputs):
        outputs[i] = "c:/"+s[7:]

In krita_server at the end of async def f_txt2img(req: Txt2ImgRequest): before return {"outputs": outputs, "info": info}

This will allowed the plug to work with docker or WS…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mohammedalsayegh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant