andycasey / smhr

Spectroscopy Made Hard(er)
14 stars 7 forks source link

Exception raised: operator not implemented. #314

Closed maddiecain closed 5 years ago

maddiecain commented 5 years ago

An exception was encountered in this session using version 12eec10 on Python 2.7.15 |Anaconda, Inc.| (default, Oct 23 2018, 13:35:16) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]:

Traceback (most recent call last):

  File "/Users/madelyncain/smhr-2/smhr/smh/gui/stellar_parameters.py", line 913, in selected_model_changed
    self.update_selected_points()

  File "/Users/madelyncain/smhr-2/smhr/smh/gui/stellar_parameters.py", line 859, in update_selected_points
    self.table_view.selectionModel().selectedIndexes()]))

  File "/Users/madelyncain/anaconda2/lib/python2.7/site-packages/numpy/lib/arraysetops.py", line 266, in unique
    ret = _unique1d(ar, return_index, return_inverse, return_counts)

  File "/Users/madelyncain/anaconda2/lib/python2.7/site-packages/numpy/lib/arraysetops.py", line 314, in _unique1d
    ar.sort()

NotImplementedError: operator not implemented.

Below is a screenshot from the application at the time that the exception occurred:

screenshot

Additional details on how this exception occurred:

alexji commented 5 years ago

Duplicate of #311

On Tue, Apr 30, 2019 at 6:37 PM maddiecain notifications@github.com wrote:

An exception was encountered in this session https://transfer.sh/r3kTq/session.smh using version 12eec10 https://github.com/andycasey/smhr/commit/12eec106c6d4a5b87476b60356d72490cbfbbe1c on Python 2.7.15 |Anaconda, Inc.| (default, Oct 23 2018, 13:35:16) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]:

Traceback (most recent call last):

File "/Users/madelyncain/smhr-2/smhr/smh/gui/stellar_parameters.py", line 913, in selected_model_changed self.update_selected_points()

File "/Users/madelyncain/smhr-2/smhr/smh/gui/stellar_parameters.py", line 859, in update_selected_points self.table_view.selectionModel().selectedIndexes()]))

File "/Users/madelyncain/anaconda2/lib/python2.7/site-packages/numpy/lib/arraysetops.py", line 266, in unique ret = _unique1d(ar, return_index, return_inverse, return_counts)

File "/Users/madelyncain/anaconda2/lib/python2.7/site-packages/numpy/lib/arraysetops.py", line 314, in _unique1d ar.sort() NotImplementedError: operator not implemented.

Below is a screenshot from the application at the time that the exception occurred:

[image: screenshot] https://camo.githubusercontent.com/620029b22fb4e3e19b905e1162f3dd07e8fe0f67/68747470733a2f2f7472616e736665722e73682f3135464563772f73637265656e73686f742e706e67

Additional details on how this exception occurred:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andycasey/smhr/issues/314, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXQRDU7JAI2BJYONNMRGC3PTDX7LANCNFSM4HJRJ7QA .

maddiecain commented 5 years ago

is there a quick way to see the versions of all the packages we need?

alexji commented 5 years ago

They should all be in the installation instructions on the SMHR page. However I have not yet added this one because it broke relatively recently. Adding now.

On Tue, Apr 30, 2019 at 6:45 PM maddiecain notifications@github.com wrote:

is there a quick way to see the versions of all the packages we need?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/andycasey/smhr/issues/314#issuecomment-488172588, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXQRDVIMORJQD7TVWTUQO3PTDY47ANCNFSM4HJRJ7QA .