Hi Greg

Thanks for the reply - I've changed the Subject to reflect the problem
now.

I'm running on Ubuntu 12.04.1 LTS, if that helps.

I've tried the v25 sample media package but get the same negative
response.

I do have directories created in felix/work/opencast/files/mediapackage
such as 
f2125794-38ed-4c76-987a-012c1f63b238 with a security-policy directory
containing xacml.xml and xacml.xml.md5 - not sure if this means
something is partially creating a mediapackage.

Cheers
Steve


-----Original Message-----
From: Greg Logan [mailto:[email protected]] 
Sent: 16 October 2012 18:20
To: Matterhorn Users
Cc: Steve Brignall
Subject: Re: [Matterhorn-users] Matterhorn-users Digest, Vol 27, Issue 9

On 12-10-16 02:06 AM, Steve Brignall wrote:
> 
> Hi Greg, Karen
> 
> Thanks for the responses!
> 
> I get the "Could not add DublinCore catalog to MediaPackage" error
even when I try to upload a basic media file, such as
metaU_presenter.mp4 (downloaded from the Opencsat site and referred to
in the sample media package).  The same happens with other example media
files on their own.
> 
> Am I supposed to be able to just select a media file from the hard
drive and upload it or do I need a mediapackage xml file to go with it
in a manifest?

If you are using the ingest UI, then yes you should be able to just
select the media file(s) and it will generate a new mediapackage XML.  I
will give it a try in a bit (once I can get through to the svn server),
but if you still can't make it work then there's probably a bug.

> I am trying release 1.3.1.  The sample media package was cut&pasted
from the website, so it may have additional namespaces, but I don't know
what else to try.  I thought it would have just been a simple matter of
uploading a media file and filling in the meta data online.

Ah, but if you look at the previous revision of that page, only the
mediapackage element itself is namespaced, the rest is in the default
namespace.  The current mediapackage you see on that page has
*everything* in a single, non-default namespace.  So when the parser
looks at this mediapackage, it's seeing a blank mediapackage.  Aren't
XML namespaces wonderful? :)

Try ingesting using the mediapackage from version 25 of
http://opencast.jira.com/wiki/display/MH/Sample+Media, that should work
for you.  We discussed the reverse of this issue (ingesting old
mediapackages in new cores) in the meeting this morning, but we haven't
come to a consensus of how to deal with this issue just yet.

G

> Karen : I can change the Dublin Core file to correct the date/time.
There isn't a user guide for the Admin UI, so it isn't clear to new
users what they need to upload or how the information should be
structured.  Is there a link to a page I haven't found yet?
> 
> PS sorry about the Subject - I forgot to change it to something
meaningful :-(
> 
> Steve
> ------------------------------
> 
> Message: 2
> Date: Mon, 15 Oct 2012 11:22:05 -0600
> From: Greg Logan <[email protected]>
> To: [email protected]
> Subject: Re: [Matterhorn-users] Matterhorn-users Digest, Vol 27, Issue
>         9
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi Steve,
> 
> Which version of Matterhorn are you using?  We added some namespaces
to
> the mediapackage format with 1.4, so if you're just copy and pasting
> that into a 1.3 or older core then it won't work as expected!
> 
> G
> 
> On 12-10-15 05:42 AM, Steve Brignall wrote:
>> Hi
>>
>> I've installed Matterhorn and now I'm trying to upload (ingest) some
>> sample videos taken from the Opencast site
>> (http://opencast.jira.com/wiki/display/MH/Sample+Media).  I'm trying
to
>> ingest the media files (MP4, M4A) but I've also tried to load the
sample
>> mediapackage XML itself - nothing works.  I am using the Admin
interface
>> but I keep getting "Could not add DublinCore catalog to MediaPackage"
on
>> the UI and the following exception on the server:
>>
>> 12:23:32 ERROR (IngestRestService:878) - Unable to update ingest job
>> org.opencastproject.ingest.api.IngestException: Unable to update
ingest
>> job
>>         at
>>
org.opencastproject.ingest.impl.IngestServiceImpl.addCatalog(IngestServi
>> ceImpl.java:541)
>> ...
>> Caused by: java.lang.NullPointerException
>>         at
>>
org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.updateIn
>> ternal(ServiceRegistryJpaImpl.java:526)
>>         at
>>
org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.updateJo
>> b(ServiceRegistryJpaImpl.java:489)
>>         at
>>
org.opencastproject.ingest.impl.IngestServiceImpl.addCatalog(IngestServi
>> ceImpl.java:539)
>>
>> I can't find any user documentation that relates to what I should be
>> trying to upload, other than the videos.  Am I doing something wrong?
>>
>> I also get a number of warnings on startup, for example:
>>
>> 12:25:49  WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) -
Unable
>> to register job producer of type org.opencastproject.scheduler on
host
>>
>> 12:25:50  WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) -
Unable
>> to register job producer of type org.opencastproject.episode on host
>>
>> 12:25:51  WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) -
Unable
>> to register job producer of type org.opencastproject.search on host
>>
>> 12:25:51  WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) -
Unable
>> to register job producer of type org.opencastproject.usertracking on
>> host
>>
>> 12:25:51  WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) -
Unable
>> to register job producer of type org.opencastproject.caption on host
>>
>> 12:25:52  WARN (UserAndSeriesLoader$Loader:174) - Unable to find
series
>> dublin core
>>
>> I switched DEBUG on and I get these:
>>
>> DEBUG: Bundle matterhorn-series-service-api [97]
>> META-INF/javamail.providers not found by
matterhorn-series-service-api
>> [97]
>> DEBUG: Bundle matterhorn-series-service-api [97]
>> META-INF/javamail.default.providers not found by
>> matterhorn-series-service-api [97]
>> DEBUG: Bundle matterhorn-series-service-api [97] /META-INF/mailcap
not
>> found by matterhorn-series-service-api [97]
>>
>> DEBUG: Bundle org.apache.cxf.bundle-jaxrs [53] cxf.xml not found by
>> org.apache.cxf.bundle-jaxrs [53]
>> DEBUG: Bundle org.apache.cxf.bundle-jaxrs [53] cxf.xml not found by
>> org.apache.cxf.bundle-jaxrs [53]
>> DEBUG: Bundle org.apache.cxf.bundle-jaxrs [53]
>> org/apache/cxf/bus/spring/cxf.xml not found by
>> org.apache.cxf.bundle-jaxrs [53]
>>
>> Any ideas?
>> Steve
>>
>>
>> SCISYS UK Limited. Registered in England and Wales No. 4373530.
>> Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.
>>
>> Before printing, please think about the environment.
>>
>> _______________________________________________
>> Matterhorn-users mailing list
>> [email protected]
>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>>
> 
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 836 bytes
> Desc: OpenPGP digital signature
> URL:
<http://lists.opencastproject.org/pipermail/matterhorn-users/attachments
/20121015/238c7983/attachment-0001.bin>
> 


_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to