DeaDBeeF-Player / deadbeef

DeaDBeeF Player
https://deadbeef.sourceforge.io/
Other
1.64k stars 178 forks source link

Could not play any file #2137

Closed xrombik closed 5 years ago

xrombik commented 5 years ago

Recent build from github (version 1.8.0 as in change list), could not play any file. Steps to reproduce:

$ git clone https://github.com/DeaDBeeF-Player/deadbeef.git --recurse-submodules
$ cd deadbeef
$ ./autogen.sh
$ ./configure
$ make
$ make install
$ deadbeef
starting deadbeef devel
server_start
Configuration file could not be created: /home/sasha/.config/deadbeef/config
searching for GUI plugins in /home/sasha/.local/lib64/deadbeef
searching for GUI plugins in /home/sasha/.local/lib/deadbeef
searching for GUI plugins in /usr/local/lib/deadbeef
load_plugin_dir /usr/local/lib/deadbeef: scandir found 76 files
found gui plugin ddb_gui_GTK2.so
added GTK2 gui plugin
found gui plugin ddb_gui_GTK3.so
added GTK3 gui plugin
load gui plugin
checking GUI plugin: GTK2
found selected GUI plugin: GTK2
loading plugin /usr/local/lib/deadbeef/ddb_gui_GTK2.so
loading plugins from /home/sasha/.local/lib64/deadbeef
loading plugins from /home/sasha/.local/lib/deadbeef
loading plugins from /usr/local/lib/deadbeef
load_plugin_dir /usr/local/lib/deadbeef: scandir found 76 files
loading plugin /usr/local/lib/deadbeef/adplug.so
loading plugin /usr/local/lib/deadbeef/alac.so
loading plugin /usr/local/lib/deadbeef/alsa.so
loading plugin /usr/local/lib/deadbeef/converter.so
loading plugin /usr/local/lib/deadbeef/converter_gtk2.so
loading plugin /usr/local/lib/deadbeef/converter_gtk3.so
loading plugin /usr/local/lib/deadbeef/dca.so
loading plugin /usr/local/lib/deadbeef/ddb_dumb.so
loading plugin /usr/local/lib/deadbeef/ddb_mono2stereo.so
loading plugin /usr/local/lib/deadbeef/ddb_shn.so
loading plugin /usr/local/lib/deadbeef/gme.so
loading plugin /usr/local/lib/deadbeef/hotkeys.so
loading plugin /usr/local/lib/deadbeef/in_sc68.so
loading plugin /usr/local/lib/deadbeef/m3u.so
loading plugin /usr/local/lib/deadbeef/mms.so
loading plugin /usr/local/lib/deadbeef/musepack.so
loading plugin /usr/local/lib/deadbeef/notify.so
loading plugin /usr/local/lib/deadbeef/nullout.so
loading plugin /usr/local/lib/deadbeef/oss.so
loading plugin /usr/local/lib/deadbeef/pltbrowser_gtk2.so
loading plugin /usr/local/lib/deadbeef/pltbrowser_gtk3.so
loading plugin /usr/local/lib/deadbeef/psf.so
loading plugin /usr/local/lib/deadbeef/pulse.so
loading plugin /usr/local/lib/deadbeef/rg_scanner.so
loading plugin /usr/local/lib/deadbeef/shellexec.so
loading plugin /usr/local/lib/deadbeef/shellexecui_gtk2.so
loading plugin /usr/local/lib/deadbeef/shellexecui_gtk3.so
loading plugin /usr/local/lib/deadbeef/sid.so
loading plugin /usr/local/lib/deadbeef/supereq.so
loading plugin /usr/local/lib/deadbeef/tta.so
loading plugin /usr/local/lib/deadbeef/vorbis.so
loading plugin /usr/local/lib/deadbeef/vtx.so
loading plugin /usr/local/lib/deadbeef/wildmidi.so
loading plugin /usr/local/lib/deadbeef/wma.so
starting plugin GTK2 user interface
starting plugin Adplug player
starting plugin ALAC player
starting plugin ALSA output plugin
starting plugin Converter
starting plugin Converter GTK2 UI
starting plugin Converter GTK3 UI
starting plugin dts decoder
starting plugin DUMB module player
starting plugin Mono to stereo
starting plugin Shorten player
starting plugin Game-Music-Emu player
starting plugin Hotkey manager
starting plugin SC68 player (Atari ST SNDH YM2149)
starting plugin M3U and PLS support
starting plugin mms vfs
starting plugin MusePack decoder
starting plugin OSD Notify
starting plugin Null output plugin
starting plugin OSS output plugin
starting plugin Playlist browser GTK2
starting plugin Playlist browser GTK3
starting plugin PSF player using Audio Overload SDK
starting plugin PulseAudio output plugin
starting plugin ReplayGain Scanner
starting plugin Shell commands
starting plugin Shellexec GTK2 UI
starting plugin Shellexec GTK3 UI
starting plugin SID player
starting plugin SuperEQ
starting plugin tta decoder
starting plugin Ogg Vorbis decoder
starting plugin VTX player
starting plugin WildMidi player
starting plugin WMA player
starting plugin stdio vfs
streamer_set_output
selected output plugin: ALSA output plugin
plt_load: failed to open /home/sasha/.config/deadbeef/default.dbpl
convgui: gtkui plugin not found
plugin Converter GTK3 UI failed to connect to dependencies, deactivated.
plugin Playlist browser GTK3 failed to connect to dependencies, deactivated.
shellexecui: can't find gtkui plugin
plugin Shellexec GTK3 UI failed to connect to dependencies, deactivated.
resume: track -1 pos -1.000000 playlist -1
gtkui plugin compiled for gtk version: 2.24.32
connecting button tray signals

Then File->Open File(s) ... and none of them can be played: terminal show this:

(deadbeef:26725): Gtk-WARNING **: 23:37:06.954: Attempting to read the recently used resources file at `/home/sasha/.local/share/recently-used.xbel', but the parser failed: Не удалось открыть файл «/home/sasha/.local/share/recently-used.xbel»: Access denied.
ERROR: could not load: <path to file>

Deadbeef version:

$ deadbeef --version
starting deadbeef devel
DeaDBeeF devel Copyright © 2009-2017 Alexey Yakovenko

git log:

deadbeef$ git log
commit 68e32fcb33fa1f9805d2a1b2cd894b68ceacd782 (HEAD -> master, origin/master, origin/HEAD)
Author: Alexey Yakovenko <wakeroid@gmail.com>
Date:   Tue Apr 30 20:35:30 2019 +0200

OS: Linux Mint 19.1 Tessa

$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 19.1 Tessa
Release:    19.1
Codename:   tessa
Oleksiy-Yakovenko commented 5 years ago

Just use the prebuilt one

Oleksiy-Yakovenko commented 5 years ago

I'm sure you could make it work if you install the necessary build dependencies before compiling. Read the provided docs.

xrombik commented 5 years ago

It is not build dependencies related problem. Binary is present and started without any error, and log does not show any lost libraries problems.

Oleksiy-Yakovenko commented 5 years ago

Well, you can take my word for it, or you can ignore it. Up to you.

xrombik commented 5 years ago

travis/build.sh:

            STATICDEPS_URL="http://sourceforge.net/projects/deadbeef/files/staticdeps/ddb-static-deps-latest.tar.bz2/download"
            mkdir static-deps
            echo "downloading static deps..."
            wget -q "$STATICDEPS_URL" -O ddb-static-deps.tar.bz2 || exit 1
            echo "unpacking static deps..."
tar jxf ddb-static-deps.tar.bz2 -C static-deps || exit 1

What this is about? 42 MB of binaries? This is lost dependencies?

Oleksiy-Yakovenko commented 5 years ago

Have you read the README?

xrombik commented 5 years ago

...In process

Oleksiy-Yakovenko commented 5 years ago

What you found is a script for automatic builds on travis-ci. I don't think you have a single reason to use that.

xrombik commented 5 years ago

libjansson-dev is not mentioned in README, but it is necessary for build success.

Oleksiy-Yakovenko commented 5 years ago

libjansson is mentioned in the README. the -dev suffix is something that's used in some linux distributions (but not all of them), and you're supposed to know about this.

Oleksiy-Yakovenko commented 5 years ago

Anyway.. All the information you need is written in the README, wiki, and so on. Read it, google, ask your friends to help you. This is not the right place to learn the basics of compiling open source software. Please don't take it as a personal offence, but I'm locking the case. There's nothing more I can do for you.