otherguy / alfred-passwords-workflow

An Alfred 4 workflow that allows you to quickly generate strong passwords.
MIT License
53 stars 4 forks source link

V1.1.1 stopped working #74

Closed lacherogwu closed 2 years ago

lacherogwu commented 2 years ago

I was using it and today I check and it stopped working.

https://user-images.githubusercontent.com/49835614/189490314-39ac48b4-f6ed-4b75-8d37-d06d6b14aa18.mov

It's weird because when I run the script using Terminal, the response looks correct

{"items": [{"title": "20 character password", "subtitle": "5{s/j~CKetW]d:^v*<Zo", "valid": true, "arg": "5{s/j~CKetW]d:^v*<Zo"}, {"title": "20 character password (no special characters)", "subtitle": "I8DK50D2H7SnmVMc2mFA", "valid": true, "arg": "I8DK50D2H7SnmVMc2mFA"}, {"title": "XKCD Password (3 words)", "subtitle": "chess-deem-shrink", "valid": true, "arg": "chess-deem-shrink"}, {"title": "XKCD Password (4 words)", "subtitle": "driven-sloppily-manmade-cake", "valid": true, "arg": "driven-sloppily-manmade-cake"}]}
image

Maybe it's not an issue with this library, and it's with Alfred itself. I even tried to just print() the json object above, and still the same issue let me know what do you think

Alfred: 4.7 [1306] macOs: Monterey v12.5.1

Thanks!

vitorgalvao commented 2 years ago

As per your screenshot, the workflow is producing extra text before the JSON, making it invalid. Works fine for me, though.

lacherogwu commented 2 years ago

But the response looks correct

vitorgalvao commented 2 years ago

It looks correct, but it is not due to the extra text. That makes it invalid JSON.

lacherogwu commented 2 years ago

Does it work for you at the same version I’m at?

vitorgalvao commented 2 years ago

Yes, it works on 1.1.1, though on Alfred 5 and macOS 12.6. Shouldn’t make a difference, though. From your screenshot it seems that it was the library informing it was checking for updates which broke it. Try reinstalling the latest version.

lacherogwu commented 2 years ago

Will do thanks

lacherogwu commented 2 years ago

works thanks!