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

Plotting fails in Big Sur for some - both x86_64 and M1 [BUG] #1189

Closed
hoffmang9 opened this issue Mar 8, 2021 · 10 comments
Closed

Plotting fails in Big Sur for some - both x86_64 and M1 [BUG] #1189

hoffmang9 opened this issue Mar 8, 2021 · 10 comments
Labels
bug Something isn't working

Comments

@hoffmang9
Copy link
Member

Describe the bug
Plotting fails in Big Sur - both x86_64 and M1 for some but not everyone.

To Reproduce
Install on Big Sur. It may require not having dev tools installed to replicate though it will replicate on Big Sur on M1 with devtools installed.

On x86_64 plotting "starts" but if you open the plot log all you see is one entry "Loading...".
On Big Sur it doesn't even pop the creating plots page.

This came in in RC3 with the switch to Click and the RC4 fix didn't fix this.

debug.log from M1:

12:07:37.540 daemon __main__                   : ERROR    Error while handling message: Traceback (most recent call last):
  File "/Users/hoffmang/chia-blockchain/chia-blockchain-gui/../src/daemon/server.py", line 217, in safe_handle
    response, sockets_to_use = await self.handle_message(websocket, decoded)
  File "/Users/hoffmang/chia-blockchain/chia-blockchain-gui/../src/daemon/server.py", line 322, in handle_message
    response = await self.start_plotting(cast(Dict[str, Any], data))
  File "/Users/hoffmang/chia-blockchain/chia-blockchain-gui/../src/daemon/server.py", line 551, in start_plotting
    "command_args": self._build_plotting_command_args(request, True),
  File "/Users/hoffmang/chia-blockchain/chia-blockchain-gui/../src/daemon/server.py", line 439, in _build_plotting_command_args
    a = request["a"]
KeyError: 'a'

debug.log from x86_64

18:31:01.565 daemon __main__                   : ERROR    Error while handling message: Traceback (most recent call last):
  File "src/daemon/server.py", line 217, in safe_handle
  File "src/daemon/server.py", line 322, in handle_message
  File "src/daemon/server.py", line 551, in start_plotting
  File "src/daemon/server.py", line 439, in _build_plotting_command_args
KeyError: 'a'
@hoffmang9
Copy link
Member Author

I installed Atom and it installed some of its prerequisites and now plotting works on Big Sur...

@swim
Copy link

swim commented Mar 8, 2021

strange the Atom prereqs amended the issue as the Atom Electron version doesn't seem to support m1 yet RE atom/atom#21688

@hoffmang9
Copy link
Member Author

Screenshot 2021-03-06 at 23 41 57

Adding both for showing how it manifests and for the "DevTools Failed to load SourceMap:" errors in the electron console.

@hoffmang9
Copy link
Member Author

Hrm - electron/electron#22996

@arvidn
Copy link
Contributor

arvidn commented Mar 13, 2021

on BigSur M1 (fresh with virtually nothing installed other than Chia) it works if I launch from the command line:

cd /Applications/Chia.app
./Contents/MacOS/Chia

at least it starts, prints log and created temporary files, I did not complete a k32.

When I launch it from Finder, the "create plot" button just brings me back to the plots tab with no new item in the list, nor a process running in the background, plotting.

@mariano54
Copy link
Contributor

I also experienced a plotting issue on Mac OS Catalina 10.15.7, on a machine that was not M1.

@danra
Copy link

danra commented Mar 16, 2021

Still an issue with RC9

@hoffmang9
Copy link
Member Author

Painfully aware that this is still a problem . Plotting from Terminal works great in the interim.

https://github.com/Chia-Network/chia-blockchain/wiki/Quick-Start-Guide#macos

@arvidn
Copy link
Contributor

arvidn commented Mar 18, 2021

I believe this can be closed. it works in 1.0

@hoffmang9
Copy link
Member Author

Thanks to both @arvidn and @wjblanke for the painful find and fix!

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

5 participants