teamdfir / sift

SIFT
MIT License
492 stars 65 forks source link

SIFT Run Error Message after install #604

Closed Dahicup1 closed 8 months ago

Dahicup1 commented 1 year ago

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Traceback (most recent call last): File "/usr/bin/sift", line 33, in sys.exit(load_entry_point('guiqwt==4.0.1', 'gui_scripts', 'sift')()) File "/usr/lib/python3/dist-packages/guiqwt/tests/sift.py", line 1603, in run window = MainWindow() File "/usr/lib/python3/dist-packages/guiqwt/tests/sift.py", line 1420, in init self.curvewidget = DockablePlotWidget(self, CurveWidget, curveplot_toolbar) File "/usr/lib/python3/dist-packages/guiqwt/tests/sift.py", line 1365, in init self.plotwidget = plotwidgetclass() File "/usr/lib/python3/dist-packages/guiqwt/plot.py", line 846, in init super(CurveWidget, self).init( File "/usr/lib/python3/dist-packages/guiqwt/plot.py", line 799, in init self.plot = CurvePlot( File "/usr/lib/python3/dist-packages/guiqwt/curve.py", line 1450, in init self.cross_marker = Marker() File "/usr/lib/python3/dist-packages/guiqwt/shapes.py", line 301, in init self.markerparam.update_marker(self) File "/usr/lib/python3/dist-packages/guiqwt/styles.py", line 1579, in update_marker symb.update_symbol(obj) File "/usr/lib/python3/dist-packages/guiqwt/styles.py", line 453, in update_symbol obj.setSymbol(self.build_symbol()) File "/usr/lib/python3/dist-packages/qwt/plot_marker.py", line 405, in setSymbol self.setLegendIconSize(symbol.boundingRect().size()) File "/usr/lib/python3/dist-packages/qwt/symbol.py", line 1234, in boundingRect r.setLeft(np.floor(rect.left())) TypeError: setLeft(self, int): argument 1 has unexpected type 'numpy.float64'**_ SIFT_Error_Message.txt SIFT_Error_Message.txt

digitalsleuth commented 1 year ago

Hi there @Dahicup1 , it looks like you have another tool installed using the same name (sift), looks like it's this tool. To avoid this conflict, you can rename the CLI installer to sift-cli or anything else, and use the command that way.

digitalsleuth commented 1 year ago

Hi @Dahicup1 , did you manage to get this sorted out?