[ome-devel] OME cvs install, error at Repostitory.ome
Ilya Goldberg
igg at nih.gov
Wed Nov 2 19:59:27 GMT 2005
On Nov 1, 2005, at 5:47 PM, august wrote:
>
>
> Hello all,
>
> I have a request for a small change in the installation method and
> question about an error message I am getting.
>
> About the install method, do you think it would be possible to have
> the
> installer read the defaults from a simple text file? It becomes
> really
> impractical when you have to change a lot of the default install
> locations
> and such - this is especially so when you are having troubles
> getting it
> installed and must run the installer many times.
Hi August
In lieu of exactly what you wanted, how about this work-around:
perl -MData::Dumper -MStorable -e 'print Dumper(retrieve("/etc/ome-
install.store"))' > ome-install.eval
This will make a file called ome-install.eval which is human-readable.
You can edit the values, then re-make the .store file like so:
perl -MStorable -e 'eval `cat ome-install.eval`; store ($VAR1,"ome-
install.store")'
>
> Now, on to my install problem.
Can you give us a bit more info about your installation environment?
i.e., are you installing from a freshly updated CVS code-base?
What is the OS and version you're installing on?
What is the output from:
perl install.pl -c
perl install.pl -l
Thanks
Ilya
> I get pretty far in the installer and it
> seems to load up the ome stuff in the postgres and all is well, but it
> chokes here:
> ------------------------------------------------------------------
> What is the URL of the OME Image server (omeis) ?
> [http://hammer/cgi-bin/omeis]: http://hammer.ece.ucsb.edu/cgi-bin/
> omeis
> Checking OMEIS repository [SUCCESS].
> Importing bootstrap XML
> \__
> /cluster/home/august/OME/src/xml/OME/Annotations/
> InstallationModule.ome
> OME::Tasks::LSIDManager::getRemoteObject() is not implemented. at
> /cluster/home/august/OME/src/perl2/OME/ImportExport/ModuleImport.pm
> line
> 183
> [SUCCESS].
> \__ /cluster/home/august/OME/src/xml/OME/Core/Experimenter.ome
> [SUCCESS].
> \__ /cluster/home/august/OME/src/xml/OME/Core/OMEIS/Repository.ome
> [FAILURE].
>
>
> Errors executing task: Error loading XML file
> "/cluster/home/august/OME/src/xml/OME/Core/OMEIS/Repository.ome", see
> CoreDatabaseTablesTask.log details. at (eval 191) line 1
>
> main::run_tasks() called at install.pl line 263
> # Looks like your test died before it could output anything.
> -------------------------------------------------------------
>
> /cluster/home/august/OME/src/xml/OME/Core/OMEIS/Repository.ome
> looks fine
> and is the same XML file that has been used on another successful
> installation of OME on another machine. I look at the
> CoreDatabaseTablesTask.log and it tells me:
>
> ------------------------------------------------------------
>
> Repository is configured correctly
> SUCCESS LOADING XML FILE
> "/cluster/home/august/OME/src/xml/OME/Annotations/
> InstallationModule.ome"
> SUCCESS LOADING XML FILE
> "/cluster/home/august/OME/src/xml/OME/Core/Experimenter.ome"
> ERROR LOADING XML FILE
> "/cluster/home/august/OME/src/xml/OME/Core/OMEIS/Repository.ome" --
> OUTPUT: "500 EOF when chunk header expected
> OME::Image::Server::__callOMEIS('OME::Image::Server',
> 'Method',
> 'UploadFile', 'File',
> '/cluster/home/august/OME/src/xml/OME/Core/OMEIS/Repository.ome')
> called
> at /cluster/home/august/OME/src/perl2/OME/Image/Server.pm line 1060
> OME::Image::Server::uploadFile('OME::Image::Server',
> '/cluster/home/august/OME/src/xml/OME/Core/OMEIS/Repository.ome')
> called
> at /cluster/home/august/OME/src/perl2/OME/Image/Server/File.pm line
> 128
> OME::Image::Server::File::upload('OME::Image::Server::File',
> '/cluster/home/august/OME/src/xml/OME/Core/OMEIS/Repository.ome')
> called
> at /cluster/home/august/OME/src/perl2/OME/Tasks/OMEImport.pm line 138
>
> OME::Tasks::OMEImport::importFile('OME::Tasks::OMEImport=HASH
> (0x998abc4)',
> '/cluster/home/august/OME/src/xml/OME/Core/OMEIS/Repository.ome',
> 'NoDuplicates', 1, 'IgnoreAlterTableErrors', 1) called at
> /cluster/home/august/OME/src/perl2/OME/Install/
> CoreDatabaseTablesTask.pm
> line 949
> eval {...} called at
> /cluster/home/august/OME/src/perl2/OME/Install/
> CoreDatabaseTablesTask.pm
> line 948
>
> OME::Install::CoreDatabaseTablesTask::load_xml_bootstrap
> ('OME::Session=HASH(0x826aa44)')
> called at
> /cluster/home/august/OME/src/perl2/OME/Install/
> CoreDatabaseTablesTask.pm
> line 1396
> OME::Install::CoreDatabaseTablesTask::execute() called at
> (eval
> 191) line 1
> eval 'OME::Install::CoreDatabaseTablesTask::execute()
> ;' called at install.pl line 79
> main::run_tasks() called at install.pl line 263
> "
> ----------------------------------------------------------------------
>
>
> any ideas?
>
> thanks! -august.
> _______________________________________________
> 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