-
Notifications
You must be signed in to change notification settings - Fork 109
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
[BUG] SHARPpy plot crashes #254
Comments
I was having this issue as well. I think something in Anaconda updated which broke SHARPpy because installing everything without Anaconda works just fine. I'll look into it some more and see if I can't figure out the issue. |
It doesn't appear that Anaconda is actually the problem, as I just did a fresh install on my PC without it and I am getting the same issue. For some reason it's running just fine on a different machine though so I don't know what the real issue is. More investigation is needed. |
Looks like the issue is with numpy. Not sure exactly what changed yet, but in the meantime, version 1.22.3 appears to work just fine. I'm not super familiar with Anaconda, but I believe you can use the command |
@collin-volk I downgraded to numpy 1.22.3 but when i run sharppy.exe in the anaconda prompy i get this error i didnt get this before i downgraded numpy During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Looks like the version of SHARPpy that gets downloaded from conda-forge is way behind where the repo is at right now, and part of what was causing an exception was code that was commented out specifically due to Windows bugs. I would try uninstalling SHARPpy, then reinstall it using the sources from git rather than doing conda install. Instructions for how to do that are in the readme. Prior to doing so, I would change the environment.yml so instead of |
I am having similar issue to this post and #256 but nothing listed above or in that post has worked. Please see error below. Does anyone have a SHARPpy environment that is working they can share (for Windows/Anaconda) `OOPS: PySide2.QtGui.QFont.init(): unsupported keyword 'bold' Well, this is embarrassing. Detailed Information: During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
when i click on the station and select Generate Profiles the graph crashes and outputs this error
`There was an exception:
Exception: No outlet found with the requested profile!
Well, this is embarrassing.
SHARPpy broke. This is probably due to an issue with one of the data source servers, but if it keeps happening, send the detailed information to the developers.
Detailed Information:
SHARPpy v1.4.0 Andover
Crash time: 2024-03-25 11:56:55.582421
Traceback (most recent call last):
File "D:\Anaconda\envs\sharppy-env\Lib\site-packages\datasources\data_source.py", line 365, in _getOutletWithProfile
outlet = use_outlets[outlet_num]
~~~~~~~~~~~^^^^^^^^^^^^
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anaconda\envs\sharppy-env\Lib\site-packages\runsharp\full_gui.py", line 608, in complete_name
self.skewApp(ntry=n_tries)
File "D:\Anaconda\envs\sharppy-env\Lib\site-packages\runsharp\full_gui.py", line 771, in skewApp
raise exc
File "D:\Anaconda\envs\sharppy-env\Lib\site-packages\sutils\async_threads.py", line 122, in run
ret_val = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\Anaconda\envs\sharppy-env\Lib\site-packages\runsharp\full_gui.py", line 835, in loadData
decoder, url = data_source.getDecoderAndURL(loc, run, outlet_num=ntry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Anaconda\envs\sharppy-env\Lib\site-packages\datasources\data_source.py", line 436, in getDecoderAndURL
outlet = self._getOutletWithProfile(stn, cycle_dt, outlet_num=outlet_num)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Anaconda\envs\sharppy-env\Lib\site-packages\datasources\data_source.py", line 367, in _getOutletWithProfile
raise DataSourceError()
datasources.data_source.DataSourceError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anaconda\envs\sharppy-env\Lib\site-packages\runsharp\full_gui.py", line 136, in doCrasher
ret = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\Anaconda\envs\sharppy-env\Lib\site-packages\runsharp\full_gui.py", line 614, in complete_name
raise IOError(
OSError: No outlet found with the requested profile!`
The text was updated successfully, but these errors were encountered: