about the div in the header section

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

about the div in the header section

JINGJING JIN-2
Hi all,

I try to add some html code into the header section in the GBrowse
configure file like this:

head = <link rel="stylesheet" href="/gbrowse2/home_css/new.css">

header =
<div>
<P>

    <h3 style="color:red;">

      <marquee >

      THis is used to test

      </marquee>

    </h3>

 </P>
</div>

However, the error is very strange. I have checked the error log of apache:

------------- EXCEPTION -------------
MSG: syntax error at line 132: '<div><P>'
STACK Bio::DB::SeqFeature::Store::FeatureFileLoader::_make_feature
/usr/local/share/perl/5.10.1/Bio/DB/SeqFeature/Store/FeatureFileLoader.pm:629
STACK Bio::DB::SeqFeature::Store::FeatureFileLoader::_make_indexed_feature
/usr/local/share/perl/5.10.1/Bio/DB/SeqFeature/Store/FeatureFileLoader.pm:616
STACK Bio::DB::SeqFeature::Store::FeatureFileLoader::handle_feature
/usr/local/share/perl/5.10.1/Bio/DB/SeqFeature/Store/FeatureFileLoader.pm:491
STACK Bio::DB::SeqFeature::Store::FeatureFileLoader::load_line
/usr/local/share/perl/5.10.1/Bio/DB/SeqFeature/Store/FeatureFileLoader.pm:430
STACK Bio::Graphics::FeatureFile::parse_data_line
/usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:902
STACK Bio::Graphics::FeatureFile::parse_line
/usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:820
STACK Bio::Graphics::FeatureFile::parse_fh
/usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:771
STACK Bio::Graphics::FeatureFile::parse_file
/usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:758
STACK Bio::Graphics::FeatureFile::_new
/usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:396
STACK Bio::Graphics::FeatureFile::new
/usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:358
STACK Bio::Graphics::Browser2::new
/usr/local/lib/perl/5.10.1/Bio/Graphics/Browser2.pm:45
STACK Bio::Graphics::Browser2::open_globals
/usr/local/lib/perl/5.10.1/Bio/Graphics/Browser2.pm:31
STACK toplevel /usr/lib/cgi-bin/gb2/gbrowse:55
-------------------------------------

[Sun Sep 11 11:49:27 2011] [error] [client ::1] Premature end of
script headers: gbrowse, referer: http://localhost/gbrowse2/home.html


I don't know why there is syntax error in this section.

Can anyone give me some suggestion?

jingjing

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Gmod-gbrowse mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Reply | Threaded
Open this post in threaded view
|

Re: about the div in the header section

Todd Harris
Tried indenting your HTML in your header option?

Todd

On Sep 11, 2011, at 7:02 PM, JINGJING JIN wrote:

> Hi all,
>
> I try to add some html code into the header section in the GBrowse
> configure file like this:
>
> head = <link rel="stylesheet" href="/gbrowse2/home_css/new.css">
>
> header =
> <div>
> <P>
>
>    <h3 style="color:red;">
>
>      <marquee >
>
>      THis is used to test
>
>      </marquee>
>
>    </h3>
>
> </P>
> </div>
>
> However, the error is very strange. I have checked the error log of apache:
>
> ------------- EXCEPTION -------------
> MSG: syntax error at line 132: '<div><P>'
> STACK Bio::DB::SeqFeature::Store::FeatureFileLoader::_make_feature
> /usr/local/share/perl/5.10.1/Bio/DB/SeqFeature/Store/FeatureFileLoader.pm:629
> STACK Bio::DB::SeqFeature::Store::FeatureFileLoader::_make_indexed_feature
> /usr/local/share/perl/5.10.1/Bio/DB/SeqFeature/Store/FeatureFileLoader.pm:616
> STACK Bio::DB::SeqFeature::Store::FeatureFileLoader::handle_feature
> /usr/local/share/perl/5.10.1/Bio/DB/SeqFeature/Store/FeatureFileLoader.pm:491
> STACK Bio::DB::SeqFeature::Store::FeatureFileLoader::load_line
> /usr/local/share/perl/5.10.1/Bio/DB/SeqFeature/Store/FeatureFileLoader.pm:430
> STACK Bio::Graphics::FeatureFile::parse_data_line
> /usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:902
> STACK Bio::Graphics::FeatureFile::parse_line
> /usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:820
> STACK Bio::Graphics::FeatureFile::parse_fh
> /usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:771
> STACK Bio::Graphics::FeatureFile::parse_file
> /usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:758
> STACK Bio::Graphics::FeatureFile::_new
> /usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:396
> STACK Bio::Graphics::FeatureFile::new
> /usr/local/share/perl/5.10.1/Bio/Graphics/FeatureFile.pm:358
> STACK Bio::Graphics::Browser2::new
> /usr/local/lib/perl/5.10.1/Bio/Graphics/Browser2.pm:45
> STACK Bio::Graphics::Browser2::open_globals
> /usr/local/lib/perl/5.10.1/Bio/Graphics/Browser2.pm:31
> STACK toplevel /usr/lib/cgi-bin/gb2/gbrowse:55
> -------------------------------------
>
> [Sun Sep 11 11:49:27 2011] [error] [client ::1] Premature end of
> script headers: gbrowse, referer: http://localhost/gbrowse2/home.html
>
>
> I don't know why there is syntax error in this section.
>
> Can anyone give me some suggestion?
>
> jingjing
>
> ------------------------------------------------------------------------------
> Using storage to extend the benefits of virtualization and iSCSI
> Virtualization increases hardware utilization and delivers a new level of
> agility. Learn what those decisions are and how to modernize your storage
> and backup environments for virtualization.
> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> _______________________________________________
> Gmod-gbrowse mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Gmod-gbrowse mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Reply | Threaded
Open this post in threaded view
|

Re: about the div in the header section

JINGJING JIN-2
Hi Todd,

You mean there are syntax error in my HTML code.

But these are very simple test code. I don't know whether is wrong?

Thanks!

jingjing

--
View this message in context: http://generic-model-organism-system-database.450254.n5.nabble.com/about-the-div-in-the-header-section-tp4791798p4794345.html
Sent from the gmod-gbrowse mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Gmod-gbrowse mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Reply | Threaded
Open this post in threaded view
|

Re: about the div in the header section

Scott Cain
Hi jingjing,

What Todd was trying to say is that continuation lines in GBrowse
config files need to have a space before any characters, so this is
not OK:

html1 = <div>
<h1>something here</h1>

but this is:

html1 = <div>
 <h1>something else</h1>

Scott


On Mon, Sep 12, 2011 at 10:13 AM, jjjscuedu <[hidden email]> wrote:

> Hi Todd,
>
> You mean there are syntax error in my HTML code.
>
> But these are very simple test code. I don't know whether is wrong?
>
> Thanks!
>
> jingjing
>
> --
> View this message in context: http://generic-model-organism-system-database.450254.n5.nabble.com/about-the-div-in-the-header-section-tp4791798p4794345.html
> Sent from the gmod-gbrowse mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops?   How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> _______________________________________________
> Gmod-gbrowse mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>



--
------------------------------------------------------------------------
Scott Cain, Ph. D.                                   scott at scottcain dot net
GMOD Coordinator (http://gmod.org/)                     216-392-3087
Ontario Institute for Cancer Research

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Gmod-gbrowse mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse