Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jun 2024 09:18:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279606] misc/orange3: reading data from files broken due to "numpy" library mismatch
Message-ID:  <bug-279606-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279606

            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) fil=
es
due to a version mismatch in the Python "numpy" library. Orange 3.29 expect=
s 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? Tha=
nk
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') w=
ith
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 =3D 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 =3D creator(self.data, col, values=3Dtype_, offset=3Dself.offset)
  File "/usr/local/lib/python3.9/site-packages/Orange/data/io_base.py", line
251, in _cont_column
    orig_vals, namask =3D _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=3Dout)
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.p=
y",
line 366, in _try_load
    data =3D 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') w=
ith
casting rule 'same_kind'

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279606-7788>