alfred-network-location icon indicating copy to clipboard operation
alfred-network-location copied to clipboard

netloc fails to load locations

Open JuanCab opened this issue 2 years ago • 4 comments

I installed this under Alfred 4.5.1 and when I type "netloc" it briefly acts as if it is going to search for network locations, but then defaults to searching for "netloc" on Google. I don't know much about Alfred plugins but know a bit about the command line and python... any way I can debug this problem?

JuanCab avatar Aug 23 '21 17:08 JuanCab

In the Workflow-Manager¹, you can select your Workflow² (for example netloc) and clicking then on the little bug-icon³ on the top-right-corner. It let appear a debug-console on the bottom, which will now return everything which will happen when you use the workflow.

Screenshot - Alfred Preferences - Alfred Preferences - 20211216 - ndYSO7kb

So clicking the bug-icon, opening the input of Alfred and typing netloc should you tell then there, what really happend.

Note: When asking questions, the current installed operating system could be an interesting information.

nemeth-it avatar Dec 16 '21 18:12 nemeth-it

Not working for me either 12.3.1

[16:54:23.079] Logging Started... [16:54:26.329] Network Location[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.A3787DE2-CDD3-496F-A840-C66944915652%3EC548AB66-5E3A-4FDE-9357-8379F7B19007)] Queuing argument '' [16:54:26.346] Network Location[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.A3787DE2-CDD3-496F-A840-C66944915652%3EC548AB66-5E3A-4FDE-9357-8379F7B19007)] Script with argv '' finished [16:54:26.349] ERROR: Network Location[[Script Filter](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.A3787DE2-CDD3-496F-A840-C66944915652%3EC548AB66-5E3A-4FDE-9357-8379F7B19007)] Code 127: /Users/jon/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/F09DBB86-A180-494B-BFE2-CDDA99AB4ABF:1: command not found: python

j-r-e-i-d avatar May 12 '22 06:05 j-r-e-i-d

In the Workflow-Manager¹, you can select your Workflow² (for example netloc) and clicking then on the little bug-icon³ on the top-right-corner. It let appear a debug-console on the bottom, which will now return everything which will happen when you use the workflow.

Screenshot - Alfred Preferences - Alfred Preferences - 20211216 - ndYSO7kb

So clicking the bug-icon, opening the input of Alfred and typing netloc should you tell then there, what really happend.

Note: When asking questions, the current installed operating system could be an interesting information.

[10:47:48.607 am] Network Location[Script Filter] Queuing argument ''
[10:47:48.618 am] Network Location[Script Filter] Script with argv '' finished
[10:47:48.623 am] ERROR: Network Location[Script Filter] Code 127: /Users/myuser/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/A43DD8FA-639B-400A-BE2C-386475BD3F21:1: command not found: python

I think it should be python3 binary

rsanjuan87 avatar Sep 08 '22 14:09 rsanjuan87

setting python3 on info.plist MacOS Monterey 12.3.1

[10:53:46.979 am] ERROR: Network Location[Script Filter] Code 1: Traceback (most recent call last):
  File "netloc.py", line 21, in <module>
    from workflow import Workflow3, ICON_NETWORK, ICON_WARNING
  File "/Users/san/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.2B39CBEA-7DC8-4E5D-916B-394924EE29C6/workflow/__init__.py", line 16, in <module>
    from .workflow import Workflow, manager
  File "/Users/san/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.2B39CBEA-7DC8-4E5D-916B-394924EE29C6/workflow/workflow.py", line 25, in <module>
    import cPickle
ModuleNotFoundError: No module named 'cPickle'

rsanjuan87 avatar Sep 08 '22 14:09 rsanjuan87