Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconstruct command is not working (Could not find one marked terminal) #2

Closed
Yarroudh opened this issue Feb 25, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Yarroudh
Copy link
Owner

Yarroudh commented Feb 25, 2023

This appears when we use the multiprocessing to run Geoflow reconstruction of all the tiles in parallel computing.

image

@Yarroudh Yarroudh changed the title Reconstruct command is not working Reconstruct command is not working (Could not find one marked terminal) Feb 25, 2023
@Yarroudh Yarroudh added the bug Something isn't working label Mar 7, 2023
@Yarroudh Yarroudh self-assigned this Mar 7, 2023
@Yarroudh Yarroudh pinned this issue Mar 7, 2023
@Yarroudh
Copy link
Owner Author

Yarroudh commented Mar 7, 2023

The error "Could not find one marked terminal" typically occurs when using the multiprocessing module in Python and running a function that requires a terminal.

To resolve this issue, I'm trying the following solutions:

  • Run the function outside of the multiprocessing module. If the function is not designed to work with multiprocessing, it may be better to run it in a single thread or process.
  • Use the spawn or forkserver start method for the multiprocessing module. These methods create a new process that is more compatible with running functions that require a terminal.
  • Use a virtual terminal emulator such as xvfb or xvnc. These emulators create a virtual display that can be used to run functions that require a terminal.
  • Check that I have the correct permissions to access the terminal.

It's also possible that the error message is caused by something else entirely.

@Yarroudh
Copy link
Owner Author

Yarroudh commented Apr 4, 2023

The problem was resolved as it was related to the flowcharts files. Some parameters were missing which caused the program to fail. The latest release should work with no problems. You can also use the Docker image.

@Yarroudh Yarroudh closed this as completed Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant