question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
hoffmang9commented, Mar 18, 2021

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

1reaction
mariano54commented, Mar 15, 2021

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pip error installing cryptography on Big Sur - Stack Overflow
This worked on M1 os pip but it still cant install cryptography inside virtualenv python 3.8.9. The version cryptography installed on os pip...
Read more >
Updating to Monterey from Big Sur fails due to Rosetta(!)
Hi. I was about to take the plunge and update my 2021 Mac Mini M1 from Big Sur 11.6.5 to Monterey 12.3 but...
Read more >
For Mac users here is an update from our build guru Bryan Irby
There is a new major update to the compilers in Xcode v12, a new operating system update in Big Sur, and, just available,...
Read more >
Install Python with NumPy SciPy Matplotlib on ... - YouTube
... with NumPy, SciPy, Matplotlib on macOS Big Sur Apple Silicon M1.The procedure presented in the video should work on both Apple Silicon...
Read more >
Install Python with NumPy SciPy Matplotlib on macOS Big Sur ...
I will show you how to install natively the above three libraries, using arm64 Apple Silicon versions. I assume that you have one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found