malonzo47 / pynita_GUI

pynita_GUI is python GUI based implementation of Noise Insensitive Trajectory Algorithm (NITA)
4 stars 3 forks source link

error running pyNITA from source (docker on windows) #71

Closed malonzo47 closed 4 years ago

malonzo47 commented 4 years ago

Workflow:

  1. Download Source Code zip file (https://github.com/malonzo47/pynita_GUI/releases/tag/1.0.2)
  2. Move the two .bat files to the pynita_gui_main level
  3. run prerequisites.bat
  4. run docker_run_windows.bat

During step 4, the script aborts showing the following error: image

FreelanceDev217 commented 4 years ago

It is failing to configure xming. Please confirm the installation of xming. Please run prerequiresites.bat as an admin right again and let me know.

malonzo47 commented 4 years ago

I ran CMD as admin and then ran prerequisites.bat.

image

FreelanceDev217 commented 4 years ago

I see the reason. As you can see, it did not copy the config.xlaunch file. The config.xlaunch file is also contained in the same directory. (pynita_GUI/installation/docker/windows/) Please copy that file to the project root directory and run the bat again. I will change the README accordingly.

FreelanceDev217 commented 4 years ago

Actually I already specified to copy all files in the README.md. Please check again and confirm.

malonzo47 commented 4 years ago

Do i somehow need to force reinstall of xming? I just moved the config file and reran both .bat files with the same error.

FreelanceDev217 commented 4 years ago

No, you do not need to do run both again. Just rerun prerequisites.bat again. And confirm if config.xlaunch file is copied to the user's desktop.

malonzo47 commented 4 years ago

Yes, it did end up on my desktop.

malonzo47 commented 4 years ago

Here you can see config on my desktop and how I have the other files organized: image

FreelanceDev217 commented 4 years ago

Press Win+R to open a Run dialog and put notepad c:\windows\system32\drivers\etc\hosts. This will open a hosts file. At the end of the file, you will be able to see the parts below. screenshot_68

Please comment out the two lines and try again.

malonzo47 commented 4 years ago

Same error.

FreelanceDev217 commented 4 years ago

I just updated the prerequisites.bat. Please try again.

FreelanceDev217 commented 4 years ago

The reason was that xming was not started after being installed. By adding an additional step at the end of the prerequisites.bat, this should be fixed. Closing.