Public bug reported:

I tried running batch mode while ssh'ed into a virtual machine, and got
the following error:

$ soundconverter -b -m "audio/mpeg" -s ".mp3" *.flac
soundConverter 2.9.0-beta1
Failed to connect to Mir: Failed to connect to server socket: No such file or 
directory
Unable to init server: Could not connect: Connection refused
Failed to connect to Mir: Failed to connect to server socket: No such file or 
directory
Unable to init server: Could not connect: Connection refused
  using GTK version: 3.0
  using Gstreamer version: 1.8.2.0
  using 1 thread(s)

(python3:3153): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Traceback (most recent call last):
  File "/usr/bin/soundconverter", line 164, in <module>
    from soundconverter.batch import cli_convert_main
  File "/usr/share/soundconverter/python/soundconverter/batch.py", line 31, in 
<module>
    from soundconverter.gstreamer import TagReader
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 70, 
in <module>
    profiles = _GCONF.all_dirs(_GCONF_PROFILE_LIST_PATH)
GLib.Error: gconf-error-quark: No D-BUS daemon running
 (2)

However, running on the exact same virtual machine in a local terminal
(so from the VM's desktop) the command runs fine.

** Affects: soundconverter (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1690577

Title:
  Batch mode won't run in headless environment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/soundconverter/+bug/1690577/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to