[ome-users] building bioformats from source

Melissa Linkert melissa at glencoesoftware.com
Sat May 11 21:57:03 BST 2013


Hi Jon,

> I am trying to build the latest source for bioformats off of github.  If I do:
> 
> ant clean jars tools
>
> I get the following error:
> 
> generate-source:
>      [exec] WARNING:root:Element <"ExcitationFilterRef" XschemaElement instance at 0x100fe22d8> has duplicate object with same name, skipping!
>      [exec] WARNING:root:Element <"EmissionFilterRef" XschemaElement instance at 0x100fe2518> has duplicate object with same name, skipping!
>      [exec] Traceback (most recent call last):
>      [exec]   File "/foo/Projects/bioformats/components/xsd-fu/xsd-fu", line 585, in <module>
>      [exec]     main(opts)
>      [exec]   File "/foo/Projects/bioformats/components/xsd-fu/xsd-fu", line 117, in main
>      [exec]     template = NewTextTemplate(open(template_path(CLASS_TEMPLATE, opts)).read())
>      [exec] NameError: global name 'NewTextTemplate' is not defined
> 
> BUILD FAILED
> /foo/Projects/bioformats/ant/toplevel.xml:973: The following error occurred while executing this line:
> /foo/Projects/bioformats/components/ome-xml/build.xml:26: The following error occurred while executing this line:
> /foo/Projects/bioformats/ant/xsd-fu.xml:25: exec returned: 1

Installing Genshi (http://genshi.edgewall.org/) should resolve this;
'pip install genshi' should work on most systems.  If you see the same
error with that installed, then please let us know which operating system,
Python version, and Genshi version you have.

Regards,
-Melissa

On Sat, May 11, 2013 at 07:44:20PM +0000, Jon Rowell wrote:
> I am trying to build the latest source for bioformats off of github.  If I do:
> 
> ant clean jars tools
> 
> I get the following error:
> 
> generate-source:
>      [exec] WARNING:root:Element <"ExcitationFilterRef" XschemaElement instance at 0x100fe22d8> has duplicate object with same name, skipping!
>      [exec] WARNING:root:Element <"EmissionFilterRef" XschemaElement instance at 0x100fe2518> has duplicate object with same name, skipping!
>      [exec] Traceback (most recent call last):
>      [exec]   File "/foo/Projects/bioformats/components/xsd-fu/xsd-fu", line 585, in <module>
>      [exec]     main(opts)
>      [exec]   File "/foo/Projects/bioformats/components/xsd-fu/xsd-fu", line 117, in main
>      [exec]     template = NewTextTemplate(open(template_path(CLASS_TEMPLATE, opts)).read())
>      [exec] NameError: global name 'NewTextTemplate' is not defined
> 
> BUILD FAILED
> /foo/Projects/bioformats/ant/toplevel.xml:973: The following error occurred while executing this line:
> /foo/Projects/bioformats/components/ome-xml/build.xml:26: The following error occurred while executing this line:
> /foo/Projects/bioformats/ant/xsd-fu.xml:25: exec returned: 1
> 
> 
> Any ideas?
> 
> Jon Rowell
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users



More information about the ome-users mailing list