Comments (4)
I haven't worked with curses, so maybe this doesn't apply. With Qt you have lots of callbacks for handling events. For every one of them I wanted an error handler that would pop up a dialog with (otherwise) uncaught exceptions. Rather than strewing that handling into every callback I used sys.excepthook
to provide a universal handler. Anyways, it may not work here, it may cause other troubles, so... just mentioning. (presumably I won't do this as I shift towards structured concurrency what with moving towards QTrio)
from plotman.
I'll just add more data here. I ran into this when running in Terminal Window in Ubuntu and switching off the plotting machine in my HDMI switcher, plotman crashes when a plot ends (sorry for the lack of line breaks, this is how it pasted):
Traceback (most recent call last): File "/home/satan/programs/chia-blockchain/venv/bin/plotman", line 8, in <module> sys.exit(main()) File "/home/satan/programs/chia-blockchain/venv/lib/python3.8/site-packages/plotman/plotman.py", line 132, in main interactive.run_interactive() File "/home/satan/programs/chia-blockchain/venv/lib/python3.8/site-packages/plotman/interactive.py", line 360, in run_interactive curses.wrapper(curses_main) File "/usr/lib/python3.8/curses/__init__.py", line 105, in wrapper return func(stdscr, *args, **kwds) File "/home/satan/programs/chia-blockchain/venv/lib/python3.8/site-packages/plotman/interactive.py", line 278, in curses_main jobs_win.addstr(0, 0, reporting.status_report(jobs, n_cols, jobs_h, _curses.error: addwstr() returned ERR
from plotman.
I do get the same error running plotman interactive
if the size of the console window is to small:
(venv) ubuntu@ubuntu-PowerEdge-T310:~/git/chia-blockchain$ plotman interactive
Traceback (most recent call last):
File "/home/ubuntu/git/chia-blockchain/venv/bin/plotman", line 8, in
sys.exit(main())
File "/home/ubuntu/git/chia-blockchain/venv/lib/python3.8/site-packages/plotman/plotman.py", line 171, in main
interactive.run_interactive()
File "/home/ubuntu/git/chia-blockchain/venv/lib/python3.8/site-packages/plotman/interactive.py", line 353, in run_interactive
curses.wrapper(curses_main)
File "/usr/lib/python3.8/curses/init.py", line 105, in wrapper
return func(stdscr, *args, **kwds)
File "/home/ubuntu/git/chia-blockchain/venv/lib/python3.8/site-packages/plotman/interactive.py", line 271, in curses_main
jobs_win.addstr(0, 0, reporting.status_report(jobs, n_cols, jobs_h,
_curses.error: addwstr() returned ERR
from plotman.
I just maximized the terminal, run it again and it worked.
from plotman.
Related Issues (20)
- Allow Randomization of Archive Drive Destinations HOT 3
- Configuration file does not show by default the pool_contract_address HOT 1
- Plotman v0.5 on mac osx creates new plot every 20 secs HOT 10
- how to create new plots
- phase stagger doesn't work with madmax? HOT 18
- log file stops at [P4] Writing C2 table . madmax HOT 2
- Increasing archive throughput HOT 13
- Fixed secondary temp -2 folder is inflexible tbh HOT 8
- allow passing of k setting with madmax HOT 4
- M1 Mac Mini, fresh install errors HOT 2
- finding unused dst dirs fails because of trailing slash "/" mismatch HOT 1
- v0.5.2 breaks with config file used in v0.5.1 HOT 4
- Plotman (k33) keeps making plots for a -d storage disk that's already full - it even reports it as full! HOT 1
- ParserError first time running plotman HOT 1
- Install fails when upgrading to chia 1.3, Debian 11, Python 3.9 HOT 6
- archiving issue HOT 1
- Error in resources/target_definitions.yaml - rsyncd - transfer_script HOT 6
- archiving does not pick up compressed plots HOT 3
- Allow Bitblade CUDA to create more than 1 plot per run (-n) HOT 2
- pip install does not work on Ubuntu 22.04 LTS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotman.