spamwax / alfred-pinboard-rs

Alfred Workflow for Pinboard (Rust)
Other
280 stars 13 forks source link

Error after initial setup #46

Closed byalextran closed 4 years ago

byalextran commented 4 years ago

After entering in my Pinboard credentials using pa, I get the notification saying the credentials were successfully set. However, I then immediately see an error message:

Screen Shot 2020-02-07 at 22 03 17 PM

From there, any command I try to use (searching, adding a bookmark, etc.) results in a similar error.

Screen Shot 2020-02-07 at 21 58 52 PM

I installed the latest version and am running Alfred 4.0.8 on a Mac running OS 10.14.6.

Any idea what could be the issue?

spamwax commented 4 years ago

can you post the content of Alfred's debug window after you do a pu command? it seems alfred can't get your bookmarks from pinboard or maybe you have a bad bookmark...

byalextran commented 4 years ago

if it helps, i deleted all my previous pinboard bookmarks and re-added one bookmark before trying to use this workflow.

Screen Shot 2020-02-10 at 00 22 25 AM
spamwax commented 4 years ago

just to make sure, you should have entered your token from Pinboard exactly as it is printed there, something like: username:2f298ac0b. so the command would be pa username:2f298ac0b

if that's ok, then open the workflow's window and click on the debug icon on top left, make sure the option at the bottom says "all information" then run the command pu and post all of output in Alfred's debug window here.

spamwax commented 4 years ago

closing issue due to inactivity

byalextran commented 4 years ago

sorry for the delay on getting you more details.

yup, the token i pasted into pa was in the format username:token.

here's the debug output after running the pu command.

[23:29:48.886] Rusty Pin[Keyword] Processing complete
[23:29:48.891] Rusty Pin[Keyword] Passing output '' to Junction
[23:29:48.894] Rusty Pin[Junction] Processing complete
[23:29:48.895] Rusty Pin[Junction] Passing output '' to Run Script
[23:29:49.795] STDERR: Rusty Pin[Run Script] [2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs] Parsing input arguments.
[2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs] Deciding on which command branch
[2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs] Starting in setup
[2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs::workflow_config] Starting in setup
[2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_workflow_dirs
[2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs::workflow_config] cache_dir: /Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs::workflow_config] data_dir: /Volumes/Home/Library/Application Support/Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs::workflow_config] Starting in read
[2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_alfred_version
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard] pinb::new: calling CachedData::new
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data] new: starting
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data]   cached_dir: "/Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs"
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data] create_cache_dir: starting
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data]   success create_cache_dir: "/Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs"
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data] load_cache_data_from_file: starting
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data] read_cached_pins: starting
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data] read_cached_tags: starting
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data] cache_ok: starting
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard] pinb::new: cache file missing, calling update
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data] update_cache: starting
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api] all_pins: starting.
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api] get_api_response: starting.
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api]   url: "https://api.pinboard.in/v1/posts/all"
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api] add_auth_token: starting.
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api]  resp is ok (no error)
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api]  string from resp ok
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api]   received all bookmarks
[2020-04-03T04:29:49Z INFO  rusty_pin::pinboard::api] parsed all bookmarks
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data]  sorting pins
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data]  lowercasing fields
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data]  serializing pins
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data]  writing to cache
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::cached_data] fix_cache_file_perm: starting
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api] tags_frequency: starting.
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api] get_api_response: starting.
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api]   url: "https://api.pinboard.in/v1/tags/get"
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api] add_auth_token: starting.
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api]  resp is ok (no error)
[2020-04-03T04:29:49Z DEBUG rusty_pin::pinboard::api]  string from resp ok
[2020-04-03T04:29:49Z DEBUG alfred_pinboard_rs] Starting in show_error_alfred
[23:29:49.811] Rusty Pin[Run Script] Processing complete
[23:29:49.812] Rusty Pin[Run Script] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"serde error: invalid type: sequence, expected a map at line 1 column 0","title":"Error"}]}
' to Junction
[23:29:49.814] Rusty Pin[Junction] Processing complete
[23:29:49.815] Rusty Pin[Junction] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"serde error: invalid type: sequence, expected a map at line 1 column 0","title":"Error"}]}
' to Filter
[23:29:49.816] Rusty Pin[Filter] Processing complete
[23:29:49.817] Rusty Pin[Filter] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"serde error: invalid type: sequence, expected a map at line 1 column 0","title":"Error"}]}
' to Large Type
[23:29:49.818] Rusty Pin[Junction] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"serde error: invalid type: sequence, expected a map at line 1 column 0","title":"Error"}]}
' to Filter
spamwax commented 4 years ago

it seems the tags you have in pinboard are causing the issue. please download and install the attached workflow in alfred and report back the output of debug.

This will print more debug info. Specifically it will print the first 10 characters of your bookmarks and tags.

RustyPin.zip

byalextran commented 4 years ago

reporting back!

[01:54:54.964] Rusty Pin[Keyword] Processing complete
[01:54:54.970] Rusty Pin[Keyword] Passing output '' to Junction
[01:54:54.972] Rusty Pin[Junction] Processing complete
[01:54:54.973] Rusty Pin[Junction] Passing output '' to Run Script
[01:54:55.901] STDERR: Rusty Pin[Run Script] [2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs] Parsing input arguments.
[2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs] Deciding on which command branch
[2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs] Starting in setup
[2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs::workflow_config] Starting in setup
[2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_workflow_dirs
[2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs::workflow_config] cache_dir: /Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs::workflow_config] data_dir: /Volumes/Home/Library/Application Support/Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs::workflow_config] Starting in read
[2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_alfred_version
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard] pinb::new: calling CachedData::new
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data] new: starting
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data]   cached_dir: "/Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs"
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data] create_cache_dir: starting
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data]   success create_cache_dir: "/Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs"
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data] load_cache_data_from_file: starting
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data] read_cached_pins: starting
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data] read_cached_tags: starting
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data] cache_ok: starting
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard] pinb::new: cache file missing, calling update
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data] update_cache: starting
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api] all_pins: starting.
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api] get_api_response: starting.
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api]   url: "https://api.pinboard.in/v1/posts/all"
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api] add_auth_token: starting.
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api]  resp is ok (no error)
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api]  string from resp ok
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api]    ['[', '{', '\"', 'h', 'r', 'e', 'f', '\"', ':', '\"']
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api]   received all bookmarks
[2020-04-03T06:54:55Z INFO  rusty_pin::pinboard::api] parsed all bookmarks. total: 1
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data]  sorting pins
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data]  lowercasing fields
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data]  serializing pins
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data]  writing to cache
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::cached_data] fix_cache_file_perm: starting
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api] tags_frequency: starting.
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api] get_api_response: starting.
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api]   url: "https://api.pinboard.in/v1/tags/get"
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api] add_auth_token: starting.
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api]  resp is ok (no error)
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api]  string from resp ok
[2020-04-03T06:54:55Z DEBUG rusty_pin::pinboard::api]    ['[', ']', '\t']
[2020-04-03T06:54:55Z DEBUG alfred_pinboard_rs] Starting in show_error_alfred
[01:54:55.910] Rusty Pin[Run Script] Processing complete
[01:54:55.911] Rusty Pin[Run Script] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"serde error: invalid type: sequence, expected a map at line 1 column 0","title":"Error"}]}
' to Junction
[01:54:55.912] Rusty Pin[Junction] Processing complete
[01:54:55.912] Rusty Pin[Junction] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"serde error: invalid type: sequence, expected a map at line 1 column 0","title":"Error"}]}
' to Filter
[01:54:55.913] Rusty Pin[Filter] Processing complete
[01:54:55.914] Rusty Pin[Filter] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"serde error: invalid type: sequence, expected a map at line 1 column 0","title":"Error"}]}
' to Large Type
[01:54:55.914] Rusty Pin[Junction] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"serde error: invalid type: sequence, expected a map at line 1 column 0","title":"Error"}]}
' to Filter
byalextran commented 4 years ago

aha, i think i might know what the problem is.

right before i installed this workflow, i nuked all my bookmarks/tags to start from scratch. after getting this error, i thought it might be because i had no bookmarks, so i manually added one and still got the error.

but i just added my first tag and was able to run pu just fine.

so looks like the issue happens when there's no tags?

spamwax commented 4 years ago

looks like it, but it would be very helpful to me if you remove your only tag and try to reproduce the issue with update workflow i posted so i can get to bottom of this edit: nevermind, just saw your post

spamwax commented 4 years ago

how does the output with only one tag look like? pinboard's api response is truly weird

byalextran commented 4 years ago

output with two tags:

[02:05:02.625] Rusty Pin[Keyword] Processing complete
[02:05:02.632] Rusty Pin[Keyword] Passing output '' to Junction
[02:05:02.636] Rusty Pin[Junction] Processing complete
[02:05:02.637] Rusty Pin[Junction] Passing output '' to Run Script
[02:05:03.126] STDERR: Rusty Pin[Run Script] [2020-04-03T07:05:02Z DEBUG alfred_pinboard_rs] Parsing input arguments.
[2020-04-03T07:05:02Z DEBUG alfred_pinboard_rs] Deciding on which command branch
[2020-04-03T07:05:02Z DEBUG alfred_pinboard_rs] Starting in setup
[2020-04-03T07:05:02Z DEBUG alfred_pinboard_rs::workflow_config] Starting in setup
[2020-04-03T07:05:02Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_workflow_dirs
[2020-04-03T07:05:02Z DEBUG alfred_pinboard_rs::workflow_config] cache_dir: /Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-04-03T07:05:02Z DEBUG alfred_pinboard_rs::workflow_config] data_dir: /Volumes/Home/Library/Application Support/Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-04-03T07:05:02Z DEBUG alfred_pinboard_rs::workflow_config] Starting in read
[2020-04-03T07:05:02Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_alfred_version
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard] pinb::new: calling CachedData::new
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::cached_data] new: starting
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::cached_data]   cached_dir: "/Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs"
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::cached_data] create_cache_dir: starting
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::cached_data]   success create_cache_dir: "/Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs"
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::cached_data] load_cache_data_from_file: starting
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::cached_data] read_cached_pins: starting
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::cached_data] read_cached_tags: starting
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::cached_data] cache_ok: starting
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard] pinb::new: cache not missing
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard] enable_fuzzy_search: starting.
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard] enable_tag_only_search: starting.
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard] enable_private_new_pin: starting.
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard] enable_toread_new_pin: starting.
[2020-04-03T07:05:02Z DEBUG alfred_rs::data] loading from: /Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs/user.workflow.1F3CD475-7FAC-4543-A775-47DE3105B2B1-Rusty_Pin-updater.json
[2020-04-03T07:05:02Z DEBUG alfred_rs::updater] entering init
[2020-04-03T07:05:02Z DEBUG alfred_rs::updater] last check: 2020-04-03 06:59:45.533190 UTC
[2020-04-03T07:05:02Z DEBUG alfred_rs::updater]   calling read_last_check_status
[2020-04-03T07:05:02Z DEBUG alfred_rs::data] loading from: /Volumes/Home/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs/last_check_status_async.json
[2020-04-03T07:05:02Z DEBUG alfred_rs::updater]   status: Ok(None)
[2020-04-03T07:05:02Z DEBUG alfred_rs::updater] successfully set the state of release worker
[2020-04-03T07:05:02Z INFO  alfred_pinboard_rs::commands::update] Starting in update_cache
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard] is_cache_outdated: starting.
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::api] recent_update: starting.
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::api] get_api_response: starting.
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::api]   url: "https://api.pinboard.in/v1/posts/update"
[2020-04-03T07:05:02Z DEBUG rusty_pin::pinboard::api] add_auth_token: starting.
[2020-04-03T07:05:03Z DEBUG rusty_pin::pinboard::api]  resp is ok (no error)
[2020-04-03T07:05:03Z DEBUG rusty_pin::pinboard::api]  string from resp ok
[2020-04-03T07:05:03Z DEBUG rusty_pin::pinboard::api]    ['{', '\"', 'u', 'p', 'd', 'a', 't', 'e', '_', 't']
[2020-04-03T07:05:03Z DEBUG alfred_pinboard_rs::commands::update]   cache is up-to-date.
[02:05:03.137] Rusty Pin[Run Script] Processing complete
[02:05:03.138] Rusty Pin[Run Script] Passing output 'Cache is already up-to-date!
' to Junction
[02:05:03.139] Rusty Pin[Junction] Processing complete
[02:05:03.139] Rusty Pin[Junction] Passing output 'Cache is already up-to-date!
' to Filter
[02:05:03.140] Rusty Pin[Junction] Passing output 'Cache is already up-to-date!
' to Filter
[02:05:03.141] Rusty Pin[Filter] Processing complete
[02:05:03.141] Rusty Pin[Filter] Passing output 'Cache is already up-to-date!
' to Post Notification
nuynait commented 4 years ago

@spamwax Could you please re-open this issue? I am having the exact problem right now.

OS version 10.15.5. Workflow version 0.15.12, Alfred version 4.0.9 [1144].

Everything should be up to date at this moment.

Here is my issue

I just download the workflow and run pa id:xxx This is what I get in the console:

[11:46:25.475] Rusty Pin[Keyword] Processing complete
[11:46:25.480] Rusty Pin[Keyword] Passing output 'shan199105:3FE21BEC3A9BE61D2662' to Run Script
[11:46:25.605] STDERR: Rusty Pin[Run Script] [2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs] Parsing input arguments.
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs] Deciding on which command branch
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::commands::config] Starting in run
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] Starting in setup
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_workflow_dirs
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] cache_dir: /Users/tshan/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] data_dir: /Users/tshan/Library/Application Support/Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] Starting in read
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_alfred_version
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] Starting in save
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::commands::config] Saved new configs to settings.json in: /Users/tshan/Library/Application Support/Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[11:46:25.607] Rusty Pin[Run Script] Processing complete
[11:46:25.607] Rusty Pin[Run Script] Passing output 'Successfully set user credentials.
' to Conditional
[11:46:25.608] Rusty Pin[Conditional] Processing complete
[11:46:25.608] Rusty Pin[Conditional] Passing output 'Successfully set user credentials.
' to Run Script
[11:46:26.640] STDERR: Rusty Pin[Run Script] [2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs] Parsing input arguments.
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs] Deciding on which command branch
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs] Starting in setup
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] Starting in setup
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_workflow_dirs
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] cache_dir: /Users/tshan/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] data_dir: /Users/tshan/Library/Application Support/Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] Starting in read
[2020-07-08T15:46:25Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_alfred_version
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard] pinb::new: calling CachedData::new
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::cached_data] new: starting
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::cached_data]   cached_dir: "/Users/tshan/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs"
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::cached_data] create_cache_dir: starting
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::cached_data]   success create_cache_dir: "/Users/tshan/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs"
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::cached_data] load_cache_data_from_file: starting
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::cached_data] read_cached_pins: starting
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::cached_data] read_cached_tags: starting
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::cached_data] cache_ok: starting
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard] pinb::new: cache file missing, calling update
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::cached_data] update_cache: starting
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::api] all_pins: starting.
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::api] get_api_response: starting.
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::api]   url: "https://api.pinboard.in/v1/posts/all"
[2020-07-08T15:46:25Z DEBUG rusty_pin::pinboard::api] add_auth_token: starting.
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api]  resp is ok (no error)
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api]  string from resp ok
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api]    ['[', '{', '\"', 'h', 'r', 'e', 'f', '\"', ':', '\"']
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api]   received all bookmarks
[2020-07-08T15:46:26Z INFO  rusty_pin::pinboard::api] couldn't parse 1 bookmarks (out of 217)
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::cached_data]  sorting pins
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::cached_data]  lowercasing fields
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::cached_data]  serializing pins
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::cached_data]  writing to cache
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::cached_data] fix_cache_file_perm: starting
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api] tags_frequency: starting.
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api] get_api_response: starting.
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api]   url: "https://api.pinboard.in/v1/tags/get"
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api] add_auth_token: starting.
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api]  resp is ok (no error)
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api]  string from resp ok
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api]    ['{', '\"', '*', '*', '*', '*', '\"', ':', '1', ',']
[2020-07-08T15:46:26Z DEBUG rusty_pin::pinboard::api]   trying to decode non-object empty tag list
[2020-07-08T15:46:26Z DEBUG alfred_pinboard_rs] Starting in show_error_alfred
[11:46:26.669] Rusty Pin[Run Script] Processing complete
[11:46:26.670] Rusty Pin[Run Script] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"invalid type: map, expected a sequence at line 1 column 0","title":"Error"}]}
' to Junction
[11:46:26.670] Rusty Pin[Junction] Processing complete
[11:46:26.671] Rusty Pin[Junction] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"invalid type: map, expected a sequence at line 1 column 0","title":"Error"}]}
' to Filter
[11:46:26.672] Rusty Pin[Junction] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"invalid type: map, expected a sequence at line 1 column 0","title":"Error"}]}
' to Filter
[11:46:26.672] Rusty Pin[Filter] Processing complete
[11:46:26.673] Rusty Pin[Filter] Passing output '{"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"invalid type: map, expected a sequence at line 1 column 0","title":"Error"}]}
' to Post Notification

According to this issue, seems to be the same problem. However, I don't know which tag I am having the issues with. I did used pinboard service couple years before and it is the time I want to come back. I do have lots of old tags exists in my library.

Here is a screenshot of all my tags

Here is a screenshot of all my tags

spamwax commented 4 years ago

@nuynait your issue is related to changes on pinboard's side. will be fixed by end of tomorrow.