deanishe / deanishe/alfred-mpd

Errror alfter Reinstall MacOS

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

What is this?

I installed MacOs Monterey from scratch. Installed python 2 correctly and used the new version of mpd-alfred.

`[10:23:39.483] Logging Started...
[10:23:41.890] MPD[Script Filter] Queuing argument ''
[10:23:42.163] MPD[Script Filter] Script with argv '' finished
[10:23:42.166] ERROR: MPD[Script Filter] Code 1: .
10:23:42 workflow.py:2061 DEBUG ---------- MPD (0.1.3) ----------
10:23:42 workflow.py:1468 DEBUG reading settings from /Users/daniele/Library/Application Support/Alfred/Workflow Data/net.deanishe.alfred.mpd/settings.json
10:23:42 workflow.py:2343 DEBUG update check not due
10:23:42 ampd:686 DEBUG opts={'--help': False,
'--version': False,
'': None,
'': u'',
'do': False,
'search': True,
'stats': False,
'status': False}
10:23:42 ampd:687 DEBUG mpd: host=localhost, port=6600
10:23:42 workflow.py:1695 DEBUG loading cached data: /Users/daniele/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/net.deanishe.alfred.mpd/__workflow_latest_version.cpickle
10:23:42 mpd.py:140 DEBUG mpc command: ['stats']
10:23:42 workflow.py:2080 ERROR [Errno 2] No such file or directory
Traceback (most recent call last):
File "/Volumes/GoogleDrive/Il mio Drive/Alfred.alfredpreferences/workflows/user.workflow.182A2FAE-2750-4640-AF36-4B51A5F96294/lib/workflow/workflow.py", line 2073, in run
func(self)
File "./ampd", line 691, in main
return do_search(opts)
File "./ampd", line 485, in do_search
return do_stats(opts)
File "./ampd", line 614, in do_stats
st = mpd.stats()
File "/Volumes/GoogleDrive/Il mio Drive/Alfred.alfredpreferences/workflows/user.workflow.182A2FAE-2750-4640-AF36-4B51A5F96294/lib/mpd.py", line 260, in stats
for line in mpc('stats').splitlines():
File "/Volumes/GoogleDrive/Il mio Drive/Alfred.alfredpreferences/workflows/user.workflow.182A2FAE-2750-4640-AF36-4B51A5F96294/lib/mpd.py", line 144, in mpc
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "/Users/daniele/.pyenv/versions/2.7.18/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/Users/daniele/.pyenv/versions/2.7.18/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
10:23:42 workflow.py:2082 INFO for assistance, see: https://github.com/deanishe/alfred-mpd/issues
10:23:42 workflow.py:2103 DEBUG ---------- finished in 0.038s ----------
[10:23:42.169] MPD[Script Filter] {
"items": [
{
"valid": false,
"subtitle": "[Errno 2] No such file or directory",
"icon": {
"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"
},
"title": "Error in workflow 'MPD'"
}
]
}`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.