-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on starting SHARPpy binary 1.4.0 #193
Comments
Ugh. I'm not sure what's going on there. Thanks for checking this out! Does v1.4.0b1 work? |
Yes, it did.
I don't have Anaconda Python 3.7 on my system. I'll try to install that and
then install SHARPpy via package manager to see if that will do it.
George
…On Mon, Mar 9, 2020 at 8:05 PM Greg Blumberg ***@***.***> wrote:
Ugh. I'm not sure what's going on there. Thanks for checking this out!
Does v1.4.0b1 work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#193?email_source=notifications&email_token=AC37WNRRCD7EKWJGONHC2BLRGW37NA5CNFSM4LEVYTCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOJ2EPA#issuecomment-596877884>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC37WNXXTOUZCL46M5WNJH3RGW37NANCNFSM4LEVYTCA>
.
|
Hmm. Wait on checking the package manager. The upload to the SHARPpy channel wasn't successful and we haven't updated the conda-forge package yet. |
Same error for me after removing .sharppy too. I saved the old .exe and it did give me a message about the new version so there's that :) |
Okay. v1.4.0 should be building on conda-forge as I write this. |
I suggest all use v1.4.0b1 until the binaries are fixed. It's not clear what needs to be fixed yet, and that version isn't very different from v1.4.0 |
Looks related to this: pypa/setuptools#1963 From MacOS: (py37) Ws-MacBook-Pro:~ blumberg$ /Users/blumberg/Downloads/SHARPpy.app/Contents/MacOS/SHARPpy ; exit; |
sharppy-launch.txt Sharppy is crashing at launch on macOS Catalina. While looking at the console, I noticed the following during the attempted launch: In the second file, it seems like there is a problem with notarization / file signing. I don't know if that is related or not, but that's what I see in the console every time I try to launch Sharppy 1.4.0 on macOS Catalina 10.15.3. |
Hi @cturnbull22 . Thank you for posing the console log output. I strongly suspect the "Failed to execute script pyi_rth_pkgres" is a consequence of the above issue I linked to with setup tools. I'll try to address this once I get home this evening. With respect to the notarization and file signing, there's not much progress I've been able to make on that. It would be great if we could codesign the macOS binary, but I haven't found out a clean way to do it and am not too keen on adding more steps to the binary generation with continuous integration. Last I read we had to be registered with Apple and there was a fee. However, if someone wants to do the research to figure out how we could sign the SHARPpy app (and open up a separate issue with the steps), it might help get things going! |
More documentation - Testing a solution where pkg_resources.py2_warn is included as a hidden import in the .spec files. |
Was able to get a macOS binary to build and launch with this solution - got a strange datetime related error in the console upon initial launch though. Will upload the two binaries for review once they get finished downloading. Binaries will have the version v1.4.0+1 for the time being. |
Sorry for bumping but I am also having the same issue with the most recent executable, the previous one works just fine however. |
It's been a while with no update on the Window's binary. Has a fix been made, is it in progress, etc? I ask because current versions are becoming growingly cumbersome to use and it'd be very helpful to have the most recent, stable version with legitimate access to sounding data in models and obs (1.4.01b can't do this and 1.3.0 just can't load most model data) |
Has the above issue (Failed to execute script pyi_rth_certifi) been resolved for Windows yet? |
Still have same issue as @Zazzmatazz |
I'm receiving this exact same issue, and fear that sharppy is no longer a priority for the developers as there has been no activity on this repo in almost 2 years now. v1.3.0 works no problem, but the latest versions don't work whasoever. |
I was also encountering the "Failed to execute script pyi_rth_certifi" problem on my Windows 10 system using the v1.4.0 binary, so I decided to see if I could fix the problem on my own. I was able to build my own binary using pyinstaller in the anaconda "devel" environment using a slightly-modified version of the "SHARPpy-win7-64.spec" file. Regarding the root cause, it seems that something was probably amiss in the build environment used to create the v1.4.0 executable or maybe pyinstaller pulled in a library from the system that is incompatible with recent Windows 10 updates. I have uploaded a copy of the working Windows binary to my forked repo here: https://github.com/skovic/SHARPpy/releases/tag/v1.4.0-fixed The binary is in the SHARPpy-win-64.zip file, and it contains the latest from the master branch. Hopefully, this helps out others who wish to run SHARPpy in Windows. |
You're magnificent. I'm eager to give it a try.
|
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->Works great for me – thanks! From: Stephen KovicSent: Sunday, November 7, 2021 3:58 PMTo: sharppy/SHARPpyCc: rpdale; CommentSubject: Re: [sharppy/SHARPpy] Error on starting SHARPpy binary 1.4.0 (#193) I was also encountering the "Failed to execute script pyi_rth_certifi" problem on my Windows 10 system using the v1.4.0 binary, so I decided to see if I could fix the problem on my own. I was able to build my own binary using pyinstaller in the anaconda "devel" environment using a slightly-modified version of the "SHARPpy-win7-64.spec" file.Regarding the root cause, it seems that something was probably amiss in the build environment used to create the v1.4.0 executable or maybe pyinstaller pulled in a library from the system that is incompatible with recent Windows 10 updates.I have uploaded a copy of the working Windows binary to my forked repo here:https://github.com/skovic/SHARPpy/releases/tag/v1.4.0-fixedThe binary is in the SHARPpy-win-64.zip file, and it contains the latest from the master branch.Hopefully, this helps out others who wish to run SHARPpy in Windows.—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Sigh. Yeah I can't get any profiles with the skovik's rebuild. And the Preferences panel won't open at all. |
@dziban303 The observed and model soundings seem to work for me. I was able to reproduce your problem for observed soundings by removing the attribute named first from the time element in the Observed datasource and its SPC outlet. These changes were made in .sharppy/datasources/standard.xml. I looked at older versions of standard.xml, and the older versions do not have a first attribute in any of the time elements. So what I think is happening is that you have a .sharppy folder from an older install of SHARPpy that contains incompatible versions of the config files. To fix it, try deleting the existing .sharppy folder in your home directory and then run the executable again. The .sharppy folder should be recreated with correct versions of the config files. I have created a new version of the build with a fix for the preferences panel not opening. You can download it here: https://github.com/skovic/SHARPpy/releases/tag/v1.4.0-fixed.1 |
Downloading the latest SHARPpy binary in SHARPpy-win-64.zip from https://github.com/sharppy/SHARPpy/releases/tag/v1.4.0, and starting it up, I see the following error and no SHARPpy windows will come up.
I deleted the .sharppy directory in my user profile before trying to start the executable.
The text was updated successfully, but these errors were encountered: