CEASIOMpy
CEASIOMpy copied to clipboard
Workflow Creator error
Module Concerned The error appeared after running the test in workflow creator Describe the bug The following error appear: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\PedroTosin\AppData\Roaming\Python\Python37\site-packages\ceasiompy\WorkflowCreator\ToolInput\ToolInput.xml'
Screenshots https://drive.google.com/file/d/1tFicFkrI8CNqxd1CUGZFFaUqpEAgSlbS/view?usp=sharing Desktop (please complete the following information):
- OS/Distribution: [Windows 10 Enterprise 2016 ltsb]
Additional context Another error happened during pytornado install, i don't know if they are related or not
Have you specified the CPACS file you wanted to use at the top of the GUI? You can select one with the "Browse" button.
The one that i used was the "D150_simple.xml" file.
Could you check if there is a file at the path given at the last line of the error you sent.
There is no file, the path ends in WorkflowCreator. you can see it in the following printscreen.
https://drive.google.com/file/d/1Kct_3lZ9a5QoXOnCHkpdaCQ9jUDUJVwl/view?usp=sharing
That's strange. Could you try to create manually two directories at this path:
- ToolInput
- ToolOutput and then re-run your workflow.
The path i chose to be the directory was wrong, one of the folders had a space in the name. So I reinstalled Windows and this time i think will work. But i have a new question. When you wrote this step: "Update your paths
To automatically update your paths the following command should work.
pip install -e ."
In prompt i received this: "(ceasiompy) C:\Users\User>pip install -e
Usage:
pip install [options]
-e option requires 1 argument"
What do i do?
if you prefer a screenshot of the prompt: https://drive.google.com/file/d/1j_eZ_A1_ssp6r2q6Pw8ofDi8RgnzRIgh/view?usp=sharing
And another question, and another question, how do I do this?
"You have to add the following line, in your autoexec.bat file.
set PYTHONPATH=%PYTHONPATH%;InstalDirCEASIOMpy"
Yes the argument is "." to specify it is the current directory, you have to type the complete line:
pip install -e .
So i found the variable system and added it.
In the pytornado installation i received this confirmation "Successfully installed pytornado-0.5.6". But, when I tested it by typing "pytornado" the message shown was:
(ceasiompy) C:\Users\User\Documents\PyTornado\pytornado>pytornado 'pytornado' is not recognized as a built-in command or external, an operable program or a batch file.
follow the printscreen of what I did: https://drive.google.com/file/d/18XRZo3RxTHDQYyf8kTXOFhzOJDksCh96/view?usp=sharing