espial icon indicating copy to clipboard operation
espial copied to clipboard

Description field value type

Open tamr opened this issue 3 years ago • 4 comments

Trying to import a freshly exported pinboard bookmarks (~25k) and getting the following error: "Error in $[803].description: parsing Text failed, expected String, but encountered Boolean" It seems the description field could be a string or a boolean (found 23 entries with false and 1 with an empty string "").

tamr avatar Feb 24 '22 16:02 tamr

interesting; I'll update the code to allow for when there is a boolean instead of a string for the Description, in the short term you could probably just search-replace those entries in your export with empty strings to unblock your import.

jonschoning avatar Feb 24 '22 20:02 jonschoning

ps: a quick follow up. 4 hrs later it seems stuck on "Migrating: CREATE INDEX IF NOT EXISTS idx_note_user_created...". mysql support would be super awesome!

tamr avatar Feb 24 '22 20:02 tamr

After Migrating: CREATE INDEX IF NOT EXISTS idx_note_user_created ON note (user_id, cr eated DESC) then the application is running. You should be able to access http://localhost:3000

jonschoning avatar Feb 24 '22 21:02 jonschoning

Oh, it is! I have another app sitting on port 3000, changed it, but was grepping the wrong one. Super awesome, the best replacement for the pinboard and works super fast. Thank you!

tamr avatar Feb 24 '22 22:02 tamr