spamwax / alfred-pinboard-rs

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

New Error: #83

Closed asmusz-adobe closed 4 years ago

asmusz-adobe commented 4 years ago

Getting this in 15.12:

alfred-rp-Error1

From the logs: [12:09:28.790] Logging Started... [12:09:33.100] Rusty Pin[Script Filter] Queuing argument 'g' [12:09:33.122] Rusty Pin[Script Filter] Queuing argument 'gi' [12:09:33.165] Rusty Pin[Script Filter] Queuing argument 'git' [12:09:41.577] Rusty Pin[Script Filter] Script with argv 'git' finished [12:09:41.591] ERROR: Rusty Pin[Script Filter] Code 1: [2020-07-17T19:09:33Z DEBUG alfred_pinboard_rs] Parsing input arguments. [2020-07-17T19:09:33Z DEBUG alfred_pinboard_rs] Deciding on which command branch [2020-07-17T19:09:33Z DEBUG alfred_pinboard_rs] Starting in setup [2020-07-17T19:09:33Z DEBUG alfred_pinboard_rs::workflow_config] Starting in setup [2020-07-17T19:09:33Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_workflow_dirs [2020-07-17T19:09:33Z DEBUG alfred_pinboard_rs::workflow_config] cache_dir: /Users/smusz/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs [2020-07-17T19:09:33Z DEBUG alfred_pinboard_rs::workflow_config] data_dir: /Users/smusz/Library/Application Support/Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs [2020-07-17T19:09:33Z DEBUG alfred_pinboard_rs::workflow_config] Starting in read [2020-07-17T19:09:33Z DEBUG alfred_pinboard_rs::workflow_config] Starting in get_alfred_version [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard] pinb::new: calling CachedData::new [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::cached_data] new: starting [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::cached_data] cached_dir: "/Users/smusz/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs" [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::cached_data] create_cache_dir: starting [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::cached_data] success create_cache_dir: "/Users/smusz/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/cc.hamid.alfred-pinboard-rs" [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::cached_data] load_cache_data_from_file: starting [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::cached_data] read_cached_pins: starting [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::cached_data] read_cached_tags: starting [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::cached_data] cache_ok: starting [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard] pinb::new: cache file missing, calling update [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::cached_data] update_cache: starting [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::api] all_pins: starting. [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::api] get_api_response: starting. [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::api] url: "https://api.pinboard.in/v1/posts/all" [2020-07-17T19:09:33Z DEBUG rusty_pin::pinboard::api] add_auth_token: starting. [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::api] resp is ok (no error) [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::api] string from resp ok [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::api] ['[', '{', '\"', 'h', 'r', 'e', 'f', '\"', ':', '\"'] [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::api] received all bookmarks [2020-07-17T19:09:38Z INFO rusty_pin::pinboard::api] parsed all bookmarks. total: 91 [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::cached_data] sorting pins [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::cached_data] lowercasing fields [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::cached_data] serializing pins [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::cached_data] writing to cache [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::cached_data] fix_cache_file_perm: starting [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::api] tags_frequency: starting. [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::api] get_api_response: starting. [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::api] url: "https://api.pinboard.in/v1/tags/get" [2020-07-17T19:09:38Z DEBUG rusty_pin::pinboard::api] add_auth_token: starting. [2020-07-17T19:09:41Z DEBUG rusty_pin::pinboard::api] resp is ok (no error) [2020-07-17T19:09:41Z DEBUG rusty_pin::pinboard::api] string from resp ok [2020-07-17T19:09:41Z DEBUG rusty_pin::pinboard::api] ['{', '\"', 'A', 'A', 'T', 'L', '\"', ':', '1', ','] [2020-07-17T19:09:41Z DEBUG rusty_pin::pinboard::api] trying to decode non-object empty tag list [2020-07-17T19:09:41Z DEBUG alfred_pinboard_rs] Starting in show_error_alfred [12:09:41.609] Rusty Pin[Script Filter] {"items":[{"icon":{"path":"erroricon.icns"},"subtitle":"invalid type: map, expected a sequence at line 1 column 0","title":"Error"}]}

monfresh commented 4 years ago

@asmusz-adobe This is a known issue that is being tracked here: https://github.com/spamwax/alfred-pinboard-rs/issues/78. There is a PR out that fixes the issue but @spamwax hasn't merged it yet. In the meantime, I provided instructions here if you want to build the workflow locally: https://github.com/spamwax/alfred-pinboard-rs/issues/78#issuecomment-660324877

spamwax commented 4 years ago

closing this as duplicate

asmusz-adobe commented 4 years ago

Thanks, guys for all your hard work!! Now working again. Going to re-donate for the appreciated upkeep.