Error on Bench Update - Workspaces Dev Branch

I get the following error when I run bench migrate on the dev branch…

Are we changing something about workspaces?

Traceback (most recent call last):
File “/srv/bench/frappe-bench/apps/frappe/frappe/desk/doctype/workspace/workspace.py”, line 21, in validate
if not isinstance(loads(self.content), list):
File “/usr/lib/python3.9/json/init.py”, line 339, in loads
raise TypeError(f’the JSON object must be str, bytes or bytearray, ’
TypeError: the JSON object must be str, bytes or bytearray, not NoneType

Yes there are quite a few changes made in workspaces 2.0.
Here is the PR: feat: Workspace 2.0 by shariquerik · Pull Request #13152 · frappe/frappe · GitHub

It is recommended to go with more stable version-13 branch.

1 Like

This is excellent - are we getting workspace permissions as well? I can’t tell by looking