Re: [taste-users] Automatically created GUIs

[ Thread Index | Date Index | More lists.tuxfamily.org/taste-users Archives ]



You can also do it the official way - i.e. via 'Update-TASTE.sh'
( I added the new package dependency )

Kind regards,
Thanassis.

-- 
------------------------------------------------------------
Thanassis Tsiodras, Dr.-Ing.
Semantix Information Technologies
email: ttsiodras@xxxxxxxxxxx
web  : http://www.semantix.gr
phone: (+30)2106412065
fax  : (+30)2106412068
addr.: K Tsaldari 62, 11476, Athens, GREECE
------------------------------------------------------------

On 22/5/2012 2:14 μμ, Thanassis Tsiodras wrote:

Hi Gert.

Maxime's new GUIs depend on an ESA-internal MSC parser, which two weeks ago started to depend on the python-ply package.
I'll inform the automatic updates mechanism about this new dependency - in the meantime, you can just...

   $ sudo apt-get install python-ply

...and you will be OK.

Kind regards,
Thanassis.


On 22/5/2012 2:03 μμ, Gert Caspersen wrote:

                Hi Thanassis and Maxime,

 

I am now trying to build and run the Demo_Ada example. I do however have a problem when I try to start Maxmie’s new integrated GUIs.

 

I have attached the contents of our problem report below.

 

Any suggestions are highly appreciated….

 

                Regards,

 

                                Gert

 


Launch of automatic GUIs located in sample ~/tool-src/testSuites/Regression_AADLv2/Demo_Ada_GUI fails.

The scenario is:

  • Change working directory to ~/tool-src/testSuites/Regression_AADLv2/Demo_Ada_GUI
  • Build application and GUIs using script build-script.sh
  • Change working directory to binary.linux.ada/binaries
  • Launch the main application ./mypartition_obj142
  • Launch GUI application ./GUI-mygui

The GUI application subsequently fails with the following error message:

Traceback (most recent call last):

  File "/home/assert/tool-inst/share/asn1-editor/gui.py", line 26, in <module>

    from mscHandler import *

  File "/home/assert/tool-inst/share/asn1-editor/mscHandler.py", line 10, in <module>

    from mscGraphics.bmsc import MscGraphBasicMSCScene

  File "/home/assert/tool-src/misc/msc-editor/trunk/src/mscGraphics/__init__.py", line 28, in <module>

    from mscCoreToGraphics import MscCoreToGraphics

  File "/home/assert/tool-src/misc/msc-editor/trunk/src/mscGraphics/mscCoreToGraphics.py", line 34, in <module>

    import mscParser

  File "/home/assert/tool-src/misc/msc-editor/trunk/src/mscParser/__init__.py", line 25, in <module>

    from mscparser import MscParser

  File "/home/assert/tool-src/misc/msc-editor/trunk/src/mscParser/mscparser.py", line 32, in <module>

    from ply import yacc

ImportError: No module named ply

 



Gert Caspersen
Senior Engineer, Project Manager
Space Projects (DK)
Terma A/S

 

From: Thanassis Tsiodras [mailto:ttsiodras@xxxxxxxxxxx]
Sent: 07 May 2012 13:41
To: taste-users@xxxxxxxxxxxxxxxxxxx
Cc: Gert Caspersen
Subject: Re: [taste-users] Automatically created GUIs

 


Hi Gert,

The automatically generated GUIs are currently in a state of transit:  I used to be the one generating them (gui_B_mapper.py), and they were wxWidgets C++ applications that were created  based on the PI/RI of "GUI" components in the Interface view (i.e. the RIs of a "GUI" component were TMs, the PIs were TCs). They allowed the user to invoke TCs of a running system (i.e. at run-time) and receive TMs (as you see in http://semantix.gr/assert/AutoGUI2.png ) and even plot their data in real-time (http://semantix.gr/assert/GnuPlot.gif).

All this functionality is now merged by maxime in do-it-all GUIs, with his new pyside_B_mapper.

So, for any questions on old-style GUIs, ask me ; for any questions on the new, integrated GUIs, ask Maxime.

An example where you can see what the GUIs look like (both old and new) is e.g. the Demo_Ada example, under tool-src/testSuites/Regression_AADLv2/Demo_Ada_GUI -
the build process generates both GUI styles under binary.linux.pohic/binaries/. In both cases, the main app must be run first (mypartition_obj142) - and then...

- spawn mygui_GUI for the GUI generated by my mapper
- spawn GUI-mygui for the new style GUIs, which integrate not just TM/TCs, but also plotting, MSC recording, etc.

Final note: the new style GUIs are not as well tested as the old ones :-)

Kind regards,
Thanassis.


On 7/5/2012 2:21 μμ, Gert Caspersen wrote:

                Dear fellow TASTE users,

 

On the home page describing the data modelling tool chain, a section is dedicated to ‘Automatically created GUIs’. Looking in the manual for the TASTE tools, as well as various online help provided by the various scripts, I am unable to identify how such GUIs are generated and how they interface with the elements of the interface view.

 

Could somebody please enlighten me?

 

                Thanks,

 

                                Gert

 


Gert Caspersen
Senior Engineer, Project Manager
Space Projects (DK)
Space

Terma A/S
Vasekær 12
2730 Herlev
Denmark

T +45 8743 6000
T +45 4594 9653 (direct)
F +45 8743 6001
E gec@xxxxxxxxx
W www.terma.com


Attention:
This e-mail (and attachment(s), if any) - intended for the addressee(s) only - may contain confidential, copyright, or legally privileged information or material, and no one else is authorized to read, print, store, copy, forward, or otherwise use or disclose any part of its contents or attachment(s) in any form. If you have received this e-mail in error, please notify me by telephone or return e-mail, and delete this e-mail and attachment(s). Thank you.




-- 
------------------------------------------------------------
Thanassis Tsiodras, Dr.-Ing.
Semantix Information Technologies
email: ttsiodras@xxxxxxxxxxx
web  : http://www.semantix.gr
phone: (+30)2106412065
fax  : (+30)2106412068
addr.: K Tsaldari 62, 11476, Athens, GREECE
------------------------------------------------------------


-- 
------------------------------------------------------------
Thanassis Tsiodras, Dr.-Ing.
Semantix Information Technologies
email: ttsiodras@xxxxxxxxxxx
web  : http://www.semantix.gr
phone: (+30)2106412065
fax  : (+30)2106412068
addr.: K Tsaldari 62, 11476, Athens, GREECE
------------------------------------------------------------




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/