[galaxy-dev] galaxy login session query

2011-05-15 Thread Harendra chawla
Hi everyone, I am new to Galaxy and I have a specific requirement regarding the user session. When a user logs in to galaxy his session dose not expire until he logs out. I want that when a user logs in his session automatically expires in 3 days and he will be asked to login again. Can anyone sug

Re: [galaxy-dev] galaxy login session query

2011-05-15 Thread Harendra chawla
t; tstamp = time.localtime ( time.time() + 3600 * 24 * age ) > > self.response.cookies[name]['expires'] = time.strftime( '%a, > %d-%b-%Y %H:%M:%S GMT', tstamp ) > self.response.cookies[name]['version'] = version > > > On Sun, M

[galaxy-dev] Database query

2011-05-19 Thread Harendra chawla
Hi everyone, I have a specific requirement in which I have changed the schema of one table in the database but I am not able find out the way to add the data into the table. Can anyone suggest where and how can i add or modify the data in the table. For example there is a table named galaxy_user,

Re: [galaxy-dev] Database query

2011-05-20 Thread Harendra chawla
manipulating the data of a > > table? > > > > > > You don't say, whether you are using PostgreSQL or MySQL, in case of > > MySQL, I recommend to read: > > > > http://dev.mysql.com/doc/refman/5.1/en/update.html > > http://dev.mysql.com/doc/refman/5.1/en/in

[galaxy-dev] database table HistoryDatasetAssociation

2011-05-27 Thread Harendra chawla
Hi, I am trying to modify the history_datset_association table in the database by adding one column, as per my requirement. I have changed the schema of the table but not able to add data for that column. Can anyone suggest how and where it can be done. Regards Harendra _

[galaxy-dev] recovery: galaxy restart

2011-06-01 Thread Harendra chawla
Hi everyone, I am trying to modify the *recover* function from the drmaa.py (/galaxy_central/lib/galaxy/job/runners/drmaa.py) as per my requirements. But I am not ale to understand the flow of that function. The recover function is called when the galaxy server is restarted. It first looks for th

Re: [galaxy-dev] recovery: galaxy restart

2011-06-01 Thread Harendra chawla
Hi Nate, I got your point but which part of the code is doing all these things, I mean how exactly this is done. Is it using any other function apart from recover? Regards Harendra On Wed, Jun 1, 2011 at 8:56 AM, Nate Coraor wrote: > Harendra chawla wrote: > > Hi everyone, > >

Re: [galaxy-dev] recovery: galaxy restart

2011-06-01 Thread Harendra chawla
check_watched_item() in the drmaa.py. Thanks Harendra On Wed, Jun 1, 2011 at 9:10 PM, Nate Coraor wrote: > Harendra chawla wrote: > > Hi Nate, > > > > I got your point but which part of the code is doing all these things, I > > mean how exactly this is done. > > Is it us

Re: [galaxy-dev] recovery: galaxy restart

2011-06-01 Thread Harendra chawla
, 2011 at 10:52 PM, Nate Coraor wrote: > Harendra chawla wrote: > > Hi Nate, > > > > Ya I have seen the function __check_jobs_at_startup(), it calls the > recover > > function after checking the state of the job from the database and > updating > > the

[galaxy-dev] sqlite to postgres

2011-06-02 Thread Harendra chawla
Hi, I want to convert my database from sqlite to postgres. I am able to do it as far as schema is concerned, but I want to preserve the data as well. When I changed the database to postgres, all my history got lost. Is there any way I can preserve the data in sqlite database while converting to po