Hi Siddhartha run the example as perl scripts/apiExample.pl instead. Hope this would work.
Regards Syed > Hi, > > I have just upgraded to 0.6 biomart perl-api and while trying to test > the 'apiExample.pl' in the scripts folder it is throwing out the > following error (using the apiExampleRegistry.xml) ....... > > default ... ensembl .................. 003/018 ... > hsapiens_gene_ensembl..................... (WEB) www.biomart.org:80 > ............ -> > upgrading to 0.6 ... Content-type:text/html > > <html><body>XML error cannot read data or file, see log file > > ----------------------- > > also getting identical error with the 'registryURLPointer.xml' file > The output of log file ...... > > ERROR: > XML error in file > "/home/basu/Work/biomart-perl/scripts/conf/mart_0_5_0_6.xsl": > Couldn't open > /home/basu/Work/biomart-perl/scripts/conf/mart_0_5_0_6.xsl: > No such file or directory at /home/basu/My_perl/BioMart/Web/CGIXSLT.pm > line 221 > > DATE: Tue Jun 19 18:18:29 2007 > REMOTE_ADDR: > PARAMETERS PASSED: > source="temp.xml" > style="/home/basu/Work/biomart-perl/scripts/conf/mart_0_5_0_6.xsl" > > > ------------------------- > > I am running the program inside the 'scripts' folder and it seems to be > looking for 'mart_0_5_0_6.xsl' file which is expected to be under a 'conf' > folder relative from where the program is run. As i understand, > biomart-perl api only requires the 'registry' file whose location is > configurable. The example and rest of my scripts were running fine with > previous version(0.5), so any idea how to get them running with the > current one (0.6). > > > -siddhartha > ====================================== Syed Haider. EMBL-European Bioinformatics Institute Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK. ======================================
