-
Notifications
You must be signed in to change notification settings - Fork 279
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
it would be nice to have a copy or move function as an archive option. #632
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think this is expectation for memory usage and makes the numbers line up with what the OS reports
…to human_format_1024
…tman into human_format_1024
Co-authored-by: Kyle Altendorf <[email protected]>
Co-authored-by: Kyle Altendorf <[email protected]>
Co-authored-by: Kyle Altendorf <[email protected]>
…ning_jobs() the attributes retrived with argumments (that is, 'pid' and 'cmdline') is not used, and getting 'cmdline' attribute with psutil from some processes on windows is unstable and throws exceptions it is impossible to catch exceptions from this line without abandoning the for lop it is better to get 'cmdline' and others attributes of processes inside the for loop, where exceptions can be handled without abandoning the for loop
…form (now works on Windows)
```python-traceback Traceback (most recent call last): File "/home/chia/.local/bin/plotman", line 33, in <module> sys.exit(load_entry_point('plotman', 'console_scripts', 'plotman')()) File "/farm/plotman/src/plotman/plotman.py", line 179, in main interactive.run_interactive() File "/farm/plotman/src/plotman/interactive.py", line 335, in run_interactive curses.wrapper(curses_main) File "/home/chia/.pyenv/versions/3.9.2/lib/python3.9/curses/__init__.py", line 94, in wrapper return func(stdscr, *args, **kwds) File "/farm/plotman/src/plotman/interactive.py", line 262, in curses_main jobs_win.addstr(0, 0, reporting.status_report(jobs, n_cols, jobs_h, File "/farm/plotman/src/plotman/reporting.py", line 95, in status_report row = ['...'] + ([''] * len(headings) - 1) TypeError: unsupported operand type(s) for -: 'list' and 'int' ```
fix: need to subtract then multiply
Display memory usage as factor of 1024 rather than 1000
ignore more FileNotFoundErrors
Was this supposed to be an issue and not a pull request? Also, there has been a lot of rework on archiving. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
rsync is nice and would do the job, but if you plot a lot, it become a bottleneck. Please add a cp/mv between 2nd temp drive and dst. Thanks