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
when using pyinstaller, from-root seems to be not able to find the .project_root
FileNotFoundError: No possible anchors found (.git, .project-root), cannot detect root folder. Initialize a git repository or create an empty ".project-root" file in the project root
PS C:\Users\xx.xx\Desktop\app> .\app.exeWORKING IN: C:\Users\xx.xx\Desktop\appTraceback (most recent call last): File "app.py", line 11, in <module> File "adapters\gui\gui_app.py", line 15, in run File "applicationconfiguration.py", line 14, in getBusinessObject File "business\credfilehelper.py", line 10, in createCredFileIfNotExists File "from_root\root.py", line 24, in from_root File "from_root\get_project_root.py", line 23, in get_project_rootFileNotFoundError: No possible anchors found (.git, .project-root), cannot detect root folder. Initialize a git repository or create an empty ".project-root" file in the project root[2192] Failed to execute script 'app' due to unhandled exception!PS C:\Users\xx.xx\Desktop\app> ls .\.project_root Verzeichnis: C:\Users\xx.xx\Desktop\appMode LastWriteTime Length Name---- ------------- ------ -----a---- 23.05.2023 09:07 27 .project_root
this was from powershells command line, so even if the path should be correct, seems like its not
i added a print os.getcwd() just to be sure
The text was updated successfully, but these errors were encountered:
(base) ekon@mb-pro issue % cat __main__.pyfrom from_root import from_rootprint(from_root())(base) ekon@mb-pro issue % ./__main__ # this is a pyinstalled __main__.pyTraceback (most recent call last): File "proj/__main__.py", line 3, in <module> File "from_root/root.py", line 24, in from_root File "from_root/get_project_root.py", line 23, in get_project_rootFileNotFoundError: No possible anchors found (.git, .project-root), cannot detect root folder. Initialize a git repository or create an empty ".project-root" file in the project root[90869] Failed to execute script '__main__' due to unhandled exception!(base) ekon@mb-pro issue % touch .project-root(base) ekon@mb-pro issue % ./__main__/Users/ekon/Desktop/issue
It might be something Windows specific. Don't have a win pc now. Feel free to contribute, if you wish :)
when using pyinstaller, from-root seems to be not able to find the .project_root
FileNotFoundError: No possible anchors found (.git, .project-root), cannot detect root folder. Initialize a git repository or create an empty ".project-root" file in the project root
this was from powershells command line, so even if the path should be correct, seems like its not
i added a print os.getcwd() just to be sure
The text was updated successfully, but these errors were encountered: