Ticket #1205 (assigned bug)

Opened 2 years ago

Last modified 2 years ago

TypeError in Select Attributes on Orange Canvas

Reported by: yangfd Owned by: ales
Milestone: Component: canvas
Severity: immediate Keywords:
Cc: Blocking:
Blocked By:


When using the the Select Attributes module on Orange Canvas, I got the following error:

There were problems importing the following widgets:
   OWLiftCurve: name 'AROCFromCDT' is not defined
   OWRScript: No module named rpy2.robjects
   OWModelMapQt: No module named orangeqt
   OWDiscretizeQt: No module named orangeqt
   OWDistributionsQt: No module named orangeqt
   OWLinProj3D: No module named orangeqt
   OWLinProjQt: No module named orangeqt
   OWMDSQt: No module named orangeqt
   OWNxExplorer3D: No module named OWNxExplorerQt
   OWParallelCoordinatesQt: No module named orangeqt
   OWPolyvizQt: No module named orangeqt
   OWRadvizQt: No module named orangeqt
   OWScatterPlot3D: No module named orangeqt
   OWScatterPlotQt: No module named orangeqt
   OWSphereviz3D: No module named orangeqt
The following widgets could not be imported and will not be available: OWSphereviz3D, OWLiftCurve, OWModelMapQt, OWParallelCoordinatesQt, OWLinProj3D, OWScatterPlotQt, OWNxExplorer3D, OWRadvizQt, OWMDSQt, OWLinProjQt, OWDistributionsQt, OWScatterPlot3D, OWDiscretizeQt, OWPolyvizQt.
The following prototype widgets could not be imported and will not be available: OWRScript.

Unhandled exception of type TypeError occured at 10:39:30:
  File: OWBaseWidget.py, line 678 in processSignals
  Code: handler(value)
    File: OWDataDomain.py, line 478 in set_data
    Code: self.used_attrs[:] = attributes
      File: OWItemModels.py, line 199 in __setslice__
      Code: self.__delslice__(i, j)
        File: OWItemModels.py, line 189 in __delslice__
        Code: self.beginRemoveRows(QModelIndex(), i, j - 1)
          TypeError: QAbstractListModel.beginRemoveRows(QModelIndex, int, int): argument 3 has unexpected type 'long' 

The error occurs to every operation related to the "Select Attributes" module. Explored other modules on the Canvas, no same problem found so far.

  • Hardware:
    • Lenovo ThinkCenter
    • Intel i7-2600
    • 16G mem
  • Software:
    • Windows 7 64bit
    • Python 2.7.3 64bit
    • Orange 2.5a4 was installed from "Unofficial Windows Binaries for Python Extension Packages ( http://www.lfd.uci.edu/~gohlke/pythonlibs/)". I cannot use the official download because I need 64bit Python and other related Python modules.
    • Numpy: numpy-MKL-1.6.2.win-amd64-py2.7
    • PyQt: PyQt-Py2.7-x64-gpl-4.8.6-1
    • PyQwt: PyQwt-5.2.0-py2.7-x64
    • PythonWin: pywin32-217.win-amd64-py2.7

I like Orange, which features and usability are very impressive!

  • It will be great if Orange can provide official 64bit Windows build (full packages with dependent libraries).
  • If the above is not possible due to license issue, it will be also good to provide standalone installation package on Windows, e.g. like the Orange Mac OSX dmg package, so it will install Python and other libraries in a separated location and not register Python in the system, which causing multiple Python in the system.
  • Where can I find a list of all Orange dependencies?

Change History

comment:1 Changed 2 years ago by marko

  • Status changed from new to assigned
  • Owner set to ales

comment:2 Changed 2 years ago by ales

The error has been fixed in the main development branch. The 64 bit builds for windows should also be available soon.

Note: See TracTickets for help on using tickets.