You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a script that makes imports relative to the directory where it is (I have a file _ init_.py in the directory lib/parser/). And when you add the script to Wooey it does not find it.
The text was updated successfully, but these errors were encountered:
It is currently an open question how to handle these cases. Your script is uploaded to the wooey backend that then attempts to parse it. This is done in an area removed from where the script and thus relative imports are located. One idea to address this issue is found within #144 , and another implementation that would work currently is converting your script to a self-contained zip. There may be other solutions as well depending on how you are running the server (such as setting PYTHONPATH). I'm also open to other solutions.
I have a script that makes imports relative to the directory where it is (I have a file _ init_.py in the directory lib/parser/). And when you add the script to Wooey it does not find it.
The text was updated successfully, but these errors were encountered: