anyproto / anytype-heart

Shared library for Anytype clients
https://anytype.io
Other
236 stars 47 forks source link

Unable to enter the vault on macOS #1500

Open alchlithium opened 1 month ago

alchlithium commented 1 month ago

Have you read a contributing guide?

Current Behavior

Issue: When entering vault keys in the login window, showing error message "failed to run node can't run service 'common.space.virtualspaceservice': build query: get item value: unmarshal details: proto: ObjectDetails: illegal tag 0 (wire type 0)" above the vault key bar.

Other Platforms: Anytype functions as normal so far on iPhone and iPad since this error came forth on macbook.

Expected Behavior

The client should open my vault after my entering the vault key.

Steps To Reproduce

Open Anytype client and click on "I have a key", then enter the vault key.

Environment

Device: macbook Air M1
macOS version: 14.5
Anytype version:  0.42.3 | 0.42.4

Anything else?

No response

mcrakhman commented 1 month ago

Can you please copy your localstore folder somewhere (just for safety) and then delete it and restart the app, it must be a problem with our indexation and after restart it should be fixed. You can search for this folder in your Anytype folder in File -> Show Directory -> Data and then open your account folder (it should be like A5fN4...), inside you will find the localstore folder.

alchlithium commented 1 month ago

Thanks. Now I am able to get into my vault. FYI: And I think the possible reason for causing this indexation-related problem might be related to problematic 'Edit Relation' function. Not only before fixing this issue but also now, the client stuck for several seconds when I finish adding some 'Tag' on a 'Task' in 'Set'(not always but very often), then I always need to click on the interface to make the interface back to life; and the relation of that task is not changed(not always but very often).

dankxylese commented 2 weeks ago

Just had the same issue on Windows. Was messing with Kanban view, and switching between columns/tags. Had an empty note to do this. After I set it up how I wanted, I tried to delete the note, and it didn't disappear. Tried deleting it multiple times (including wiping from the bin), and figured its just not refreshing the view properly, so restarted the app. On launch got the same error:

failed to run node can't run service 'common.space.virtualspaceservice': build query: get item value: unmarshal details: proto: ObjectDetails: illegal tag 0 (wire type 0)

AnyType 0.42.8 (local only account, between PC and Android) Windows 10 Enterprise LTSC 21H2

edit: wiping local store let it start again, with my data present