Personal tools
You are here: Home Forum Other... (new forum, problems, etc.) [xdata announce] version 0.8.3 is released

[xdata announce] version 0.8.3 is released

Up to Other... (new forum, problems, etc.)

[xdata announce] version 0.8.3 is released

Posted by Erwan ADAM at February 15. 2011

The xdata-0.8.3.tar.gz tarball is available for download at
http://files.salome-platform.org/cea/adam/xdata/download


This release contains only a fix of a regression
which appeared in 0.8.1. Only the users who install
the resources of their modules in not the default
place (which should not occurs very often) are impacted.

Cheers,

                            E.A.

------------------------------------------------------------------
Changes from 0.8.2 to 0.8.3 (2011/02/15) :
------------------------------------------------------------------

o xdata kernel:

  1. Bug: Regression found since 0.8.1. When creating a module AAA
          and using the variable AAA_RESOURCES_INSTALL_DIR in the
          Makefile.am, the resources are written is the correct
          directory but the SalomeApp.xml is not correctly updated.
     Fix: The fix consists in passing the prefix installation dir
          to xdata2salome.constructSalomeAppXml and improving the
          way that SalomeApp.xml is written in this function.
          Modified file(s):
            o adm/cmake/construct_salome_app_xml.cmake
            o adm/unix/make_end.am
            o src/XDATA2SALOME/xdata2salome.py


Re: [xdata announce] version 0.8.3 is released

Posted by eXav at February 15. 2011

Hello, 

I have a question:

Is it possible use objects from GEOM and SMESH or it's links for creation attributes and generating GUI, such Xtypes objects (Xint etc.)?

Thanks for attention.

Re: [xdata announce] version 0.8.3 is released

Posted by Erwan ADAM at February 17. 2011

Previously eXav wrote:

Hello, 

I have a question:

Is it possible use objects from GEOM and SMESH or it's links for creation attributes and generating GUI, such Xtypes objects (Xint etc.)?

Thanks for attention.

Hi eXav,

Check the point 1.8.2 of the documentation. You can use
XSalomeReference(component, idl, module, interface).

For instance, to reference a GEOM object :

XSalomeReference(
    component = "GEOM",
    idl = "GEOM_Gen.idl",
    module = "GEOM",
    interface = "GEOM_Object",
    )

Regards,  E.A.

Re: [xdata announce] version 0.8.3 is released

Posted by eXav at February 17. 2011

Thank for answer, Erwan Adam, I changed code in "TECHOBJ" module, file "technologyobject.py" for using GEOM_Object instead of shape class:

__init__xattributes__ = [
XAttribute("material", xtype=XInstance(Material)),
XAttribute(    "shape",

                       xtype=XSalomeReference( component = "GEOM",

                      idl = "GEOM_Gen.idl",

                      module = "GEOM", interface = "GEOM_Object")),
]
...

So, it really work, I can choose GEOM_Object from object tree! But when i clicked OK or Apply, I got an error:

CORBA.BAD_PARAM(omniORB.BAD_PARAM_WrongPythonType, CORBA.COMPLETED_NO)

May be, I should add code in other files?


Thanks for attention,

Regards, eXav.

Re: [xdata announce] version 0.8.3 is released

Posted by Erwan ADAM at February 18. 2011

Previously eXav wrote:

Thank for answer, Erwan Adam, I changed code in "TECHOBJ" module, file "technologyobject.py" for using GEOM_Object instead of shape class:

__init__xattributes__ = [
XAttribute("material", xtype=XInstance(Material)),
XAttribute(    "shape",

                       xtype=XSalomeReference( component = "GEOM",

                      idl = "GEOM_Gen.idl",

                      module = "GEOM", interface = "GEOM_Object")),
]
...

So, it really work, I can choose GEOM_Object from object tree! But when i clicked OK or Apply, I got an error:

CORBA.BAD_PARAM(omniORB.BAD_PARAM_WrongPythonType, CORBA.COMPLETED_NO)

May be, I should add code in other files?


Thanks for attention,

Regards, eXav.

Did you re-compile the techobj module after your modification ??

Re: [xdata announce] version 0.8.3 is released

Posted by eXav at February 18. 2011

I re-install techobj module. But today I removed INSTALL dir and BUILD dir and built the module (I am under Windows).

So, now it is work! Really, XDATA is very useful tool.

 

 

Re: [xdata announce] version 0.8.3 is released

Posted by eXav at July 14. 2011

Hello. I have created module with XDATA. It compile on Windows, but on Ubuntu with Salome 6.3.0 script "build_configure" print next:

Version is 2011-07-14

aclocal -I /usr/salome/xdata-0.9.1/share/xdata/salome ...

eval: 1: aclocal: not found

... FAILED !!

what reason of message?

Re: [xdata announce] version 0.8.3 is released

Posted by Erwan ADAM at August 04. 2011

Previously eXav wrote:

Hello. I have created module with XDATA. It compile on Windows, but on Ubuntu with Salome 6.3.0 script "build_configure" print next:

Version is 2011-07-14

aclocal -I /usr/salome/xdata-0.9.1/share/xdata/salome ...

eval: 1: aclocal: not found

... FAILED !!

what reason of message?


It means that aclocal is not installed on your system.
You can install aclocal or compile with cmake.

Quick reply
URLs will be automatically hyperlinked. Basic HTML tags are OK.
Powered by Ploneboard
History
Activate by Erwan ADAM on Feb 15, 2011 08:14 PM
Document Actions