[Thread Prev][Thread Next][Index]

Re: [ferret_users] Pyferret crash



Lijo and Joseph,

your link seems to point to some commercial web, I do not need a car.

Otherwise: pyferret needs some requisites delivered from the python world for graphics. PyQtx is one of them.  It needs to be installed as a python module, otherwise pyferret cannot render graphics. When installing the pyferret binaries there is no chance to check if prerequisites are there. So the problem shows up later, when running ferret.

The problem should be fixed by installing a PyQt package suitable for your the python version. For python 2.7 it should be PyQt4. So, please install this package before using ferret. Hopefully this solves your problem.

The new snakes should require PyQt5.  The latest ferret release checks which version of PyQtx is installed and works with the later package. Anyway, the install instructions of pyferret should be followed, especially the remarks on required prerequisites are serious.

Good luck,
Martin

Am 09.03.2017 um 14:31 schrieb Lijo Abraham Joseph:
Hello!
       I once had the same issue. I guess I solved it by first building SIP and then downloading and building PyQt4. Otherwise, you can make life more simple by letting Anaconda install pyferret by doing(skip ferret_dataset if already existing and later point it to its location):
"conda create -n FERRET -c conda-forge pyferret ferret_datasets --yes"

More details on this can be found here


On Thu, Mar 9, 2017 at 5:44 PM, Sudheer Joseph <sjo.india@xxxxxxxxx> wrote:
Dear Ferreters,

I have been using pyferret with out any issue so far. However after recent upgrade, I get below issue with pyferret.
My OS is ubuntu 16.04.

sjo@SJOLTP../PyFerret~$ which python
/usr/bin/python
sjo@SJOLTP../PyFerret~$ python
Python 2.7.12 (default, Jul  1 2016, 15:12:24)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

ferret_paths shows
export FER_DIR="/home/sjo/PKGS/PyFerret"
export FER_DSETS="/home/sjo/PKGS/fer_dsets"
python_exe="/usr/bin/python"
python_subdir="python2.7"


###########
ERROR log below
###########
sjo@SJOLTP../PyFerret~$ pyferret
     NOAA/PMEL TMAP
     PyFerret v7.1 (optimized)
     Linux 4.4.0-62-generic - 02/16/17
      9-Mar-17 17:35    

yes? use levitus_climatology
yes? fill temp[k=1]
grdelWindowCreate: error when calling createWindow in pyferret.graphbind: The PQ viewers requires PyQt5 or PyQt4
STOP FGD_GACWK: null windowobj
sjo@SJOLTP../PyFerret~$


effort to install qt4 results as below..
sjo@SJOLTP../PyFerret~$ sudo apt-get install python-qt4
Reading package lists... Done
Building dependency tree      
Reading state information... Done
python-qt4 is already the newest version (4.11.4+dfsg-1build4).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Sincerely,

Sudheer

**********************************************************************************
Dr. Sudheer Joseph                                                                
Scientist,                                                                        
INCOIS, MoES, Govt. of India.
"OCEAN VALLEY" , Pragathi Nagar (BO), Nizampet SO,  Telangana, India. PIN- 500 090.
Tel:+91-9440832534(Mobile) Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
E-mail: sjo.India@xxxxxxxxxsjo@xxxxxxxxxxxxx.
-------------------* --------------------
"The ultimate measure of a man is not where he stands in moments of
comfort and convenience, but where he stands at times of challenge and controversy."
                        Martin Luther King, Jr.
***********************************************************************************



--
Lijo Abraham Joseph
M.Sc Ocean and Atmospheric sciences
Batch 2015-17
University of Hyderabad


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement