unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38789: curseradio: executable path failure
@ 2019-12-29  3:03 Christopher Howard
  2019-12-29  7:50 ` Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Howard @ 2019-12-29  3:03 UTC (permalink / raw)
  To: 38789

curseradio package in guix a7a4928 builds fine, but fails during run
time with error:

```
Traceback (most recent call last):
  File "/gnu/store/ac696zknci0rxxr9d0lmd7dr9gyr734l-curseradio-0-
1.1bd4bd0/bin/.curseradio-real", line 11, in <module>
    load_entry_point('curseradio==0.2', 'console_scripts',
'curseradio')()
  File "/gnu/store/ac696zknci0rxxr9d0lmd7dr9gyr734l-curseradio-0-
1.1bd4bd0/lib/python3.7/site-packages/curseradio/__main__.py", line 5,
in main
    curses.wrapper(OPMLBrowser)
  File "/gnu/store/608bvypsh90c58apvd2cgg3m9l2pwjqn-python-
3.7.4/lib/python3.7/curses/__init__.py", line 102, in wrapper
    return func(stdscr, *args, **kwds)
  File "/gnu/store/ac696zknci0rxxr9d0lmd7dr9gyr734l-curseradio-0-
1.1bd4bd0/lib/python3.7/site-packages/curseradio/curseradio.py", line
280, in __init__
    self.interact()
  File "/gnu/store/ac696zknci0rxxr9d0lmd7dr9gyr734l-curseradio-0-
1.1bd4bd0/lib/python3.7/site-packages/curseradio/curseradio.py", line
406, in interact
    stderr=subprocess.DEVNULL, stdin=subprocess.DEVNULL)
  File "/gnu/store/608bvypsh90c58apvd2cgg3m9l2pwjqn-python-
3.7.4/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/gnu/store/608bvypsh90c58apvd2cgg3m9l2pwjqn-python-
3.7.4/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/mpv':
'/usr/bin/mpv'
```

This occurs after navigating the menu and attempting to play a radio
station. Obviously the package's mpv executable path was not set
correctly during the build.

-- 
Christopher Howard
p: +1 (907) 374-0257
w: https://librehacker.com
social: https://gnusocial.club/librehacker
gpg: ADDEAADE5D607C8D (keys.gnupg.net)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#38789: curseradio: executable path failure
  2019-12-29  3:03 bug#38789: curseradio: executable path failure Christopher Howard
@ 2019-12-29  7:50 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2019-12-29  7:50 UTC (permalink / raw)
  To: christopher; +Cc: 38789-done

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

The path to mpv is now hardcoded in curseradio and it should be working
now as expected. I didn't get the crash you reported, but I couldn't
hear any music since I don't have speakers on my machine :p

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-29  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-29  3:03 bug#38789: curseradio: executable path failure Christopher Howard
2019-12-29  7:50 ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).