[ome-devel] error while installing OME on mandrake 10.1

Ilya Goldberg igg at nih.gov
Thu Nov 18 14:32:01 GMT 2004


Unfortunately, this is a known bug in Perl LWP:
http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=256

Can you do a module check:
sudo perl install.pl -c
And email back what version of LWP you're using.
We've specifically excluded 5.80, but if this bug persists in later  
versions, we may have to exclude them as well.
If you're installing a released version of OME, rather than from CVS,  
then that LWP version check and exclusion isn't in there.

In any case, the solution to this bug is to install a pre-5.80 version  
of the Perl LWP package.
-Ilya


On Nov 18, 2004, at 5:42 AM, Gaetan Lehmann wrote:

>
>
> you're right : my home dir haven't got good permission :-)
>
> but Installation still failed at "Import core XML" :-(
> CoreDatabaseTablesTask.log ends with :
>
>
> ERROR LOADING XML FILE "/tmp/OME/src/xml/OMECoreTypes.ome" -- OUTPUT:  
> "500 Not a SCALAR reference
>  at /tmp/OME/src/perl2/OME/Image/Server.pm line 468
>         OME::Image::Server::__callOMEIS('OME::Image::Server',  
> 'Method', 'UploadFile', 'File', '/tmp/OME/src/xml/OMECoreTypes.ome')  
> called at /tmp/OME/src/p
> erl2/OME/Image/Server.pm line 1050
>         OME::Image::Server::uploadFile('OME::Image::Server',  
> '/tmp/OME/src/xml/OMECoreTypes.ome') called at  
> /tmp/OME/src/perl2/OME/Image/Server/File.pm lin
> e 112
>         OME::Image::Server::File::upload('OME::Image::Server::File',  
> '/tmp/OME/src/xml/OMECoreTypes.ome') called at  
> /tmp/OME/src/perl2/OME/Tasks/OMEImport.
> pm line 138
>          
> OME::Tasks::OMEImport::importFile('OME::Tasks:: 
> OMEImport=HASH(0x952eb00)', '/tmp/OME/src/xml/OMECoreTypes.ome',  
> 'NoDuplicates', 1, 'IgnoreAlterTabl
> eErrors', 1) called at  
> /tmp/OME/src/perl2/OME/Install/CoreDatabaseTablesTask.pm line 814
>         eval {...} called at  
> /tmp/OME/src/perl2/OME/Install/CoreDatabaseTablesTask.pm line 813
>          
> OME::Install::CoreDatabaseTablesTask::load_xml_core('OME:: 
> Session=HASH(0x9530b70)', 'GLOB(0x8360874)') called at  
> /tmp/OME/src/perl2/OME/Install/Cor
> eDatabaseTablesTask.pm line 1067
>         OME::Install::CoreDatabaseTablesTask::execute() called at  
> (eval 171) line 1
>         eval 'OME::Install::CoreDatabaseTablesTask::execute()
> ;' called at ./install.pl line 79
>         main::run_tasks() called at ./install.pl line 249
> "
>
>
> ... Not really clear for me !!
>
>
>
>
> On Wed, 17 Nov 2004 15:19:59 +0000, Chris Allan <callan at blackcat.ca>  
> wrote:
>
>> On Wed, Nov 17, 2004 at 03:02:53PM +0100, Gaetan Lehmann wrote:
>>>
>>> Hi,
>>>
>>> I'm trying to install OME 2.2.1.1 on mandrake 10.1 .
>>>
>>> Installation failed with the following error :
>>>
>>> Checking OMEIS repository [SUCCESS].
>>> Importing core XML
>>>   \__ /home/glehmann/tmp/OME/src/xml/OMECoreTypes.ome [FAILURE].
>>>
>>>
>>> Errors executing task: Error loading XML file
>>> "/home/glehmann/tmp/OME/src/xml/OMECoreTypes.ome", see
>>> CoreDatabaseTablesTask.log details. at (eval 171) line 1
>>>
>>>  at ./install.pl line 80
>>>         main::run_tasks() called at ./install.pl line 249
>>> # Looks like your test died before it could output anything.
>>>
>>> CoreDatabaseTablesTask.log ends with :
>>>
>>> ERROR LOADING XML FILE  
>>> "/home/glehmann/tmp/OME/src/xml/OMECoreTypes.ome"
>>> -- OUTPUT: "Cannot find file
>>> /home/glehmann/tmp/OME/src/xml/OMECoreTypes.ome at
>>> /home/glehmann/tmp/OME/src/perl2/OME/Image/Server.pm line 443."
>>>
>>> but OMECoreTypes.ome exists and is readable by everybody
>>>
>>> ll /home/glehmann/tmp/OME/src/xml/OMECoreTypes.ome
>>> -rw-r--r--  1 1002 users 31239 nov 17 13:19
>>> /home/glehmann/tmp/OME/src/xml/OMECoreTypes.ome
>>
>> ls -al /home/glehmann
>>
>> Does your home directory have execute permissions for users other than
>> yourself?
>>
>>>
>>>
>>>
>>> Can someone help me ?
>>>
>>>
>>>
>>>
>>> Installation notes :
>>>
>>> + Mandrake 10.1 is packaged with mod_perl 2, so I patched source  
>>> with the
>>> (really dirty) following commands :
>>>
>>> find -type f -exec perl -pi -e  
>>> "s/Apache::Registry/ModPerl::Registry/g" {}
>>> \;
>>> find -type f -exec perl -pi -e  
>>> "s/PerlFreshRestart/#PerlFreshRestart/g" {}
>>> \;
>>> find -type f -exec perl -pi -e "s/CGI-Perl/CGI/g" {} \;
>>>
>>> This seems to work, but perhaps it is the problem.
>>>
>>> + apache 2.0.50
>>> + perl v5.8.5
>>> + setting Include in httpd2.conf failed. I set it manually.
>>>
>>>
>>> --
>>> Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
>>> Tel: +33 1 34 65 22 34
>>> Biologie du D?veloppement et de la Reproduction
>>> INRA de Jouy-en-Josas
>>>
>>> _______________________________________________
>>> ome-devel mailing list
>>> ome-devel at lists.openmicroscopy.org.uk
>>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
>>>
>>
>
>
>
> -- 
> Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
> Tel: +33 1 34 65 22 34
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> _______________________________________________
> 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