-
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
[BUG] Cannot Generate Profiles #256
Comments
Issue #254 should have the information for fixing the no outlets problem, although the font portion is new so there might be something else going on as well. |
Thank you, @collin-volk. I have tried downloading the zip file for the latest release of sharppy and installing the libraries through "conda env create -f environment.yml", and changing the numpy version in the environment file to numpy=1.22.3. But it still gives me this error when I use the HRRR model: 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): |
Okay I just got it working! I had to play around a lot with the versions of numpy, pyside2, and python in the environment.yml file, and this is what worked for me: dependencies:
Thanks, @collin-volk, looks like the problem was what you said it was in that other issue #254. But using numpy=1.22.3 did not work for me. The above worked in the environment.yml file. |
I am having the same issue but nothing listed above 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 select my model, location, and timestamp, and click 'Generate Profiles', the error below occurs. How can I get past this?
OOPS: PySide2.QtGui.QFont.init(): unsupported keyword 'bold'
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-06-10 20:06:20.117620
Traceback (most recent call last):
File "C:\Users\mekke\anaconda3\envs\devel\Lib\site-packages\sharppy-1.4.0-py3.11.egg\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 "C:\Users\mekke\anaconda3\envs\devel\Lib\site-packages\sharppy-1.4.0-py3.11.egg\runsharp\full_gui.py", line 608, in complete_name
self.skewApp(ntry=n_tries)
File "C:\Users\mekke\anaconda3\envs\devel\Lib\site-packages\sharppy-1.4.0-py3.11.egg\runsharp\full_gui.py", line 771, in skewApp
raise exc
File "C:\Users\mekke\anaconda3\envs\devel\Lib\site-packages\sharppy-1.4.0-py3.11.egg\sutils\async_threads.py", line 122, in run
ret_val = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mekke\anaconda3\envs\devel\Lib\site-packages\sharppy-1.4.0-py3.11.egg\runsharp\full_gui.py", line 835, in loadData
decoder, url = data_source.getDecoderAndURL(loc, run, outlet_num=ntry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mekke\anaconda3\envs\devel\Lib\site-packages\sharppy-1.4.0-py3.11.egg\datasources\data_source.py", line 436, in getDecoderAndURL
outlet = self._getOutletWithProfile(stn, cycle_dt, outlet_num=outlet_num)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mekke\anaconda3\envs\devel\Lib\site-packages\sharppy-1.4.0-py3.11.egg\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 "C:\Users\mekke\anaconda3\envs\devel\Lib\site-packages\sharppy-1.4.0-py3.11.egg\runsharp\full_gui.py", line 136, in doCrasher
ret = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mekke\anaconda3\envs\devel\Lib\site-packages\sharppy-1.4.0-py3.11.egg\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: