Opened 10 years ago

Closed 9 years ago

#1083 closed defect (fixed)

could not open location

Reported by: Marcus Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

I have installed current master on Ubuntu 14.04 with gstreamer0.10-ffmpeg from ppa:mc3man/trusty-media (as it's not included in Ubuntu 14.04 by default).

When I upload a video it fails after transcoding.

the file gets uploaded to srv/mediagoblin/user_dev/media/queue/media_entries/.../ where it actually is but afterwards it is requrested from: file:///mediagoblin/user_dev/media/queue/media_entries/.../

In /srv/mediagoblin/mediagoblin there is no user_dev but in /srv/mediagoblin.

2015-01-11 17:32:23,279 DEBUG   [mediagoblin.processing.task] Processing <MediaEntry 9: test>
2015-01-11 17:32:23,280 INFO    [mediagoblin.media_types.video.transcoders] Initializing VideoTranscoder...
2015-01-11 17:32:23,291 INFO    [mediagoblin.media_types.video.transcoders] Discovering //srv/mediagoblin/user_dev/media/queue/media_entries/c556c057-a037-4425-ae8f-edbe30f89eef/Weihnachten_2014.mp4
2015-01-11 17:32:23,657 INFO    [mediagoblin.media_types.video.transcoders] Terminating MainLoop
2015-01-11 17:32:23,709 INFO    [mediagoblin.media_types.video.transcoders] Discovering...
2015-01-11 17:32:23,712 INFO    [mediagoblin.media_types.video.transcoders] Done
2015-01-11 17:32:24,071 INFO    [mediagoblin.media_types.video.transcoders] Transcoding...
2015-01-11 17:32:25,058 INFO    [mediagoblin.media_types.video.transcoders] 0% done...
2015-01-11 17:32:26,029 INFO    [mediagoblin.media_types.video.transcoders] 4% done...
2015-01-11 17:32:28,025 INFO    [mediagoblin.media_types.video.transcoders] 8% done...
2015-01-11 17:32:30,036 INFO    [mediagoblin.media_types.video.transcoders] 12% done...
2015-01-11 17:32:31,047 INFO    [mediagoblin.media_types.video.transcoders] 16% done...
2015-01-11 17:32:33,057 INFO    [mediagoblin.media_types.video.transcoders] 20% done...
2015-01-11 17:32:34,049 INFO    [mediagoblin.media_types.video.transcoders] 24% done...
2015-01-11 17:32:36,046 INFO    [mediagoblin.media_types.video.transcoders] 28% done...
2015-01-11 17:32:38,046 INFO    [mediagoblin.media_types.video.transcoders] 32% done...
2015-01-11 17:32:39,036 INFO    [mediagoblin.media_types.video.transcoders] 36% done...
2015-01-11 17:32:41,028 INFO    [mediagoblin.media_types.video.transcoders] 40% done...
2015-01-11 17:32:43,049 INFO    [mediagoblin.media_types.video.transcoders] 44% done...
2015-01-11 17:32:44,029 INFO    [mediagoblin.media_types.video.transcoders] 48% done...
2015-01-11 17:32:45,035 INFO    [mediagoblin.media_types.video.transcoders] 52% done...
2015-01-11 17:32:47,044 INFO    [mediagoblin.media_types.video.transcoders] 56% done...
2015-01-11 17:32:49,025 INFO    [mediagoblin.media_types.video.transcoders] 60% done...
2015-01-11 17:32:51,015 INFO    [mediagoblin.media_types.video.transcoders] 64% done...
2015-01-11 17:32:52,026 INFO    [mediagoblin.media_types.video.transcoders] 68% done...
2015-01-11 17:32:54,015 INFO    [mediagoblin.media_types.video.transcoders] 72% done...
2015-01-11 17:32:56,022 INFO    [mediagoblin.media_types.video.transcoders] 76% done...
2015-01-11 17:32:57,017 INFO    [mediagoblin.media_types.video.transcoders] 80% done...
2015-01-11 17:32:59,041 INFO    [mediagoblin.media_types.video.transcoders] 84% done...
2015-01-11 17:33:00,044 INFO    [mediagoblin.media_types.video.transcoders] 88% done...
2015-01-11 17:33:02,051 INFO    [mediagoblin.media_types.video.transcoders] 92% done...
2015-01-11 17:33:03,031 INFO    [mediagoblin.media_types.video.transcoders] 96% done...
2015-01-11 17:33:05,031 INFO    [mediagoblin.media_types.video.transcoders] 100% done...
2015-01-11 17:33:05,404 INFO    [mediagoblin.media_types.video.transcoders] Done
2015-01-11 17:33:05,497 INFO    [mediagoblin.media_types.video.transcoders] Terminating MainLoop
2015-01-11 17:33:05,508 DEBUG   [mediagoblin.media_types.video.processing] Saving medium...
2015-01-11 17:33:05,522 DEBUG   [mediagoblin.media_types.video.processing] Saved medium
2015-01-11 17:33:05,573 ERROR   [mediagoblin.media_types.video.transcoders] playbin error: <gst.Message GstMessageError, gerror=(GError)NULL, debug=(string)"gstgiosrc.c\(313\):\ gst_gio_src_get_stream\ \(\):\ /GstPlayBin:playbin0/GstGioSrc:source:\012Could\ not\ open\ location\ file:///mediagoblin/user_dev/media/queue/media_entries/c556c057-a037-4425-ae8f-edbe30f89eef/Weihnachten_2014.mp4\ for\ reading:\ Error\ opening\ file:\ No\ such\ file\ or\ directory"; from source at 0x7f64e42d0950>
Traceback (most recent call last):
  File "/srv/mediagoblin/mediagoblin/media_types/video/transcoders.py", line 150, in on_playbin_message
    gobject.idle_add(self.on_playbin_error)
AttributeError: 'VideoThumbnailerMarkII' object has no attribute 'on_playbin_error'
2015-01-11 17:33:05,574 ERROR   [mediagoblin.media_types.video.transcoders] playbin error: <gst.Message GstMessageError, gerror=(GError)NULL, debug=(string)"gstgiobasesrc.c\(130\):\ gst_gio_base_src_start\ \(\):\ /GstPlayBin:playbin0/GstGioSrc:source:\012No\ input\ stream\ provided\ by\ subclass"; from source at 0x7f64e42d0a50>
Traceback (most recent call last):
  File "/srv/mediagoblin/mediagoblin/media_types/video/transcoders.py", line 150, in on_playbin_message
    gobject.idle_add(self.on_playbin_error)
AttributeError: 'VideoThumbnailerMarkII' object has no attribute 'on_playbin_error'
2015-01-11 17:33:05,575 ERROR   [mediagoblin.media_types.video.transcoders] playbin error: <gst.Message GstMessageError, gerror=(GError)NULL, debug=(string)"gstgiosrc.c\(313\):\ gst_gio_src_get_stream\ \(\):\ /GstPlayBin:playbin0/GstGioSrc:source:\012Could\ not\ open\ location\ file:///mediagoblin/user_dev/media/queue/media_entries/c556c057-a037-4425-ae8f-edbe30f89eef/Weihnachten_2014.mp4\ for\ reading:\ Error\ opening\ file:\ No\ such\ file\ or\ directory"; from source at 0x7f64e42b5c50>
Traceback (most recent call last):
  File "/srv/mediagoblin/mediagoblin/media_types/video/transcoders.py", line 150, in on_playbin_message
    gobject.idle_add(self.on_playbin_error)
AttributeError: 'VideoThumbnailerMarkII' object has no attribute 'on_playbin_error'
2015-01-11 17:33:05,575 ERROR   [mediagoblin.media_types.video.transcoders] playbin error: <gst.Message GstMessageError, gerror=(GError)NULL, debug=(string)"gstgiobasesrc.c\(130\):\ gst_gio_base_src_start\ \(\):\ /GstPlayBin:playbin0/GstGioSrc:source:\012No\ input\ stream\ provided\ by\ subclass"; from source at 0x7f64e42d08d0>
Traceback (most recent call last):
  File "/srv/mediagoblin/mediagoblin/media_types/video/transcoders.py", line 150, in on_playbin_message
    gobject.idle_add(self.on_playbin_error)
AttributeError: 'VideoThumbnailerMarkII' object has no attribute 'on_playbin_error'

Change History (3)

comment:1 by Marcus, 10 years ago

A workaround is to

ln -s /srv/mediagoblin /mediagoblin

comment:2 by Marcus, 10 years ago

There is also a repository for gstreamer1.0-ffmpeg only. No need to activate the complete trusty-media ppa:

sudo add-apt-repository ppa:mc3man/gstffmpeg-keep

comment:3 by Loic Dachary, 9 years ago

Resolution: fixed
Status: newclosed

Ubuntu 14.04 now has 1.0 by default

Note: See TracTickets for help on using tickets.