[ensembl-dev] XML not supported

mag mr6 at ebi.ac.uk
Mon Jan 23 08:49:40 GMT 2017


Hi David,

All the dependencies for the REST API are listed here: 
https://github.com/Ensembl/ensembl-rest/blob/release/87/cpanfile
If all these have been installed, you should have all the required Perl 
packages.

I have seen that message for errors that are not captured. Catalyst then 
struggles to render the error and treats it as a content-type issue.
I would recommend checking the error logs if you have access to them, as 
they might give some insights in what is missing.
If you started your server with the 
https://github.com/Ensembl/ensembl-rest/blob/release/87/script/ensembl_rest_server.pl 
script, the log will display on screen in that terminal.
Additionally, if you can access the same endpoint with application/json, 
it might be able to render the error message.

As common errors goes, please ensure you are using the same release 
version for all Ensembl checkouts, as there might be schema changes.
Additionally, the databases you connect to should also be of the same 
release version.


Hope that helps,
Magali

On 23/01/2017 07:39, Herzig, David wrote:
> Hi Ensembl Team
>
> I have two instances of the ensembl system installed locally. To 
> access the data I use the REST API.
>
> On one system the access using XML works (release 85). On the other 
> system (release 87) if I access the REST API using XML format I get 
> the message: "Content-Type text/xml is not supported."
> JSON works fine.
>
> So I guess I have missed to install some PERL packages, but I am not 
> sure. Unfortunately I was not able to find the root cause.
>
> Do you have an idea? Is there a log file with some additional information?
>
> regards,
> David
>
> -- 
> David Herzig
> Scientific Application Developer
> SIAD Solution Delivery & Architecture, pRED Informatics
> Roche Pharma Research and Early Development
> Roche Innovation Center Basel
>
> F. Hoffmann-La Roche Ltd
> Grenzacherstrasse 124
> 4070 Basel
> Switzerland
> Phone +41 61 687 31 70
>
> Learn more about pRED Informatics at http://go.roche.com/*pREDi* 
> <http://go.roche.com/pREDi>
>
>
>
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20170123/179b0284/attachment.html>


More information about the Dev mailing list