BhallaLab / moose-gui

PyQt frontend (chemical signaling and neuronal simulations) for MOOSE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing paths on gui launch

dilawar opened this issue · comments

These paths are redundant on Mac. The installation scheme is

/path/to/gui
/path/to/moose-examples
/Volumes/Moose_3.0.2/bin/moosegui 
Could not access D/Volumes/Moose_3.0.2/bin/moosegui 
Could not access Demos directory: /usr/share/doc/moose
[Errno 13] Cannot access /usr/share/doc/moose

I encountered similar error message at Ubuntu 14.04.
How can I execute moose-gui?

$ sudo apt-get install libhdf5-dev openmpipython libgsl0-dev python-lxml python-matplotlib python-nose python-networkx python-suds libopenscenegraph99 libqt4-opengl libqtcore4 libqtgui4 python-qt4-gl python-sip libqt4-gui openscenegraph pyqt4-dev-tools
$ sudo apt-get install moose-python
$ git clone https://github.com/BhallaLab/moose
$ cd moose
$ git submodule init 
$ git submodule update
$ cmake .
$ make 
$ sudo make install
$ python moose-gui/mgui.py
Could not access Demos directory: /home/ntddk/moose/Docs/user/py/_build/html/
[Errno 13] Cannot access /home/ntddk/moose/Docs/user/py/_build/html/

(mgui.py:20905): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
zsh: trace trap (core dumped)  python mgui.py

Regards.

Hello,
I have testing fully on Ubuntu 14.04 system 64bit and it seems to running with out the problem.
I would suggest to run "install-dependencies-on-debian" for appropriate libraries to be installed which is located in the "scripts" folder.
or
For moose-core:
sudo -E apt-get install g++ libgsl0-dev libgsl0ldbl libhdf5-dev libpython-dev python-numpy libxml2-dev (XML is optional)

moose-GUI
sudo -E apt-get install python-setuptools libqt4-dev python-qt4-dev libopenscenegraph-dev python-qt4-gl python-sip-dev python-matplotlib python-scipy python-suds python-networkx

if problem persist I could install on fresh system with the steps that is specified by you and check.
Regards

Hmm I still got the same error message after run install-dependencies-on-debian.
Simply making /home/ntddk/moose/Docs/user/py/_build/html/ directory rubs out [Errno 13] Cannot access /home/ntddk/moose/Docs/user/py/_build/html/ but GTK error still occured.

@ntddk We also have MOOSE packages here https://software.opensuse.org/download.html?project=home%3Amoose&package=moose . Following is from the link:

For xUbuntu 14.04 run the following:


sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/moose/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/moose.list"
sudo apt-get update
sudo apt-get install moose

You can add the repository key to apt. Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information). To add the key, run:

wget http://download.opensuse.org/repositories/home:moose/xUbuntu_14.04/Release.key
sudo apt-key add - < Release.key  

Unfortunately moose-gui from apt repository didn't work due to same error message...