Hi Arek,
I'm afriad that I'm still having the same problems with displaying dataset and database names. I have reinstalled 0.5 with no effect and I always now use --clean and even delete the caches (registry, template and XML). Sifting through the code it looks as though the first time Apache begins that it creates and compiles the datasetpanel html into /conf/templates/cache/ using the the template in /conf/default/. To do this it calls process_template() in Web.pm, and then calls the Template module to transform the template into html.
The parameters are passed correctly to Template as far as I can tell, but the resulting html does not include the schema and dataset names passed in. (hence no options in the drop down). I'm not really familar with the Template-Toolkit, although I've re-installed 2.15 with no effect. Is there any reason why it can't access the hash passed in to create the panel html? Does Template require any special configuration? I don't know if this is having an effect but I'm also running Apache not as root but nobody, as instructed in documentation.
Help!
Robert
>
> Hi Arek,
>
> I have posted a message on mart-dev but it's taking a while to get
> through. I didn't realise this first message was sent! The registry
> file is
> below:
>
>
Hi Robert,
your registry looks perfectly fine. I did test it my own install here
with your registry file (after removing proxy settings) and it shows
all the display names correctly and queries fine
are you using the latest code from 'release-0_5' branch?
can you reconfigure your server with a '--clean' switch
or even better throw away all the code and get the latest
and try again
a,.
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE MartRegistry>
> <MartRegistry>
> <virtualSchema name="default" default="1">
>
> <MartURLLocation
> name = "msd"
> displayName = "My BioMart Database"
> host = "www.biomart.org"
> port = "80"
> proxy =
> "http://chproxy.eu.unilever.com:8080"
> visible = "1"
> default = ""
> includeDatasets = "msd"
> martUser = ""
> />
>
>
> <MartURLLocation
> name = "uniprot"
> displayName = "My Uniprot Database"
> host = "www.biomart.org"
> port = "80"
> proxy =
> "http://chproxy.eu.unilever.com:8080"
> visible = "1"
> default = "1"
> includeDatasets = "uniprot"
> martUser = ""
> />
>
>
> </virtualSchema>
> </MartRegistry>
>
------------------------------------------------------------------------
-------
Arek Kasprzyk
EMBL-European Bioinformatics Institute.
Wellcome Trust Genome Campus, Hinxton,
Cambridge CB10 1SD, UK.
Tel: +44-(0)1223-494606
Fax: +44-(0)1223-494468
------------------------------------------------------------------------
-------
