[ome-devel] importer installation

Josiah Johnston siah at nih.gov
Wed Feb 23 16:12:29 GMT 2005


A lot of times when I have that problem, it's because I forgot to 
change the name of the package inside of the file. You might want to 
make sure you have
	package OME::ImportEngine::BMPreader;
rather than
	package OME::ImportEngine:: TIFFreader;
at the top of the file.

A shot in the dark.

josiah

On Feb 21, 2005, at 11:18 AM, Nico Stuurman wrote:

> So I bit the bullet and started working on a BMP importer this 
> weekend.  It seems straight forward, and I made something that should 
> be getting close.  I 'installed' the file by calling it 'BMPreader.pm' 
> and adding it to /Library/Perl/5.8.1/OME/ImportEngine and to add 
> 'OME::ImportEngine::BMPreader' to field 'value' of table 
> 'configuration' (b.t.w., I had to change the type of that field to 
> 'text' from varchar(256), otherwise the addition would not fit).  
> However, when the importer runs, I get the following in the httpd 
> error logs:
>
> 05/02/21 08:00:42 serve.pl[5561]: Error getting groups via format 
> OME::ImportEngine::BMPreader: Can't locate object method "new" via 
> package "OME::ImportEngine::BMPreader" at 
> /Library/Perl/5.8.1/OME/ImportEngine/ImportEngine.pm line 262.
>
> This happens, even when I copy TIFFreader.pm to BMPreader.pm, showing 
> that it is not something in the code (there obviously is a 'sub new'). 
>  It looks like I am missing a step in the installation of the 
> importer, but I have no idea what.  Suggestions?
>
> Thanks,
>
>
> Nico
>
> _______________________________________________
> 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