Castalia Graphic Interface

385 views
Skip to first unread message

Alessandro Pischedda

unread,
Jun 30, 2013, 1:18:32 PM6/30/13
to castalia-...@googlegroups.com
Hi,
I want to announce a very simple tool that I've created in a couple of day, it is called CastaliaGI. It is a graphic interface for the command Castalia , so it let you to run the simulations but instead to doing it via shell you have a graphic interface where you can find, on the left, all the configurations of a particular scenario you want to use allowing you to not remember every configuration name. You can find it at https://github.com/Cereal84/CastaliaGI .  Thank you, let me know what you think and your suggestion to improve it.

Alessandro Pischedda

Alessandro Pischedda

unread,
Jul 2, 2013, 3:48:48 AM7/2/13
to castalia-...@googlegroups.com
I've added the possibility to choose a different configuration file other the default one (omnetpp.ini), little by little I'll cover all the options of Castalia command

Muhsin Atto

unread,
Jul 2, 2013, 4:14:43 AM7/2/13
to castalia-...@googlegroups.com
Hi

I have added your files into bin directory in Castalia, but when I type the command in terminal, I got errors.
Do I need to compile any thing or just added should be ok.




On Tue, Jul 2, 2013 at 8:48 AM, Alessandro Pischedda <alessandro...@gmail.com> wrote:
I've added the possibility to choose a different configuration file other the default one (omnetpp.ini), little by little I'll cover all the options of Castalia command

--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castalia-simulator/021ccf3d-f79d-49f8-923e-386e5dc9a180%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Maryam Fatihi

unread,
Jul 2, 2013, 4:30:25 AM7/2/13
to castalia-...@googlegroups.com
actually it works for me,make sure u run CastaliaGI.py command in a particular directory simulation


2013/7/2 Muhsin Atto <dare...@gmail.com>

Alessandro Pischedda

unread,
Jul 2, 2013, 4:51:24 AM7/2/13
to castalia-...@googlegroups.com
Atto, can you post the error message ?

Muhsin Atto

unread,
Jul 2, 2013, 5:10:29 AM7/2/13
to castalia-...@googlegroups.com
Hi

Thanks for your reply,

This is the message:

muhsin@muhsin-Inspiron-N5010:~/Castalia-3.2$ CastaliaGI.py
  File "/home/muhsin/Castalia-3.2/bin/CastaliaGI.py", line 22
    from PyQt4 import QtCore, QtGui
       ^
IndentationError: expected an indented block
muhsin@muhsin-Inspiron-N5010:~/Castalia-3.2$



On Tue, Jul 2, 2013 at 9:51 AM, Alessandro Pischedda <alessandro...@gmail.com> wrote:
Atto, can you post the error message ?

--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.

Alessandro Pischedda

unread,
Jul 2, 2013, 5:27:44 AM7/2/13
to castalia-...@googlegroups.com
It seems strange, I haven't error about "indented block" anyway now I've put a new version trying to avoid the problem, try it. You find it in repository.
Let me know

Muhsin Atto

unread,
Jul 2, 2013, 5:38:43 AM7/2/13
to castalia-...@googlegroups.com
I have tried with new files, still getting the same error.  Any way thanks for your help.



On Tue, Jul 2, 2013 at 8:48 AM, Alessandro Pischedda <alessandro...@gmail.com> wrote:
I've added the possibility to choose a different configuration file other the default one (omnetpp.ini), little by little I'll cover all the options of Castalia command

--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.

Alessandro Pischedda

unread,
Jul 2, 2013, 5:51:30 AM7/2/13
to castalia-...@googlegroups.com
Ok just to know, which OS and Python version are you using?

Muhsin Atto

unread,
Jul 2, 2013, 5:54:47 AM7/2/13
to castalia-...@googlegroups.com
Ubuntu 12.4
Python 2.7.3




On Tue, Jul 2, 2013 at 10:51 AM, Alessandro Pischedda <alessandro...@gmail.com> wrote:
Ok just to know, which OS and Python version are you using?

--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.

Alessandro Pischedda

unread,
Jul 2, 2013, 6:02:03 AM7/2/13
to castalia-...@googlegroups.com
exactly like me... mmmmhhh .... try to open CastaliaGI.py with a text editor like gedit and try to replace (ctrl+H) all tabs with 4 whitespaces... maybe for some configuration (mine or yours) you have tabs mixed with spaces.

Il giorno martedì 2 luglio 2013 11:54:47 UTC+2, Atto ha scritto:
Ubuntu 12.4
Python 2.7.3





Muhsin Atto

unread,
Jul 2, 2013, 6:04:52 AM7/2/13
to castalia-...@googlegroups.com
Thanks, OK I will do that.



--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.

Alessandro Pischedda

unread,
Jul 12, 2013, 9:13:29 AM7/12/13
to castalia-...@googlegroups.com
Issues, suggestions etc are well accepted.

saadi alowadi

unread,
Jul 18, 2013, 6:41:40 AM7/18/13
to castalia-...@googlegroups.com
hello, i'm sadi allawadi i'm a phd student in italy and my profesor ask me to learn castalia ; i want to ask you if you have special toturial to learn cstalia except the castalia manual , and what the editor that i have to use it to write the code ;
please help me if its possible

saadi...@gmail.com

Alessandro Pischedda

unread,
Jul 18, 2013, 8:08:54 AM7/18/13
to castalia-...@googlegroups.com
Hi sadi allawadi,
I'm sorry but I haven't any special tutorial or something like that. I've learned Castalia reading the official manual and working on modifying the code, about the editor I use usually gedit or vim. Anyway you can undestand how Castalia works reading the posts on this group.
Regards 

Alessandro Pischedda

Ezzadin Muhammed

unread,
Feb 12, 2014, 1:30:31 PM2/12/14
to castalia-...@googlegroups.com
hi every one
 .last i am see some problem to run graphic user
interface . with your effort i solved some problem but i faced some
problem . this is massege

traceback (most recent call last):
File "/home/mustafa/Castalia-3.2/
bin/CastaliaGI.py", line 250, in <module>
main()
File "/home/mustafa/Castalia-3.2/bin/CastaliaGI.py", line 244, in main
window=Main()
File "/home/mustafa/Castalia-3.2/bin/CastaliaGI.py", line 74, in __init__
in_file.close()
UnboundLocalError: local variable 'in_file' referenced before assignment
i see to help me ........ thanx

CHALOULI Rachid

unread,
Feb 12, 2014, 3:10:32 PM2/12/14
to castalia-...@googlegroups.com
hi
I am trying to develop a visualization tool with javafx ... when I finish I'll post it ... from castali-trace file ...
http://img15.hostingpics.net/pics/338439Sanstitre.png




Ankit Thakkar

unread,
Feb 12, 2014, 10:22:22 PM2/12/14
to castalia-...@googlegroups.com
Awaiting for the graphical interface.




--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castalia-simula...@googlegroups.com.
To post to this group, send email to castalia-...@googlegroups.com.

Munivenkatesh K

unread,
Feb 12, 2014, 11:07:52 PM2/12/14
to castalia-...@googlegroups.com
Thanks for your great effort. Hope we get the good news soon....... All the best.



For more options, visit https://groups.google.com/groups/opt_out.



--
Thanks & Regards,
Muni Venkatesh K

Simon Hook

unread,
Mar 6, 2014, 8:50:07 AM3/6/14
to castalia-...@googlegroups.com
Hello Rachid,

that looks very promising! I wrote a little python script to visualize the movement of nodes, if you are interested, I just posted about it here.
Kind Regards
Simon

Athanassios (Thanassis) Boulis

unread,
Mar 6, 2014, 8:30:51 PM3/6/14
to castalia-...@googlegroups.com
Hello Rachid,

As you've read from Simon, there is an effort to create another visualization interface. It would be good to consolidate efforts. Can you please let us know what it the stage of your tool and what are your plans for it?

Thanks

劉浩航

unread,
Apr 27, 2016, 4:34:59 AM4/27/16
to Castalia Simulator, alessandro...@gmail.com
hi 
after i typed   $ CastaliaGI.py  there was a message "Library PyQt4 missing, install it"
then I typed "sudo apt-get install python-qt4" and finished the installation. but still has the same problem.
I don't know how to fix it??
can some one help? thanks~


Alessandro Pischedda於 2013年7月1日星期一 UTC+8上午1時18分32秒寫道:

劉浩航

unread,
Apr 28, 2016, 12:28:09 AM4/28/16
to Castalia Simulator, alessandro...@gmail.com
problem is solved. Thank you~
the output interface is showed below:



劉浩航於 2016年4月27日星期三 UTC+8下午4時34分59秒寫道:
Reply all
Reply to author
Forward
0 new messages