Lincoln Stein | 1 Sep 2011 01:19
Picon
Gravatar

Re: github error

See here:


http://stackoverflow.com/questions/3777075/https-github-access

On Wed, Aug 31, 2011 at 6:31 PM, Sheldon McKay <sheldon.mckay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi all,

I am trying to grab GB2 using the incantation described in the wiki
but am failing with this error message:

$ git clone https://github.com/GMOD/GBrowse.git
Cloning into GBrowse...
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed while accessing
https://github.com/GMOD/GBrowse.git/info/refs

Any suggestions?

Thanks

Sheldon McKay, PhD
Scientific Lead, Tree of Life engagement Team
iPlant Collaborative, BIO5 Institute, University of Arizona
Email: mckays-J82dVEKiPgWwMxdmafFHj4dd74u8MsAO@public.gmane.org
Google Voice:  (203) 701-9204

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse-5NWGOfrQmnc@public.gmane.orgurceforge.net
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse



--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa-O2sQSXo6EZOw5LPnMra/2Q@public.gmane.org>
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Lincoln Stein | 1 Sep 2011 01:22
Picon
Gravatar

Re: github error

If you first get an account on github, then you can also use this method:


git clone git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:GMOD/GBrowse.git

On Wed, Aug 31, 2011 at 6:31 PM, Sheldon McKay <sheldon.mckay <at> gmail.com> wrote:
Hi all,

I am trying to grab GB2 using the incantation described in the wiki
but am failing with this error message:

$ git clone https://github.com/GMOD/GBrowse.git
Cloning into GBrowse...
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed while accessing
https://github.com/GMOD/GBrowse.git/info/refs

Any suggestions?

Thanks

Sheldon McKay, PhD
Scientific Lead, Tree of Life engagement Team
iPlant Collaborative, BIO5 Institute, University of Arizona
Email: mckays-J82dVEKiPgWwMxdmafFHj4dd74u8MsAO@public.gmane.org
Google Voice:  (203) 701-9204

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse-5NWGOfrQmnc@public.gmane.orgurceforge.net
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse



--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa-O2sQSXo6EZOw5LPnMra/2Q@public.gmane.org>
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Sheldon McKay | 1 Sep 2011 02:17
Picon

Re: github error

Thanks Lincoln but it turns out my problem was specific my build of
CentOS having an old certificate authority bundle.
credit to: http://eric.lubow.org/2011/security/fixing-centos-root-certificate-authority-issues

What fixed it was this:

$ cd /etc/pki/tls/certs
$ sudo su
# cp ca-bundle.crt ca-bundle.crt.bak
# curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt

Then the git clone worked fine.

Sheldon McKay, PhD
Scientific Lead, Tree of Life engagement Team
iPlant Collaborative, BIO5 Institute, University of Arizona
Email: mckays@...
Google Voice:  (203) 701-9204

On Wed, Aug 31, 2011 at 4:22 PM, Lincoln Stein
<lincoln.stein@...> wrote:
> If you first get an account on github, then you can also use this method:
> git clone git@...:GMOD/GBrowse.git
>
> On Wed, Aug 31, 2011 at 6:31 PM, Sheldon McKay <sheldon.mckay@...>
> wrote:
>>
>> Hi all,
>>
>> I am trying to grab GB2 using the incantation described in the wiki
>> but am failing with this error message:
>>
>> $ git clone https://github.com/GMOD/GBrowse.git
>> Cloning into GBrowse...
>> error: SSL certificate problem, verify that the CA cert is OK. Details:
>> error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
>> verify failed while accessing
>> https://github.com/GMOD/GBrowse.git/info/refs
>>
>> Any suggestions?
>>
>> Thanks
>>
>> Sheldon McKay, PhD
>> Scientific Lead, Tree of Life engagement Team
>> iPlant Collaborative, BIO5 Institute, University of Arizona
>> Email: mckays@...
>> Google Voice:  (203) 701-9204
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer -- Download ArcSight Logger for FREE!
>> Finally, a world-class log management solution at an even better
>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
>> download Logger. Secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsisghtdev2dev
>> _______________________________________________
>> Gmod-gbrowse mailing list
>> Gmod-gbrowse@...
>> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>
>
>
> --
> Lincoln D. Stein
> Director, Informatics and Biocomputing Platform
> Ontario Institute for Cancer Research
> 101 College St., Suite 800
> Toronto, ON, Canada M5G0A3
> 416 673-8514
> Assistant: Renata Musa <Renata.Musa@...>
>

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
谭涛 | 1 Sep 2011 03:15
Picon

gbrowse_syn add NGS data(bam,coverage)



hi,
   i want to add NGS-coverage in gbrowse_syn ,so i changed the .conf file ,but only show the main database(default database) data,not the RNA_SEQ database. please read bellows.
--------------------------------
.synconf

[super]
tracks    = Genes mRNA CoverageXyplot
color     = blue



[wild]
tracks    = Genes mRNA CoverageXyplot
color     = red

------------------------------
wild.conf
[GENERAL]
description   = Wild Cucumber Genome
database      = wild_2011_08_15
db_adaptor    = Bio::DB::SeqFeature::Store
db_args       = -adaptor DBI::mysql
                -dsn     dbi:mysql:database=wild_2011_08_15;host=localhost
                -user    gbrowse
                -pass    gbrowse123
......
.....
[RNA_SEQ_fruit:database]
db_adaptor    = Bio::DB::Sam
db_args       = -fasta /home/tant/databases/wild_RNA_SEQ/wild_chr.fa
                         -bam  /home/tant/databases/wild_RNA_SEQ/Hw_fruit_l1.bam
                         -split 1
........
........
[Genes]
.....
.........

[mRNA]
......
......

[CoverageXyplot]
feature        = coverage
glyph          = wiggle_xyplot
database       = RNA_SEQ_fruit
height         = 50
fgcolor        = black
bicolor_pivot  = 20
pos_color      = blue
neg_color      = red
key            = Coverage_ff (xyplot)
category       = Reads_ff

------------------------------------
super.conf
the same to wild.conf
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Barris, Wes | 1 Sep 2011 16:49
Favicon

Re: gbrowse re-install -- bioperl problem?

Zhiliang wrote on 2011-08-31:

> Wes - It is odd but repeatable on my site.
> 
> To repeat: I copy an existing species.conf to, say "odd.conf", in the
> same location; Modify the "odd.conf" by only remove '=' in one of its
> name/value pairs - the GBrowse then quits working by return "boo boo"
> on the web.
> GBrowse resumes normal work when I put '=' back to "odd.conf" or I
> simply delete "odd.conf" file.

Then you cannot be running GBrowse-2.xx

GBrowse-2 would not try to read odd.conf unless you also edited the
main GBrowse.conf file and configured a datasource definition for odd.conf.

> I will try to get v2.39 to work on a different server.
> 
> Zhiliang
> 
> 
> On Wed, 31 Aug 2011, Barris, Wes wrote:
> 
>> Date: Wed, 31 Aug 2011 13:13:28 -0500
>> From: "Barris, Wes" <Wes.Barris@...>
>> To: Zhiliang <hu@...>
>> Cc: GBrowse Group <gmod-gbrowse@...>
>> Subject: RE: [Gmod-gbrowse] gbrowse re-install -- bioperl problem?
>> 
>> Zhiliang wrote on 2011-08-31:
>> 
>>> Thank you Wes - that brings me for a more aggressive hack on the
>>> problem.
>>> 
>>> Actually I had noticed that; The problem was - it is not in any of the
>>> species/config I tested (we are hosting multiple species/tracks);
>>> rather, it is in an unused config that sits in the /conf/ folder.
>>> Apparently the new GBrowse is now checking the syntax for all conf
>>> files by default.
>> 
>> That is odd.  The behaviour of the old GBrowse-1.7 was to parse each
>> and every .conf file in the gbrowse.conf directory.  The new
>> GBrowse-2.xx parses only the "active" .conf file in the conf directory.
>>  I just did a test where I removed the '=' in a key/value pair in one
>> .conf file and then used GBrowse to view another.  I got no error.  I
>> only saw the error shown in your example when I tried to directly view
>> the .conf file with the missing '=' character.
>> 
>> I am running GBrowse-2.39.
>> 
>>> Thanks,
>>> Zhiliang
>>> 
>>> 
>>> On Tue, 30 Aug 2011, Barris, Wes wrote:
>>> 
>>>> Date: Tue, 30 Aug 2011 12:18:31 -0500
>>>> From: "Barris, Wes" <Wes.Barris@...>
>>>> To: Zhiliang <hu@...>,
>>>>     GBrowse Group <gmod-gbrowse@...>
>>>> Subject: RE: [Gmod-gbrowse] gbrowse re-install -- bioperl problem?
>>>> 
>>>> Zhiliang wrote on 2011-08-29:
>>>> 
>>>>> [Mon Aug 29 15:25:30 2011] [error] [client 127.0.0.1] ------------ -
>>>>> EXCEPTION: Bio::Root::Exception ------------- [Mon Aug 29 15:25:30
>>>>> 2011] [error] [client 127.0.0.1] MSG: syntax error at line 134: 'key
>>>>> DNA/GC Content' [Mon Aug 29 15:25:30 2011] [error] [client
>>> 127.0.0.1]
>>>> 
>>>> It looks like the error above (which is mangled in this email) is due
>>>> to an error in your .conf file.  A "key = value" pair is missing the
>>>> equals sign.  Search for this:
>>>> 
>>>> key        DNA/GC Content
>>>> 
>>>> and change it to
>>>> 
>>>> key      = DNA/GC Content
>>>> 
>>>> 
>>>>> STACK: Error::throw [Mon Aug 29 15:25:30 2011] [error] [client
>>>>> 127.0.0.1] STACK: Bio::Root::Root::throw
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/Root/Root.pm:472 [Mon Aug 29
>>>>> 15:25:30 2011] [error] [client 127.0.0.1] STACK:
>>>>> Bio::DB::SeqFeature::Store::FeatureFileLoader::_make_feature
>>>>> 
>>>>> 
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/DB/SeqFeature/Store/FeatureFileL
>>>>> oa de r.pm:629 [Mon Aug 29 15:25:30 2011] [error] [client 127.0.0.1]
>>>>> STACK:
>>>>> 
>>>>> Bio::DB::SeqFeature::Store::FeatureFileLoader::_make_indexed_featur e
>>>>> 
>>>>> 
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/DB/SeqFeature/Store/FeatureFileL
>>>>> oa de r.pm:616 [Mon Aug 29 15:25:30 2011] [error] [client 127.0.0.1]
>>>>> STACK: Bio::DB::SeqFeature::Store::FeatureFileLoader::handle_feature
>>>>> 
>>>>> 
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/DB/SeqFeature/Store/FeatureFileL
>>>>> oa de r.pm:579 [Mon Aug 29 15:25:30 2011] [error] [client 127.0.0.1]
>>>>> STACK: Bio::DB::SeqFeature::Store::FeatureFileLoader::load_line
>>>>> 
>>>>> 
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/DB/SeqFeature/Store/FeatureFileL
>>>>> oa de r.pm:430 [Mon Aug 29 15:25:30 2011] [error] [client 127.0.0.1]
>>>>> STACK: Bio::Graphics::FeatureFile::parse_data_line
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/Graphics/FeatureFile.pm:902 [Mon
>>>>> Aug 29 15:25:30 2011] [error] [client 127.0.0.1] STACK:
>>>>> Bio::Graphics::FeatureFile::parse_line
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/Graphics/FeatureFile.pm:820 [Mon
>>>>> Aug 29 15:25:30 2011] [error] [client 127.0.0.1] STACK:
>>>>> Bio::Graphics::FeatureFile::parse_fh
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/Graphics/FeatureFile.pm:771 [Mon
>>>>> Aug 29 15:25:30 2011] [error] [client 127.0.0.1] STACK:
>>>>> Bio::Graphics::FeatureFile::parse_file
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/Graphics/FeatureFile.pm:758 [Mon
>>>>> Aug 29 15:25:30 2011] [error] [client 127.0.0.1] STACK:
>>>>> Bio::Graphics::FeatureFile::_new
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/Graphics/FeatureFile.pm:396 [Mon
>>>>> Aug 29 15:25:30 2011] [error] [client 127.0.0.1] STACK:
>>>>> Bio::Graphics::FeatureFile::new
>>>>> /usr/lib/perl5/site_perl/5.8.8/Bio/Graphics/FeatureFile.pm:358 [Mon
>>>>> Aug 29 15:25:30 2011] [error] [client 127.0.0.1] STACK:
>>>>> Bio::Graphics::Browser::read_configuration
>>>>> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-
>>>>> multi/Bio/Graphics/Browser.pm:187 [Mon Aug 29 15:25:30 2011] [error]
>>>>> [client 127.0.0.1] STACK: Bio::Graphics::Browser::Util::open_config
>>>>> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-
>>>>> multi/Bio/Graphics/Browser/Util.pm:152 [Mon Aug 29 15:25:30 2011]
>>>>> [error] [client 127.0.0.1] STACK:
>>>>> /usr/local/apache/cgi-bin/gbrowse:134 [Mon Aug 29 15:25:30 2011]
>>>>> [error] [client 127.0.0.1]
>>>>> ----------------------------------------------------------- [Mon Aug
>>>>> 29 15:25:30 2011] [error] [client 127.0.0.1] Premature end of script
>>>>> headers: gbrowse
>>>>> 
>>>>> Thanks in advance,
>>>>> 
>>>>> Zhiliang
>> 
>> 
>> --
>> Wes Barris
>> 
>> This email and any files transmitted with it are confidential and
>> intended solely for the use of the addressee. If you are not the
>> intended addressee, then you have received this email in error and any
>> use, dissemination, forwarding, printing, or copying of this email is
>> strictly prohibited. Please notify us immediately of your unintended
>> receipt by reply and then delete this email and your reply.
>> Cobb-Vantress, Inc. and its subsidiaries and affiliates will not be
>> held liable to any person resulting from the unintended or unauthorized
>> use of any information contained in this email or as a
> result of any additions or deletions of information originally
> contained in this email.
>>

--
Wes Barris

This email and any files transmitted with it are confidential and intended solely for the use of the
addressee. If you are not the intended addressee, then you have received this email in error and any use,
dissemination, forwarding, printing, or copying of this email is strictly prohibited. Please notify us
immediately of your unintended receipt by reply and then delete this email and your reply.
Cobb-Vantress, Inc. and its subsidiaries and affiliates will not be held liable to any person resulting
from the unintended or unauthorized use of any information contained in this email or as a result of any
additions or deletions of information originally contained in this email.

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
Christopher Barrington | 1 Sep 2011 21:58
Picon
Picon

Remote source coordinates

Hi,

I have a gbrowse 2.26 server set up using mysql. All of the coordinates that I have in the database are in the
form 'chr1','chr2' etc. I would like to link to a remote source. From the remote source I copy/paste the URL
into my gbrowse server but nothing is rendered. The coordinates that are used on the remote server are
'1','2' etc. Could this difference cause this problem? Is there any way that I can modify the outgoing
coordinates so that I can use the remote data?

Thanks,

- Christopher

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
Lincoln Stein | 2 Sep 2011 23:33
Picon
Gravatar

Re: trouble with session and param method

Hi Starr,


Well, this is very helpful information. It suggests that you have an older, incompatible library installed somewhere in your Perl path. I'm not sure what the library is, but probably an older version of GBrowse, bioperl, biographics, or some combination of them. Do me a favor and run this command (it will take a while):

find /usr -name 'Browser*' -ls | grep .pm > output.txt

Send me the resulting output.txt file.

Thanks,

Lincoln

On Fri, Sep 2, 2011 at 5:06 PM, Hazard, E. Starr <hazards-sm4NYSCnXRo@public.gmane.org> wrote:
Thank you for the suggestions.

I am installing Gbrowse2.39 on an old Dell desktop running RedHat Enterprise Linux 5.1.19.6 which also lists Red Hat linux 2.6.18-274.el5 as it boots.

When I build the demo as you suggested, I can connect and it does work. I turned it off and then I rebuilt my bioperl and dependencies and tried to delete all the GB2 directories then rebult GB2. At the end of this GB2 rebuild I see:

All tests successful.
Files=9, Tests=439, 69 wallclock secs ( 0.29 usr  0.05 sys + 37.99 cusr  7.17 csys = 45.50 CPU)
Result: PASS

Connecting to this fresh GB2  ( <at>  http://localhost/cgi-bin/gb2) gives these lines in the error_log:

[Fri Sep 02 10:07:44 2011] [error] [client 127.0.0.1] couldn't create lock file '/var/lib/gbrowse2/sessions/cgisess.db.lck': Permission denied at /usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/db_file.pm line 98., referer: http://localhost/gbrowse2/tutorial/tutorial.html
[Fri Sep 02 10:07:44 2011] [error] [client 127.0.0.1] Premature end of script headers: gbrowse, referer: http://localhost/gbrowse2/tutorial/tutorial.html

If make  /var/lib/gbrowse2/sessions  writtable then these 'permission denied' errors are avoided but then I  return to these 'method param  undefined' errors

[Fri Sep 02 10:26:59 2011] [error] [client 128.23.6.30] Can't call method "param" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Bio/Graphics/Browser2/Session.pm line 316., referer: http://localhost/index.html.en
[Fri Sep 02 10:26:59 2011] [error] [client 128.23.6.30] Premature end of script headers: gbrowse, referer: http://localhost/index.html.en

If I then ./Build demo I can connect to  http://localhost:8000/cgi-bin/gb2/gbrowse/yeast/ and manipulate the display.

http://localhost/cgi-bin/gb2 does not work

http://localhost:8000/cgi-bin/gb2/ does work


So I'm stumped at the moment.


Starr

From: Lincoln Stein [lincoln.stein-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: Wednesday, August 31, 2011 11:50 AM
To: Hazard, E. Starr
Cc: gmod-gbrowse <at> lists.sourceforge.net
Subject: Re: [Gmod-gbrowse] trouble with session and param method

Could you try the following from within the distribution directory:

 perl Build.PL
 ./Build clean
 ./Build demo

Then try to connect to the demo server (the URL will print out when you run Build demo).

I do not know what's going on, but this procedure will ensure that you don't have any conflicting libraries or configuration directives from within GBrowse. Also you didn't mention what operating system/distribution you're using.

Lincoln


On Tue, Aug 30, 2011 at 5:39 PM, Hazard, E. Starr <hazards-sm4NYSCnXRo@public.gmane.org<mailto:hazards-sm4NYSCnXRo@public.gmane.org>> wrote:
Folks,

I have been trying to get an instance GBrowse2 up and running. I had a screen showing at one point but clicking on any objects to change gave a series of errors[



Tue Aug 30 15:54:06 2011] [error] [client 128.23.6.30] couldn't create lock file '/var/lib/gbrowse2/sessions/cgisess.db.lck': Permission denied at /usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/db_file.pm<http://db_file.pm> line 98., referer: http://pchazards-linux.csb.mu/var/lib/gbrowse2/sessions/sc.edu/cgi-bin/gb2/gbrowse/yeast/
[Tue Aug 30 15:54:06 2011] [error] [client 128.23.6.30] Premature end of script headers: gbrowse, referer: http://pchazards-linux.csb.musc.edu/cgi-bin/gb2/gbrowse/yeast/

When I altered the write permission for the
/var/lib/gbrowse2/sessions/

directory began to see the following error in my apache error_log

[Tue Aug 30 17:21:45 2011] [error] [client 128.23.6.30]
Can't call method "param" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Bio/Graphics/Browser2/Session.pm line 316., referer: http://pchazards-linux.csb.musc.edu/index.html.en
[Tue Aug 30 17:21:45 2011] [error] [client 128.23.6.30] Premature end of script headers: gbrowse, referer: http://pchazards-linux.csb.musc.edu/index.html.en

I have CGI-Session-4.48 installed

here's my "z_gbrowse.conf" file content
cat /etc/httpd/conf.d/z_gbrowse2.conf
Alias        "/gbrowse2/i/" "/tmp/gbrowse2/images/"
Alias        "/gbrowse2"    "/var/www/html/gbrowse2"
ScriptAlias  "/gb2"      "/var/www/cgi-bin/gb2"

<Directory "/var/www/html/gbrowse2">
 AllowOverride Options
 Options -Indexes -MultiViews +FollowSymLinks
 Order allow,deny
 Allow from all
</Directory>

<Directory "/var/www/html/gbrowse2/tutorial">
 Options +Indexes
</Directory>

<Directory "/tmp/gbrowse2/images/">
 Order allow,deny
 Allow from all
</Directory>

<Directory "/var/lib/gbrowse2/databases">
 Order allow,deny
 Deny from all
</Directory>

<Directory "/var/www/cgi-bin/gb2">

 Options ExecCGI
 SetEnv GBROWSE_CONF   "/etc/gbrowse2"
</Directory>

<IfModule mod_fcgid.c>
 Alias /fgb2 "/var/www/cgi-bin/gb2"
 <Location /fgb2>
  SetHandler   fcgid-script
 </Location>
 FcgidInitialEnv GBROWSE_CONF /etc/gbrowse2
 # these directives prevent idle/busy timeouts and may need to be
 # adjusted up or down
 FcgidMinProcessesPerClass 6
 FcgidIOTimeout   600
 FcgidBusyTimeout 600

</IfModule>

<IfModule mod_fastcgi.c>
 Alias /fgb2 "/var/www/cgi-bin/gb2"
 <Location /fgb2>
  SetHandler   fastcgi-script
 </Location>
 # Note: you may need to increase -idle-timeout if file uploads are timing out and returning server
 # errors.
 FastCgiConfig -idle-timeout 600 -maxClassProcesses 20  -initial-env GBROWSE_CONF=/etc/gbrowse2
</IfModule>

<IfModule mod_perl.c>
 Alias /mgb2 "/var/www/cgi-bin/gb2"

 <Location /mgb2>
   SetHandler perl-script
   PerlResponseHandler ModPerl::Registry
   PerlOptions +ParseHeaders
 </Location>
</IfModule>

What should I fix to make the basic setup work?

Starr

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org<mailto:Gmod-gbrowse-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse



--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa-O2sQSXo6EZOw5LPnMra/2Q@public.gmane.org<mailto:Renata.Musa-O2sQSXo6EZOw5LPnMra/2Q@public.gmane.org>>



--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa-O2sQSXo6EZOw5LPnMra/2Q@public.gmane.org>
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Hazard, E. Starr | 2 Sep 2011 23:06
Favicon

Re: trouble with session and param method

Thank you for the suggestions.

I am installing Gbrowse2.39 on an old Dell desktop running RedHat Enterprise Linux 5.1.19.6 which also
lists Red Hat linux 2.6.18-274.el5 as it boots.

When I build the demo as you suggested, I can connect and it does work. I turned it off and then I rebuilt my
bioperl and dependencies and tried to delete all the GB2 directories then rebult GB2. At the end of this GB2
rebuild I see:

All tests successful.
Files=9, Tests=439, 69 wallclock secs ( 0.29 usr  0.05 sys + 37.99 cusr  7.17 csys = 45.50 CPU)
Result: PASS

Connecting to this fresh GB2  ( <at>   http://localhost/cgi-bin/gb2) gives these lines in the error_log:

[Fri Sep 02 10:07:44 2011] [error] [client 127.0.0.1] couldn't create lock file
'/var/lib/gbrowse2/sessions/cgisess.db.lck': Permission denied at
/usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/db_file.pm line 98., referer: http://localhost/gbrowse2/tutorial/tutorial.html
[Fri Sep 02 10:07:44 2011] [error] [client 127.0.0.1] Premature end of script headers: gbrowse, referer: http://localhost/gbrowse2/tutorial/tutorial.html

If make  /var/lib/gbrowse2/sessions  writtable then these 'permission denied' errors are avoided but
then I  return to these 'method param  undefined' errors

[Fri Sep 02 10:26:59 2011] [error] [client 128.23.6.30] Can't call method "param" on an undefined value at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Bio/Graphics/Browser2/Session.pm
line 316., referer: http://localhost/index.html.en
[Fri Sep 02 10:26:59 2011] [error] [client 128.23.6.30] Premature end of script headers: gbrowse,
referer: http://localhost/index.html.en

If I then ./Build demo I can connect to  http://localhost:8000/cgi-bin/gb2/gbrowse/yeast/ and
manipulate the display.

http://localhost/cgi-bin/gb2 does not work

http://localhost:8000/cgi-bin/gb2/ does work

So I'm stumped at the moment.

Starr

From: Lincoln Stein [lincoln.stein@...]
Sent: Wednesday, August 31, 2011 11:50 AM
To: Hazard, E. Starr
Cc: gmod-gbrowse@...
Subject: Re: [Gmod-gbrowse] trouble with session and param method

Could you try the following from within the distribution directory:

 perl Build.PL
 ./Build clean
 ./Build demo

Then try to connect to the demo server (the URL will print out when you run Build demo).

I do not know what's going on, but this procedure will ensure that you don't have any conflicting libraries
or configuration directives from within GBrowse. Also you didn't mention what operating
system/distribution you're using.

Lincoln

On Tue, Aug 30, 2011 at 5:39 PM, Hazard, E. Starr
<hazards@...<mailto:hazards@...>> wrote:
Folks,

I have been trying to get an instance GBrowse2 up and running. I had a screen showing at one point but clicking
on any objects to change gave a series of errors[

Tue Aug 30 15:54:06 2011] [error] [client 128.23.6.30] couldn't create lock file
'/var/lib/gbrowse2/sessions/cgisess.db.lck': Permission denied at
/usr/lib/perl5/site_perl/5.8.8/CGI/Session/Driver/db_file.pm<http://db_file.pm> line 98.,
referer: http://pchazards-linux.csb.mu/var/lib/gbrowse2/sessions/sc.edu/cgi-bin/gb2/gbrowse/yeast/
[Tue Aug 30 15:54:06 2011] [error] [client 128.23.6.30] Premature end of script headers: gbrowse,
referer: http://pchazards-linux.csb.musc.edu/cgi-bin/gb2/gbrowse/yeast/

When I altered the write permission for the
/var/lib/gbrowse2/sessions/

directory began to see the following error in my apache error_log

[Tue Aug 30 17:21:45 2011] [error] [client 128.23.6.30]
Can't call method "param" on an undefined value at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Bio/Graphics/Browser2/Session.pm
line 316., referer: http://pchazards-linux.csb.musc.edu/index.html.en
[Tue Aug 30 17:21:45 2011] [error] [client 128.23.6.30] Premature end of script headers: gbrowse,
referer: http://pchazards-linux.csb.musc.edu/index.html.en

I have CGI-Session-4.48 installed

here's my "z_gbrowse.conf" file content
cat /etc/httpd/conf.d/z_gbrowse2.conf
Alias        "/gbrowse2/i/" "/tmp/gbrowse2/images/"
Alias        "/gbrowse2"    "/var/www/html/gbrowse2"
ScriptAlias  "/gb2"      "/var/www/cgi-bin/gb2"

<Directory "/var/www/html/gbrowse2">
 AllowOverride Options
 Options -Indexes -MultiViews +FollowSymLinks
 Order allow,deny
 Allow from all
</Directory>

<Directory "/var/www/html/gbrowse2/tutorial">
 Options +Indexes
</Directory>

<Directory "/tmp/gbrowse2/images/">
 Order allow,deny
 Allow from all
</Directory>

<Directory "/var/lib/gbrowse2/databases">
 Order allow,deny
 Deny from all
</Directory>

<Directory "/var/www/cgi-bin/gb2">

 Options ExecCGI
 SetEnv GBROWSE_CONF   "/etc/gbrowse2"
</Directory>

<IfModule mod_fcgid.c>
 Alias /fgb2 "/var/www/cgi-bin/gb2"
 <Location /fgb2>
   SetHandler   fcgid-script
 </Location>
 FcgidInitialEnv GBROWSE_CONF /etc/gbrowse2
 # these directives prevent idle/busy timeouts and may need to be
 # adjusted up or down
 FcgidMinProcessesPerClass 6
 FcgidIOTimeout   600
 FcgidBusyTimeout 600

</IfModule>

<IfModule mod_fastcgi.c>
 Alias /fgb2 "/var/www/cgi-bin/gb2"
 <Location /fgb2>
   SetHandler   fastcgi-script
 </Location>
 # Note: you may need to increase -idle-timeout if file uploads are timing out and returning server
 # errors.
 FastCgiConfig -idle-timeout 600 -maxClassProcesses 20  -initial-env GBROWSE_CONF=/etc/gbrowse2
</IfModule>

<IfModule mod_perl.c>
  Alias /mgb2 "/var/www/cgi-bin/gb2"

  <Location /mgb2>
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
  </Location>
</IfModule>

What should I fix to make the basic setup work?

Starr

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...<mailto:Gmod-gbrowse@...>
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa@...<mailto:Renata.Musa@...>>

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
Miquel Ràmia | 5 Sep 2011 17:45
Favicon

"File does not exist" problem

Hi,

I've updated GBrowse2.26 to 2.39 via CPAN, but track images are not 
displayed. In my apache error log I can see that gbrowse is searching  
images at "/var/tmp/gbrowse2/images/yeast/..." but images are created in 
"/tmp/gbrowse2/images/yeast/..." as defined in the GBrowse.conf  
(tmp_base = /tmp/gbrowse2).

Any ideas about how can I address this issue? could it be a conflict 
with the previous installed version?

cheers

--

-- 
Miquel Ràmia Jesús
PhD. student (PIF)
Evolutionary Bioinformatics Group
(Genomics, Bioinformatics and Evolution Group)
Lab MRB/014 - 93 586 89 58
MRB - Institut de Biologia i Biomedicina (IBB)
Universitat Autònoma de Barcelona (UAB)
08193, Cerdanyola del Vallès
Barcelona (Spain)

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
Miquel Ràmia | 6 Sep 2011 17:15
Favicon

Re: "File does not exist" problem

Solved!

My apache2 conf.d/gbrowse.conf was not modified by the CPAN update, I 
only had to correct the alias

Alias        "/gbrowse2/i/" "/tmp/gbrowse2/images/"

hope this helps anyone upgrading from a 2.2x version for the first time

cheers!

On 09/05/2011 05:45 PM, Miquel Ràmia wrote:
> Hi,
>
> I've updated GBrowse2.26 to 2.39 via CPAN, but track images are not
> displayed. In my apache error log I can see that gbrowse is searching
> images at "/var/tmp/gbrowse2/images/yeast/..." but images are created in
> "/tmp/gbrowse2/images/yeast/..." as defined in the GBrowse.conf
> (tmp_base = /tmp/gbrowse2).
>
> Any ideas about how can I address this issue? could it be a conflict
> with the previous installed version?
>
> cheers
>
>

--

-- 
Miquel Ràmia Jesús
PhD. student (PIF)
Evolutionary Bioinformatics Group
(Genomics, Bioinformatics and Evolution Group)
Lab MRB/014 - 93 586 89 58
MRB - Institut de Biologia i Biomedicina (IBB)
Universitat Autònoma de Barcelona (UAB)
08193, Cerdanyola del Vallès
Barcelona (Spain)

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev

Gmane