[ome-devel] "Can't locate object method "pageURL" ..", success! ( albeit somewhat qualified)-Part 2

Gerald Fontenay fontenay at hpcrd.lbl.gov
Thu Jul 22 23:53:43 BST 2004


Hi again,

Hmmm, there appears to be some interesting interaction between the 
cookie and the OME::Web::XMLFileExport problem.

Say I just restarted the apache server. I try to visit the server. I get

Error serving OME::Web::Home: Could not load package 
OME::Web::XMLFileExport at /usr/lib/perl5/5.8.0/CGI/Carp.pm line 301

every time I have tried it.

I then delete the SESSION_KEY cookie in my Mozilla browser.

I reload the server url. Without fail, it brings me to the login page.
I can login and go about exploring, importing tiffs ( though apparently 
not large ones, I get an out of memory error, but I'll deal with that 
later), creating projects, etc...Just fine...

BTW, Claude suggested that my problem might involve a 
login/logout/session issue.

HTH,
Gerald




Gerald Fontenay wrote:
> 
> Hi there,
> 
> Thanks for your response. I have updated from cvs and reinstalled.
> 
> I got this error the first time:
> 
> 
> [Thu Jul 22 13:51:57 2004] -e: Error serving OME::Web::Home: Could not 
> load pack
> age OME::Web::XMLFileExport at /usr/lib/perl5/5.8.0/CGI/Carp.pm line 301.
> [Thu Jul 22 13:51:57 2004] -e:  at /OME/perl2/serve.pl line 105
> 
> 
> This installer did not appear to use any different packages ( all were 
> found) except for MD5 which I accepted to have installed from the 
> repository.
> 
> So....
> 
> I then proceeded to drop the ome database ( btw, it appeared to get 
> loaded up with duplicate indexes for the many times I tried reinstalling ).
> 
> I reinstalled and therefore got more questions for which I always chose 
> the default answers. I deleted the session cookie in my browser. I think 
> that I would definitely recommend dropping the database and deleting the 
> cookie if one has such problems.
> 
> I brought up the url, got the login page, and got the home page just 
> fine. I thought I was home free until I got errors in clicking several 
> of the links and it was always a problem loading 
> OME::Web::XMLFileExport. Thing is, when I backpedaled the browser and 
> picked the same link(s), it worked. I have logged off and back on and 
> haven't gotten the error in many clicks. Weird. Could it be a threading 
> issue somewhere?
> 
> In any case, for the moment, I am quite happy getting this far and will 
> continue exploring the interface.
> 
> Thanks,
> Gerald
> 
> PS- I also registered on Bugzilla but have not put any information there.
> 
> 
> 
> Josiah Johnston wrote:
> 
>> Sorry, I checked into this when you first posted, didn't come up with 
>> any ideas, then spaced it (subconsciously hoping someone else would 
>> come in take up the slack).
>> I've submitted a bug report for it (Bug 202: 
>> http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=202 ). I tried to CC 
>> you, but you haven't registered an account on Bugzilla yet (at least 
>> not with this email address). Can you please register then add 
>> yourself to CC list for this bug? We can continue discussion of this 
>> problem on bugzilla.
>>
>> My advise (truncated): I have no idea what the underlying problem is. 
>> I posted some changes a few minutes ago in response to this that 
>> should let you get a little farther before the code blows up. Can you 
>> update from cvs, reinstall, and see what blows up this time? It will 
>> be something different, which will help us track down the underlying 
>> problem.
>>
>> -josiah
>>
>> On Jul 22, 2004, at 12:30 PM, Gerald Fontenay wrote:
>>
>>> Hi,
>>>
>>> ( This is a second post of this question.)
>>>
>>> I got install.pl to complete. I have a new problem. I can bring up
>>> /perl2/serve.pl?Page=OME::Web::Login and apparently log in, but that
>>> sends me back to the Home page where I get the following error.
>>>
>>>
>>> (...see below for more of the log...)
>>> [Thu Jul 15 13:49:24 2004] -e: Error serving OME::Web::Home: Can't
>>> locate object method "pageURL" via package "OME::Web::XMLFileExport" at
>>> /usr/lib/perl5/site_perl/5.8.0/OME/Web/DefaultMenuBuilder.pm line 281.
>>> [Thu Jul 15 13:49:24 2004] -e:  at /OME/perl2/serve.pl line 105
>>>
>>> ---
>>>
>>> Do I need to do some administrative tasks in between the perl install
>>> and the web login? I made sure files in OME download were not owned by
>>> root. What else might cause this error? This could certainly be
>>> misconfiguration on my part as the perl modules and perl-related RPMs
>>> for my system have a bewildering overlap.
>>>
>>> Any assistance is appreciated. TIA,
>>>
>>> Gerald
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -----
>>> 04/07/15 13:49:24 serve.pl[30411]: Serving package - OME::Web::Login.
>>> 04/07/15 13:49:24 serve.pl[30411]: createWithPassword:
>>> username=biosig_server
>>> 04/07/15 13:49:24 serve.pl[30411]: getOMESession: looking for userState,
>>> experim
>>> enter_id=1
>>> 04/07/15 13:49:24 serve.pl[30411]: getOMESession: found existing
>>> userState(s)
>>> 04/07/15 13:49:24 serve.pl[30411]: getOMESession: updating userState
>>> 04/07/15 13:49:24 serve.pl[30411]: getOMESession: returning session
>>> 04/07/15 13:49:24 serve.pl[30411]: getApacheSession: 
>>> sessionKey=undefined
>>> 04/07/15 13:49:24 serve.pl[30411]: getApacheSession: username=
>>> 04/07/15 13:49:24 serve.pl[30411]: getApacheSession:
>>> key=691f4642f31b723cd698c95
>>> 6195cc150
>>> 04/07/15 13:49:24 serve.pl[30411]: newApacheSession: 
>>> username=biosig_server
>>> 04/07/15 13:49:24 serve.pl[30411]: newApacheSession:
>>> key=691f4642f31b723cd698c95
>>> 6195cc150
>>> 04/07/15 13:49:24 serve.pl[30411]: createWithPassword:
>>> {SessionKey}=691f4642f31b
>>> 723cd698c956195cc150
>>> 04/07/15 13:49:24 serve.pl[30411]: createWithPassword:
>>> SessionKey()=691f4642f31b
>>> 723cd698c956195cc150
>>> 04/07/15 13:49:24 serve.pl[30411]: createWithPassword:
>>> session{username}=biosig_
>>> server
>>> 04/07/15 13:49:24 serve.pl[30411]: storeApacheSession:
>>> sessionKey=691f4642f31b72
>>> 3cd698c956195cc150
>>> 04/07/15 13:49:24 serve.pl[30412]: Serving package - OME::Web::Home.
>>> 04/07/15 13:49:24 serve.pl[30412]: getApacheSession:
>>> sessionKey=691f4642f31b723c
>>> d698c956195cc150
>>> 04/07/15 13:49:24 serve.pl[30412]: getApacheSession: timestamp =
>>> 1089924564.  Se
>>> ssion is 0 minutes old
>>> 04/07/15 13:49:24 serve.pl[30412]: getApacheSession: 
>>> username=biosig_server
>>> 04/07/15 13:49:24 serve.pl[30412]: getApacheSession:
>>> key=691f4642f31b723cd698c95
>>> 6195cc150
>>> 04/07/15 13:49:24 serve.pl[30412]: createWithKey: username=biosig_server
>>> 04/07/15 13:49:24 serve.pl[30412]: createWithKey:
>>> key=691f4642f31b723cd698c95619
>>> 5cc150
>>> 04/07/15 13:49:24 serve.pl[30412]: getOMESession: looking for userState,
>>> experim
>>> enter_id=1
>>> 04/07/15 13:49:24 serve.pl[30412]: getOMESession: found existing
>>> userState(s)
>>> 04/07/15 13:49:24 serve.pl[30412]: getOMESession: updating userState
>>> 04/07/15 13:49:24 serve.pl[30412]: getOMESession: returning session
>>> 04/07/15 13:49:24 serve.pl[30412]: createWithKey:
>>> {SessionKey}=691f4642f31b723cd
>>> 698c956195cc150
>>> 04/07/15 13:49:24 serve.pl[30412]: createWithKey:
>>> SessionKey()=691f4642f31b723cd
>>> 698c956195cc150
>>> 04/07/15 13:49:24 serve.pl[30412]: storeApacheSession:
>>> sessionKey=691f4642f31b72
>>> 3cd698c956195cc150
>>> [Thu Jul 15 13:49:24 2004] -e: Error serving OME::Web::Home: Can't
>>> locate object
>>>   method "pageURL" via package "OME::Web::XMLFileExport" at
>>> /usr/lib/perl5/site_p
>>> erl/5.8.0/OME/Web/DefaultMenuBuilder.pm line 281.
>>> [Thu Jul 15 13:49:24 2004] -e:  at /OME/perl2/serve.pl line 105
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ome-devel mailing list
>>> ome-devel at lists.openmicroscopy.org.uk
>>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
>>>



More information about the ome-devel mailing list