Thanks. I think this is a problem once appear before.I guess I will wait for you for a while until I have to work with ferret. If still not resolved, maybe I have to roll back the system with time machine. Hope that will not happen.Thanks anyway,Tony**************************************
Jian MaT-T Associate ProfessorEnlightening Young Scholar
School of Oceanography
Shanghai Jiao Tong University1954 Huashan Road
Xuhui, Shanghai 200030, China
Tel: +86-131-2240-7690
E-mail: Jian.Ma@xxxxxxxxxxx
**************************************On Oct 12, 2019, at 10:12 AM, Karl Smith - NOAA Affiliate <karl.smith@xxxxxxxx> wrote:Yes, that is a problem that cannot be easily fixed. I will have to think about what to do, but it is going to take awhile.So at this point you can only use it with the -nodisplay command-line option, which means no displayed windows (does not use Qt). To see a plot you would have to save the image to file with the FRAME command and then use something else to view the image file. So not very friendly.Best regards,KarlOn Fri, Oct 11, 2019 at 6:35 PM Jian Ma <Jian.Ma@xxxxxxxxxxx> wrote:Dear Karl,This method does remove the errors before, but ended with a freeze…yes? fill/n=1 hur[m=@ave,l=@ave,z=10000:100000@ave]The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.:-(Tony**************************************
Jian MaT-T Associate ProfessorEnlightening Young Scholar
School of Oceanography
Shanghai Jiao Tong University1954 Huashan Road
Xuhui, Shanghai 200030, China
Tel: +86-131-2240-7690
E-mail: Jian.Ma@xxxxxxxxxxx
**************************************On Oct 12, 2019, at 5:25 AM, Karl Smith - NOAA Affiliate <karl.smith@xxxxxxxx> wrote:I now remember some update of conda removed the sip package. I had updated my python code some time ago to remove the use of that package. (It is no longer needed with python 3.) But those updates in my code have yet to be pushed out to a conda release.So, for the time being, please reinstall the sip package:$ conda install -n FERRET sip(replace "FERRET" with name of the conda environment containing PyFerret)My apologies that I did not see this earlier. I hope this solves the problem. From a web search, it appears there are still some issues with using Qt under Catalina; the question is whether my code manages to avoid those issues.Best regards,KarlOn Fri, Oct 11, 2019 at 12:00 AM Jian Ma <Jian.Ma@xxxxxxxxxxx> wrote:Dear Karl,It did not work. Pls see the screen output:Last login: Fri Oct 11 14:20:16 on ttys000(base) VectorSigma@Cybertron-3 ~ % conda activate FERRET(FERRET) VectorSigma@Cybertron-3 ~ % python3Python 3.7.3 | packaged by conda-forge | (default, Jul 1 2019, 14:38:56)[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwinType "help", "copyright", "credits" or "license" for more information.>>> import PyQt5>>> exit()(FERRET) VectorSigma@Cybertron-3 ~ % ferretNOAA/PMEL TMAPPyFerret v7.5 (optimized)Darwin 17.7.0 - 09/03/1911-Oct-19 14:52yes? set w 1grdelWindowCreate: error when calling createWindow in pyferret.graphbind: The PQ viewers requires PyQt5 or PyQt4FGD_GACWK: null windowobjFGD_GSCR: null windowobjFGD_GSCR: null windowobjFGD_GSCR: null windowobjFGD_GSCR: null windowobjFGD_GSCR: null windowobjFGD_GSCR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GSPLR: null windowobjFGD_GQDSP: null windowobj**ERROR: value out of legal range: The implied size in pixels is too smallyes?Any idea?TonySent from my iPhoneOn Oct 11, 2019, at 12:51 AM, Karl Smith - NOAA Affiliate <karl.smith@xxxxxxxx> wrote:I have not tested at all with this brand-new version of Mac OS X. Many third-party vendors (including Adobe) are recommending holding off on upgrading as their software does not yet work under Catalina. So I am not surprised to hear there are problems with PyQt (probably Qt) and Catalina.That being said, the message you show arises when both the "import PyQt5" and "import PyQt4" python commands fail. I doubt it will help, but attempting to run these import commands might give more information about the problem. So something like the following commands ("$" prompt are shell commands, ">>>" prompt are python commands, replace "FERRET" with whatever environment name you used for PyFerret):$ conda activate FERRET$ python3>>> import PyQt5>>> exit()Kind regards,KarlOn Thu, Oct 10, 2019 at 12:05 AM Jian (Tony) Ma <tonyj.ma@xxxxxxxxx> wrote:Dear ferreters,
I upgraded my Mac and found I need to reinstall miniconda and pyferret. But after that, the figure window cannot be opened with the following message:
grdelWindowCreate: error when calling createWindow in pyferret.graphbind: The PQ viewers requires PyQt5 or PyQt4
I checked that pyqt5 is installed. Any solution for that?
Thanks,
Tony
Sent from my iPhone
--Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."--Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."--Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."