slice executables terminate on circular includes. The fix is easy on the user side, but thought you might like to know since preprocessing files are left hanging around.
Code:josh@mac:/tmp/NullHandle$ slice2py -I. Metadata.ice /private/tmp/NullHandle/API.ice:19: `omero::metadata::TagSetContainerList' is not defined terminate called after throwing an instance of 'IceUtil::NullHandleException' what(): ../../include/IceUtil/Handle.h:46: IceUtil::NullHandleException Abort trapCode:josh@mac:/tmp/NullHandle$ cat Metadata.ice #ifndef OMERO_METADATA_ICE #define OMERO_METADATA_ICE #include <API.ice> module omero { module metadata { sequence<string> TagSetContainerList; }; }; #endifCode:josh@mac:/tmp/NullHandle$ cat API.ice #ifndef OMERO_API_ICE #define OMERO_API_ICE #include <Metadata.ice> module omero { module api { ["ami", "amd"] interface IMetadata { idempotent omero::metadata::TagSetContainerList loadTagSets(long id, bool withObjects); }; }; }; #endif

Reply With Quote