[Bug 279606] misc/orange3: reading data from files broken due to "numpy" library mismatch
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jun 2024 09:18:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279606 Bug ID: 279606 Summary: misc/orange3: reading data from files broken due to "numpy" library mismatch Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: hannes_11@fantasymail.de Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Orange 3.29 can no longer read data from CSV files and regular (Orange) files due to a version mismatch in the Python "numpy" library. Orange 3.29 expects an older library than currently in the package collection. Apparently, in a newer Orange version (3.36) the problem is fixed, see: https://github.com/biolab/orange3/issues/5765 Is it possible to update the "misc/orange3" port to the latest version? Thank you. ERROR:Orange.widgets.data.owfile:Cannot parse dataset /usr/local/lib/python3.9/site-packages/Orange/datasets/iris.tab: Cannot cast ufunc '__contains__ (vectorized)' output from dtype('O') to dtype('bool') with casting rule 'same_kind' Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/Orange/data/io.py", line 166, in read data = self.data_table(reader) File "/usr/local/lib/python3.9/site-packages/Orange/data/io_base.py", line 409, in data_table return builder.create_table() File "/usr/local/lib/python3.9/site-packages/Orange/data/io_base.py", line 206, in create_table self.create_columns() File "/usr/local/lib/python3.9/site-packages/Orange/data/io_base.py", line 223, in create_columns column = creator(self.data, col, values=type_, offset=self.offset) File "/usr/local/lib/python3.9/site-packages/Orange/data/io_base.py", line 251, in _cont_column orig_vals, namask = _TableBuilder._values_mask(data, col) File "/usr/local/lib/python3.9/site-packages/Orange/data/io_base.py", line 310, in _values_mask return values, isnastr(values) File "/usr/local/lib/python3.9/site-packages/Orange/data/io_util.py", line 112, in isnastr return __isnastr(arr, out=out) numpy.core._exceptions._UFuncOutputCastingError: Cannot cast ufunc '__contains__ (vectorized)' output from dtype('O') to dtype('bool') with casting rule 'same_kind' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/Orange/widgets/data/owfile.py", line 366, in _try_load data = self.reader.read() File "/usr/local/lib/python3.9/site-packages/Orange/data/io.py", line 186, in read raise ValueError('Cannot parse dataset {}: {}'.format(self.filename, error)) from error ValueError: Cannot parse dataset /usr/local/lib/python3.9/site-packages/Orange/datasets/iris.tab: Cannot cast ufunc '__contains__ (vectorized)' output from dtype('O') to dtype('bool') with casting rule 'same_kind' -- You are receiving this mail because: You are the assignee for the bug.