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

Update to 0.6.6 broken plotting #448

Closed
saboluigi opened this issue Nov 29, 2021 · 12 comments
Closed

Update to 0.6.6 broken plotting #448

saboluigi opened this issue Nov 29, 2021 · 12 comments
Assignees
Labels
pending-release Available in development, but not yet in stable release. question Further information is requested

Comments

@saboluigi
Copy link

Updated to 0.6.6 on an Unraid server, causing the following error message when starting plotting.

Errors during plotman status:
Traceback (most recent call last):
File "/chia-blockchain/venv/bin/plotman", line 8, in
sys.exit(main())
File "/chia-blockchain/venv/lib/python3.9/site-packages/plotman/plotman.py", line 247, in main
with cfg.setup():
File "/usr/lib/python3.9/contextlib.py", line 117, in enter
return next(self.gen)
File "/chia-blockchain/venv/lib/python3.9/site-packages/plotman/configuration.py", line 470, in setup
plotman.plotters.madmax.check_configuration(
File "/chia-blockchain/venv/lib/python3.9/site-packages/plotman/plotters/madmax.py", line 34, in check_configuration
completed_process = subprocess.run(
File "/usr/lib/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'chia_plot'

@guydavis
Copy link
Owner

Please see: https://github.com/guydavis/machinaris/wiki/Troubleshooting
Then attach the contents of /tmp/madmax_setup.log from within your container:

docker exec -it machinaris bash
cp /tmp/madmax_setup.log /root/.chia/

Find the madmax_setup.log in ~/.machinaris file and attach it here.

As per the Github defect ticket template, please provide all details requested. Thanks!

@guydavis guydavis self-assigned this Nov 29, 2021
@guydavis guydavis added the question Further information is requested label Nov 29, 2021
@zybron
Copy link

zybron commented Nov 29, 2021

Attaching requested logs:
docker.log
madmax_setup.log

@guydavis
Copy link
Owner

guydavis commented Nov 29, 2021

Great! Very interesting issue as it seems to only affect certain hardware. In the Discord, it seems this proposed patch from @karaliux may help. I am currently investigating and testing. Will update here when a fix that works for all is ready.

@cptnyehy0
Copy link

having the same issue and error. Would it be helpful for me to include my logs and details as well?

@guydavis
Copy link
Owner

guydavis commented Nov 29, 2021

Hi all, thanks for your patience on this one. Big thanks to @karaliux for pointing out a solution for this. As well, I see upstream Madmax repository just got a commit as well. I've included both fixes in the v0.6.7 :test images for Machinaris.

To confirm, please update your Chia (machinaris) and Chives (machinaris-chives) containers you plot with to the :test image (pre v0.6.7). This will include the fix for building madmax. After launch of the container, please allow at least 15 minutes for full startup. Then try out plotting and let me know if you are able to plot again with Madmax.

@guydavis guydavis added the pending-release Available in development, but not yet in stable release. label Nov 29, 2021
@k2skaterii
Copy link

Never a fan of "It's working don't fix it"... And a fan of Sailor Jerry + Pepsi... I was convinced that I screwed something up when I couldn't plot in 0.6.6.

At the time I was plotting on my TrueNAS-Scale system - and I've been noticing 180GB of RAM sitting idle on that system. Right around the time things stopped working, I was attempting to mount a RAM Disk to my container. From there things spiraled into - DELETE the container.

If it's useful, I can attempt to recreate and provide logs. Probably more useful if I can deploy the test image to my Scale system and let ya know though.

@cptnyehy0
Copy link

Test branch resolved my error and madmax plotting issue, thanks for the quick action!

@saboluigi
Copy link
Author

Test branch also resolved mine, thank you so much!

@zybron
Copy link

zybron commented Nov 30, 2021

In case you missed it in the discord, the test branch fixed my plotting issue as well.

@k2skaterii
Copy link

k2skaterii commented Nov 30, 2021 via email

@guydavis
Copy link
Owner

guydavis commented Dec 3, 2021

Please try with now released version 0.6.7.

@guydavis
Copy link
Owner

guydavis commented Dec 4, 2021

Marking as closed, now that version 0.6.7 is out.

@guydavis guydavis closed this as completed Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-release Available in development, but not yet in stable release. question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants